Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 632416 Details for
Bug 717186
net-print/npadmin-0.8.7-r1 : getopt.h: error: conflicting declaration of C function int getopt()
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-print:npadmin-0.8.7-r1:20200412-025248.log
net-print:npadmin-0.8.7-r1:20200412-025248.log (text/plain), 15.45 KB, created by
Toralf Förster
on 2020-04-12 08:05:35 UTC
(
hide
)
Description:
net-print:npadmin-0.8.7-r1:20200412-025248.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-04-12 08:05:35 UTC
Size:
15.45 KB
patch
obsolete
> * 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'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 717186
:
632406
|
632408
|
632410
|
632412
|
632414
| 632416 |
632418