[ 90%] Building CXX object src/knemod/CMakeFiles/knemo.dir/syncstats/stats_vnstat.cpp.o cd /var/tmp/portage/net-misc/knemo-0.7.7/work/knemo-0.7.7_build/src/knemod && /usr/bin/x86_64-pc-linux-gnu-g++ -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=42 -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.7/work/knemo-0.7.7_build/src/knemod -I/var/tmp/portage/net-misc/knemo-0.7.7/work/knemo-0.7.7/src/knemod -I/usr/include/libnl3 -I/var/tmp/portage/net-misc/knemo-0.7.7/work/knemo-0.7.7_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.7/work/knemo-0.7.7/src/knemod/../common -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/knemo.dir/syncstats/stats_vnstat.cpp.o -c /var/tmp/portage/net-misc/knemo-0.7.7/work/knemo-0.7.7/src/knemod/syncstats/stats_vnstat.cpp [ 93%] Building CXX object src/knemod/CMakeFiles/knemo.dir/backends/netlinkbackend.cpp.o cd /var/tmp/portage/net-misc/knemo-0.7.7/work/knemo-0.7.7_build/src/knemod && /usr/bin/x86_64-pc-linux-gnu-g++ -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=42 -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.7/work/knemo-0.7.7_build/src/knemod -I/var/tmp/portage/net-misc/knemo-0.7.7/work/knemo-0.7.7/src/knemod -I/usr/include/libnl3 -I/var/tmp/portage/net-misc/knemo-0.7.7/work/knemo-0.7.7_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.7/work/knemo-0.7.7/src/knemod/../common -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/knemo.dir/backends/netlinkbackend.cpp.o -c /var/tmp/portage/net-misc/knemo-0.7.7/work/knemo-0.7.7/src/knemod/backends/netlinkbackend.cpp In file included from /var/tmp/portage/net-misc/knemo-0.7.7/work/knemo-0.7.7/src/knemod/backends/netlinkbackend.cpp:37:0: /usr/include/linux/if.h:71:17: error: redeclaration of ‘IFF_UP’ IFF_UP = 1<<0, /* sysfs */ ^ In file included from /var/tmp/portage/net-misc/knemo-0.7.7/work/knemo-0.7.7/src/knemod/backends/netlinkbackend.cpp:27:0: /usr/include/net/if.h:44:5: note: previous declaration ‘<anonymous enum> IFF_UP’ IFF_UP = 0x1, /* Interface is up. */ $ cat ./info.txt ----------------------------------------------------------------- This is an unstable amd64 chroot image (named amd64-kde-unstable_20150820-150929) 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.6-hardened x86_64) ================================================================= System uname: Linux-4.1.6-hardened-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2 KiB Mem: 16164628 total, 1027744 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Wed, 09 Sep 2015 22:15:01 +0000 sh bash 4.3_p42 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 distcc 3.2rc1 x86_64-pc-linux-gnu [disabled] ccache version 3.2.3 [disabled] app-shells/bash: 4.3_p42::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.22.0::gentoo dev-lang/python: 2.7.10::gentoo, 3.4.3::gentoo dev-util/ccache: 3.2.3::gentoo dev-util/cmake: 3.3.1-r1::gentoo dev-util/pkgconfig: 0.28-r3::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.17::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.9.6-r4::gentoo, 1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.2.4-r1::gentoo, 4.8.4::gentoo, 4.9.3::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.2::gentoo (virtual/os-headers) sys-libs/glibc: 2.21-r1::gentoo Repositories: local location: /usr/local/portage masters: gentoo gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: 9999 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /opt/openfire/resources/security/ /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb /var/lib/i2pd/certificates /var/lib/redmine/config /var/spool/torque /var/yp/Makefile" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /var/lib/redmine/config/locales /var/lib/redmine/config/settings.yml" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/var/tmp/distfiles" EMERGE_DEFAULT_OPTS="--color=n --nospinner --tree --quiet-build --accept-properties=-interactive --accept-restrict=-fetch" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gor.bytemark.co.uk/gentoo/ rsync://ftp.snt.utwente.nl/gentoo" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg kde kipi lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline sdl seccomp semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
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.