Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 432644 - sys-fs/xfsprogs-3.1.8 - ../libxcmd/.libs/libxcmd.so: undefined reference to `readline'
Summary: sys-fs/xfsprogs-3.1.8 - ../libxcmd/.libs/libxcmd.so: undefined reference to `...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-24 23:43 UTC by David Badia
Modified: 2012-08-25 23:10 UTC (History)
0 users

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


Attachments
build.log (build.log,45.50 KB, text/plain)
2012-08-25 14:05 UTC, David Badia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Badia 2012-08-24 23:43:02 UTC
/bin/sh ../libtool --quiet --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -o xfs_io -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed  -Wl,-O1 -Wl,--as-needed  -Wl,-O1 -Wl,--as-needed   init.o attr.o bmap.o file.o freeze.o fsync.o getrusage.o imap.o mmap.o open.o parent.o pread.o prealloc.o pwrite.o shutdown.o truncate.o fadvise.o madvise.o mincore.o sendfile.o inject.o resblks.o   ../libxcmd/libxcmd.la ../libhandle/libhandle.la -lreadline
../libxcmd/.libs/libxcmd.so: undefined reference to `readline'
../libxcmd/.libs/libxcmd.so: undefined reference to `add_history'
collect2: ld returned 1 exit status
gmake[2]: *** [xfs_io] Error 1
gmake[1]: *** [io] Error 2


Reproducible: Always

Steps to Reproduce:
1.emerge sys-fs/xfsprogs
2.
3.
Actual Results:  
/bin/sh ../libtool --quiet --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -o xfs_io -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed  -Wl,-O1 -Wl,--as-needed  -Wl,-O1 -Wl,--as-needed   init.o attr.o bmap.o file.o freeze.o fsync.o getrusage.o imap.o mmap.o open.o parent.o pread.o prealloc.o pwrite.o shutdown.o truncate.o fadvise.o madvise.o mincore.o sendfile.o inject.o resblks.o   ../libxcmd/libxcmd.la ../libhandle/libhandle.la -lreadline
../libxcmd/.libs/libxcmd.so: undefined reference to `readline'
../libxcmd/.libs/libxcmd.so: undefined reference to `add_history'
collect2: ld returned 1 exit status
gmake[2]: *** [xfs_io] Error 1
gmake[1]: *** [io] Error 2


Expected Results:  
emerge

Portage 2.1.11.9 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.37.2 x86_64)
=================================================================
System uname: Linux-2.6.37.2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5600+-with-gentoo-1.12.13
Timestamp of tree: Fri, 24 Aug 2012 19:30:01 +0000
app-shells/bash:          4.0_p28
dev-java/java-config:     2.1.9-r1
dev-lang/python:          2.6.2-r1
dev-util/cmake:           2.8.4
dev-util/pkgconfig:       0.23
sys-apps/baselayout:      1.12.13
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.6.3-r1, 1.9.6-r2, 1.10.2, 1.11.1
sys-devel/binutils:       2.18-r3
sys-devel/gcc:            4.3.4
sys-devel/gcc-config:     1.4.1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.81
sys-kernel/linux-headers: 2.6.27-r2 (virtual/os-headers)
sys-libs/glibc:           2.9_p20081201-r2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://www.gtlib.gatech ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/ http://mirror.phy.olemiss.edu/mirror/gentoo  ftp://ftp.ndlug.nd.edu/pub/gentoo/ http://mirror.phy.olemiss.edu/mirror/gentoo "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnowext X a52 aac acl acpi alsa amd64 berkdb bzip2 caps cdparanoia cleartype cli cracklib crypt cups cxx dbus dri dvb dvd dvdread encode ffmpeg flac foomaticdb fortran gdbm gphoto2 gpm iconv ieee1394 ipv6 java jpeg lirc lm_sensors mad mjpeg mmx modules mp3 mudflap multilib mysql ncurses nls nptl ogg oggvorbis opengl openmp pam pcre perl posix ppds pppd qt3support qt4 quicktime readline samba session sockets sql sse sse2 ssl svg tcpd threads truetype unicode usb v4l vcd vorbis webkit xine xml xmms xosd xv xvid xvmc zlib" 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" 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 sheets 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="mceusb" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-25 13:08:25 UTC
Please attach the entire build log to this bug report.
Comment 2 David Badia 2012-08-25 14:05:28 UTC
Created attachment 322192 [details]
build.log
Comment 3 SpanKY gentoo-dev 2012-08-25 23:10:21 UTC
should be all set now in the tree; thanks for the report!

Commit message: Link libxcmd against readline
http://sources.gentoo.org/sys-fs/xfsprogs/files/xfsprogs-3.1.8-readline.patch?rev=1.1
http://sources.gentoo.org/sys-fs/xfsprogs/xfsprogs-3.1.8.ebuild?r1=1.8&r2=1.9