Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 396425 - =app-crypt/heimdal-1.5.1-r1 USE=X - .../work/heimdal-1.5.1/appl/kx/kx.c:158: undefined reference to `XauFileName'
Summary: =app-crypt/heimdal-1.5.1-r1 USE=X - .../work/heimdal-1.5.1/appl/kx/kx.c:158: ...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: HPPA Linux
: Normal normal (vote)
Assignee: Gentoo Kerberos Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-29 16:37 UTC by Jeroen Roovers (RETIRED)
Modified: 2023-03-08 03:33 UTC (History)
2 users (show)

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


Attachments
config.log.gz (config.log.gz,67.79 KB, application/x-gzip)
2012-01-17 16:22 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2011-12-29 16:37:39 UTC
In src_configure():

checking for XauWriteAuth... yes, in -lX11
checking for XauReadAuth... yes
checking for XauFileName... yes

And then later on src_compile():

hppa2.0-unknown-linux-gnu-gcc  -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include  -I../../lib/roken -I../../lib/roken  -I/usr/
include/et  -D_LARGE_FILES= -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarat
ions -Wnested-externs   -mschedule=8000 -march=2.0 -ggdb -pipe -Wall -Wno-comment -O2 -fno-strict-aliasing -MT common.o -MD -MP -MF 
.deps/common.Tpo -c -o common.o common.c
mv -f .deps/common.Tpo .deps/common.Po
hppa2.0-unknown-linux-gnu-gcc  -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include  -I../../lib/roken -I../../lib/roken  -I/usr/
include/et  -D_LARGE_FILES= -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarat
ions -Wnested-externs   -mschedule=8000 -march=2.0 -ggdb -pipe -Wall -Wno-comment -O2 -fno-strict-aliasing -MT context.o -MD -MP -MF
 .deps/context.Tpo -c -o context.o context.c
mv -f .deps/context.Tpo .deps/context.Po
hppa2.0-unknown-linux-gnu-gcc  -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include  -I../../lib/roken -I../../lib/roken  -I/usr/
include/et  -D_LARGE_FILES= -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarat
ions -Wnested-externs   -mschedule=8000 -march=2.0 -ggdb -pipe -Wall -Wno-comment -O2 -fno-strict-aliasing -MT krb5.o -MD -MP -MF .d
eps/krb5.Tpo -c -o krb5.o krb5.c
krb5.c: In function 'ksyslog':
krb5.c:72:14: warning: ignoring return value of 'vasprintf', declared with attribute warn_unused_result
mv -f .deps/krb5.Tpo .deps/krb5.Po
/bin/sh ../../libtool --tag=CC   --mode=link hppa2.0-unknown-linux-gnu-gcc  -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-functio
n-cast -Wmissing-declarations -Wnested-externs   -mschedule=8000 -march=2.0 -ggdb -pipe -Wall -Wno-comment -O2 -fno-strict-aliasing 
 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o kx kx.o common.o context.o krb5.o  ../../lib/kafs/libkafs.la  ../../lib/krb5/libkrb
5.la ../../lib/asn1/libasn1.la -L/usr/lib -lcrypto  ../../lib/vers/libvers.la ../../lib/roken/libroken.la -lcrypt   -lX11 -lSM -lICE
  -lresolv -pthread 
libtool: link: hppa2.0-unknown-linux-gnu-gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -
Wnested-externs -mschedule=8000 -march=2.0 -ggdb -pipe -Wall -Wno-comment -O2 -fno-strict-aliasing -Wl,-O1 -Wl,--hash-style=gnu -o .
libs/kx kx.o common.o context.o krb5.o -pthread  -Wl,--as-needed ../../lib/kafs/.libs/libkafs.so -L/usr/lib /mnt/alt/portage/app-cry
pt/heimdal-1.5.1-r1/work/heimdal-1.5.1/lib/krb5/.libs/libkrb5.so ../../lib/krb5/.libs/libkrb5.so /mnt/alt/portage/app-crypt/heimdal-
1.5.1-r1/work/heimdal-1.5.1/base/.libs/libheimbase.so /mnt/alt/portage/app-crypt/heimdal-1.5.1-r1/work/heimdal-1.5.1/lib/hx509/.libs
/libhx509.so /mnt/alt/portage/app-crypt/heimdal-1.5.1-r1/work/heimdal-1.5.1/lib/asn1/.libs/libasn1.so /mnt/alt/portage/app-crypt/hei
mdal-1.5.1-r1/work/heimdal-1.5.1/lib/wind/.libs/libwind.so /usr/lib/libsqlite3.so -lpthread -licui18n -licuuc -ldl ../../lib/asn1/.l
ibs/libasn1.so -lcom_err /mnt/alt/portage/app-crypt/heimdal-1.5.1-r1/work/heimdal-1.5.1/lib/roken/.libs/libroken.so -lcrypto ../../l
ib/vers/.libs/libvers.a ../../lib/roken/.libs/libroken.so -lcrypt -lX11 /usr/lib/libSM.so -luuid /usr/lib/libICE.so -lresolv -pthrea
d
kx.o: In function `passive_session':
/mnt/alt/portage/app-crypt/heimdal-1.5.1-r1/work/heimdal-1.5.1/appl/kx/kx.c:158: undefined reference to `XauFileName'
common.o: In function `create_and_write_cookie':
/mnt/alt/portage/app-crypt/heimdal-1.5.1-r1/work/heimdal-1.5.1/appl/kx/common.c:441: undefined reference to `XauWriteAuth'
/mnt/alt/portage/app-crypt/heimdal-1.5.1-r1/work/heimdal-1.5.1/appl/kx/common.c:456: undefined reference to `XauWriteAuth'
common.o: In function `find_auth_cookie':
/mnt/alt/portage/app-crypt/heimdal-1.5.1-r1/work/heimdal-1.5.1/appl/kx/common.c:652: undefined reference to `XauReadAuth'
/mnt/alt/portage/app-crypt/heimdal-1.5.1-r1/work/heimdal-1.5.1/appl/kx/common.c:652: undefined reference to `XauDisposeAuth'
common.o: In function `replace_cookie':
/mnt/alt/portage/app-crypt/heimdal-1.5.1-r1/work/heimdal-1.5.1/appl/kx/common.c:734: undefined reference to `XauDisposeAuth'
/mnt/alt/portage/app-crypt/heimdal-1.5.1-r1/work/heimdal-1.5.1/appl/kx/common.c:731: undefined reference to `XauDisposeAuth'
/mnt/alt/portage/app-crypt/heimdal-1.5.1-r1/work/heimdal-1.5.1/appl/kx/common.c:734: undefined reference to `XauDisposeAuth'
collect2: ld returned 1 exit status

I have no idea why it should find that Xau* functions are provided in libX11.

cf/check-xau.m4 does look a bit fishy, but I can't reproduce this on amd64 and there ought to be no difference.

config.log tells us that it first tries to find XauWriteAuth in no library at all:

configure:25198: hppa2.0-unknown-linux-gnu-gcc  -o conftest  -mschedule=8000 -march=2.0 -ggdb -pipe -Wall -Wno-comment -O2 -fno-strict-aliasing  -D_LARGE_FILES= -D_FILE_OFFSET_BITS=64 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  conftest.c     -lSM -lICE  -lresolv -pthread  >&5

(although it does mention libSM and libICE, strangely.

And then it goes on to check in libX11 and, even more strangely, finds it:

configure:25198: hppa2.0-unknown-linux-gnu-gcc  -o conftest  -mschedule=8000 -march=2.0 -ggdb -pipe -Wall -Wno-comment -O2 -fno-strict-aliasing  -D_LARGE_FILES= -D_FILE_OFFSET_BITS=64 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  conftest.c  -lX11   -lSM -lICE  -lresolv -pthread  >&5         
configure:25198: $? = 0
configure:25259: result: yes, in -lX11
configure:25270: checking for XauReadAuth
[...]

so it is not surprise that it ends up failing in appl/kx in src_compile().
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-29 16:39:26 UTC
Thu Dec 29 17:38:55 CET 2011
Portage 2.1.10.43 (default/linux/hppa/10.0, gcc-4.5.3, glibc-2.13-r4, 3.0.6-JeR parisc)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.6-JeR-parisc-PA8700_-PCX-W2-with-gentoo-2.1
Timestamp of tree: Thu, 29 Dec 2011 04:15:01 +0000
distcc 3.1 hppa2.0-unknown-linux-gnu [enabled]
ccache version 3.1.6 [disabled]
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.7
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1, 2.22-r1
sys-devel/gcc:            4.4.5, 4.4.6-r1, 4.5.1-r1, 4.5.2, 4.5.3-r2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo JeR
ACCEPT_KEYWORDS="hppa"
ACCEPT_LICENSE="* -@EULA"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-mschedule=8000 -march=2.0 -ggdb -pipe -Wall -Wno-comment -O2"
CHOST="hppa2.0-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/distcc/bin /usr/share/gnupg/qualified.txt /var/bind /var/spool/torque /var/www/localhost/htdocs/wordpress/wp-config.php"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /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="-mschedule=8000 -march=2.0 -ggdb -pipe -Wall -Wno-comment -O2"
DISTDIR="/world/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FEATURES="assume-digests binpkg-logs buildpkg distcc distlocks ebuild-locks fixlafiles metadata-transfer news notitles parallel-fetch protect-owned sandbox sfperms splitdebug strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv"
FFLAGS="-mschedule=8000 -march=2.0 -ggdb -pipe -Wall -Wno-comment -O2"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://mirror.netcologne.de/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ "
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="en nl he"
MAKEOPTS="-j6"
PKGDIR="/keeps/gentoo/packages/elmer"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/alt"
PORTDIR="/world/gentoo/portage"
PORTDIR_OVERLAY="/keeps/gentoo/local"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d a52 aac aacplus aalib abyss accessibility ads afterimage agg alsa amr amrnb amrwb ao aoss apis apng ares artist-screen asf ass assistant async asyncns audiofile audit augeas automount avfs bash-completion berkdb bidi bittorrent bittorrent-external bl bluetooth bzip2 c++ cairo captury catalogs cblas cdb cdio cdr chardet cjk clarens cleartype cli cman colors contrast cpath cracklib crypt cue cups curl custom-cflags custom-cxxflags cxx dbi dbtool dbus designer designer-plugin device-mapper dga dia dirac directfb djbfft djvu domainkeys dri drm dts dv dvd dvdr dvdread ebook edl egl elf emacs enca encode esd examples exceptions exif expat extras facebook fam fame fastbuild fastcgi fbcon ffmpeg filter fits flac fltk fluidsynth fontconfig foomaticdb fortran fpx frei0r ftp fts3 gadu galago games gcrypt gd gdbm geant4 geoip ggi gif gimp gimpprint glep glib glut gmp gnokii gnutls gphoto2 gpm gps gs gsl gsm gtk gtk2 gtk3 gtkhtml guidexml guile hal hepmc hesiod hotpixels hppa hwdb i18n ical icecast iconv icu idea idn imagemagick imlib indi inotify inquisitio introspection ipmi ipv6 isc ithreads jabber jack javascript jbig jingle jpeg jpeg2k judy kpathsea lame lapack lasi lastfmradio latex lcms ldap leim lensfun libass libcaca libffi libmms libnl libotf libsamplerate libwww live logrotate logwatch lua lyrics-screen lzma lzo mad manhole matroska mbrola mem-scramble memcache metis mhash midi mikmod mmap mms mng modplug modules motif mozbranding mp3 mpg123 mpi mplayer mssql mudflap multislot musepack musicbrainz mysql nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nas ncurses netpbm nettle network-cron nfconntrack nfs nls nntp nova nptl nptlonly nsplugin ntlm objc objc++ objc-gc offensive ogg openal openexr opengl openmp openssl optimization oss ots overlays pam pango pbs pch pcre pdf pdo-external php pipe plasma plotutils plugins png policykit portage portaudio postgres povray ppds pppd pulseaudio python pyzord qalculate qdbm qt3support qt4 quicktime quotas raw readline recode rle romio rpc rrdtool rtc rtmp ruby ruby19 samba sasl scale0tilt scanner scim sdl seamonkey secure-delete server session sid skk slang slp smi sms sndfile snmp soap song-screen soundex speex spell spoof-source sqlite srt srtp ssh ssl startup-notification strong-optimization subtitles subversion suhosin supernodal svg swat sysfs syslog system-sqlite talkfilters tcl tcpd test tftp tga theora threads thumbnail thunar-vfs tidy tiff timezone timidity tk tokyocabinet tools truetype tslib tunepimp twolame udev unicode unzip urandom usb userlocales utempter utf v4l v4l2 vala vanim vcd vidix vim-syntax vorbis watchdog wavpack webdav webinstall webp wildmidi winbind wlan wma wmf xanim xcb xchattext xcomposite xetex xface xlisten xml xml2 xmp xmpi xnest xorg xpm xrandr xscreensaver xsettings xulrunner xv xvfb xvid xvmc zip zip-external zlib" ALSA_CARDS="ad1889 usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev joystick keyboard mouse acecad aiptek calcomp citron digitaledge dmc dynapro elo2300 elographics fpit hyperpen jamstudio magellan microtouch mutouch palmax penmount spaceorb summa tek4957 tslib ur98 wacom void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl he" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="stifb fbdev none dummy" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-29 16:42:40 UTC
x11-libs/libICE-1.0.7
x11-libs/libSM-1.2.0
x11-libs/libX11-1.4.4
x11-libs/libXau-1.0.6
Comment 3 Eray Aslan gentoo-dev 2011-12-31 22:58:46 UTC
(In reply to comment #0)
> config.log tells us that it first tries to find XauWriteAuth in no library at
> all:

as expected

> And then it goes on to check in libX11

also as expected

> and, even more strangely, finds it:

and it is all downhill from there.  Please prove that your libX11 does not provide Xau* symbols (readelf or nm output please).  But assuming your libX11 is innocent, I don't have any good ideas.  Please attach your config.log as well.  I'll have a look.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-01-04 15:31:25 UTC
(In reply to comment #3)
> and it is all downhill from there.  Please prove that your libX11 does not
> provide Xau* symbols (readelf or nm output please).  But assuming your libX11
> is innocent, I don't have any good ideas.  Please attach your config.log as
> well.  I'll have a look.

Just hang in there and let HPPA solve the problem.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2012-01-17 16:22:42 UTC
Created attachment 299161 [details]
config.log.gz
Comment 6 matoro archtester 2022-12-04 01:21:29 UTC
No longer seems to be present in heimdal-7.x.  Retest please?