Bug 1444744

Summary: FTBFS due "error: "__bitwise" redefined"
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: NetworkManagerAssignee: Thomas Haller <thaller>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: bgalvani, dcbw, fgiudici, hannsj_uhl, lkundrak, thaller
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Unspecified   
Whiteboard:
Fixed In Version: NetworkManager-1.4.4-5.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-10 03:59:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 467765    

Description Dan Horák 2017-04-24 07:43:44 UTC
Build of recent NM update fail on s390x with

...

  CC       wifi-utils-wext.lo
  CC       libsystemd_nm_la-nm-sd.lo
  CC       libsystemd_nm_la-nm-sd-adapt.lo
In file included from ../src/systemd/sd-adapt/nm-sd-adapt.h:166:0,
                 from systemd/nm-sd.c:139:
../src/systemd/src/basic/sparse-endian.h:32:0: error: "__bitwise" redefined [-Werror]
 #define __bitwise
 
In file included from /usr/include/asm/sigcontext.h:10:0,
                 from /usr/include/bits/sigcontext.h:27,
                 from /usr/include/signal.h:306,
                 from /usr/include/glib-2.0/glib/gbacktrace.h:33,
                 from /usr/include/glib-2.0/glib.h:34,
                 from ../shared/nm-default.h:113,
                 from systemd/nm-sd.c:19:
/usr/include/linux/types.h:21:0: note: this is the location of the previous definition
 #define __bitwise __bitwise__
 
In file included from systemd/sd-adapt/nm-sd-adapt.h:166:0,
                 from systemd/sd-adapt/nm-sd-adapt.c:21:
../src/systemd/src/basic/sparse-endian.h:32:0: error: "__bitwise" redefined [-Werror]
 #define __bitwise
 
In file included from /usr/include/asm/sigcontext.h:10:0,
                 from /usr/include/bits/sigcontext.h:27,
                 from /usr/include/signal.h:306,
                 from /usr/include/glib-2.0/glib/gbacktrace.h:33,
                 from /usr/include/glib-2.0/glib.h:34,
                 from ../shared/nm-default.h:113,
                 from systemd/sd-adapt/nm-sd-adapt.c:19:
/usr/include/linux/types.h:21:0: note: this is the location of the previous definition
 #define __bitwise __bitwise__
 
cc1: all warnings being treated as errors
Makefile:1961: recipe for target 'libsystemd_nm_la-nm-sd-adapt.lo' failed
make[4]: *** [libsystemd_nm_la-nm-sd-adapt.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
cc1: all warnings being treated as errors
Makefile:1954: recipe for target 'libsystemd_nm_la-nm-sd.lo' failed
make[4]: *** [libsystemd_nm_la-nm-sd.lo] Error 1
make[4]: Leaving directory '/builddir/build/BUILD/NetworkManager-1.4.4/src'
Makefile:2508: recipe for target 'all-recursive' failed
make[3]: Leaving directory '/builddir/build/BUILD/NetworkManager-1.4.4/src'
Makefile:1282: recipe for target 'all' failed
make[2]: Leaving directory '/builddir/build/BUILD/NetworkManager-1.4.4/src'
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
...

which seems to be caused by a warning together with -Werror. For full logs please see https://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2555012


Version-Release number of selected component (if applicable):
NetworkManager-1.4.4-4.fc25

Comment 2 Dan Horák 2017-05-05 15:35:50 UTC
Hi, can we get a new NM build in F-25 soonish? It's currently blocking some other builds in secondary (s390 + ppc) kojis, where NetworkManager-1.4.4-4.fc25 (or newer) is expected in the buildroots.

Comment 3 Fedora Update System 2017-05-05 17:01:44 UTC
NetworkManager-1.4.4-5.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-4eaa03c583

Comment 4 Fedora Update System 2017-05-07 03:29:46 UTC
NetworkManager-1.4.4-5.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-4eaa03c583

Comment 5 Fedora Update System 2017-05-10 03:59:48 UTC
NetworkManager-1.4.4-5.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.