Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98511 - libgtkgl gets installed in /lib
Summary: libgtkgl gets installed in /lib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-09 15:38 UTC by Thomas Loeber
Modified: 2005-07-15 18:08 UTC (History)
0 users

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


Attachments
Build log of gtkglarea-1.99.0 (4657-gtkglarea-1.99.0.log.gz,3.50 KB, application/octet-stream)
2005-07-11 09:53 UTC, Thomas Loeber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Loeber 2005-07-09 15:38:35 UTC
When merging gtkglarea libgtkgl is installed in /lib. It should be installed in
/usr/lib, however.

Reproducible: Always
Steps to Reproduce:
1. emerge gtkglarea
2.
3.

Actual Results:  
...
>>> Merging x11-libs/gtkglarea-1.99.0 to /
--- /lib/
--- /lib/pkgconfig/
>>> /lib/pkgconfig/gtkgl-2.0.pc
>>> /lib/libgtkgl-2.0.so.1.0.0
>>> /lib/libgtkgl-2.0.a
>>> /lib/libgtkgl-2.0.la
>>> /lib/libgtkgl-2.0.so -> libgtkgl-2.0.so.1.0.0
>>> /lib/libgtkgl-2.0.so.1 -> libgtkgl-2.0.so.1.0.0
...

Expected Results:  
...
>>> Merging x11-libs/gtkglarea-1.99.0 to /
--- /usr/lib/
--- /usr/lib/pkgconfig/
>>> /usr/lib/pkgconfig/gtkgl-2.0.pc
>>> /usr/lib/libgtkgl-2.0.so.1.0.0
>>> /usr/lib/libgtkgl-2.0.a
>>> /usr/lib/libgtkgl-2.0.la
>>> /usr/lib/libgtkgl-2.0.so -> libgtkgl-2.0.so.1.0.0
>>> /usr/lib/libgtkgl-2.0.so.1 -> libgtkgl-2.0.so.1.0.0
...

# emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 29 2005, 19:34:39)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r3, 1.7.9-r1, 1.9.5, 1.5, 1.4_p6, 1.6.3
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE@euro"
LINGUAS="de nl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/etc/portage/overlay"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac acl acpi alsa apache2 apm arts audiofile avi
bash-completion berkdb bitmap-fonts bluetooth cdr crypt cups curl doc dvd dvdr
dvdread emboss encode examples ffmpeg foomaticdb gd gdbm gif gtk gtk2
imagemagick imlib java jikes jpeg junit kde kdeenablefinal ldap libg++ libwww
lm_sensors mad mmx mozilla mp3 mpeg ncurses netboot nls nptl ogg oggvorbis
opengl pam pda pdflib perl pic png ppds python qt quicktime readline sdl slang
spell sse ssl symlink tcltk tetex theora threads tidy tiff truetype
truetype-fonts type1-fonts v4l vcd vorbis win32codecs xine xml xml2 xmms xv xvid
zlib video_cards_radeon linguas_de linguas_nl userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 John N. Laliberte (RETIRED) gentoo-dev 2005-07-10 04:59:13 UTC
please attach a full build log.

Thanks!
Comment 2 Thomas Loeber 2005-07-11 09:53:30 UTC
Created attachment 63154 [details]
Build log of gtkglarea-1.99.0

I attached the build log.

I had a look at the gtkglarea-1.99.0.ebuild. It says:
    src_install() {
	    gnome2_src_install libdir=${D}/$(get_libdir)
    }

But multilib.eclass says:
    # get_libdir:
    # Returns the libdir for the selected ABI.	This is backwards compatible
    # and simply calls get_abi_LIBDIR() on newer profiles.  You should use this

    # to determine where to install shared objects (ex: /usr/$(get_libdir))

So shouldn't it be
    src_install() {
	    gnome2_src_install libdir=${D}/usr/$(get_libdir)
    }
in the gtkglarea ebuild?
Comment 3 John N. Laliberte (RETIRED) gentoo-dev 2005-07-15 18:08:44 UTC
yes your correct. the bump from the 1.26 revision to the 1.27 revision ( without
revision bumping the build caused this )

thats why its fine on my system but not yours.

fixed in cvs, thanks!

Index: gtkglarea-1.99.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-libs/gtkglarea/gtkglarea-1.99.0.ebuild,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -B -r1.26 -r1.27
--- gtkglarea-1.99.0.ebuild     27 May 2005 13:59:10 -0000      1.26
+++ gtkglarea-1.99.0.ebuild     30 May 2005 20:04:33 -0000      1.27
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkglarea/gtkglarea-1.99.0.ebuild,v
1.26 2005/05/27 13:59:10 herbs Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkglarea/gtkglarea-1.99.0.ebuild,v
1.27 2005/05/30 20:04:33 blubb Exp $

 inherit gnome2 gnuconfig multilib

@@ -12,6 +12,8 @@
 KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sparc x86"
 IUSE=""

+DOCS="AUTHORS ChangeLog INSTALL NEWS README* docs/*.txt"
+
 RDEPEND="virtual/libc
        >=x11-libs/gtk+-2.0.3
        virtual/glu
@@ -37,8 +39,5 @@
 }

 src_install() {
-       make DESTDIR=${D} \
-               libdir=/usr/$(get_libdir) \
-               install || die "make install failed"
-               dodoc AUTHORS ChangeLog INSTALL NEWS README* docs/*.txt
+       gnome2_src_install libdir=${D}/$(get_libdir)
 }