Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142644 - econf does not pass --libdir on amd64 multilib install
Summary: econf does not pass --libdir on amd64 multilib install
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
: 151489 154038 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-03 06:08 UTC by Martin Scherer
Modified: 2006-11-04 09:30 UTC (History)
2 users (show)

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


Attachments
patch fixing installation (com_err_getlibdir.patch,563 bytes, patch)
2006-08-04 06:37 UTC, Martin Scherer
Details | Diff
emerge com_err >& log (log,16.02 KB, text/plain)
2006-08-04 09:31 UTC, Martin Scherer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Scherer 2006-08-03 06:08:35 UTC
the symptom:

>>> Install com_err-1.39 into /var/tmp/portage/com_err-1.39/image/ category sys-libs
make: Entering directory `/var/tmp/portage/com_err-1.39/work/e2fsprogs-1.39/lib/et'
        MKINSTALLDIRS /usr/lib /usr/lib
mkdir /var/tmp/portage/com_err-1.39/image/usr
mkdir /var/tmp/portage/com_err-1.39/image/usr/lib
        INSTALL-ELF-LIB /usr/lib/libcom_err.so.2.1
        SYMLINK /usr/lib/libcom_err.so.2
        SYMLINK /usr/lib/libcom_err.so
        LDCONFIG
        MKINSTALLDIRS /usr/lib /usr/include/et /usr/share/et /usr/bin /usr/share/man/man1 /usr/share/man/man3
mkdir /var/tmp/portage/com_err-1.39/image/usr/include
mkdir /var/tmp/portage/com_err-1.39/image/usr/include/et
mkdir /var/tmp/portage/com_err-1.39/image/usr/share
mkdir /var/tmp/portage/com_err-1.39/image/usr/share/et
mkdir /var/tmp/portage/com_err-1.39/image/usr/bin
mkdir /var/tmp/portage/com_err-1.39/image/usr/share/man
mkdir /var/tmp/portage/com_err-1.39/image/usr/share/man/man1
mkdir /var/tmp/portage/com_err-1.39/image/usr/share/man/man3
mkdir /var/tmp/portage/com_err-1.39/image/usr/lib/pkgconfig
        INSTALL_DATA /usr/lib/libcom_err.a
        INSTALL_DATA /usr/include/et/com_err.h
        INSTALL_DATA /usr/share/et/et_c.awk
        INSTALL_DATA /usr/share/et/et_h.awk
        INSTALL_SCRIPT /usr/bin/compile_et
        INSTALL_DATA /usr/share/man/man3/com_err.3
        INSTALL_DATA /usr/share/man/man1/compile_et.1
        INSTALL_DATA /usr/lib/pkgconfig/com_err.pc
make: Leaving directory `/var/tmp/portage/com_err-1.39/work/e2fsprogs-1.39/lib/et'
mv: cannot stat `/var/tmp/portage/com_err-1.39/image//usr/lib64/*.so*': No such file or directory

!!! ERROR: sys-libs/com_err-1.39 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_install
  ebuild.sh, line 1013:   Called src_install
  com_err-1.39.ebuild, line 66:   Called die
------------

emerge --info
Portage 2.1-r1 (default-linux/amd64, gcc-3.4.6, glibc-2.3.6-r4, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 unknown
Gentoo Base System version 1.6.15
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -fprefetch-loop-arrays -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/init.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=k8 -O3 -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache cvs distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://gentoo.inode.at/source/"
LINGUAS="de en"
MAKEOPTS="-j2"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib acpi alsa asterisk bash-completion berkdb bitmap-fonts bzip2 cairo cddb cdr cli crypt cscope cups dbus dga directfb dlloader dri dvd dvdr dvdread fbcon flac gif glitz glut gpm gtk gtk2 hal ipv6 isdnlog java javascript jikes jpeg junit libwww mad mime motif mozilla mpi msn ncurses nls nptl nsplugin ogg oggvorbis openal opengl oscar pam pcre pdf perl pic pie png ppds pppd python qt3 qt4 quicktime readline reflection session slang spl ssl svg symlink tcltk tcpd tetex threads tiff tk truetype truetype-fonts type1-fonts unicode userlocales v4l vcd vorbis wxwindows xinerama xml xmms xorg xosd xprint xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux linguas_de linguas_en userland_GNU video_cards_vmware video_cards_vga video_cards_vesa video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Martin Scherer 2006-08-04 06:12:33 UTC
the same error occurs with version 1.38-r1...
both versions are marked stable on amd64!

as /bin/mount requires libs from com_err this bug should have a high priority! (masking both versions shall be the worst way fixing it)

the simple solution is as i guess, that lib/et wasn't build before invoking make install. 
Comment 2 Martin Scherer 2006-08-04 06:37:23 UTC
Created attachment 93412 [details, diff]
patch fixing installation

the com_err makefile does not create a libdir for amd64 and $(get_libdir) returns "lib64" which does not exits so the installation fails.

it would be nicer to configure the libdir in the src_compile phase in favour of destroying the get_libdir mechanism which unifies the ebuild!

best regards

Martin Scherer
Comment 3 SpanKY gentoo-dev 2006-08-04 08:36:41 UTC
more likely something is broken on your machine

the libs *should* be in $D/usr/lib64/

run `emerge com_err >& log` and post the log as an attachment
Comment 4 Martin Scherer 2006-08-04 09:31:33 UTC
Created attachment 93427 [details]
emerge com_err >& log
Comment 5 SpanKY gentoo-dev 2006-08-04 18:41:21 UTC
your system is screwed up for whatever reason, econf isnt passing --libdir=/usr/lib64
Comment 6 Simon Stelling (RETIRED) gentoo-dev 2006-08-05 07:41:39 UTC
You have the wrong profile selected. you should have /etc/make.profile point at one of the release-versions inside profiles/default-linux/amd64, not default-linux/amd64 directly. I suggest you use 2006.0.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-10-15 12:22:08 UTC
*** Bug 151489 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-11-04 09:30:41 UTC
*** Bug 154038 has been marked as a duplicate of this bug. ***