Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172905 - com_err 1.39 library cannot be installed to system
Summary: com_err 1.39 library cannot be installed to system
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-31 17:08 UTC by Marian Schmotzer
Modified: 2007-04-01 06:22 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Schmotzer 2007-03-31 17:08:45 UTC
When com_err is moveing shared libraries wrong path is passed to mv command: 
mv "${D}"/usr/(get_libdir)/*$(get_libname)* "${D}"/$(get_libdir)/ || die "move .so"
this fails becuse get_libdir returns lib64 and shared libraries are in lib 


Reproducible: Always

Steps to Reproduce:
1. emerge com_err



Workaround: Edit com_err-1.39.ebuild and replace line :
mv "${D}"/usr/(get_libdir)/*$(get_libname)* "${D}"/$(get_libdir)/ || die "move .so"
with this one
mv "${D}"/usr/lib/*$(get_libname)* "${D}"/$(get_libdir)/ || die "move .so"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-31 17:14:47 UTC
(In reply to comment #0)
> this fails becuse get_libdir returns lib64 and shared libraries are in lib 

Uhm? Post your emerge --info.
Comment 2 Marian Schmotzer 2007-03-31 18:09:43 UTC
Maybe thet ist a bug when i set no-multilib it compiles ok with original ebuil
emerge --info
Portage 2.1.2.3 (default-linux/amd64/2006.1/no-multilib, gcc-3.4.6-hardened, glibc-2.3.6-r4, 2.6.16.18-xen x86_64)
=================================================================
System uname: 2.6.16.18-xen x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.15
Timestamp of tree: Sat, 31 Mar 2007 16:30:09 +0000
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-mtune=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 db4 ipv6 md5sum ncurses pam squid ssl" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i810 mga neomagic nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-31 18:23:57 UTC
(In reply to comment #2)
> when i set no-multilib it compiles ok with original ebuil

What do you mean 'when i set no-multilib'? Which profile are you normally using?
Comment 4 Marian Schmotzer 2007-03-31 18:44:44 UTC
default from stage3 /usr/portage/profiles/default-linux/amd64/2006.1
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-04-01 06:22:00 UTC
Sorry, but this is impossible on a sane multilib system; /usr/lib is a symlink to /usr/lib64. If you used hardened stages, see Bug 125034.