Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104956 - [multilib-strict] net-analyzer/rrdtool-1.2.11 tries to install python .so module in /usr/lib
Summary: [multilib-strict] net-analyzer/rrdtool-1.2.11 tries to install python .so mod...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-05 15:10 UTC by Christophe Saout
Modified: 2005-09-06 05:29 UTC (History)
2 users (show)

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


Attachments
proposed rrdtool-1.2.11.ebuild patch (rrdtool-1.2.11.ebuild.patch,1.73 KB, patch)
2005-09-05 16:00 UTC, Christophe Saout
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Saout 2005-09-05 15:10:02 UTC
emerge rrdtool:

... /usr/lib/python2.4/site-packages/rrdtoolmodule.so

fails multilib-strict test on AMD64 multilib.


Reproducible: Always
Steps to Reproduce:
USE=python FEATURES=multilib-strict emerge rrdtool




And well, since you insist on it (although it's pointless in this case):

Portage 2.0.51.22-r2 (default-linux/amd64/2005.1/no-symlinks,
gcc-4.0.2-beta20050901-hardenednopie, glibc-2.3.5.20050725-r0, 2.6.12-rc1-cs2
x86_64)
=================================================================
System uname: 2.6.12-rc1-cs2 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre8
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.1-r1
sys-apps/sandbox:    1.2.12
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
sys-devel/binutils:  2.16.91.0.3
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -D_FORTIFY_SOURCE=1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -pipe -D_FORTIFY_SOURCE=1 -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks multilib-strict sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="de_DE@euro"
LINGUAS="de en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage
/usr/local/overlay/gentoo-php-overlay/for-portage
/usr/local/overlay/gentoo-php-overlay/experimental"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib acl acpi alsa amd64 apache2 authdaemond avi berkdb bitmap-fonts
bzip2 cairo caps crypt curl devmap droproot eds encode fam foomaticdb fortran
gcj gd gdbm gif gmp gpm gs gstreamer gtk2 guile hardened idn imagemagick imap
imlib ipv6 java jpeg junit kerberos lcms ldap libg++ libgda libwww lzw lzw-tiff
maildir mcal motif mp3 mpeg mysql ncurses nfsv4 nls nptl odbc oggvorbis opengl
pam pdf pdflib perl pic png postgres postscript python quicktime quotas readline
samba sasl sdl slang snmp source spamassassin spell ssl tcpd tiff truetype
truetype-fonts type1-fonts usb userlocales webdav xinerama xml xml2 xpm xv zlib
linguas_de linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS
Comment 1 Christophe Saout 2005-09-05 16:00:56 UTC
Created attachment 67703 [details, diff]
proposed rrdtool-1.2.11.ebuild patch

Change python_PROGRAM to pyexec_PROGRAM in bindings/python/Makefile.* since
that one contains the executable libdir which is correctly resolved to
/usr/lib64 on multilib arches. Actually, the automake version used in rrdtool
is broken so I added the extra run to autoreconf (ugh, I know).

While I was at it I also found two more bugs, this time in the tcl bindings.

1. tcl stuff should be installed into /usr/$(get_libdir) instead of /usr/lib
   (also the tclConfig.sh script lies there, which fixes the no-symlinks
profile with tcl)
2. TCL_PACKAGE_PATH seems to be a search path, since on amd64 it is set to
"/usr/lib64 /usr/lib", so just take it up to the first space, or you will get a
messy result path with a space in it.
Comment 2 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2005-09-06 05:29:16 UTC
Patch accepted and in cvs. In future please make the patch the right way around ;)

Thanks for your help.