Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62730 - sys-apps/attr-2.4.16.ebulid fails -- possibly bad use flags
Summary: sys-apps/attr-2.4.16.ebulid fails -- possibly bad use flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-03 10:24 UTC by Andrew Muraco
Modified: 2004-10-09 17:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Muraco 2004-09-03 10:24:08 UTC
>>> emerge (1 of 13) sys-apps/attr-2.4.16 to /
.... last few lines of the emerge ....

=== libattr ===
cd ../libattr/.libs; ../../install-sh -o root -g root -m 755 -d /usr/lib; ../../install-sh -o root -g root -m 644 -T old_lib libattr.lai /usr/lib
install-sh: Unable to find libtool library file libattr.lai

other notes:
it seems that the C[XX]FLAGS are repeated: (random line from the merge)
 gcc -march=pentium4 -O3 -pipe -fomit-frame-pointer -march=pentium4 -O3 -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -Wall -I./include -DVERSION=\"2.4.16\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -march=pentium4 -O3 -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -Wall -I../include -DVERSION=\"2.4.16\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fno-strict-aliasing -c quote.c -o quote.o >/dev/null 2>&1

Possible cause: +static use flag

Tux



Reproducible: Always
Steps to Reproduce:
1.emerge sync
2.emerge -vuD world
--update to world fails on this package (attr)

Actual Results:  
--update to world fails on that package (attr)


Gentoo Base System version 1.5.3
Portage 2.0.50-r10 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r0, 
2.6.8)
=================================================================
System uname: 2.6.8 i686 Intel(R) Pentium(R) 4 CPU 1700MHz
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3
/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://gentoo.oregonstate.edu 
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl aim alsa amd apm avi cdr crypt encode esd faac faad ffmpeg flac 
foomaticdb gdbm gif gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod mmx 
motif mozaccess mozilla mpeg mpeg4 mplayer ncurses nls oggvorbis opengl oss pam 
pdflib perl png python qt quicktime readline samba savedconfig sdl slang spell 
sse sse2 ssl static svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 Andrew Muraco 2004-09-03 10:28:43 UTC
workaround:
attr works fine when emerged like this:
USE="-static" emerge -v attr
then i just continue to update the rest of the system normally
Comment 2 SpanKY gentoo-dev 2004-10-09 17:42:53 UTC
removed static, the logic used in the ebuild was wrong when USE=static