* Package: net-print/npadmin-0.8.7 * Repository: gentoo * Maintainer: printing@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking npadmin-0.8.7.tar.gz to /var/tmp/portage/net-print/npadmin-0.8.7/work * Applying npadmin-0.8.7-stdlib.patch ... [ ok ] >>> Source unpacked in /var/tmp/portage/net-print/npadmin-0.8.7/work >>> Compiling source in /var/tmp/portage/net-print/npadmin-0.8.7/work/npadmin-0.8.7 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 creating cache ./config.cache checking for a BSD compatible install... /usr/lib/portage/python2.7/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/python2.7/ebuild-helpers/xattr/install -c checking for gcc... gcc checking whether the C compiler (gcc -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed) works... yes checking whether the C compiler (gcc -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed) 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++ -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed) works... yes checking whether the C++ compiler (c++ -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed) 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 make -j1 c++ -DHAVE_CONFIG_H -I. -I. -I. -march=native -O2 -pipe -c ber.C ber.C: In member function ‘virtual int BerInt::print(char*, unsigned int)’: ber.C:134:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] return snprintf(buf,len,"%d",val); ^ ber.C: In member function ‘virtual int BerTimeTick::print(char*, unsigned int)’: ber.C:218:40: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] t1/360000,t2/6000,t3/100,t3%100,val); ^ ber.C:218:40: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 9 has type ‘long unsigned int’ [-Wformat=] c++ -DHAVE_CONFIG_H -I. -I. -I. -march=native -O2 -pipe -c beroid.C c++ -DHAVE_CONFIG_H -I. -I. -I. -march=native -O2 -pipe -c berseq.C c++ -DHAVE_CONFIG_H -I. -I. -I. -march=native -O2 -pipe -c npadmin.C npadmin.C: In function ‘int main(int, char**)’: npadmin.C:179:3: error: narrowing conversion of ‘2147483648ul’ from ‘long unsigned int’ to ‘int’ inside { } [-Wnarrowing] }; ^ npadmin.C: In function ‘void* do_reqs(void*)’: npadmin.C:562:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_MEMORY_FLAG) not_sup("memory",session.Hostname()); ^ npadmin.C:563:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_STORAGE_FLAG) not_sup("storage",session.Hostname()); ^ npadmin.C:564:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_STATUS_FLAG) not_sup("status",session.Hostname()); ^ npadmin.C:576:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_MEDIAPATH_FLAG) not_sup("mediapath",session.Hostname()); ^ npadmin.C:577:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_MAXPAPERSIZE_FLAG) not_sup("maxpapersize",session.Hostname()); ^ npadmin.C:578:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_MINPAPERSIZE_FLAG) not_sup("minpapersize",session.Hostname()); ^ npadmin.C:579:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_ENGINESPEED_FLAG) not_sup("enginespeed",session.Hostname()); ^ npadmin.C:580:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_DUPLEX_FLAG) not_sup("duplex",session.Hostname()); ^ npadmin.C:581:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_DISPLAY_FLAG) not_sup("display",session.Hostname()); ^ npadmin.C:582:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_INPUTTRAY_FLAG) not_sup("inputtray",session.Hostname()); ^ npadmin.C:583:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_LETTER_FLAG) not_sup("letter",session.Hostname()); ^ npadmin.C:584:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_LEGAL_FLAG) not_sup("legal",session.Hostname()); ^ npadmin.C:585:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_TABLOID_FLAG) not_sup("tabloid",session.Hostname()); ^ npadmin.C:586:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_EXECUTIVE_FLAG) not_sup("executive",session.Hostname()); ^ npadmin.C:587:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_A3_FLAG) not_sup("a3",session.Hostname()); ^ npadmin.C:588:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_A4_FLAG) not_sup("a4",session.Hostname()); ^ npadmin.C:589:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_B4_FLAG) not_sup("b4",session.Hostname()); ^ npadmin.C:590:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_B5_FLAG) not_sup("b5",session.Hostname()); ^ npadmin.C:591:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_COVER_FLAG) not_sup("cover",session.Hostname()); ^ npadmin.C:592:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_ALERTS_FLAG) not_sup("alerts",session.Hostname()); ^ npadmin.C:593:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_LANGUAGES_FLAG) not_sup("languages",session.Hostname()); ^ npadmin.C:594:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_PCL_FLAG) not_sup("pcl",session.Hostname()); ^ npadmin.C:595:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_PJL_FLAG) not_sup("pjl",session.Hostname()); ^ npadmin.C:596:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_HPGL_FLAG) not_sup("hpgl",session.Hostname()); ^ npadmin.C:597:64: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_POSTSCRIPT_FLAG) not_sup("postscript",session.Hostname()); ^ npadmin.C:598:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_PSPRINTER_FLAG) not_sup("psprinter",session.Hostname()); ^ npadmin.C:599:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_AUTOLANG_FLAG) not_sup("autolang",session.Hostname()); ^ npadmin.C:600:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_PORT9100_FLAG) not_sup("port9100",session.Hostname()); ^ npadmin.C:601:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_APPLETALK_FLAG) not_sup("appletalk",session.Hostname()); ^ npadmin.C:602:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_LPD_FLAG) not_sup("lpd",session.Hostname()); ^ npadmin.C:603:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_NETWARE_FLAG) not_sup("netware",session.Hostname()); ^ npadmin.C:604:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_PROTOCOL_FLAG) not_sup("protocol",session.Hostname()); ^ npadmin.C:605:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_PAGECOUNT_FLAG) not_sup("pagecount",session.Hostname()); ^ npadmin.C:606:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_MARKER_FLAG) not_sup("marker",session.Hostname()); ^ npadmin.C:607:64: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_RESOLUTION_FLAG) not_sup("resolution",session.Hostname()); ^ npadmin.C:608:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_COLORS_FLAG) not_sup("color",session.Hostname()); ^ npadmin.C:609:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_MINMARGIN_FLAG) not_sup("minmargin",session.Hostname()); ^ npadmin.C:610:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_SUPPLIES_FLAG) not_sup("supplies",session.Hostname()); ^ npadmin.C:611:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if(CK_REBOOT_FLAG) not_sup("reboot",session.Hostname()); ^ npadmin.C:634:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] not_sup("cfgsrc",session.Hostname()); ^ make: *** [Makefile:214: npadmin.o] Error 1 emake failed * ERROR: net-print/npadmin-0.8.7::gentoo failed (compile phase): * Make failed. * * Call stack: * ebuild.sh, line 115: Called src_compile * environment, line 1975: Called die * The specific snippet of code: * emake || die "Make failed." * * If you need support, post the output of `emerge --info '=net-print/npadmin-0.8.7::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-print/npadmin-0.8.7::gentoo'`. * The complete build log is located at '/var/log/portage/net-print:npadmin-0.8.7:20160919-190520.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-print/npadmin-0.8.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-print/npadmin-0.8.7/temp/environment'. * Working directory: '/var/tmp/portage/net-print/npadmin-0.8.7/work/npadmin-0.8.7' * S: '/var/tmp/portage/net-print/npadmin-0.8.7/work/npadmin-0.8.7'