[Bug 1172059] New: windows:mingw:win{32,64}: packages including native and cross packages does not build with enabled debug info
http://bugzilla.opensuse.org/show_bug.cgi?id=1172059 Bug ID: 1172059 Summary: windows:mingw:win{32,64}: packages including native and cross packages does not build with enabled debug info Classification: openSUSE Product: openSUSE.org Version: unspecified Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software Assignee: bnc-team-screening@forge.provo.novell.com Reporter: ralf.habacker@freenet.de QA Contact: bnc-team-screening@forge.provo.novell.com Found By: --- Blocker: --- If debug information support is enabled in the mentioned project, some packages will not be built due to a conflict when collecting debug information for native and cross-compiled packages. How to reproduce: 1. branch one of the following package into a local project mingw32-libqt4 mingw32-libqt4-static mingw32-libqt5-qtbase mingw32-libqt5-qtdeclarative mingw32-libqt5-qttools 2. enable debug info support at the created project What happens: The build fails with "error: Installed (but unpackaged) file(s) found:" /usr/lib/debug/... What is expected: The build should not fail with debug info support enabled at project or package level Adding debug information at the project level was originally proposed as a workaround for a non-stripping problem with the cross-gcc package reported at https://bugzilla.opensuse.org/show_bug.cgi?id=1116889. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172059 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |idonmez@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172059 http://bugzilla.opensuse.org/show_bug.cgi?id=1172059#c1 --- Comment #1 from Ralf Habacker <ralf.habacker@freenet.de> --- An example where this problem does not occur is mingwxx-binutils, where debug information generation has been re-enabled to fix https://bugzilla.opensuse.org/show_bug.cgi?id=1197983. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172059 http://bugzilla.opensuse.org/show_bug.cgi?id=1172059#c2 --- Comment #2 from Ralf Habacker <ralf.habacker@freenet.de> --- This happens also with official project https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-libqt5-q... [ 1239s] Installed (but unpackaged) file(s) found: [ 1239s] /usr/lib/debug/.dwz/mingw32-libqt5-qtbase-5.12.12-lp153.3.9.x86_64 [ 1239s] /usr/lib/debug/usr/i686-w64-mingw32/bin/qt5/moc-5.12.12-lp153.3.9.x86_64.debug [ 1239s] /usr/lib/debug/usr/i686-w64-mingw32/bin/qt5/qdbuscpp2xml-5.12.12-lp153.3.9.x86_64.debug [ 1239s] /usr/lib/debug/usr/i686-w64-mingw32/bin/qt5/qdbusxml2cpp-5.12.12-lp153.3.9.x86_64.debug [ 1239s] /usr/lib/debug/usr/i686-w64-mingw32/bin/qt5/qlalr-5.12.12-lp153.3.9.x86_64.debug -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172059 http://bugzilla.opensuse.org/show_bug.cgi?id=1172059#c3 --- Comment #3 from Ralf Habacker <ralf.habacker@freenet.de> --- (In reply to Ralf Habacker from comment #2)
[ 1239s] Installed (but unpackaged) file(s) found: [ 1239s] /usr/lib/debug/.dwz/mingw32-libqt5-qtbase-5.12.12-lp153.3.9.x86_64
This indicates that there is no %package tag for the debug package present. In /usr/lib/rpm/macros there is the following fragment %debug_package \ %ifnarch noarch\ %global __debug_package 1\ %_debuginfo_template\ %{?_debugsource_packages:%_debugsource_template}\ %endif\ %{nil} which excludes adding native debug packages when using a noarch architecture, which is the default for generating mingw packages The mentioned file belongs to $ rpm -q -f /usr/lib/rpm/macros rpm-4.14.1-29.46.x86_64 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com