Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97927 - libtool-1.5.16 has an empty CC variable, causing build failures - openldap ~x86 ebuild as of 070405 fails to build.
Summary: libtool-1.5.16 has an empty CC variable, causing build failures - openldap ~x...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 98068 98325 99907 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-04 12:55 UTC by Lance Lassetter
Modified: 2005-07-22 11:25 UTC (History)
4 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 Lance Lassetter 2005-07-04 12:55:42 UTC
-I. -DSLAPI_LIBRARY -c version.c  -fPIC -o .libs/version.o
 cc -O2 -pipe -march=athlon-xp -fomit-frame-pointer -I../../../include -I.. -I.
-I../../../include -I./.. -I. -DSLAPI_LIBRARY -c version.c -o version.o
>/dev/null 2>&1
/bin/sh /var/tmp/portage/openldap-2.2.27-r1/work/openldap-2.2.27/libtool 
--mode=link cc -O2 -pipe -march=athlon-xp -fomit-frame-pointer    -release 2.2
-version-info 7:20:0 -rpath /usr/lib -o libslapi.la plugin.lo slapi_pblock.lo
slapi_utils.lo printmsg.lo slapi_ops.lo slapi_ext.lo  version.lo
cc -shared  .libs/plugin.o .libs/slapi_pblock.o .libs/slapi_utils.o
.libs/printmsg.o .libs/slapi_ops.o .libs/slapi_ext.o .libs/version.o  
-march=athlon-xp -Wl,-soname -Wl,libslapi-2.2.so.7 -o .libs/libslapi-2.2.so.7.0.20
(cd .libs && rm -f libslapi-2.2.so.7 && ln -s libslapi-2.2.so.7.0.20
libslapi-2.2.so.7)
(cd .libs && rm -f libslapi.so && ln -s libslapi-2.2.so.7.0.20 libslapi.so)
ar cru .libs/libslapi.a  plugin.o slapi_pblock.o slapi_utils.o printmsg.o
slapi_ops.o slapi_ext.o version.o
ranlib .libs/libslapi.a
creating libslapi.la
(cd .libs && rm -f libslapi.la && ln -s ../libslapi.la libslapi.la)
make[3]: Leaving directory
`/var/tmp/portage/openldap-2.2.27-r1/work/openldap-2.2.27/servers/slapd/slapi'
cp slapi/.libs/libslapi.a .
/bin/sh /var/tmp/portage/openldap-2.2.27-r1/work/openldap-2.2.27/libtool
--mode=link cc  -O2 -pipe -march=athlon-xp -fomit-frame-pointer   -dlopen self 
-o slapd main.o globals.o config.o daemon.o connection.o search.o filter.o add.o
cr.o attr.o entry.o backend.o result.o operation.o dn.o compare.o modify.o
delete.o modrdn.o ch_malloc.o value.o ava.o bind.o unbind.o abandon.o
filterentry.o phonetic.o acl.o str2filter.o aclparse.o init.o user.o repl.o
lock.o controls.o extended.o kerberos.o passwd.o schema.o schema_check.o
schema_init.o schema_prep.o schemaparse.o ad.o at.o mr.o syntax.o oc.o
saslauthz.o oidm.o starttls.o index.o sets.o referral.o root_dse.o sasl.o
module.o mra.o mods.o sl_malloc.o limits.o backglue.o operational.o
matchedValues.o cancel.o syncrepl.o backover.o ctxcsn.o ldapsync.o sessionlog.o
slapadd.o slapcat.o slapcommon.o slapdn.o slapindex.o slappasswd.o slaptest.o 
version.o libbackends.a ../../libraries/liblunicode/liblunicode.a
../../libraries/librewrite/librewrite.a ../../libraries/liblutil/liblutil.a
../../libraries/libldap_r/libldap_r.la ../../libraries/liblber/liblber.la
liboverlays.a -ldb-4.2     -lsasl2  -lssl -lcrypto  -lcrypt -lresolv  -pthread
libslapi.a -lltdl -lltdl \
        -lwrap
rm -f .libs/slapd.nm .libs/slapd.nmS .libs/slapd.nmT
creating .libs/slapdS.c
/var/tmp/portage/openldap-2.2.27-r1/work/openldap-2.2.27/libtool: line 4721: -v:
command not found
(cd .libs &&  -c -fno-builtin -fno-rtti -fno-exceptions "slapdS.c")
/var/tmp/portage/openldap-2.2.27-r1/work/openldap-2.2.27/libtool: line 4823: -c:
command not found
make[2]: *** [slapd] Error 127
make[2]: Leaving directory
`/var/tmp/portage/openldap-2.2.27-r1/work/openldap-2.2.27/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory
`/var/tmp/portage/openldap-2.2.27-r1/work/openldap-2.2.27/servers'
make: *** [all-common] Error 1

!!! ERROR: net-nds/openldap-2.2.27-r1 failed.
!!! Function src_compile, Line 236, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1.  mark openldap as ~x86 in /etc/portage/package.keywords
2.  emerge with USE flags: +berkdb +crypt -debug +gdbm +ipv6 -kerberos -minimal
-odbc +perl +readline +samba +sasl* -slp +ssl +tcpd
3.  watch fail.

Actual Results:  
~x86 openldap failed to install.

Expected Results:  
possible install and functioning openldap 2.2.27
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-07-04 14:02:30 UTC
please reopen with your 'emerge -v info' output!
Comment 2 Lance Lassetter 2005-07-04 14:13:03 UTC
# emerge -v info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-hardened-r15 i686)
=================================================================
System uname: 2.6.11-hardened-r15 i686 AMD Athlon(tm)
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 30 2005, 15:00:48)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.7.9-r1, 1.9.5, 1.5, 1.6.3, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE=""
ARCH="x86"
AUTOCLEAN="yes"
BASH_ENV="/etc/spork/is/not/valid/profile.env"
CFLAGS="-O2 -pipe -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CLEAN_DELAY="5"
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/terminfo /etc/env.d"
CVS_RSH="ssh"
CXXFLAGS="-O2 -pipe -march=athlon-xp -fomit-frame-pointer"
DCCC_PATH="/usr/lib/distcc/bin"
DISTCC_LOG=""
DISTCC_VERBOSE="0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vim"
ELIBC="glibc"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
GCC_SPECS=""
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://mirror.datapipe.net/gentoo
http://mirrors.tds.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo"
GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb ncurses"
G_BROKEN_FILENAMES="1"
HOME="/root"
HOSTNAME="uclinux.info"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.15.92.0.2/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/info"
JAVAC="/opt/blackdown-jdk-1.4.1/bin/javac"
JAVA_HOME="/opt/blackdown-jdk-1.4.1"
JDK_HOME="/opt/blackdown-jdk-1.4.1"
KERNEL="linux"
LESS="-R"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="-j2"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.15.92.0.2/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/man::/opt/blackdown-jdk-1.4.1/man"
NOCOLOR="false"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/local/sbin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ppc-macos ppc-od
s390 sh sparc x86 x86-fbsd x86-obsd x86-od"
PORTAGE_BINHOST="http://chinstrap.alternating.net/files/2005.0/grp"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CALLER="emerge"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="20793"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK=""
PWD="/root"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
SHELL="/bin/bash"
SHLVL="1"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="xterm"
USE="x86 alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts cdr crypt
cups curl dvd emboss encode ethereal fam fastcgi flexresp foomaticdb fortran gd
gd-external gdbm gif gpm hardened hardenedphp imagemagick imap imlib ipv6 jpeg
jpg ldap libg++ libwww mad mbox mikmod mp3 mpeg mysql ncurses oggvorbis oss pam
pdflib perl png python quicktime readline samba sasl sdl slang snortsam spell
sse ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb xml xml2 xmms
xv zlib userland_GNU kernel_linux elibc_glibc"
USER="root"
USERLAND="GNU"
USE_EXPAND="FRITZCAPI_CARDS FCDSL_CARDS VIDEO_CARDS INPUT_DEVICES LINGUAS
USERLAND KERNEL ELIBC"
XARGS="xargs -r"
_="/usr/bin/emerge"
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-07-04 14:18:00 UTC
please try libtool-1.5.18-r1 and see if the problem still occurs.
for some reason your system has lost the $CC variable...
Comment 4 Lance Lassetter 2005-07-04 14:48:16 UTC
yep that fixed it, why or how would my system lose $CC variable?  please give me
possible scenarios, if you have a moment.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-07-04 15:03:29 UTC
toolchain: for some reason $CC is empty at some points with libtool-1.5.16.
However things work with 1.5.18-r1, so possible 1.5.18-r1 needs to make it to
stable soon?

lance: I suspect a libtool bug.
Comment 6 SpanKY gentoo-dev 2005-07-04 22:28:16 UTC
libtool-1.5.18 seems to be pretty happy, no problem moving it to stable for me

az ?
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-04 22:29:56 UTC
mm'kay with me
Comment 8 SpanKY gentoo-dev 2005-07-05 16:33:54 UTC
1.5.18-r1 now stable
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2005-07-06 01:48:19 UTC
*** Bug 98068 has been marked as a duplicate of this bug. ***
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2005-07-08 03:09:57 UTC
*** Bug 98325 has been marked as a duplicate of this bug. ***
Comment 11 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-07-22 11:25:41 UTC
*** Bug 99907 has been marked as a duplicate of this bug. ***