It builds fine with libnl3.
Created attachment 773149 [details] dates+nl3 - fix wrong dates - link with libnl3
(In reply to Xose Vazquez Perez from comment #1) > - link with libnl3 Something weird is happening, building from tar.gz source with libnl3 is fine. But the rpmbuild environment is unable to find libnl3: $ rpmbuild -ba iw.spec Executing(%prep): /bin/sh -e /home/xose/rpmbuild/tmp/rpm-tmp.JXnfi3 + umask 022 + cd /home/xose/rpmbuild/BUILD + cd /home/xose/rpmbuild/BUILD + rm -rf iw-3.10 + /usr/bin/xz -dc /home/xose/rpmbuild/SOURCES/iw-3.10/iw-3.10.tar.xz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd iw-3.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /home/xose/rpmbuild/tmp/rpm-tmp.NZJtgp + umask 022 + cd /home/xose/rpmbuild/BUILD + cd iw-3.10 + make -j 4 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' CC iw.o CC genl.o CC event.o CC info.o genl.c:6:31: fatal error: netlink/genl/genl.h: No such file or directory #include <netlink/genl/genl.h> ^ compilation terminated. In file included from event.c:5:0: iw.h:5:29: fatal error: netlink/netlink.h: No such file or directory #include <netlink/netlink.h> ^ compilation terminated. info.c:5:31: fatal error: netlink/genl/genl.h: No such file or directory #include <netlink/genl/genl.h> ^ compilation terminated. make: *** [genl.o] Error 1 make: *** Waiting for unfinished jobs.... iw.c:17:31: fatal error: netlink/genl/genl.h: No such file or directory #include <netlink/genl/genl.h> ^ compilation terminated. make: *** [info.o] Error 1 make: *** [event.o] Error 1 make: *** [iw.o] Error 1 error: Bad exit status from /home/xose/rpmbuild/tmp/rpm-tmp.NZJtgp (%build) RPM build errors: Bad exit status from /home/xose/rpmbuild/tmp/rpm-tmp.NZJtgp (%build) ---end--- $ cat /home/xose/rpmbuild/tmp/rpm-tmp.NZJtgp #!/bin/sh RPM_SOURCE_DIR="/home/xose/rpmbuild/SOURCES/iw-3.10" RPM_BUILD_DIR="/home/xose/rpmbuild/BUILD" RPM_OPT_FLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic" RPM_LD_FLAGS="-Wl,-z,relro " RPM_ARCH="x86_64" RPM_OS="linux" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_LD_FLAGS RPM_ARCH RPM_OS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="iw" RPM_PACKAGE_VERSION="3.10" RPM_PACKAGE_RELEASE="2.fc19" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C export LANG unset CDPATH DISPLAY ||: RPM_BUILD_ROOT="/home/xose/rpmbuild/BUILDROOT/iw-3.10-2.fc19.x86_64" export RPM_BUILD_ROOT PKG_CONFIG_PATH="%{_PKG_CONFIG_PATH}:/usr/lib64/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH set -x umask 022 cd "/home/xose/rpmbuild/BUILD" cd 'iw-3.10' make -j 4 CFLAGS="$RPM_OPT_FLAGS" exit 0 ---end---
Created attachment 775011 [details] dates+nl3
Now it was built fine.
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle. Changing version to '20'. More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20
ping !
(In reply to Xose Vazquez Perez from comment #6) > ping ! Sorry completely forgot about it, will have a look this weekend. Thanks for the ping.
Does not build: http://koji.fedoraproject.org/koji/taskinfo?taskID=6158067
(In reply to Adel Gadllah from comment #8) > Does not build: http://koji.fedoraproject.org/koji/taskinfo?taskID=6158067 I looks like you did not apply the patch [1]: http://koji.fedoraproject.org/koji/getfile?taskID=6158078&name=build.log&offset=-4000 [1] https://bugzilla.redhat.com/attachment.cgi?id=775011
You did apply only half of it. It is broke because this is missing: -make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" +export CFLAGS="$RPM_OPT_FLAGS" +make %{?_smp_mflags} Apply the _full_ patch.
(In reply to Xose Vazquez Perez from comment #10) > You did apply only half of it. > > It is broke because this is missing: > > -make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" > +export CFLAGS="$RPM_OPT_FLAGS" > +make %{?_smp_mflags} Oh I have (wrongly) though that this was an unrelated change. Built fine in rawhide now. Is there any urgency to get this into released versions? libnl1 isn't going away there so it is probably not worth doing an update.
(In reply to Adel Gadllah from comment #11) > rawhide now. Is there any urgency to get this into released versions? libnl1 > isn't going away there so it is probably not worth doing an update. No, there is nothing urgent. FYI, 3.11 was released time ago. see bug 890399 . thanks.