Bug 164790 - kde-base/qtjava-3.5.6-r1 - hardcoded lib-dir in ebuild make install fail on AMD64
Bug#: 164790 Product:  Gentoo Linux Version: unspecified Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: kde@gentoo.org Reported By: gentoo@migmedia.de
Component: Ebuilds
URL: 
Summary: kde-base/qtjava-3.5.6-r1 - hardcoded lib-dir in ebuild make install fail on AMD64
Keywords:  
Status Whiteboard: 
Opened: 2007-02-01 08:26 0000
Description:   Opened: 2007-02-01 08:26 0000
The dir /var/tmp/portage/kde-base/qtjava-3.5.6-r1/image//usr/kde/3.5/lib/
doesn't exist on AMD64 it should be s!/lib/lib64/ 

there should be sth like "if use amd64; then" in the src_install()-section.


!!! ERROR: kde-base/qtjava-3.5.6-r1 failed.
Call stack:
  ebuild.sh, line 1611:   Called dyn_install
  ebuild.sh, line 1057:   Called qa_call 'src_install'
  environment, line 6145:   Called src_install
  qtjava-3.5.6-r1.ebuild, line 47:   Called java-pkg_regso
'/var/tmp/portage/kde-base/qtjava-3.5.6-r1/image//usr/kde/3.5/lib/*.so'
  java-utils-2.eclass, line 450:   Called die

!!! /var/tmp/portage/kde-base/qtjava-3.5.6-r1/image//usr/kde/3.5/lib/*.so does
not exist
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/tmp/portage/kde-base/qtjava-3.5.6-r1/temp/build.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH=""
JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info


Reproducible: Always




Portage 2.1.2-r5 (default-linux/amd64/2006.1, gcc-4.1.1/amd64-vanilla,
glibc-2.5-r0, 2.6.17-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r7 x86_64 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 01 Feb 2007 05:30:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
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.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler
/etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="de en_GB se"
MAKEOPTS="-j3"
PKGDIR="/var/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="/var/portage/ports"
PORTDIR_OVERLAY="/var/portage/layman/gentoo-de /var/portage/layman/xeffects
/var/portage/gentoo-sunrise /var/portage/marx-overlay /var/portage/lefou"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X X509 a52 aac acpi addbookmarks aiglx akode alias alsa amarok amd
amd64 amr apache2 apm ares audiofile autoreplace bash-completion berkdb bindist
bitmap-fonts bittorrent bluetooth boost bootsplash branding bzip2 cairo cddb
cdparanoia cdr chm cle266 cli connectionstatus contactnotes cpudetection
cracklib crosscompile crypt css cups curl cvs dar32 dar64 dbus dga directfb
diskio dlloader dlz dmi dmx dpms dri dts dv dvb dvd dvdr dvdread emul-linux-x86
encode enscript exif expat faad fam fame ffmpeg firefox flac font-server ftp
fuse gdbm geoip gif glib glitz gnutls gpgme groupwise gstreamer hal hbci
highlight history iconv icu id3 idea idn ieee1394 imagemagick imap imlib inkjar
ipv6 irc isdnlog jabber jack java javascript jce jingle jpeg jpeg2k kcal kde
kdeenablefinal kdepim kdm kipi lame libg++ lm_sensors lzo mad maildir metalink
mfd-rewrites midi mime mng mozsvg mp3 mp4 mp4live mpeg mpeg2 mplayer mysql
ncurses network nfs nls nptl nptlonly nsplugin nxclient ogg openexr opengl pam
passwordsave pcre pdf perl php png postgres povray ppds pppd python qt3
quicktime rar rdesktop readline reflection samba screen sdl sensord session slp
smime smp sms sndfile snmp speex spell spl sql ssl statistics subversion svg
svgz sysfs syslog tcpd texteffect theora tidy tiff truetype truetype-fonts
type1-fonts udev unicode v4l v4l2 vcd vim vnc vorbis vorbis-psy wmf x264
xcomposite xine xinerama xml xorg xosd xsl xv xvid yahoo zeroconf zip 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"
ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="de en_GB se" USERLAND="GNU" VIDEO_CARDS="radeon vesa fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Charlie Shepherd (RETIRED) 2007-02-01 13:14:03 0000 -------
Using the multilib eclass and get_libdir is the proper way to do it.(In reply
to comment #0)
> The dir /var/tmp/portage/kde-base/qtjava-3.5.6-r1/image//usr/kde/3.5/lib/
> doesn't exist on AMD64 it should be s!/lib/lib64/ 
> 
> there should be sth like "if use amd64; then" in the src_install()-section.

Using the multilib eclass and get_libdir is the proper way to do it.

------- Comment #2 From Vlastimil Babka (Caster) 2007-02-01 13:48:16 0000 -------
Fixed in CVS, sorry didn't realize that KDE layout distinguishes it too.