Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 229661

Summary: net-misc/iputils[idn], net-dns/libidn: /bin/ping links against /usr/lib64/libidn.so.11
Product: Gentoo Linux Reporter: Jonathan Callen (RETIRED) <jcallen>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WONTFIX    
Severity: normal CC: esigra, jcallen, jer, lucas.yamanishi, mgorny, sam
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 398051    

Description Jonathan Callen (RETIRED) gentoo-dev 2008-06-27 02:24:49 UTC
When USE="idn", net-misc/iputils links /bin/ping against /usr/lib64/libidn.so.11, which can break if /usr is on a separate partition.

Reproducible: Always

Steps to Reproduce:
# echo "net-misc/iputils idn" >> /etc/portage/package.use
# emerge net-misc/iputils
# ldd /bin/ping
Actual Results:  
/bin/ping links against a library in /usr

Expected Results:  
libidn.so* should be in /, not /usr (or /bin/ping should not link against libidn)


# emerge --info
Portage -svn (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r4-x86_64-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-glibc2.2.5
Timestamp of tree: Thu, 26 Jun 2008 20:15:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r5
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r2
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/home/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="collision-protect distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo"
INSTALL_MASK="/usr/share/locale /usr/share/man/[^m]* */usr/lib*.la"
LANG="C"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j5"
PKGDIR="/var/lib/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-9"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa amd64 ao apache2 arts avahi bash-completion berkdb bidi branding bzip2 cairo caps cddb cdr cjk cli crypt cscope cups curl curlwrappers cvs dbus dga djvu dri dts dvd dvdr dvdread emboss encode esd evo exif expat fam fbcon ffmpeg fftw flac fontconfig fortran gd gdbm gif gimp gmp gnutls gpm graphviz gtk hal iconv idn imagemagick imap imlib ipv6 isdnlog java java5 joystick jpeg kde kdeenablefinal kdehiddenvisibility latex lcms libnotify libsamplerate libwww lzo mad matroska midi mikmod mmap mmx mng motif mp3 mpeg mudflap multilib mysql ncurses nntp nptl nptlonly nsplugin ocaml odbc ogg openexr opengl openmp oss pam pcre pdf perl php png ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection ruby samba scanner sdl session slp sndfile spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg syslog taglib tcl tcpd tetex theora tiff timidity tk truetype unicode usb utempter v4l v4l2 vcd vnc vorbis wmf x264 xattr xcb xcomposite xface xine xinerama xml xorg xpm xprint xscreensaver xulrunner xv xvid 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 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 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" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="ati radeon vesa"
Unset:  CPPFLAGS, CTARGET, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SpanKY gentoo-dev 2012-01-07 21:17:10 UTC
*** Bug 398063 has been marked as a duplicate of this bug. ***
Comment 2 Mike Gilbert gentoo-dev 2022-05-11 18:42:00 UTC
We don't support separate /usr unless it is mounted via initramfs.