Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76195 - Programs fail because AR="" - includes sys-apps/ed-0.2-r4 sys-devel/m4-1.4.1 and sys-libs/cracklib-2.7-r10
Summary: Programs fail because AR="" - includes sys-apps/ed-0.2-r4 sys-devel/m4-1.4.1 ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 76199 76201 76231 76340 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-30 18:39 UTC by Daniel Black (RETIRED)
Modified: 2005-01-01 15:28 UTC (History)
6 users (show)

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 Daniel Black (RETIRED) gentoo-dev 2004-12-30 18:39:25 UTC
As discovered bug genfool@cabbey.net emerging the above programs fail. Probably others do too.

cru libed.a getopt.o getopt1.o regex.o
make: cru: Command not found
make: *** [libed.a] Error 127
make: *** Waiting for unfinished jobs....

!!! ERROR: sys-apps/ed-0.2-r4 failed.
rm -f libm4.a
cru libm4.a regex.o getopt.o getopt1.o error.o obstack.o xmalloc.o xstrdup.o
make[1]: cru: Command not found
make[1]: *** [libm4.a] Error 127
make[1]: Leaving directory `/var/tmp/portage/m4-1.4.1/work/m4-1.4.1/lib'
make: *** [all] Error 1

!!! ERROR: sys-devel/m4-1.4.1 failed.
i686-pc-linux-gnu-gcc -pipe -g -I../cracklib -DIN_CRACKLIB -fPIC   -c -o stringlib.o stringlib.c
shared -soname libcrack.so.2 -o libcrack.so.2.7 fascist.o packlib.o rules.o stringlib.o -lc
make[1]: shared: Command not found
cru libcrack.a fascist.o packlib.o rules.o stringlib.o
make[1]: cru: Command not found
make[1]: [libcrack.so] Error 127 (ignored)
rm -f libcrack.so.2 libcrack.so
make[1]: *** [libcrack.a] Error 127
make[1]: *** Waiting for unfinished jobs....
ln -s libcrack.so.2.7 libcrack.so.2
make[1]: *** Waiting for unfinished jobs....
ln -s libcrack.so.2 libcrack.so
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/cracklib-2.7-r10/work/cracklib,2.7/cracklib'
make: *** [all] Error 2

!!! ERROR: sys-libs/cracklib-2.7-r10 failed.
emerge info
Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r9 i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 AMD Athlon(tm) XP 1900+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 24 2004, 08:06:09)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.90.0.1.1-r3
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs distcc distlocks sandbox sfperms sign userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.internode.on.net/pub/gentoo             http://gentoo.oregonstate.edu                  http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aalib acl acpi alsa apm arts artswrappersuid avi berkdb bitmap-fonts bonobo cdr cryptcscope cups directfb encode ethereal fam fastcgi fla flac foomaticdb fortran gd ggi gif gphoto2 gstreamer gtk gtkhtml guile imagemagick imlib ipv6 jack java jpeg junit kde kerberos libgda libwww mad mbox mikmod mmx motif mozilla mpeg mysql nas nptl ntlm oggvorbis openal operanom2 pam pdflib perl php png postgres ppds python qt quicktime readline ruby samba sdl slp snmp socks5 sox speex spell sse ssl svga tcltk tetex tiff truetype usb vhosts xinerama xml xml2 xv zlib"

# env | fgrep AR
# 

I'm not sure where this AR would be set.
Comment 1 SpanKY gentoo-dev 2004-12-30 19:23:51 UTC
fixed in cvs
Comment 2 Daniel Black (RETIRED) gentoo-dev 2004-12-30 21:58:29 UTC
*** Bug 76201 has been marked as a duplicate of this bug. ***
Comment 3 Daniel Black (RETIRED) gentoo-dev 2004-12-30 21:59:06 UTC
*** Bug 76199 has been marked as a duplicate of this bug. ***
Comment 4 John Sivak 2004-12-31 10:09:01 UTC
Until the CVS version is availbable (r11 I assume), the following seems to work:
export AR="/usr/bin/ar"
export LD="/usr/bin/ld"
emerge -av cracklib
.. portage does its business ..
unset AR
unset LD
Comment 5 Chris Abbey 2004-12-31 15:28:21 UTC
alternately, just pickup a fresh copy of the toolchain-funcs eclass via sync.

emerge --sync
emerge cracklib m4 ed

(thanks to dragonheart for pointing out where the fix for this was located.)
Comment 6 SpanKY gentoo-dev 2005-01-01 13:17:38 UTC
*** Bug 76231 has been marked as a duplicate of this bug. ***
Comment 7 SpanKY gentoo-dev 2005-01-01 15:28:48 UTC
*** Bug 76340 has been marked as a duplicate of this bug. ***