[Bug 1201173] New: windows:mingw:win{32|64}: rpmlint related 'arch-independent-package-contains-binary-or-object' issue
http://bugzilla.opensuse.org/show_bug.cgi?id=1201173 Bug ID: 1201173 Summary: windows:mingw:win{32|64}: rpmlint related 'arch-independent-package-contains-binary-or-object' issue Classification: openSUSE Product: openSUSE.org Version: unspecified Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software Assignee: fstrba@suse.com Reporter: ralf.habacker@freenet.de QA Contact: screening-team-bugs@suse.de CC: fridrich.strba@bluewin.ch, hib@hiberis.nl, mkbosmans@gmail.com Found By: --- Blocker: --- Several mingw32|64 packages provide static libraries in the associated development package. When building for Tumbleweed, there are rpmlint issues, for example with the mingw64-openssl_1.1 package: [ 1418s] mingw64-libopenssl-1_1-devel.noarch: E: arch-independent-package-contains-binary-or-object (Badness: 499) /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcrypto.a [ 1418s] mingw64-libopenssl-1_1-devel.noarch: E: arch-independent-package-contains-binary-or-object (Badness: 499) /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libssl.a (see https://build.opensuse.org/package/live_build_log/windows:mingw:win64/mingw6... for details) To fix this problem, the following line must be added to xxx-rpmlintrc addFilter('arch-independent-package-contains-binary-or-object') for each affected package: $ ~/osc/windows:mingw:win32> find -maxdepth 2 -name '*-rpmlintrc' -exec grep -Hn arch-independent-package-contains-binary-or-object {} \; | wc -l 60 $ ~/osc/windows:mingw:win64> find -maxdepth 2 -name '*-rpmlintrc' -exec grep -Hn arch-independent-package-contains-binary-or-object {} \; | wc -l 57 Since it is a common pattern to build mingwxx packages as "noarch" architecture and it is obvious that many of these packages install static libraries, the question arises whether this exception can be defined centrally and thus is not required in every package. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201173 http://bugzilla.opensuse.org/show_bug.cgi?id=1201173#c1 --- Comment #1 from Ralf Habacker <ralf.habacker@freenet.de> --- (In reply to Ralf Habacker from comment #0)
Since it is a common pattern to build mingwxx packages as "noarch" architecture and it is obvious that many of these packages install static libraries, the question arises whether this exception can be defined centrally and thus is not required in every package.
The required exception pattern for static libraries is missing in https://build.opensuse.org/package/view_file/windows:mingw:win64/mingw64-fil..., while it is already present for import libraries. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201173 http://bugzilla.opensuse.org/show_bug.cgi?id=1201173#c2 --- Comment #2 from Ralf Habacker <ralf.habacker@freenet.de> --- Will be fixed with https://build.opensuse.org/request/show/991564 and https://build.opensuse.org/request/show/991540 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201173 http://bugzilla.opensuse.org/show_bug.cgi?id=1201173#c3 Ralf Habacker <ralf.habacker@freenet.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Ralf Habacker <ralf.habacker@freenet.de> --- (In reply to Ralf Habacker from comment #2)
Will be fixed with https://build.opensuse.org/request/show/991564 and https://build.opensuse.org/request/show/991540
Requests has been accepted. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com