[Bug 807155] New: xtables-addons does not build for ppc64
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c0 Summary: xtables-addons does not build for ppc64 Classification: openSUSE Product: openSUSE 12.3 Version: RC 2 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Network AssignedTo: jengelh@inai.de ReportedBy: meissner@suse.com QAContact: qa-bugs@suse.de CC: dvaleev@suse.com Found By: --- Blocker: --- strange enough it only fails on ppc64. btw the reason we added the sublibrary. https://build.opensuse.org/package/live_build_log?arch=ppc64&package=xtables-addons&project=openSUSE%3A12.3&repository=ports RPMLINT report: [ 238s] =============== [ 242s] (none): E: badness 10000 exceeds threshold 1000, aborting. [ 242s] xtables-addons-kmp-default.ppc64: W: useless-provides xtables-addons-kmp [ 242s] This package provides 2 times the same capacity. It should only provide it [ 242s] once. [ 242s] [ 242s] xtables-addons.ppc64: E: shlib-policy-name-error (Badness: 10000) libxt_ACCOUNT_cl0 [ 242s] Your package contains a single shared library but is not named after its [ 242s] SONAME. [ 242s] [ 242s] xtables-addons-kmp-default.ppc64: W: invalid-license GPL-2.0 ; GPL-2.0+ [ 242s] xtables-addons.ppc64: W: invalid-license GPL-2.0 ; GPL-2.0+ [ 242s] xtables-addons.src: W: invalid-license GPL-2.0 ; GPL-2.0+ [ 242s] The specified license string is not recognized. Please refer to [ 242s] http://license.opensuse.org/ for the list of known licences and their exact [ 242s] spelling. [ 242s] -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c1 Jan Engelhardt <jengelh@inai.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |meissner@suse.com --- Comment #1 from Jan Engelhardt <jengelh@inai.de> 2013-03-02 12:20:42 CET --- Can you figure out why rpmlint throws this error? Is rpmlint too old in ppc64? The check is giving a false positive, because the library is not the only file in the package. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c Jan Engelhardt <jengelh@inai.de> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jengelh@inai.de |dmueller@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c2 --- Comment #2 from Marcus Meissner <meissner@suse.com> 2013-03-02 12:31:51 UTC --- No, 12.3 has no seperate SRPMs for power... also no suspicious ifarchs so far. I do not see it yet, although i am studying rpmlint code. So far it however looks like also x86_64 should fail though. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c3 --- Comment #3 from Marcus Meissner <meissner@suse.com> 2013-03-02 12:33:51 UTC --- rpmlint-1.4/rpmlint-checks-master/LibraryPolicyCheck.py has this piece of code which should trigger for all architectures here, as you only have this 1 shared library in xtables-addons in std_dirs: # If this package should be or should be splitted into shlib # package(s) if len(libs) > 0 and len(std_dirs) > 0: # If the package contains a single shlib, name after soname if len(libs) == 1: soname = libs.copy().pop() libname = libname_from_soname (soname) if libname.startswith('lib') and pkg.name != libname and \ pkg.name != libname + "-mini": if libname in _policy_legacy_exceptions: printWarning(pkg, 'shlib-legacy-policy-name-error', libname) else: printError(pkg, 'shlib-policy-name-error', libname) elif not pkg.name[-1:].isdigit(): printError(pkg, 'shlib-policy-missing-suffix') -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c4 --- Comment #4 from Dinar Valeev <dvaleev@suse.com> 2013-03-04 10:18:30 UTC --- Maybe there is a project config for x86 to blacklist it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c5 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |meissner@suse.com InfoProvider|meissner@suse.com | --- Comment #5 from Marcus Meissner <meissner@suse.com> 2013-03-08 19:47:26 UTC --- No, i looked for that and did not see any. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c6 Dirk Mueller <dmueller@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|dmueller@suse.com |jengelh@inai.de --- Comment #6 from Dirk Mueller <dmueller@suse.com> 2013-03-18 18:02:36 CET --- Why am I assigned to this? I'M not the maintainer of xtables-addons -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c7 --- Comment #7 from Dirk Mueller <dmueller@suse.com> 2013-03-18 18:12:45 CET --- the "problem" only exposes on ppc64 because on ppc64 the iptaccount binary not having a shared link reference to the library: readelf -d ppc64/usr/sbin/iptaccount | grep NEEDED 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] readelf -d x86_64/usr/sbin/iptaccount | grep NEEDED 0x0000000000000001 (NEEDED) Shared library: [libxt_ACCOUNT_cl.so.0] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] the latter causes the shlib packaging warning to be suppressed (because there is a "user" of the shared library within the package, and the package does not start with "lib" in is name). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c8 --- Comment #8 from Dinar Valeev <dvaleev@suse.com> 2013-03-18 17:50:41 UTC --- Created an attachment (id=530241) --> (http://bugzilla.novell.com/attachment.cgi?id=530241) Build diff ppc vs ppc64 Here is the diff between ppc and ppc64 builds. I see no differences here. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c9 --- Comment #9 from Jan Engelhardt <jengelh@inai.de> 2013-03-19 15:39:16 CET --- Created an attachment (id=530412) --> (http://bugzilla.novell.com/attachment.cgi?id=530412) Inserted some manual compile commands into the specfile, and this is the build log. There *clearly* is a call to, for example, ipt_ACCOUNT_deinit in the main function (see attachment), but it never shows up in nm. That is then why the linker will not include libxt_ACCOUNT_cl.so either (due to -Wl,--as-needed/SUSE_ASNEEDED), because there is no symbol to require it. The ppc compiler is completely busted it seems. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c10 Jan Engelhardt <jengelh@inai.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |dmueller@suse.com --- Comment #10 from Jan Engelhardt <jengelh@inai.de> 2013-03-19 15:41:35 CET --- (Not sure who is responsible for ppc64-gcc.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c11 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- InfoProvider|dmueller@suse.com |meissner@suse.com --- Comment #11 from Marcus Meissner <meissner@suse.com> 2013-03-19 14:50:08 UTC --- that would mostly be Dinar or myself, not Dirk. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c12 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |jengelh@inai.de InfoProvider|meissner@suse.com | AssignedTo|jengelh@inai.de |meissner@suse.com --- Comment #12 from Marcus Meissner <meissner@suse.com> 2013-03-19 15:43:54 UTC --- this is a "funny" bug. :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c13 --- Comment #13 from Dinar Valeev <dvaleev@suse.com> 2013-03-19 15:52:28 UTC --- I might ask IBM to take a look at this. How can I enforce to run rpmlint for local builds? adding rpmlint into a buildroot seems not enough -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c14 --- Comment #14 from Jan Engelhardt <jengelh@inai.de> 2013-03-19 17:04:43 CET ---
this is a "funny" bug. :)
Humour me. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c15 --- Comment #15 from Marcus Meissner <meissner@suse.com> 2013-03-19 16:08:53 UTC --- no idea avbout rpmlint iptaccount.c seems to be miscompiled... most of the switch() is optimized away except the default case / usage part. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c16 --- Comment #16 from Marcus Meissner <meissner@suse.com> 2013-03-19 16:14:00 UTC --- it helps if you replace char optchar; by int optchar; which is helpful as getopt() returns an "int" not a "char". I think the underlying reason here is that on PowerPC "char" might be "unsigned char" by default. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c17 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|meissner@suse.com |jengelh@inai.de --- Comment #17 from Marcus Meissner <meissner@suse.com> 2013-03-19 16:21:05 UTC --- so i think it should be fixed in xtables-addons. ;) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c18 --- Comment #18 from Jan Engelhardt <jengelh@inai.de> 2013-03-19 18:14:08 CET --- It surprises me that the removal of the getopt loop by the optimizer also nukes calls to ipt_ACCOUNT_init, because that, AFAICS, is idempotent of the getopt loop. Any insight? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c19 --- Comment #19 from Marcus Meissner <meissner@suse.com> 2013-03-19 17:21:08 UTC --- I think it does not see an exit out of this loop and so considers it infinite, and only sees the exit(0) in the usage branch. Thats why everything after the while() loop is optimized away (I think). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c20 --- Comment #20 from Marcus Meissner <meissner@suse.com> 2013-03-19 17:23:25 UTC --- I can try debugging this further if need, but at least we have a workaround/Fix ;) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c21 Jan Engelhardt <jengelh@inai.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |maintenance@opensuse.org --- Comment #21 from Jan Engelhardt <jengelh@inai.de> 2013-03-31 21:45:16 CEST --- created request id Request: #161934 -> openSUSE:12.3:Update -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c22 --- Comment #22 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-03-31 22:00:08 CEST --- This is an autogenerated message for OBS integration: This bug (807155) was mentioned in https://build.opensuse.org/request/show/161933 Factory / xtables-addons https://build.opensuse.org/request/show/161934 Maintenance / -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c23 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|maintenance@opensuse.org | --- Comment #23 from Benjamin Brunner <bbrunner@suse.com> 2013-04-02 17:09:38 CEST --- Thanks for the submission. I started an update, see openSUSE:Maintenance:1532. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c24 Jan Engelhardt <jengelh@inai.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #24 from Jan Engelhardt <jengelh@inai.de> 2013-05-19 20:48:14 CEST --- done -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807155 https://bugzilla.novell.com/show_bug.cgi?id=807155#c25 --- Comment #25 from Swamp Workflow Management <swamp@suse.de> 2013-06-10 10:14:59 UTC --- openSUSE-RU-2013:0948-1: An update that has one recommended fix can now be installed. Category: recommended (low) Bug References: 807155 CVE References: Sources used: openSUSE 12.3 (src): xtables-addons-2.2-2.4.3 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com