Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 827526 - net-fs/nfs-utils-2.5.4-r1 fails due to function prototype conflict
Summary: net-fs/nfs-utils-2.5.4-r1 fails due to function prototype conflict
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-26 17:40 UTC by a8r12
Modified: 2021-12-06 20:19 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,141.76 KB, text/x-log)
2021-11-28 18:57 UTC, a8r12
Details
build.log with english error messages (build.log,138.93 KB, text/plain)
2021-11-29 19:57 UTC, a8r12
Details
requested config.log file (config.log,140.12 KB, text/x-log)
2021-12-05 20:31 UTC, a8r12
Details

Note You need to log in before you can comment on or make changes to this bug.
Description a8r12 2021-11-26 17:40:44 UTC
Making all in nfsidmap
make[2]: Verzeichnis „/var/tmp/portage/net-fs/nfs-utils-2.5.4-r2/work/nfs-utils-2.5.4/utils/nfsidmap“ wird betreten
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../support/include  -I/usr/include/tirpc  -I ../../support/nfsidmap -D_GNU_SOURCE -Wall  -Wextra  -Werror=strict-prototypes  -fno-strict-aliasing  -march=znver1 -O2 -pipe -mno-fma4 -mno-tbm -mno-xop -mno-lwp -mclzero -madx -mrdseed -mmwaitx -msha -mxsavec -mxsaves -mclflushopt -mpopcnt -c -o nfsidmap.o nfsidmap.c
nfsidmap.c:41:21: Fehler: Statische Deklaration von »find_key_by_type_and_desc« folgt nicht-statischer Deklaration
   41 | static key_serial_t find_key_by_type_and_desc(const char *type,
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
nfsidmap.c:43:1: Anmerkung: vorherige Deklaration von »find_key_by_type_and_desc« vom Typ »key_serial_t(const char *, const char *, key_serial_t)« {alias »int(const char *, const char *, int)«}
   43 | {
      | ^
nfsidmap.c: In Funktion »find_key_by_type_and_desc«:
nfsidmap.c:42:48: Warnung: unverwendeter Parameter »destringid« [-Wunused-parameter]
   42 |                 const char *desc, key_serial_t destringid)
      |                                   ~~~~~~~~~~~~~^~~~~~~~~~
make[2]: *** [Makefile:528: nfsidmap.o] Fehler 1
make[2]: Verzeichnis „/var/tmp/portage/net-fs/nfs-utils-2.5.4-r2/work/nfs-utils-2.5.4/utils/nfsidmap“ wird verlassen
make[1]: *** [Makefile:459: all-recursive] Fehler 1
make[1]: Verzeichnis „/var/tmp/portage/net-fs/nfs-utils-2.5.4-r2/work/nfs-utils-2.5.4/utils“ wird verlassen
make: *** [Makefile:482: all-recursive] Fehler 1
 * ERROR: net-fs/nfs-utils-2.5.4-r2::gentoo failed (compile phase):
 *   emake failed

emerge --info nfs-utils
Portage 3.0.28 (python 3.9.8-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-11.2.0, glibc-2.33-r7, 5.10.76-gentoo-r1-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.10.76-gentoo-r1-x86_64-x86_64-AMD_Ryzen_5_2600X_Six-Core_Processor-with-glibc2.33
KiB Mem:    16372332 total,  11324576 free
KiB Swap:    8190972 total,   8190972 free
Timestamp of repository gentoo: Wed, 24 Nov 2021 18:30:01 +0000
Head commit of repository gentoo: 6c663abb66064ad670526a0765ea16e081ba0bcc
sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0-r3::gentoo
dev-lang/python:          2.7.18_p13::gentoo, 3.8.12_p1::gentoo, 3.9.8::gentoo
dev-lang/rust:            1.56.1::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7-r3::gentoo
sys-apps/sandbox:         2.25::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.16.4::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 

crossdev
    location: /usr/local/portage-crossdev
    masters: gentoo
    priority: 10

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver1 -O2 -pipe -mno-fma4 -mno-tbm -mno-xop -mno-lwp -mclzero -madx -mrdseed -mmwaitx -msha -mxsavec -mxsaves -mclflushopt -mpopcnt"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.8/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=znver1 -O2 -pipe -mno-fma4 -mno-tbm -mno-xop -mno-lwp -mclzero -madx -mrdseed -mmwaitx -msha -mxsavec -mxsaves -mclflushopt -mpopcnt"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --keep-going --complete-graph"
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"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://mirror.netcologne.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j10 -l4"
PKGDIR="/usr/portage/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="X a52 aac acl acpi activities alsa amd64 bash-completion bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr clamav cli cracklib crypt cups cxx dbus declarative dri dts dvd dvdr eds emacs emboss encode evo exif fam ffmpeg flac fortran ftp gdbm gif gimp git gnutls gphoto2 gpm graphviz gtk gui gzip handbook hddtemp iconv icu imagemagic imap inifile inotify introspection ipv6 jpeg kde kipi kwallet lame latex lcms libcaca libedit libglvnd libnotify libtirpc lm_sensors lzma lzo mad mbox mime mmap mms mng modules mozilla mp3 mp4 mpeg mpi mtp multilib mysql mysqli ncurses networkmanager nls nptl ogg opengl openmp pam pango pch pcre pdf perl pie plasma plotutils png policykit posix ppds pulseaudio python qml qt5 readline sasl scanner sdl seccomp semantic-desktop sharedmem smp sockets sound spell split-usr sqlite ssl startup-notification subversion suid svg systemd threads tiff tk truetype udev udisks unicode upnp upower usb vhosts vim-syntax vnc vorbis webkit widgets wxwidgets x264 xattr xcb xine xinerama xml xv xvid zeroconf zlib" ABI_X86="64" ADA_TARGET="gnat_2019" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" SANE_BACKENDS="net" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS

=================================================================
                        Package Settings
=================================================================

net-fs/nfs-utils-2.5.4::gentoo was built with the following:
USE="ipv6 libmount nfsidmap nfsv4 tcpd uuid -caps -junction -kerberos -ldap -nfsdcld -nfsv41 (-selinux)" ABI_X86="(64)"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-27 05:41:53 UTC
Please attach the full build.log but can you set LC_MESSAGES=C first temporarily? Thanks.
Comment 2 Mike Gilbert gentoo-dev 2021-11-27 23:20:10 UTC
Please attach a full build log in English and change the bug status from RESOLVED to UNCONFIRMED.
Comment 3 a8r12 2021-11-28 18:57:05 UTC
Created attachment 756876 [details]
build.log
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-28 19:26:20 UTC
(In reply to a8r12 from comment #3)
> Created attachment 756876 [details]
> build.log

This doesn't seem to be in English?
Comment 5 a8r12 2021-11-29 19:57:17 UTC
Created attachment 757022 [details]
build.log with english error messages
Comment 6 David Seifert gentoo-dev 2021-12-05 20:22:17 UTC
Please also upload config.log
Comment 7 a8r12 2021-12-05 20:31:12 UTC
Created attachment 757511 [details]
requested config.log file
Comment 8 David Seifert gentoo-dev 2021-12-05 20:45:36 UTC
(In reply to a8r12 from comment #7)
> Created attachment 757511 [details]
> requested config.log file

configure:20687: checking for keyutils.h
configure:20687: result: no
configure:20695: checking for find_key_by_type_and_desc in -lkeyutils
configure:20718: x86_64-pc-linux-gnu-gcc -o conftest -march=znver1 -O2 -pipe -mno-fma4 -mno-tbm -mno-xop -mno-lwp -mclzero -madx -mrdseed -mmwaitx -msha -mxsavec -mxsaves -mclflushopt -mpopcnt  -D_GNU_SOURCE -Wl,-O1 -Wl,--as-needed conftest.c -lkeyutils   >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find /lib64/libkeyutils.so.1

yet you seem to have a /usr/include/keyutils.h installed locally that triggers gcc. Do you have sys-apps/keyutils installed? Which version?
Comment 9 a8r12 2021-12-06 19:34:18 UTC
the problem was a missing symbolic link /lib64/libkeyutils.so.1 -> libkeyutils.so.1.9 which did not exist. A emerge -1 sys-apps/keyutils fixed the issue. Now nfs-utils compiles. I have no idea why this link was not existing. I've never modified anything in the lib64 directory. Thank you for your support!