Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 624920 Details for
Bug 714140
sys-fs/autorun-3.17 : autorun.cc: error: redefinition of struct argp_option
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sys-fs:autorun-3.17:20200323-232937.log
sys-fs:autorun-3.17:20200323-232937.log (text/plain), 18.83 KB, created by
Toralf Förster
on 2020-03-24 08:21:03 UTC
(
hide
)
Description:
sys-fs:autorun-3.17:20200323-232937.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-03-24 08:21:03 UTC
Size:
18.83 KB
patch
obsolete
> * Package: sys-fs/autorun-3.17 > * Repository: gentoo > * Maintainer: base-system@gentoo.org > * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking autorun-3.17.tar.gz to /var/tmp/portage/sys-fs/autorun-3.17/work >>>> Source unpacked in /var/tmp/portage/sys-fs/autorun-3.17/work >>>> Preparing source in /var/tmp/portage/sys-fs/autorun-3.17/work/autorun-3.17 ... > * Applying autorun-3.17-headers.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sys-fs/autorun-3.17/work/autorun-3.17 ... > * econf: updating autorun-3.17/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating autorun-3.17/config.guess with /usr/share/gnuconfig/config.guess >./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 --disable-dependency-tracking --libdir=/usr/lib >checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking for style of include used by make... GNU >checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-gcc >checking for C compiler default output file name... a.out >checking whether the C compiler works... yes >checking whether we are cross compiling... no >checking for suffix of executables... >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes >checking for x86_64-gentoo-linux-musl-gcc option to accept ANSI C... none needed >checking dependency style of x86_64-gentoo-linux-musl-gcc... none >checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E >checking for egrep... grep -E >checking for ANSI C header files... yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking locale.h usability... yes >checking locale.h presence... yes >checking for locale.h... yes >checking for LC_MESSAGES... yes >checking libintl.h usability... yes >checking libintl.h presence... yes >checking for libintl.h... yes >checking for ngettext in libc... yes >checking for dgettext in libc... yes >checking for bind_textdomain_codeset... yes >checking for msgfmt... /usr/bin/msgfmt >checking for dcgettext... yes >checking for gmsgfmt... /usr/bin/gmsgfmt >checking for xgettext... /usr/bin/xgettext >checking for catalogs to be installed... ar bg bn bn_IN ca cs cy da de en_GB es et fa fi fr gu he hi hr hu id is it ja ka ko ku lo mk mr ms nb nl no pa pl pt_BR pt ru si sk sl sq sv ta th tr uk ur vi zh_CN zh_TW >checking for perl... /usr/bin/perl >checking for XML::Parser... ok >checking for iconv... /usr/bin/iconv >checking for msgfmt... /usr/bin/msgfmt >checking for msgmerge... /usr/bin/msgmerge >checking for xgettext... /usr/bin/xgettext >checking build system type... x86_64-gentoo-linux-musl >checking host system type... x86_64-gentoo-linux-musl >checking for a sed that does not truncate output... /bin/sed >checking for ld used by x86_64-gentoo-linux-musl-gcc... /usr/x86_64-gentoo-linux-musl/bin/ld >checking if the linker (/usr/x86_64-gentoo-linux-musl/bin/ld) is GNU ld... yes >checking for /usr/x86_64-gentoo-linux-musl/bin/ld option to reload object files... -r >checking for BSD-compatible nm... /usr/bin/x86_64-gentoo-linux-musl-nm -B >checking whether ln -s works... yes >checking how to recognise dependent libraries... pass_all >checking dlfcn.h usability... yes >checking dlfcn.h presence... yes >checking for dlfcn.h... yes >checking for x86_64-gentoo-linux-musl-g++... x86_64-gentoo-linux-musl-g++ >checking whether we are using the GNU C++ compiler... yes >checking whether x86_64-gentoo-linux-musl-g++ accepts -g... yes >checking dependency style of x86_64-gentoo-linux-musl-g++... none >checking how to run the C++ preprocessor... x86_64-gentoo-linux-musl-g++ -E >checking for x86_64-gentoo-linux-musl-g77... no >checking for x86_64-gentoo-linux-musl-f77... no >checking for x86_64-gentoo-linux-musl-xlf... no >checking for x86_64-gentoo-linux-musl-frt... no >checking for x86_64-gentoo-linux-musl-pgf77... no >checking for x86_64-gentoo-linux-musl-fort77... no >checking for x86_64-gentoo-linux-musl-fl32... no >checking for x86_64-gentoo-linux-musl-af77... no >checking for x86_64-gentoo-linux-musl-f90... no >checking for x86_64-gentoo-linux-musl-xlf90... no >checking for x86_64-gentoo-linux-musl-pgf90... no >checking for x86_64-gentoo-linux-musl-epcf90... no >checking for x86_64-gentoo-linux-musl-f95... no >checking for x86_64-gentoo-linux-musl-fort... no >checking for x86_64-gentoo-linux-musl-xlf95... no >checking for x86_64-gentoo-linux-musl-ifc... no >checking for x86_64-gentoo-linux-musl-efc... no >checking for x86_64-gentoo-linux-musl-pgf95... no >checking for x86_64-gentoo-linux-musl-lf95... no >checking for x86_64-gentoo-linux-musl-gfortran... x86_64-gentoo-linux-musl-gfortran >checking whether we are using the GNU Fortran 77 compiler... yes >checking whether x86_64-gentoo-linux-musl-gfortran accepts -g... yes >checking the maximum length of command line arguments... 32768 >checking command to parse /usr/bin/x86_64-gentoo-linux-musl-nm -B output from x86_64-gentoo-linux-musl-gcc object... ok >checking for objdir... .libs >checking for x86_64-gentoo-linux-musl-ar... x86_64-gentoo-linux-musl-ar >checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-ranlib >checking for x86_64-gentoo-linux-musl-strip... x86_64-gentoo-linux-musl-strip >checking if x86_64-gentoo-linux-musl-gcc static flag works... yes >checking if x86_64-gentoo-linux-musl-gcc supports -fno-rtti -fno-exceptions... no >checking for x86_64-gentoo-linux-musl-gcc option to produce PIC... -fPIC >checking if x86_64-gentoo-linux-musl-gcc PIC flag -fPIC works... yes >checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... yes >checking whether the x86_64-gentoo-linux-musl-gcc linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking dynamic linker characteristics... cat: 'ld.so.conf.d/*.conf': No such file or directory >GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... yes >configure: creating libtool >appending configuration tag "CXX" to libtool >checking for ld used by x86_64-gentoo-linux-musl-g++... /usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64 >checking if the linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) is GNU ld... yes >checking whether the x86_64-gentoo-linux-musl-g++ linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes >checking for x86_64-gentoo-linux-musl-g++ option to produce PIC... -fPIC >checking if x86_64-gentoo-linux-musl-g++ PIC flag -fPIC works... yes >checking if x86_64-gentoo-linux-musl-g++ supports -c -o file.o... yes >checking whether the x86_64-gentoo-linux-musl-g++ linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes >checking dynamic linker characteristics... cat: 'ld.so.conf.d/*.conf': No such file or directory >GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >appending configuration tag "F77" to libtool >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... yes >checking for x86_64-gentoo-linux-musl-gfortran option to produce PIC... -fPIC >checking if x86_64-gentoo-linux-musl-gfortran PIC flag -fPIC works... yes >checking if x86_64-gentoo-linux-musl-gfortran supports -c -o file.o... yes >checking whether the x86_64-gentoo-linux-musl-gfortran linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes >checking dynamic linker characteristics... cat: 'ld.so.conf.d/*.conf': No such file or directory >GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking whether make sets $(MAKE)... (cached) yes >checking for x86_64-gentoo-linux-musl-g++... (cached) x86_64-gentoo-linux-musl-g++ >checking whether we are using the GNU C++ compiler... (cached) yes >checking whether x86_64-gentoo-linux-musl-g++ accepts -g... (cached) yes >checking dependency style of x86_64-gentoo-linux-musl-g++... (cached) none >checking for pid_t... yes >checking for unistd.h... (cached) yes >checking vfork.h usability... no >checking vfork.h presence... no >checking for vfork.h... no >checking for fork... yes >checking for vfork... yes >checking for working fork... no >checking for working vfork... (cached) yes >checking for stdlib.h... (cached) yes >checking for GNU libc compatible malloc... yes >checking whether lstat dereferences a symlink specified with a trailing slash... yes >checking whether stat accepts an empty string... no >checking for dirent.h that defines DIR... yes >checking for library containing opendir... none required >checking for sys/wait.h that is POSIX.1 compatible... yes >checking whether x86_64-gentoo-linux-musl-gcc needs -traditional... no >checking for pid_t... (cached) yes >checking for ANSI C header files... (cached) yes >checking argp.h usability... yes >checking argp.h presence... yes >checking for argp.h... yes >checking getopt.h usability... yes >checking getopt.h presence... yes >checking for getopt.h... yes >checking fcntl.h usability... yes >checking fcntl.h presence... yes >checking for fcntl.h... yes >checking for libintl.h... (cached) yes >checking mntent.h usability... yes >checking mntent.h presence... yes >checking for mntent.h... yes >checking sys/file.h usability... yes >checking sys/file.h presence... yes >checking for sys/file.h... yes >checking sys/ioctl.h usability... yes >checking sys/ioctl.h presence... yes >checking for sys/ioctl.h... yes >checking sys/mount.h usability... yes >checking sys/mount.h presence... yes >checking for sys/mount.h... yes >checking for getopt... yes >checking for argp_parse... no >checking for getmntent... yes >checking for strstr... yes >checking for CDROM_LOCKDOOR in linux/cdrom.h... yes >configure: creating ./config.status >config.status: creating Makefile >config.status: creating po/Makefile.in >config.status: creating autorun.spec >config.status: creating autorun.man.xml >config.status: creating config.h >config.status: executing depfiles commands >config.status: executing default-1 commands >config.status: executing intltool commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/sys-fs/autorun-3.17/work/autorun-3.17 ... >make -j1 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/sys-fs/autorun-3.17/work/autorun-3.17' >Making all in po >make[2]: Entering directory '/var/tmp/portage/sys-fs/autorun-3.17/work/autorun-3.17/po' >/usr/bin/msgfmt -o ar.mo ar.po >/usr/bin/msgfmt -o bg.mo bg.po >/usr/bin/msgfmt -o bn.mo bn.po >/usr/bin/msgfmt -o bn_IN.mo bn_IN.po >/usr/bin/msgfmt -o ca.mo ca.po >/usr/bin/msgfmt -o cs.mo cs.po >/usr/bin/msgfmt -o cy.mo cy.po >/usr/bin/msgfmt -o da.mo da.po >/usr/bin/msgfmt -o de.mo de.po >/usr/bin/msgfmt -o en_GB.mo en_GB.po >/usr/bin/msgfmt -o es.mo es.po >/usr/bin/msgfmt -o et.mo et.po >/usr/bin/msgfmt -o fa.mo fa.po >/usr/bin/msgfmt -o fi.mo fi.po >/usr/bin/msgfmt -o fr.mo fr.po >/usr/bin/msgfmt -o gu.mo gu.po >/usr/bin/msgfmt -o he.mo he.po >/usr/bin/msgfmt -o hi.mo hi.po >/usr/bin/msgfmt -o hr.mo hr.po >/usr/bin/msgfmt -o hu.mo hu.po >/usr/bin/msgfmt -o id.mo id.po >/usr/bin/msgfmt -o is.mo is.po >/usr/bin/msgfmt -o it.mo it.po >/usr/bin/msgfmt -o ja.mo ja.po >/usr/bin/msgfmt -o ka.mo ka.po >/usr/bin/msgfmt -o ko.mo ko.po >/usr/bin/msgfmt -o ku.mo ku.po >/usr/bin/msgfmt -o lo.mo lo.po >/usr/bin/msgfmt -o mk.mo mk.po >/usr/bin/msgfmt -o mr.mo mr.po >/usr/bin/msgfmt -o ms.mo ms.po >/usr/bin/msgfmt -o nb.mo nb.po >/usr/bin/msgfmt -o nl.mo nl.po >/usr/bin/msgfmt -o no.mo no.po >/usr/bin/msgfmt -o pa.mo pa.po >/usr/bin/msgfmt -o pl.mo pl.po >/usr/bin/msgfmt -o pt_BR.mo pt_BR.po >/usr/bin/msgfmt -o pt.mo pt.po >/usr/bin/msgfmt -o ru.mo ru.po >/usr/bin/msgfmt -o si.mo si.po >/usr/bin/msgfmt -o sk.mo sk.po >/usr/bin/msgfmt -o sl.mo sl.po >/usr/bin/msgfmt -o sq.mo sq.po >/usr/bin/msgfmt -o sv.mo sv.po >/usr/bin/msgfmt -o ta.mo ta.po >/usr/bin/msgfmt -o th.mo th.po >/usr/bin/msgfmt -o tr.mo tr.po >/usr/bin/msgfmt -o uk.mo uk.po >/usr/bin/msgfmt -o ur.mo ur.po >/usr/bin/msgfmt -o vi.mo vi.po >/usr/bin/msgfmt -o zh_CN.mo zh_CN.po >/usr/bin/msgfmt -o zh_TW.mo zh_TW.po >make[2]: Leaving directory '/var/tmp/portage/sys-fs/autorun-3.17/work/autorun-3.17/po' >make[2]: Entering directory '/var/tmp/portage/sys-fs/autorun-3.17/work/autorun-3.17' >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o autorun.o autorun.cc >autorun.cc: In function âbool addDev(arguments*, char*)â: >autorun.cc:153:14: error: âPATH_MAXâ was not declared in this scope > 153 | char lpath[PATH_MAX]; > | ^~~~~~~~ >autorun.cc:157:27: error: âlpathâ was not declared in this scope; did you mean âdevpathâ? > 157 | int len = readlink(arg, lpath, PATH_MAX); > | ^~~~~ > | devpath >autorun.cc: At global scope: >autorun.cc:237:8: error: redefinition of âstruct argp_optionâ > 237 | struct argp_option > | ^~~~~~~~~~~ >In file included from autorun.cc:86: >/usr/include/argp.h:73:8: note: previous definition of âstruct argp_optionâ > 73 | struct argp_option > | ^~~~~~~~~~~ >autorun.cc:247:8: error: redefinition of âstruct argpâ > 247 | struct argp { > | ^~~~ >In file included from autorun.cc:86: >/usr/include/argp.h:212:8: note: previous definition of âstruct argpâ > 212 | struct argp > | ^~~~ >autorun.cc: In function âvoid print_usage(char*)â: >autorun.cc:327:16: error: request for member âdocâ in âargpâ, which is of non-class type âintâ > 327 | cerr << argp.doc << endl << endl; > | ^~~ >autorun.cc:329:23: error: request for member âoptionsâ in âargpâ, which is of non-class type âintâ > 329 | for(int i = 0; argp.options[i].name != 0; i++) > | ^~~~~~~ >autorun.cc:331:35: error: request for member âoptionsâ in âargpâ, which is of non-class type âintâ > 331 | cerr << " -" << (char)argp.options[i].key << ", --" << argp.options[i].name; > | ^~~~~~~ >autorun.cc:331:68: error: request for member âoptionsâ in âargpâ, which is of non-class type âintâ > 331 | cerr << " -" << (char)argp.options[i].key << ", --" << argp.options[i].name; > | ^~~~~~~ > >autorun.cc:332:15: error: request for member âoptionsâ in âargpâ, which is of non-class type âintâ > 332 | if(argp.options[i].arg) > | ^~~~~~~ >autorun.cc:333:22: error: request for member âoptionsâ in âargpâ, which is of non-class type âintâ > 333 | cerr << "=" << argp.options[i].arg; > | ^~~~~~~ >autorun.cc:336:29: error: request for member âoptionsâ in âargpâ, which is of non-class type âintâ > 336 | cerr << "\t " << argp.options[i].doc << endl; > | ^~~~~~~ >autorun.cc: In function âvoid parse_opts(int, char**, arguments*)â: >autorun.cc:355:28: error: elements of array âparse_opts(int, char**, arguments*)::option long_options []â have incomplete type > 355 | static struct option long_options[] = > | ^~~~~~~~~~~~ >autorun.cc:355:28: error: storage size of âlong_optionsâ isnât known >autorun.cc:375:13: error: â::getopt_longâ has not been declared > 375 | c = ::getopt_long (argc, argv, "hVvqsln:t:e:a:c:i:", long_options, &oi); > | ^~~~~~~~~~~ >autorun.cc: In function âint exec_string(std::string&, autocd*)â: >autorun.cc:457:17: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 457 | argv[0] = "/bin/sh"; > | ^~~~~~~~~ >autorun.cc:458:17: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 458 | argv[1] = "-c"; > | ^~~~ >autorun.cc: In function âvoid lock_file()â: >autorun.cc:491:66: warning: format not a string literal and no format arguments [-Wformat-security] > 491 | fprintf(stderr, _("Environment variable $HOME is not set!\n")); > | ^ >autorun.cc:511:57: warning: format not a string literal and no format arguments [-Wformat-security] > 511 | fprintf(stderr, _("autorun is already running!\n")); > | ^ >autorun.cc: In function âint main(int, char**)â: >autorun.cc:539:8: error: request for member âdocâ in âargpâ, which is of non-class type âintâ > 539 | argp.doc = dupsnprintf(_("%s-%s -- the CD-ROM mounter for the lazy user\n\n" > | ^~~ >autorun.cc:582:8: error: request for member âoptionsâ in âargpâ, which is of non-class type âintâ > 582 | argp.options = options; > | ^~~~~~~ >autorun.cc:583:8: error: request for member âargp_domainâ in âargpâ, which is of non-class type âintâ > 583 | argp.argp_domain = PACKAGE; > | ^~~~~~~~~~~ >autorun.cc:653:33: warning: format not a string literal and no format arguments [-Wformat-security] > 653 | printf(_("removing device\n")); > | ^ >make[2]: *** [Makefile:401: autorun.o] Error 1 >make[2]: Leaving directory '/var/tmp/portage/sys-fs/autorun-3.17/work/autorun-3.17' >make[1]: *** [Makefile:496: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/sys-fs/autorun-3.17/work/autorun-3.17' >make: *** [Makefile:297: all] Error 2 > * ERROR: sys-fs/autorun-3.17::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=sys-fs/autorun-3.17::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sys-fs/autorun-3.17::gentoo'`. > * The complete build log is located at '/var/log/portage/sys-fs:autorun-3.17:20200323-232937.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-fs/autorun-3.17/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sys-fs/autorun-3.17/temp/environment'. > * Working directory: '/var/tmp/portage/sys-fs/autorun-3.17/work/autorun-3.17' > * S: '/var/tmp/portage/sys-fs/autorun-3.17/work/autorun-3.17'
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 714140
:
624910
|
624912
|
624914
|
624916
|
624918
| 624920 |
624922