Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655156 - net-libs/libtirpc-1.0.3[kerberos]: fails to compile, undefined references in auth_gss.c
Summary: net-libs/libtirpc-1.0.3[kerberos]: fails to compile, undefined references in ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 757759 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-05-07 12:43 UTC by Guilherme Amadio
Modified: 2020-11-30 15:59 UTC (History)
2 users (show)

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


Attachments
build.log (libtirpc-1.0.3.build.log,84.44 KB, text/x-log)
2018-05-07 12:43 UTC, Guilherme Amadio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guilherme Amadio gentoo-dev 2018-05-07 12:43:23 UTC
Created attachment 530306 [details]
build.log

Portage 2.3.36 (python 3.6.5-final-0, default/linux/amd64/17.0/systemd, gcc-7.3.0, glibc-2.26-r7, 4.14.2-gentoo x86_64)
=================================================================
System uname: Linux-4.14.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700_CPU_@_3.40GHz-with-gentoo-2.4.1
KiB Mem:    16267480 total,    703620 free
KiB Swap:          0 total,         0 free
Head commit of repository gentoo: b4223f84a25c082a42d9847327efcf658c3c8145

sh bash 4.4_p19
ld GNU ld (Gentoo 2.30 p2) 2.30.0
ccache version 3.3.4 [enabled]
app-shells/bash:          4.4_p19::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.14-r2::gentoo, 3.5.5-r1::gentoo, 3.6.5-r1::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.11.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.29::gentoo, 2.29.1-r1::gentoo, 2.30-r2::gentoo
sys-devel/gcc:            4.8.5::gentoo, 4.9.4::gentoo, 5.4.0-r4::gentoo, 6.4.0-r1::gentoo, 7.2.0-r1::gentoo, 7.3.0-r2::gentoo, 8.1.0-r2::gentoo
sys-devel/gcc-config:     9999::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.16-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::gentoo
Repositories:

gentoo
    location: /home/amadio/gentoo/gentoo
    sync-type: git
    sync-uri: git+ssh@git.gentoo.org/repo/gentoo.git
    priority: 0

local
    location: /home/amadio/gentoo/local
    masters: gentoo
    priority: 1

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
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=native -O3 -pipe"
DISTDIR="/srv/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ja pt_BR"
MAKEOPTS="-j4"
PKGDIR="/srv/distfiles/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="R X aac aacplus aalib acl afs alsa amd64 berkdb blas bluetooth boost bzip2 cairo cjk clang cli crypt cuda cups curl cvs cxx dbus djvu dri exif expat ffmpeg fftw fontconfig fortran gdbm gif gimp git gles2 gnutls gpm graphviz gtk gtk3 iconv icu imagemagick infinality ipv6 jpeg jpeg2k json kerberos lapack latex lcms ldap libtirpc lua lzma lzo mercurial mng modules mp3 multilib ncurses nls nptl opencl opengl openldap openmp pam pango pcre perl png policykit postscript python qt3support readline sdl seccomp smp sqlite ssl svg systemd tbb tcl tcpd threads tiff tk truetype udev unicode usb v4l vaapi valgrind vdpau vtk vulkan webp x264 x265 xattr xcb xft xinetd xml xpm xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="ja pt-BR" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python3_6 python3_5 python2_7" RUBY_TARGETS="ruby25 ruby24 ruby23 ruby22" USERLAND="GNU" VIDEO_CARDS="modesetting i915 i965 intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, ENV_UNSET, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Anthony Basile gentoo-dev 2019-06-21 14:34:07 UTC
I tested with both libtirpc 1.0.3 and 1.1.4 and could not reproduce this issue.  Can you test again and let me know because I'd like to suggest stabilizing 1.0.3.
Comment 2 Matt Turner gentoo-dev 2019-07-10 04:21:55 UTC
> checking for x86_64-pc-linux-gnu-krb5-config... ~/.krb5.conf
> /var/tmp/portage/net-libs/libtirpc-1.0.3/work/libtirpc-1.0.3/configure: line 4462: ~/.krb5.conf: No such file or directory
> /var/tmp/portage/net-libs/libtirpc-1.0.3/work/libtirpc-1.0.3/configure: line 4463: ~/.krb5.conf: No such file or directory

Something looks broken on your system.

You should probably inspect your /usr/bin/x86_64-pc-linux-gnu-krb5-config and see why it does that.
Comment 3 Guilherme Amadio gentoo-dev 2019-07-10 07:04:58 UTC
> Something looks broken on your system.

Thanks! I didn't notice that before!

Indeed, I have "export KRB5_CONFIG=~/.krb.conf" in my regular user account, but when I use su to become root, it's still there and makes the build fail because there's no /root/.krb5.conf. I tried to unset KRB5_CONFIG and rebuild and it worked. Strange that this only started failing recently. Anyway, problem solved.
Comment 4 Mike Gilbert gentoo-dev 2019-07-10 14:50:28 UTC
It might be worth asking the libtirpc maintainers to use a different environment variable for the krb5-config program in configure.ac.

I suspect the KRB5_CONFIG variable has been used to override the location of the krb5.conf file longer than libtirpc has been a project.

https://web.mit.edu/kerberos/krb5-devel/doc/admin/conf_files/krb5_conf.html
Comment 5 Brian Evans (RETIRED) gentoo-dev 2020-11-30 15:59:31 UTC
*** Bug 757759 has been marked as a duplicate of this bug. ***