Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114633 - sys-devel/gcc-config-1.3.12-r4 doesnt utilize $(get_libdir)
Summary: sys-devel/gcc-config-1.3.12-r4 doesnt utilize $(get_libdir)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-06 09:16 UTC by Patrick McLean
Modified: 2005-12-26 18:45 UTC (History)
0 users

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


Attachments
This patch seems to fix the problem. (gcc-config-1.3.12-r4-multilib.patch,744 bytes, patch)
2005-12-06 09:23 UTC, Patrick McLean
Details | Diff
This should fixup libdir references, not sure if this is the proper way to do it (gcc-config-1.3.12-r4-multilib.patch,987 bytes, patch)
2005-12-06 09:43 UTC, Patrick McLean
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick McLean gentoo-dev 2005-12-06 09:16:42 UTC
sys-devel/gcc-config-1.3.12-r4 fails to merge with multilib-strict

Here's the output:
>>> Install gcc-config-1.3.12-r4 into
/var/tmp/portage/gcc-config-1.3.12-r4/image/ category sys-devel
man:
prepallstrip:
strip: x86_64-pc-linux-gnu-strip --strip-unneeded
strip: x86_64-pc-linux-gnu-strip --strip-unneeded
   usr/lib/misc/gcc-config

!!! ERROR: sys-devel/gcc-config-1.3.12-r4 failed.
!!! Function dyn_install, Line 1114, Exitcode 0
!!! File /var/tmp/portage/gcc-config-1.3.12-r4/image///usr/lib/misc/gcc-config
matches a file type that is not allowed in /usr/lib
!!! If you need support, post the topmost build error, NOT this status message.

Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r2 x86_64 Intel(R) Pentium(R) 4 CPU 3.40GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -fomit-frame-pointer -ffast-math -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control /var/www"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=nocona -O2 -fomit-frame-pointer -ffast-math -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks multilib-strict sandbox sfperms strict"
GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://gentoo.cs.mcgill.ca/gentoo-portage"
USE="amd64 apache apache2 avi bash-completion berkdb bitmap-fonts bzip2 crypt
cups eds emacs emboss encode expat foomaticdb fortran gcj gdbm gif gmp gnutls
gstreamer gtk2 hardened idn imap imlib ithreads java jpeg junit libwww lzw
lzw-tiff memlimit mhash mp3 mpeg mysql ncurses nfs nis nls no-old-linux nonfsv4
nptl nptlonly pam pdflib perl php png postgres ppds python readline ruby samba
spell sqlite ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb
userlocales winbind xml xml2 xpm zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Patrick McLean gentoo-dev 2005-12-06 09:23:53 UTC
Created attachment 74154 [details, diff]
This patch seems to fix the problem.
Comment 2 Patrick McLean gentoo-dev 2005-12-06 09:43:57 UTC
Created attachment 74158 [details, diff]
This should fixup libdir references, not sure if this is the proper way to do it

I am not sure if this is the proper way to do it, but this fixes up libdir
references in the script.
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2005-12-26 08:49:46 UTC
well, beside that multilib-strict doesn't hit it although it is a valid violation (probably because it contains 'gcc'?) and you should just run

dosed "s:/lib/:/$(get_libdir)/:g" /usr/bin/${PN}

instead of running dosed twice, I'd like to ask toolchain whether they think the patch is save to commit or not
Comment 4 SpanKY gentoo-dev 2005-12-26 18:45:28 UTC
fixed in cvs