Summary: | net-misc/knemo-0.7.7 : /.../if.h:71:17: error: redeclaration of ‘IFF_UP’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | ansla80 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=555784 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-history.txt
net-misc:knemo-0.7.7:20150909-235924.log info.txt emerge-history.txt environment net-misc:knemo-0.7.6-r1:20151031-145919.log |
Description
Toralf Förster
![]() Created attachment 411518 [details]
emerge-history.txt
Created attachment 411520 [details]
net-misc:knemo-0.7.7:20150909-235924.log
From the attached log file: >>> Preparing source in /var/tmp/portage/net-misc/knemo-0.7.7/work/knemo-0.7.7 ... >>> Enabling languages: en_GB * Applying user patches from /etc/portage/patches//net-misc/knemo ... * if.patch ... [ ok ] * Done with patching This looks like a conflict between the user patch to fix bug #560128 and the proper fix already included in version 0.7.7 (In reply to Andrei Slavoiu from comment #3) > From the attached log file: > >>> Preparing source in /var/tmp/portage/net-misc/knemo-0.7.7/work/knemo-0.7.7 ... > >>> Enabling languages: en_GB > * Applying user patches from /etc/portage/patches//net-misc/knemo ... > * if.patch ... > [ ok ] > * Done with patching > > This looks like a conflict between the user patch to fix bug #560128 and the > proper fix already included in version 0.7.7 Good catch. @Toralf, can you reproduce without it? Well, this is a new chroot image w/o any local patches and I still get : cd /var/tmp/portage/net-misc/knemo-0.7.6-r1/work/knemo-0.7.6_build/src/knemod && /usr/bin/x86_64-pc-linux-gnu-g++ -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=45 -DKDE_DEPRECATED_WARNINGS -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -DQT_NO_DEBUG -DNDEBUG -march=native -O2 -pipe -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -I/var/tmp/portage/net-misc/knemo-0.7.6-r1/work/knemo-0.7.6_build/src/knemod -I/var/tmp/portage/net-misc/knemo-0.7.6-r1/work/knemo-0.7.6/src/knemod -I/usr/include/libnl3 -I/var/tmp/portage/net-misc/knemo-0.7.6-r1/work/knemo-0.7.6_build -I/usr/include/KDE -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/var/tmp/portage/net-misc/knemo-0.7.6-r1/work/knemo-0.7.6/src/knemod/../common -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/knemo.dir/backends/netlinkbackend.o -c /var/tmp/portage/net-misc/knemo-0.7.6-r1/work/knemo-0.7.6/src/knemod/backends/netlinkbackend.cpp /var/tmp/portage/net-misc/knemo-0.7.6-r1/work/knemo-0.7.6/src/knemod/backends/netlinkbackend.cpp: In member function ‘void NetlinkBackend::updateIfaceData(const QString&, BackendData*)’: /var/tmp/portage/net-misc/knemo-0.7.6-r1/work/knemo-0.7.6/src/knemod/backends/netlinkbackend.cpp:205:22: error: ‘IFF_POINTOPOINT’ was not declared in this scope if ( flags & IFF_POINTOPOINT ) ^ /var/tmp/portage/net-misc/knemo-0.7.6-r1/work/knemo-0.7.6/src/knemod/backends/netlinkbackend.cpp:230:22: error: ‘IFF_UP’ was not declared in this scope if ( flags & IFF_UP ) ^ /var/tmp/portage/net-misc/knemo-0.7.6-r1/work/knemo-0.7.6/src/knemod/backends/netlinkbackend.cpp:235:32: error: ‘IFF_POINTOPOINT’ was not declared in this scope if ( !(flags & IFF_POINTOPOINT) || data->addrData.size() ) ^ src/knemod/CMakeFiles/knemo.dir/build.make:602: recipe for target 'src/knemod/CMakeFiles/knemo.dir/backends/netlinkbackend.o' failed make[2]: *** [src/knemod/CMakeFiles/knemo.dir/backends/netlinkbackend.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-misc/knemo-0.7.6-r1/work/knemo-0.7.6_build' CMakeFiles/Makefile2:235: recipe for target 'src/knemod/CMakeFiles/knemo.dir/all' failed make[1]: *** [src/knemod/CMakeFiles/knemo.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/net-misc/knemo-0.7.6-r1/work/knemo-0.7.6_build' Makefile:127: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: net-misc/knemo-0.7.6-r1::gentoo failed (compile phase): FWIW : USE="pax_kernel mmx sse sse2 -cdinstall -oci8 -bindist apache2 bzip2 cgi cgoups corefonts cups dbus -dvb dvd -fortran freetds gd gif git gudev help imap imlib inifile ipv6 isag -javaxml kerberos kvm libkms mssql multitarget ogg openmpi openssl pax_kernel pdo -policykit pyqt4 python qemu qt3support qt5 scrypt sdl semantic-desktop spice sse4_1 sse4_2 svg system-cairo system-jpeg thinkpad threads tk uml usb v4l vaapi video widgets X xml xmp xscreensaver xvmc mysql " CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" #RUBY_TARGETS="ruby22" #PYTHON_TARGETS="python2_7 python3_4 python3_5" LINGUAS="en en_GB" ACCEPT_KEYWORDS=amd64 #CMAKE_MAKEFILE_GENERATOR="ninja" Created attachment 415796 [details]
info.txt
for completeness here the current logs
-----------------------------------------------------------------
This is an stable amd64 chroot image (named amd64-kde-stable_20151022-153305) at a hardened host acting as a tinderbox.
-----------------------------------------------------------------
Portage 2.2.20.1 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.3, glibc-2.21-r1, 4.1.7-hardened-r1 x86_64)
Created attachment 415798 [details]
emerge-history.txt
Created attachment 415800 [details]
environment
Created attachment 415802 [details]
net-misc:knemo-0.7.6-r1:20151031-145919.log
(In reply to Toralf Förster from comment #5) > Well, this is a new chroot image w/o any local patches and I still get : > > > cd > /var/tmp/portage/net-misc/knemo-0.7.6-r1/work/knemo-0.7.6_build/src/knemod This bug is about version 0.7.7, not 0.7.6. Make sure you allow that version in your package.keywords as it's not stable yet. (In reply to Andrei Slavoiu from comment #10) > This bug is about version 0.7.7, not 0.7.6. Make sure you allow that version > in your package.keywords as it's not stable yet. ick, sry. Ok, at a stable chroot (amd64-kde-stable_20151022-153305) with unmask unstable knemo version 0.7.7 was emerged fine. |