* Package: net-print/npadmin-0.8.7-r1 * Repository: gentoo * Maintainer: printing@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking npadmin-0.8.7.tar.gz to /var/tmp/portage/net-print/npadmin-0.8.7-r1/work >>> Source unpacked in /var/tmp/portage/net-print/npadmin-0.8.7-r1/work >>> Preparing source in /var/tmp/portage/net-print/npadmin-0.8.7-r1/work/npadmin-0.8.7 ... * Applying npadmin-0.8.7-stdlib.patch ... [ ok ] * Applying npadmin-0.8.7-gcc6.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-print/npadmin-0.8.7-r1/work/npadmin-0.8.7 ... ./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib loading site script /usr/share/config.site creating cache ./config.cache checking for a BSD compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for a BSD compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking for gcc... gcc checking whether the C compiler (gcc -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) works... yes checking whether the C compiler (gcc -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) works... yes checking whether the C++ compiler (c++ -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking whether compiler handles exceptions... yes checking how to run the C++ preprocessor... c++ -E checking for ANSI C header files... yes checking for arpa/inet.h... yes checking for assert.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for limits.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for stdarg.h... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for sys/socket.h... yes checking for sys/stat.h... yes checking for sys/time.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for pthread.h... yes checking for working const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking for 8-bit clean memcmp... no checking for select... yes checking for strdup... yes checking for strstr... yes checking for strtol... yes checking for getopt_long... yes checking for snprintf... yes checking for socket... yes using libc's socket checking for inet_addr... yes using libc's inet_addr checking for getopt_long... (cached) yes using libc's getopt_long checking for pthread_join in -lpthread... yes updating cache ./config.cache creating ./config.status creating Makefile creating npadmin.spec creating config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/net-print/npadmin-0.8.7-r1/work/npadmin-0.8.7 ... make -j1 c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -march=native -c ber.C ber.C: In member function ‘virtual int BerInt::print(char*, unsigned int)’: ber.C:134:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] 134 | return snprintf(buf,len,"%d",val); | ~^ ~~~ | | | | | long int | int | %ld ber.C: In member function ‘virtual int BerTimeTick::print(char*, unsigned int)’: ber.C:217:35: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 217 | return snprintf(buf,len,"Time: %ud %uh %um %u.%usec (%u)",val/8640000, | ~^ ~~~~~~~~~~~ | | | | unsigned int long unsigned int | %lu ber.C:217:57: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 9 has type ‘long unsigned int’ [-Wformat=] 217 | return snprintf(buf,len,"Time: %ud %uh %um %u.%usec (%u)",val/8640000, | ~^ | | | unsigned int | %lu 218 | t1/360000,t2/6000,t3/100,t3%100,val); | ~~~ | | | long unsigned int c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -march=native -c beroid.C c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -march=native -c berseq.C c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -march=native -c npadmin.C In file included from npadmin.C:17: getopt.h:108:12: error: conflicting declaration of C function ‘int getopt()’ 108 | extern int getopt (); | ^~~~~~ In file included from npadmin.C:5: /usr/include/unistd.h:122:5: note: previous declaration ‘int getopt(int, char* const*, const char*)’ 122 | int getopt(int, char * const [], const char *); | ^~~~~~ npadmin.C: In function ‘void* do_reqs(void*)’: npadmin.C:562:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 562 | if(CK_MEMORY_FLAG) not_sup("memory",session.Hostname()); | ^~~~~~~~ npadmin.C:563:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 563 | if(CK_STORAGE_FLAG) not_sup("storage",session.Hostname()); | ^~~~~~~~~ npadmin.C:564:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 564 | if(CK_STATUS_FLAG) not_sup("status",session.Hostname()); | ^~~~~~~~ npadmin.C:576:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 576 | if(CK_MEDIAPATH_FLAG) not_sup("mediapath",session.Hostname()); | ^~~~~~~~~~~ npadmin.C:577:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 577 | if(CK_MAXPAPERSIZE_FLAG) not_sup("maxpapersize",session.Hostname()); | ^~~~~~~~~~~~~~ npadmin.C:578:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 578 | if(CK_MINPAPERSIZE_FLAG) not_sup("minpapersize",session.Hostname()); | ^~~~~~~~~~~~~~ npadmin.C:579:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 579 | if(CK_ENGINESPEED_FLAG) not_sup("enginespeed",session.Hostname()); | ^~~~~~~~~~~~~ npadmin.C:580:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 580 | if(CK_DUPLEX_FLAG) not_sup("duplex",session.Hostname()); | ^~~~~~~~ npadmin.C:581:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 581 | if(CK_DISPLAY_FLAG) not_sup("display",session.Hostname()); | ^~~~~~~~~ npadmin.C:582:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 582 | if(CK_INPUTTRAY_FLAG) not_sup("inputtray",session.Hostname()); | ^~~~~~~~~~~ npadmin.C:583:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 583 | if(CK_LETTER_FLAG) not_sup("letter",session.Hostname()); | ^~~~~~~~ npadmin.C:584:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 584 | if(CK_LEGAL_FLAG) not_sup("legal",session.Hostname()); | ^~~~~~~ npadmin.C:585:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 585 | if(CK_TABLOID_FLAG) not_sup("tabloid",session.Hostname()); | ^~~~~~~~~ npadmin.C:586:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 586 | if(CK_EXECUTIVE_FLAG) not_sup("executive",session.Hostname()); | ^~~~~~~~~~~ npadmin.C:587:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 587 | if(CK_A3_FLAG) not_sup("a3",session.Hostname()); | ^~~~ npadmin.C:588:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 588 | if(CK_A4_FLAG) not_sup("a4",session.Hostname()); | ^~~~ npadmin.C:589:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 589 | if(CK_B4_FLAG) not_sup("b4",session.Hostname()); | ^~~~ npadmin.C:590:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 590 | if(CK_B5_FLAG) not_sup("b5",session.Hostname()); | ^~~~ npadmin.C:591:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 591 | if(CK_COVER_FLAG) not_sup("cover",session.Hostname()); | ^~~~~~~ npadmin.C:592:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 592 | if(CK_ALERTS_FLAG) not_sup("alerts",session.Hostname()); | ^~~~~~~~ npadmin.C:593:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 593 | if(CK_LANGUAGES_FLAG) not_sup("languages",session.Hostname()); | ^~~~~~~~~~~ npadmin.C:594:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 594 | if(CK_PCL_FLAG) not_sup("pcl",session.Hostname()); | ^~~~~ npadmin.C:595:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 595 | if(CK_PJL_FLAG) not_sup("pjl",session.Hostname()); | ^~~~~ npadmin.C:596:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 596 | if(CK_HPGL_FLAG) not_sup("hpgl",session.Hostname()); | ^~~~~~ npadmin.C:597:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 597 | if(CK_POSTSCRIPT_FLAG) not_sup("postscript",session.Hostname()); | ^~~~~~~~~~~~ npadmin.C:598:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 598 | if(CK_PSPRINTER_FLAG) not_sup("psprinter",session.Hostname()); | ^~~~~~~~~~~ npadmin.C:599:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 599 | if(CK_AUTOLANG_FLAG) not_sup("autolang",session.Hostname()); | ^~~~~~~~~~ npadmin.C:600:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 600 | if(CK_PORT9100_FLAG) not_sup("port9100",session.Hostname()); | ^~~~~~~~~~ npadmin.C:601:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 601 | if(CK_APPLETALK_FLAG) not_sup("appletalk",session.Hostname()); | ^~~~~~~~~~~ npadmin.C:602:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 602 | if(CK_LPD_FLAG) not_sup("lpd",session.Hostname()); | ^~~~~ npadmin.C:603:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 603 | if(CK_NETWARE_FLAG) not_sup("netware",session.Hostname()); | ^~~~~~~~~ npadmin.C:604:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 604 | if(CK_PROTOCOL_FLAG) not_sup("protocol",session.Hostname()); | ^~~~~~~~~~ npadmin.C:605:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 605 | if(CK_PAGECOUNT_FLAG) not_sup("pagecount",session.Hostname()); | ^~~~~~~~~~~ npadmin.C:606:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 606 | if(CK_MARKER_FLAG) not_sup("marker",session.Hostname()); | ^~~~~~~~ npadmin.C:607:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 607 | if(CK_RESOLUTION_FLAG) not_sup("resolution",session.Hostname()); | ^~~~~~~~~~~~ npadmin.C:608:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 608 | if(CK_COLORS_FLAG) not_sup("color",session.Hostname()); | ^~~~~~~ npadmin.C:609:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 609 | if(CK_MINMARGIN_FLAG) not_sup("minmargin",session.Hostname()); | ^~~~~~~~~~~ npadmin.C:610:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 610 | if(CK_SUPPLIES_FLAG) not_sup("supplies",session.Hostname()); | ^~~~~~~~~~ npadmin.C:611:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 611 | if(CK_REBOOT_FLAG) not_sup("reboot",session.Hostname()); | ^~~~~~~~ npadmin.C:634:10: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 634 | not_sup("cfgsrc",session.Hostname()); | ^~~~~~~~ make: *** [Makefile:214: npadmin.o] Error 1 * ERROR: net-print/npadmin-0.8.7-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-print/npadmin-0.8.7-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-print/npadmin-0.8.7-r1::gentoo'`. * The complete build log is located at '/var/log/portage/net-print:npadmin-0.8.7-r1:20200412-025248.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-print/npadmin-0.8.7-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-print/npadmin-0.8.7-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-print/npadmin-0.8.7-r1/work/npadmin-0.8.7' * S: '/var/tmp/portage/net-print/npadmin-0.8.7-r1/work/npadmin-0.8.7'