Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100314 - cyrus sasl build fail with missing .o files (sometimes db_gdbm.o and sometimes allockey.o)
Summary: cyrus sasl build fail with missing .o files (sometimes db_gdbm.o and sometime...
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-25 20:42 UTC by Csaba Tóth
Modified: 2005-07-26 00:01 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 Csaba Tóth 2005-07-25 20:42:21 UTC
Here is my putty's output.
They say that there isnt db_gdbm.o file, but sometimes it fails with missing 
allockey.o file. I build a brand new system, the all system with that 
optimizations. Everything is builded correctly, just the cyrus-sasl not.
May some of them is the key of the wrong building?

If i build just the cyrus-sasl with the command `CFLAGS="-O2 -pipe -fomit-
frame-pointer -march=pentium4 -mtune=pentium4 -msse -msse2 -mmmx -mfpmath=sse" 
USE="-berkdb" emerge cyrus-sasl`, it wont break my system because of the 
another optimization flags?

Reproducible: Always
Steps to Reproduce:
1. emerge cyrus-sasl
2.
3.

Actual Results:  
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -
I/usr/include/mysql -I/usr/include -Wall -W -O3 -mcpu=pentium4 -
mtune=pentium4 -pipe -msse -msse2 -mmmx -mfpmath=sse,387 -Wl,-O1 -Wl,-z,now -
fforce-addr -fomit-frame-pointer -funroll-loops -frerun-loop-opt -frerun-cse-
after-loop -falign-functions=4 -fmove-all-movables -fno-ident -ftracer -funit-
at-a-time -fweb -funswitch-loops -fpeel-loops -MT allockey.lo -MD -MP -
MF .deps/allockey.Tpo -c allockey.c  -fPIC -DPIC
i686-pc-linux-gnu-gcc: -O1: linker input file unused because linking not done
i686-pc-linux-gnu-gcc: -z: linker input file unused because linking not done
i686-pc-linux-gnu-gcc: now: linker input file unused because linking not done
mv -f allockey.o allockey.lo
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -
I../include   -I/usr/include/mysql -I/usr/include  -Wall -W -O3 -
mcpu=pentium4 -mtune=pentium4 -pipe -msse -msse2 -mmmx -mfpmath=sse,387 -Wl,-
O1 -Wl,-z,now -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-loop-
opt -frerun-cse-after-loop -falign-functions=4 -fmove-all-movables -fno-ident -
ftracer -funit-at-a-time -fweb -funswitch-loops -fpeel-loops -MT db_gdbm.o -
MD -MP -MF ".deps/db_gdbm.Tpo" \
  -c -o db_gdbm.o `test -f 'db_gdbm.c' || echo './'`db_gdbm.c; \
then mv -f ".deps/db_gdbm.Tpo" ".deps/db_gdbm.Po"; \
else rm -f ".deps/db_gdbm.Tpo"; exit 1; \
fi
i686-pc-linux-gnu-gcc: -O1: linker input file unused because linking not done
i686-pc-linux-gnu-gcc: -z: linker input file unused because linking not done
i686-pc-linux-gnu-gcc: now: linker input file unused because linking not done
mv -f db_gdbm.o db_gdbm.lo
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -
I../include   -I/usr/include/mysql -I/usr/include  -Wall -W -O3 -
mcpu=pentium4 -mtune=pentium4 -pipe -msse -msse2 -mmmx -mfpmath=sse,387 -Wl,-
O1 -Wl,-z,now -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-loop-
opt -frerun-cse-after-loop -falign-functions=4 -fmove-all-movables -fno-ident -
ftracer -funit-at-a-time -fweb -funswitch-loops -fpeel-loops -MT allockey.o -
MD -MP -MF ".deps/allockey.Tpo" \
  -c -o allockey.o `test -f 'allockey.c' || echo './'`allockey.c; \
then mv -f ".deps/allockey.Tpo" ".deps/allockey.Po"; \
else rm -f ".deps/allockey.Tpo"; exit 1; \
fi
i686-pc-linux-gnu-gcc: -O1: linker input file unused because linking not done
i686-pc-linux-gnu-gcc: -z: linker input file unused because linking not done
i686-pc-linux-gnu-gcc: now: linker input file unused because linking not done
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc  -Wall -W -O3 -
mcpu=pentium4 -mtune=pentium4 -pipe -msse -msse2 -mmmx -mfpmath=sse,387 -Wl,-
O1 -Wl,-z,now -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-loop-
opt -frerun-cse-after-loop -falign-functions=4 -fmove-all-movables -fno-ident -
ftracer -funit-at-a-time -fweb -funswitch-loops -fpeel-loops  -Wl,-O1 -Wl,--
sort-common -s -o libsasldb.la   allockey.lo db_gdbm.lo  -lresolv
i686-pc-linux-gnu-gcc: -O1: linker input file unused because linking not done
i686-pc-linux-gnu-gcc: -z: linker input file unused because linking not done
i686-pc-linux-gnu-gcc: now: linker input file unused because linking not done
mkdir .libs
ar cru .libs/libsasldb.al allockey.lo db_gdbm.lo
i686-pc-linux-gnu-ranlib .libs/libsasldb.al
creating libsasldb.la
(cd .libs && rm -f libsasldb.la && ln -s ../libsasldb.la libsasldb.la)
ar cru .libs/libsasldb.a db_gdbm.o allockey.o
ar: db_gdbm.o: Nincs ilyen f
Comment 1 Csaba Tóth 2005-07-25 20:42:21 UTC
Here is my putty's output.
They say that there isnt db_gdbm.o file, but sometimes it fails with missing 
allockey.o file. I build a brand new system, the all system with that 
optimizations. Everything is builded correctly, just the cyrus-sasl not.
May some of them is the key of the wrong building?

If i build just the cyrus-sasl with the command `CFLAGS="-O2 -pipe -fomit-
frame-pointer -march=pentium4 -mtune=pentium4 -msse -msse2 -mmmx -mfpmath=sse" 
USE="-berkdb" emerge cyrus-sasl`, it wont break my system because of the 
another optimization flags?

Reproducible: Always
Steps to Reproduce:
1. emerge cyrus-sasl
2.
3.

Actual Results:  
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -
I/usr/include/mysql -I/usr/include -Wall -W -O3 -mcpu=pentium4 -
mtune=pentium4 -pipe -msse -msse2 -mmmx -mfpmath=sse,387 -Wl,-O1 -Wl,-z,now -
fforce-addr -fomit-frame-pointer -funroll-loops -frerun-loop-opt -frerun-cse-
after-loop -falign-functions=4 -fmove-all-movables -fno-ident -ftracer -funit-
at-a-time -fweb -funswitch-loops -fpeel-loops -MT allockey.lo -MD -MP -
MF .deps/allockey.Tpo -c allockey.c  -fPIC -DPIC
i686-pc-linux-gnu-gcc: -O1: linker input file unused because linking not done
i686-pc-linux-gnu-gcc: -z: linker input file unused because linking not done
i686-pc-linux-gnu-gcc: now: linker input file unused because linking not done
mv -f allockey.o allockey.lo
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -
I../include   -I/usr/include/mysql -I/usr/include  -Wall -W -O3 -
mcpu=pentium4 -mtune=pentium4 -pipe -msse -msse2 -mmmx -mfpmath=sse,387 -Wl,-
O1 -Wl,-z,now -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-loop-
opt -frerun-cse-after-loop -falign-functions=4 -fmove-all-movables -fno-ident -
ftracer -funit-at-a-time -fweb -funswitch-loops -fpeel-loops -MT db_gdbm.o -
MD -MP -MF ".deps/db_gdbm.Tpo" \
  -c -o db_gdbm.o `test -f 'db_gdbm.c' || echo './'`db_gdbm.c; \
then mv -f ".deps/db_gdbm.Tpo" ".deps/db_gdbm.Po"; \
else rm -f ".deps/db_gdbm.Tpo"; exit 1; \
fi
i686-pc-linux-gnu-gcc: -O1: linker input file unused because linking not done
i686-pc-linux-gnu-gcc: -z: linker input file unused because linking not done
i686-pc-linux-gnu-gcc: now: linker input file unused because linking not done
mv -f db_gdbm.o db_gdbm.lo
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -
I../include   -I/usr/include/mysql -I/usr/include  -Wall -W -O3 -
mcpu=pentium4 -mtune=pentium4 -pipe -msse -msse2 -mmmx -mfpmath=sse,387 -Wl,-
O1 -Wl,-z,now -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-loop-
opt -frerun-cse-after-loop -falign-functions=4 -fmove-all-movables -fno-ident -
ftracer -funit-at-a-time -fweb -funswitch-loops -fpeel-loops -MT allockey.o -
MD -MP -MF ".deps/allockey.Tpo" \
  -c -o allockey.o `test -f 'allockey.c' || echo './'`allockey.c; \
then mv -f ".deps/allockey.Tpo" ".deps/allockey.Po"; \
else rm -f ".deps/allockey.Tpo"; exit 1; \
fi
i686-pc-linux-gnu-gcc: -O1: linker input file unused because linking not done
i686-pc-linux-gnu-gcc: -z: linker input file unused because linking not done
i686-pc-linux-gnu-gcc: now: linker input file unused because linking not done
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc  -Wall -W -O3 -
mcpu=pentium4 -mtune=pentium4 -pipe -msse -msse2 -mmmx -mfpmath=sse,387 -Wl,-
O1 -Wl,-z,now -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-loop-
opt -frerun-cse-after-loop -falign-functions=4 -fmove-all-movables -fno-ident -
ftracer -funit-at-a-time -fweb -funswitch-loops -fpeel-loops  -Wl,-O1 -Wl,--
sort-common -s -o libsasldb.la   allockey.lo db_gdbm.lo  -lresolv
i686-pc-linux-gnu-gcc: -O1: linker input file unused because linking not done
i686-pc-linux-gnu-gcc: -z: linker input file unused because linking not done
i686-pc-linux-gnu-gcc: now: linker input file unused because linking not done
mkdir .libs
ar cru .libs/libsasldb.al allockey.lo db_gdbm.lo
i686-pc-linux-gnu-ranlib .libs/libsasldb.al
creating libsasldb.la
(cd .libs && rm -f libsasldb.la && ln -s ../libsasldb.la libsasldb.la)
ar cru .libs/libsasldb.a db_gdbm.o allockey.o
ar: db_gdbm.o: Nincs ilyen fájl vagy könyvtár
make[2]: *** [libsasldb.a] Error 1
make[2]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.21-r1/work/cyrus-
sasl-2.1.21/sasldb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.21-r1/work/cyrus-
sasl-2.1.21'
make: *** [all] Error 2

!!! ERROR: dev-libs/cyrus-sasl-2.1.21-r1 failed.
!!! Function src_compile, Line 183, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.




my emerge info:

demo2 ~ # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 
2.6.12-gentoo-r6-demo2-01 i686)
=================================================================
System uname: 2.6.12-gentoo-r6-demo2-01 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.4.1-r1
sys-apps/sandbox:    1.2.11
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.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mcpu=pentium4 -mtune=pentium4 -pipe -msse -msse2 -mmmx -
mfpmath=sse,387 -Wl,-O1 -Wl,-z,now -fforce-addr -fomit-frame-pointer -funroll-
loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4 -fmove-all-
movables -fno-ident -ftracer -funit-at-a-time -fweb -funswitch-loops -fpeel-
loops"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share
/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium4 -mtune=pentium4 -pipe -msse -msse2 -mmmx -
mfpmath=sse,387 -Wl,-O1 -Wl,-z,now -fforce-addr -fomit-frame-pointer -funroll-
loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4 -fmove-all-
movables -fno-ident -ftracer -funit-at-a-time -fweb -funswitch-loops -fpeel-
loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg digest distlocks fixpackages sandbox 
sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
ftp://ftp.easynet.nl/mirror/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ 
ftp://planetmirror.com/pub/gentoo/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ 
ftp://mirror.switch.ch/mirror/gentoo/ ftp://gentoo.risq.qc.ca/ 
ftp://gentoo.llarian.net/pub/gentoo ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ 
ftp://gentoo.itdnet.net/gentoo/"
LANG="hu_HU.utf8"
LC_ALL="hu_HU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
LINGUAS="hu en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 7zip X Xaw3d aac acl alsa apache2 apm arts artswrappersuid 
audiofile avi berkdb bitmap-fonts bzip2 chroot crypt cups curl dga directfb 
dlloader dvd emboss encode erandom esd examples exif expat extensions fam flac 
font-server foomaticdb fortran gdbm gif glibc-omitfp gnome gnutls gphoto2 gpm 
gtk gtk2 hal howl imlib innodb ipv6 ithread ithreads java javascript jpeg 
jpeg2k junit kde libg++ libwww mad mikmod mmap mmx motif mp3 mpeg mpm-worker 
mysql ncurses nls nptl nptlonly objc ogg oggvorbis opengl oss pam pcre pdflib 
perl php pic png postgres python qt quicktime rdesktop readline sasl sdl 
sftplogging slang sndfile spell sse sse2 ssl symlink sysfs tcltk tcpd theora 
threads tidy tiff toolbar truetype truetype-fonts type1-fonts unicode urandom 
userlocales v4l vcd vidix vorbis win32codecs xine xinerama xml xml2 xmms xv 
zlib linguas_hu linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, PORTDIR_OVERLAY
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-07-26 00:01:37 UTC
Fix your ridiculous C[XX]FLAGS.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-07-26 00:01:48 UTC
CLOSED