* Package: sys-fs/autorun-3.17:0 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc 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-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 --disable-dependency-tracking --libdir=/usr/lib64 checking for a BSD-compatible install... /usr/lib/portage/python3.10/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-pc-linux-gnu-gcc... clang 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 clang accepts -g... yes checking for clang option to accept ANSI C... none needed checking dependency style of clang... none checking how to run the C preprocessor... clang -E checking for egrep... grep -E checking for ANSI C header files... no 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-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for ld used by clang... /usr/bin/x86_64-pc-linux-gnu-ld checking if the linker (/usr/bin/x86_64-pc-linux-gnu-ld) is GNU ld... yes checking for /usr/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/x86_64-pc-linux-gnu-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-pc-linux-gnu-g++... clang++ checking whether we are using the GNU C++ compiler... yes checking whether clang++ accepts -g... yes checking dependency style of clang++... none checking how to run the C++ preprocessor... clang++ -E checking for x86_64-pc-linux-gnu-g77... no checking for x86_64-pc-linux-gnu-f77... no checking for x86_64-pc-linux-gnu-xlf... no checking for x86_64-pc-linux-gnu-frt... no checking for x86_64-pc-linux-gnu-pgf77... no checking for x86_64-pc-linux-gnu-fort77... no checking for x86_64-pc-linux-gnu-fl32... no checking for x86_64-pc-linux-gnu-af77... no checking for x86_64-pc-linux-gnu-f90... no checking for x86_64-pc-linux-gnu-xlf90... no checking for x86_64-pc-linux-gnu-pgf90... no checking for x86_64-pc-linux-gnu-epcf90... no checking for x86_64-pc-linux-gnu-f95... no checking for x86_64-pc-linux-gnu-fort... no checking for x86_64-pc-linux-gnu-xlf95... no checking for x86_64-pc-linux-gnu-ifc... no checking for x86_64-pc-linux-gnu-efc... no checking for x86_64-pc-linux-gnu-pgf95... no checking for x86_64-pc-linux-gnu-lf95... no checking for x86_64-pc-linux-gnu-gfortran... x86_64-pc-linux-gnu-gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether x86_64-pc-linux-gnu-gfortran accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from clang object... ok checking for objdir... .libs checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking if clang static flag works... yes checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC checking if clang PIC flag -fPIC works... yes checking if clang supports -c -o file.o... rmdir: failed to remove 'conftest': Directory not empty rm: cannot remove 'conftest': Is a directory yes checking whether the clang linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... rm: cannot remove 'conftest': Is a directory rm: cannot remove 'conftest': Is a directory no checking dynamic linker characteristics... 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 clang++... /usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64 checking if the linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) is GNU ld... yes checking whether the clang++ linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking for clang++ option to produce PIC... -fPIC checking if clang++ PIC flag -fPIC works... yes checking if clang++ supports -c -o file.o... yes checking whether the clang++ linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... 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-pc-linux-gnu-gfortran option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gfortran PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-gfortran supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-gfortran linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... 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-pc-linux-gnu-g++... (cached) clang++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether clang++ accepts -g... (cached) yes checking dependency style of clang++... (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 clang needs -traditional... no checking for pid_t... (cached) yes checking for ANSI C header files... (cached) no 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... yes 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. '/var/tmp/portage/sys-fs/autorun-3.17/temp/clang14.log' -> '/var/tmp/clang/sys-fs/autorun-3.17/clang14.log' '/var/tmp/portage/sys-fs/autorun-3.17/temp/clang15.log' -> '/var/tmp/clang/sys-fs/autorun-3.17/clang15.log' >>> Compiling source in /var/tmp/portage/sys-fs/autorun-3.17/work/autorun-3.17 ... make -j4 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' make[2]: Nothing to be done for 'all'. 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' clang++ -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/share/locale\" -pipe -march=native -fno-diagnostics-color -O2 -c -o autorun.o autorun.cc clang++ -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/share/locale\" -pipe -march=native -fno-diagnostics-color -O2 -c -o cdrom.o cdrom.cc xmlto man autorun.man.xml LC_ALL=C ./intltool-merge -d -u -c ./po/.intltool-merge-cache ./po Autorun.desktop.in Autorun.desktop Generating and caching the translation database Note: meta source : no *info/productname or alternative autorun Note: meta source : see http://docbook.sf.net/el/productname autorun Note: meta source : no refentry/refmeta/refmiscinfo@class=source autorun Note: meta source : see http://docbook.sf.net/el/refmiscinfo autorun Note: meta version: no *info/productnumber or alternative autorun Note: meta version: see http://docbook.sf.net/el/productnumber autorun Note: meta version: no refentry/refmeta/refmiscinfo@class=version autorun Note: meta version: see http://docbook.sf.net/el/refmiscinfo autorun Warn: meta source : no fallback for source, so inserted a fixme autorun Note: meta manual : no titled ancestor of refentry autorun Note: meta manual : no refentry/refmeta/refmiscinfo@class=manual autorun Note: meta manual : see http://docbook.sf.net/el/refmiscinfo autorun Warn: meta manual : no fallback for manual, so inserted a fixme autorun autorun.cc:166:13: error: no member named 'strcmp' in the global namespace if((::strcmp(devpath.c_str(), mep->mnt_fsname) != 0) && ~~^ autorun.cc:167:14: error: no member named 'strcmp' in the global namespace (len && (::strcmp(lpath, mep->mnt_fsname) != 0))) ~~^ autorun.cc:171:16: error: no member named 'strstr' in the global namespace if ((((::strstr(mep->mnt_opts, "owner") || ~~^ autorun.cc:172:9: error: no member named 'strstr' in the global namespace (::strstr(mep->mnt_opts, "pamconsole"))) && ~~^ autorun.cc:174:7: error: no member named 'strstr' in the global namespace ::strstr(mep->mnt_opts, "user")) && ~~^ autorun.cc:175:7: error: no member named 'strstr' in the global namespace (::strstr(mep->mnt_type, MNTTYPE_ISO9660) || ~~^ autorun.cc:176:7: error: no member named 'strstr' in the global namespace ::strstr(mep->mnt_type, MNTTYPE_UDF) || ~~^ autorun.cc:177:7: error: no member named 'strstr' in the global namespace ::strstr(mep->mnt_type, MNTTYPE_AUTO))) ~~^ Note: Writing autorun.1 autorun.cc:180:12: error: no member named 'strstr' in the global namespace if(::strstr(mep->mnt_opts, MNTTYPE_ISO9660) && ~~^ autorun.cc:181:5: error: no member named 'strstr' in the global namespace ::strstr(mep->mnt_type, MNTTYPE_SUPERMOUNT)) { ~~^ autorun.cc:184:11: error: use of undeclared identifier 'strdup' printf(_("Supermount entry found at %s.\n"), mep->mnt_dir); ^ autorun.cc:112:19: note: expanded from macro '_' #define _(String) strdup(gettext (String)) ^ autorun.cc:200:15: error: no member named 'strstr' in the global namespace dev = ::strstr(mep->mnt_opts, SUPER_OPT_DEV); ~~^ autorun.cc:207:2: error: use of undeclared identifier 'strncpy' strncpy(devstr, dev, len); ^ autorun.cc:220:24: error: no member named 'strstr' in the global namespace cd->exec_mode = (::strstr(mep->mnt_opts, "exec") == 0) ~~^ autorun.cc:306:18: error: use of undeclared identifier 'strdup' fprintf(stderr, _("%s is not in /etc/fstab or the user/owner opt... ^ autorun.cc:112:19: note: expanded from macro '_' #define _(String) strdup(gettext (String)) ^ autorun.cc:457:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] argv[0] = "/bin/sh"; ^ autorun.cc:458:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] argv[1] = "-c"; ^ Merging translations into Autorun.desktop. autorun.cc:461:7: error: use of undeclared identifier 'strcpy' strcpy(argv[2], exec_str.c_str()); ^ autorun.cc:491:21: error: use of undeclared identifier 'strdup' fprintf(stderr, _("Environment variable $HOME is not set!\n")); ^ autorun.cc:112:19: note: expanded from macro '_' #define _(String) strdup(gettext (String)) ^ autorun.cc:496:19: error: use of undeclared identifier 'strdup' lockfile_path = strdup(lockfile_path); ^ autorun.cc:497:50: error: use of undeclared identifier 'strlen' lockfile_path = (char *)realloc(lockfile_path, strlen(lockfile_path) ... ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. make[2]: *** [Makefile:401: autorun.o] Error 1 make[2]: *** Waiting for unfinished jobs.... 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:20221014-134957.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'