* Package: net-analyzer/cnet-3.3.4:0 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking cnet-3.3.4.tgz to /var/tmp/portage/net-analyzer/cnet-3.3.4/work >>> Source unpacked in /var/tmp/portage/net-analyzer/cnet-3.3.4/work >>> Preparing source in /var/tmp/portage/net-analyzer/cnet-3.3.4/work/cnet-3.3.4 ... * Applying cnet-3.3.4-gentoo.patch ... [ ok ] * Applying cnet-3.3.1-tcl.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/cnet-3.3.4/work/cnet-3.3.4 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/cnet-3.3.4/work/cnet-3.3.4 ... make -j4 CC=x86_64-pc-linux-gnu-gcc 'C99=x86_64-pc-linux-gnu-gcc -std=c99' AR=x86_64-pc-linux-gnu-ar RANLIB=x86_64-pc-linux-gnu-ranlib make -C src make[1]: Entering directory '/var/tmp/portage/net-analyzer/cnet-3.3.4/work/cnet-3.3.4/src' make[2]: Entering directory '/var/tmp/portage/net-analyzer/cnet-3.3.4/work/cnet-3.3.4/src' compiling applicationlayer.c compiling battery.c compiling checksums.c compiling cnetmain.c compiling compile.c compiling drawframes.c compiling error.c compiling events.c compiling exit.c compiling format64.c compiling globals.c compiling images.c compiling ipod.c compiling keyboard.c compiling lan.c compiling leds.c compiling lexical.c compiling links.c compiling mainwindow.c compiling motd.c compiling mt19937.c compiling nics.c compiling nicmenu.c compiling nicwindows.c compiling nodes.c compiling nodemenu.c compiling nodewindows.c compiling parser.c compiling physicallayer.c compiling poisson.c compiling position.c compiling queuing.c compiling random.c compiling save.c compiling scheduler.c compiling shmem.c compiling statistics.c compiling stdapplication.c compiling stdio.c compiling tcltkfunctions.c compiling timers.c compiling topology.c compiling trace.c compiling vars.c compiling wan.c compiling wlan.c linking cnet nodewindows.c:70:17: error: type of ‘__CN136’ does not match original declaration [-Werror=lto-type-mismatch] 70 | extern void single_event(int, CnetEvent, CnetTimerID); | ^ scheduler.c:37:6: note: type mismatch in parameter 4 37 | void single_event(int n, CnetEvent ev, CnetTimerID timer, CnetData data) | ^ scheduler.c:37:6: note: type ‘CnetData’ should match type ‘void’ scheduler.c:37:6: note: ‘__CN136’ was previously declared here cnetmain.c:551:25: error: type of ‘__CN079’ does not match original declaration [-Werror=lto-type-mismatch] 551 | extern void init_mainwindow(const char *, | ^ mainwindow.c:197:6: note: type mismatch in parameter 3 197 | void init_mainwindow(const char *topology, | ^ mainwindow.c:197:6: note: type ‘int’ should match type ‘_Bool’ mainwindow.c:197:6: note: ‘__CN079’ was previously declared here mainwindow.c:197:6: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used lto1: some warnings being treated as errors lto-wrapper: fatal error: gcc returned 1 exit status compilation terminated. /usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status make[2]: *** [Makefile.common:28: cnet] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-analyzer/cnet-3.3.4/work/cnet-3.3.4/src' make[1]: *** [Makefile:10: it] Error 2 make[1]: Leaving directory '/var/tmp/portage/net-analyzer/cnet-3.3.4/work/cnet-3.3.4/src' make: *** [Makefile:25: it] Error 2 * ERROR: net-analyzer/cnet-3.3.4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/cnet-3.3.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/cnet-3.3.4::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:cnet-3.3.4:20240930-095423.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/cnet-3.3.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/cnet-3.3.4/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/cnet-3.3.4/work/cnet-3.3.4' * S: '/var/tmp/portage/net-analyzer/cnet-3.3.4/work/cnet-3.3.4'