* Package: sys-apps/pmount-0.9.99_alpha-r6 * Repository: gentoo * Maintainer: slashbeast@gentoo.org mgorny@gentoo.org * USE: abi_x86_64 amd64 crypt elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo-mirror/gentoo/commit/ff8d8f56773b847557e93626dffc28781776f3f5 (Sat Sep 12 08:35:32 UTC 2020) @@@@@ END @@@@@ emerge --info: Portage 3.0.6 (python 3.8.5-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r1, 5.4.0-1021-aws x86_64) ================================================================= System uname: Linux-5.4.0-1021-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8175M_CPU_@_2.50GHz-with-glibc2.2.5 KiB Mem: 64359960 total, 24318500 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sat, 12 Sep 2020 08:35:31 +0000 sh bash 5.0_p18 ld GNU ld (Gentoo 2.34 p6) 2.34.0 app-shells/bash: 5.0_p18::gentoo dev-lang/perl: 5.30.3-r1::gentoo dev-lang/python: 2.7.18-r2::gentoo, 3.6.12::gentoo, 3.7.9::gentoo, 3.8.5::gentoo, 3.9.0_rc1::gentoo dev-util/cmake: 3.18.2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r2::gentoo sys-devel/gcc: 10.2.0-r1::gentoo sys-devel/gcc-config: 2.3.2::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* GPL-2" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-clang" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="x86_64-pc-linux-gnu-clang++" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" DISTDIR="/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/distdir" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -b -k" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld" MAKEOPTS="-j16 V=1" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd test unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS >>> Unpacking source... >>> Unpacking pmount_0.9.99-alpha.orig.tar.bz2 to /var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work >>> Source unpacked in /var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work >>> Preparing source in /var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha ... * Applying pmount-0.9.19-testsuite-missing-dir.patch ... [ ok ] * Applying pmount-0.9.99_alpha-locale-regex.patch ... [ ok ] * Applying pmount-0.9.99_alpha-exfat-support.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha ... * econf: updating pmount-0.9.99-alpha/config.sub with /usr/share/gnuconfig/config.sub * econf: updating pmount-0.9.99-alpha/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 --docdir=/usr/share/doc/pmount-0.9.99_alpha-r6 --htmldir=/usr/share/doc/pmount-0.9.99_alpha-r6/html --libdir=/usr/lib64 --disable-hal checking for a BSD-compatible install... /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether NLS is requested... yes checking for style of include used by make... GNU checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-clang accepts -g... yes checking for x86_64-pc-linux-gnu-clang option to accept ISO C89... none needed checking dependency style of x86_64-pc-linux-gnu-clang... none checking for intltool >= 0.21... 0.51.0 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.30.3 checking for XML::Parser... ok checking whether to enable maintainer-specific portions of Makefiles... no checking for library containing strerror... none required checking how to run the C preprocessor... x86_64-pc-linux-gnu-clang -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes 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 fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-clang... ld.lld checking if the linker (ld.lld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... llvm-nm checking the name lister (llvm-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for ld.lld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... llvm-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-ar... llvm-ar checking for x86_64-pc-linux-gnu-strip... llvm-strip checking for x86_64-pc-linux-gnu-ranlib... llvm-ranlib checking command to parse llvm-nm output from x86_64-pc-linux-gnu-clang object... ok 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 for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-clang supports -fno-rtti -fno-exceptions... yes checking for x86_64-pc-linux-gnu-clang option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-clang PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-clang static flag -static works... yes checking if x86_64-pc-linux-gnu-clang supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-clang supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-clang linker (ld.lld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... 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 checking blkid/blkid.h usability... yes checking blkid/blkid.h presence... yes checking for blkid/blkid.h... yes checking for blkid_get_cache in -lblkid... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes configure: Will be running cryptsetup with EUID = RUID = 0. Use --disable-ruid-root-cryptsetup 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... (cached) /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... (cached) /usr/bin/gmsgfmt checking for xgettext... (cached) /usr/bin/xgettext configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating man/Makefile config.status: creating etc/Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default-1 commands config.status: executing po/stamp-it commands >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha ... make -j16 V=1 make all-recursive make[1]: Entering directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha' Making all in etc make[2]: Entering directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha/etc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha/etc' Making all in man make[2]: Entering directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha/man' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha/man' Making all in po make[2]: Entering directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha/po' file=`echo bs | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file bs.po file=`echo ca | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file ca.po file=`echo cs | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file cs.po file=`echo de | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file de.po file=`echo el | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file el.po file=`echo en_AU | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file en_AU.po file=`echo en_GB | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file en_GB.po file=`echo en | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file en.po file=`echo es | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file es.po file=`echo et | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file et.po file=`echo eu | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file eu.po file=`echo fa | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file fa.po file=`echo fr | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file fr.po file=`echo he | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file he.po file=`echo hr | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file hr.po file=`echo hu | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file hu.po file=`echo id | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file id.po file=`echo it | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file it.po file=`echo ko | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file ko.po file=`echo ml | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file ml.po file=`echo nb | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file nb.po file=`echo nds | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file nds.po file=`echo nl | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file nl.po file=`echo pa | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file pa.po file=`echo pl | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file pl.po file=`echo pt_BR | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file pt_BR.po file=`echo pt | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file pt.po file=`echo ro | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file ro.po file=`echo ru | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file ru.po file=`echo sk | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file sk.po file=`echo sr | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file sr.po file=`echo sv | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file sv.po file=`echo te | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file te.po file=`echo tl | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file tl.po file=`echo tr | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file tr.po file=`echo vi | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file vi.po file=`echo yi | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file yi.po file=`echo zh_CN | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file zh_CN.po make[2]: Leaving directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha/po' Making all in src make[2]: Entering directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha/src' x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c fs.c x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c luks.c x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c policy.c x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c utils.c x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c realpath.c x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c conffile.c x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c configuration.c x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c loop.c x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c pmount.c x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c pumount.c conffile.c:58:8: warning: implicit declaration of function 'getgroups' is invalid in C99 [-Wimplicit-function-declaration] nb = getgroups(0, NULL); ^ conffile.c:127:23: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] if(cf_uid_in_list(getuid(), c->denied_users)) ^ conffile.c:132:23: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] if(cf_uid_in_list(getuid(), c->allowed_users)) ^ pumount.c:78:10: warning: address of array 'mntpt' will always evaluate to 'true' [-Wpointer-bool-conversion] if( !mntpt || !*mntpt ) { ~^~~~~ pumount.c:194:9: warning: implicit declaration of function 'conffile_system_read' is invalid in C99 [-Wimplicit-function-declaration] if( conffile_system_read() ) { ^ luks.c:147:7: warning: implicit declaration of function 'creat' is invalid in C99 [-Wimplicit-function-declaration] f = creat( path, 0600); ^ luks.c:153:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(f); ^ luks.c:183:5: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink(path); ^ pmount.c:843:5: warning: implicit declaration of function 'loopdev_associate' is invalid in C99 [-Wimplicit-function-declaration] if(loopdev_associate(device, device, sizeof(device))) { ^ pmount.c:892:7: warning: implicit declaration of function 'loopdev_dissociate' is invalid in C99 [-Wimplicit-function-declaration] loopdev_dissociate(device); ^ pmount.c:925:7: warning: implicit declaration of function 'loopdev_dissociate' is invalid in C99 [-Wimplicit-function-declaration] loop.c loopdev_dissociate(device); : ^ 55:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ pmount.c:952:4: warning: implicit declaration of function 'loopdev_dissociate' is invalid in C99 [-Wimplicit-function-declaration] loopdev_dissociate(device); ^ pmount.c:976:7: warning: implicit declaration of function 'loopdev_dissociate' is invalid in C99 [-Wimplicit-function-declaration] loopdev_dissociate(device); ^ pmount.c:1017:7: warning: implicit declaration of function 'loopdev_dissociate' is invalid in C99 [-Wimplicit-function-declaration] loopdev_dissociate(device); ^ policy.c:360:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(bus = get_device_bus(full_device, buses)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ policy.c:360:12: note: place parentheses around the assignment to silence this warning if(bus = get_device_bus(full_device, buses)) { ^ ( ) policy.c:360:12: note: use '==' to turn this assignment into an equality comparison if(bus = get_device_bus(full_device, buses)) { ^ == policy.c:420:19: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] realdev_arg = device; ^ ~~~~~~ policy.c:770:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(s = getutxent()) { ~~^~~~~~~~~~~~~ policy.c:770:11: note: place parentheses around the assignment to silence this warning while(s = getutxent()) { ^ ( ) policy.c:770:11: note: use '==' to turn this assignment into an equality comparison while(s = getutxent()) { ^ == policy.c:774:45: warning: implicitly declaring library function 'isdigit' with type 'int (int)' [-Wimplicit-function-declaration] if(! strncmp(s->ut_line, "tty", 3) && isdigit(s->ut_line[3])) { ^ policy.c:774:45: note: include the header or explicitly provide a declaration for 'isdigit' policy.c:791:6: warning: implicit declaration of function 'conffile_allow_not_physically_logged' is invalid in C99 [-Wimplicit-function-declaration] if(conffile_allow_not_physically_logged()) ^ 3 warnings generated. 2 warnings generated. 1 warning generated. 3 warnings generated. 6 warnings generated. 5 warnings generated. rm -f libpmount-util.a llvm-ar cru libpmount-util.a fs.o luks.o policy.o utils.o realpath.o conffile.o configuration.o loop.o llvm-ranlib libpmount-util.a /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -o pmount pmount.o libpmount-util.a -lblkid /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -o pumount pumount.o libpmount-util.a -lblkid libtool: link: x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -o pmount pmount.o libpmount-util.a -lblkid libtool: link: x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -o pumount pumount.o libpmount-util.a -lblkid make[2]: Leaving directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha/src' Making all in tests make[2]: Entering directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha/tests' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha/tests' make[2]: Entering directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha' make[2]: Leaving directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha' make[1]: Leaving directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha' >>> Source compiled. >>> Test phase: sys-apps/pmount-0.9.99_alpha-r6 make -j16 V=1 check Making check in etc make[1]: Entering directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha/etc' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha/etc' Making check in man make[1]: Entering directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha/man' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha/man' Making check in po make[1]: Entering directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha/po' INTLTOOL_EXTRACT=/usr/bin/intltool-extract srcdir=. /usr/bin/intltool-update --gettext-package pmount --pot rm -f missing notexist srcdir=. /usr/bin/intltool-update -m if [ -r missing -o -r notexist ]; then \ exit 1; \ fi make[1]: Leaving directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha/po' Making check in src make[1]: Entering directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha/src' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha/src' Making check in tests make[1]: Entering directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha/tests' make test_policy test_sysfs test_spawn make[2]: Entering directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha/tests' x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c -o test_policy-test_policy.o `test -f 'test_policy.c' || echo './'`test_policy.c x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c -o test_sysfs-test_sysfs.o `test -f 'test_sysfs.c' || echo './'`test_sysfs.c x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c -o test_spawn-test_spawn.o `test -f 'test_spawn.c' || echo './'`test_spawn.c test_spawn.c:29:6: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if(strcmp(slurp_buffer, "test string\n")) { ^ test_spawn.c:29:6: note: include the header or explicitly provide a declaration for 'strcmp' test_policy.c:49:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if(!strcmp(str1, str2)) { ^ test_policy.c:49:7: note: include the header or explicitly provide a declaration for 'strcmp' test_sysfs.c:71:53: warning: data argument not used by format string [-Wformat-extra-args] fprintf(stdout, "No whitelisted bus found\n", bus); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 1 warning generated. /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -o test_spawn test_spawn-test_spawn.o ../src/libpmount-util.a -lblkid 1 warning generated. 1 warning generated. /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -o test_sysfs test_sysfs-test_sysfs.o ../src/libpmount-util.a -lblkid /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -o test_policy test_policy-test_policy.o ../src/libpmount-util.a -lblkid libtool: link: x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -o test_spawn test_spawn-test_spawn.o ../src/libpmount-util.a -lblkid libtool: link: x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -o test_sysfs test_sysfs-test_sysfs.o ../src/libpmount-util.a -lblkid libtool: link: x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -o test_policy test_policy-test_policy.o ../src/libpmount-util.a -lblkid make[2]: Leaving directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha/tests' make check-TESTS make[2]: Entering directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha/tests' ...check_fstab, fstab link: only one NULL string .check_fstab, fstab double link: only one NULL string 4 tests, 2 failed FAIL: test_policy ================== 1 of 1 test failed ================== make[2]: *** [Makefile:442: check-TESTS] Error 1 make[2]: Leaving directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha/tests' make[1]: *** [Makefile:565: check-am] Error 2 make[1]: Leaving directory '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha/tests' make: *** [Makefile:329: check-recursive] Error 1 * ERROR: sys-apps/pmount-0.9.99_alpha-r6::gentoo failed (test phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/pmount-0.9.99_alpha-r6::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/pmount-0.9.99_alpha-r6::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/sys-apps/pmount-0.9.99_alpha-r6:20200912-091241.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha' * S: '/var/tmp/portage/sys-apps/pmount-0.9.99_alpha-r6/work/pmount-0.9.99-alpha'