Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94137 - dev-libs/cyrus-sasl: fails on sasldb.o w/ USE=static
Summary: dev-libs/cyrus-sasl: fails on sasldb.o w/ USE=static
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-26 21:05 UTC by Fernando (likewhoa)
Modified: 2011-08-01 21:30 UTC (History)
2 users (show)

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


Attachments
bug log report (config.log,90.13 KB, text/plain)
2005-05-26 21:06 UTC, Fernando (likewhoa)
Details
cyrus-sasl-2.1.23-r4.ebuild-BJA-static-db_none.diff (cyrus-sasl-2.1.23-r4.ebuild-BJA-static-db_none.diff,985 bytes, patch)
2011-08-01 20:50 UTC, Bertrand Jacquin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando (likewhoa) 2005-05-26 21:05:09 UTC
getting 
sasldb.o: No such file or directory
on dev-libs/cyrus-sasl-2.1.21
P.S emerge was --resume with 
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" with same results..

Reproducible: Always
Steps to Reproduce:
1. emerge =dev-libs/cyrus-sasl-2.1.21


Actual Results:  
ln -s ../plugins/sasldb.c  ../plugins/cram.c ../plugins/digestmd5.c
../plugins/plain.c ../plugins/anonymous.c ../plugins/login.c ../plugins/ntlm.c
../plugins/sql.c .
adding static plugins and dependencies
ar cru .libs/libsasl2.a sasldb.o db_gdbm.o allockey.o cram.o digestmd5.o plain.o
anonymous.o login.o ntlm.o sql.o
ar: sasldb.o: No such file or directory
make[2]: *** [libsasl2.a] Error 1
make[2]: Leaving directory
`/var/tmp/portage/cyrus-sasl-2.1.21/work/cyrus-sasl-2.1.21/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/cyrus-sasl-2.1.21/work/cyrus-sasl-2.1.21'
make: *** [all] Error 2


Expected Results:  
emerge so my boxen can continue to roar..

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.10-cko3 i686)
=================================================================
System uname: 2.6.10-cko3 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
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.5
sys-devel/binutils:  2.16
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O2 -pipe -fforce-addr
-fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt
-falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/X11/xdm/Xaccess /etc/X11/xdm/Xservers
/etc/X11/xdm/xdm-config /etc/X11/xorg.conf /etc/apache2/conf/apache2.conf
/etc/apf/conf.apf /etc/conf.d/rc /etc/fstab /etc/gconf /etc/init.d/bootmisc
/etc/init.d/localmount /etc/init.d/modules /etc/modules.autoload.d/kernel-2.6
/etc/security/limits.conf /etc/ssh/sshd_config /etc/terminfo
/etc/xinetd.d/xvncserver /opt/vmware/bin/vmware-config.pl /usr/X11R6/bin/startx
/etc/env.d"
CXXFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O2 -pipe
-fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop
-frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math
-fprefetch-loop-arrays -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict userpriv
usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/pub-overlay /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm avi bash-completion bcmath bitmap-fonts bzlib
calendar caps cdr crypt ctype cups curl curlwrappers directfb divx4linux dvb dvd
dvdr eds emboss encode exif fam fbcon flac foomaticdb fortran ftp gd gdbm gif
gnome gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hardenedphp
imagemagick imlib ipv6 jikes joystick jpeg lcms ldap libg++ libwww lirc mad
maildir mbox memlimit mhash mime ming mmx mng motif mozilla mp3 mpeg mpi msn
mysql mysqli ncursers ncurses nls nptl nptlonly nvidia objc ogg opengl oscar oss
pam pcre pdflib perl php pie plotutils png pntl ppds prelude python qt quicktime
readline sasl sdk sdl session simplexml slcms sndfile snmp sockets socks5 spell
spl sqlite ssl stroke svg svga symlink tcltk tiff tokenizer transcode truetype
truetype-fonts type1-fonts unicode usb vhosts vorbis wddx wmf x86 xface xine
xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid xvidinfo yahoo zlib
video_cards_nvidia userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
Comment 1 Fernando (likewhoa) 2005-05-26 21:06:53 UTC
Created attachment 59922 [details]
bug log report
Comment 2 Tuan Van (RETIRED) gentoo-dev 2005-05-29 14:50:05 UTC
please try with `MAKEOPTS="-j1" emerge cyrus-sasl`. If it fails again, please
post your `emerge cyrus-sasl`
Comment 3 Fernando (likewhoa) 2005-05-29 18:48:09 UTC
[ebuild     U ] dev-libs/cyrus-sasl-2.1.21 [2.1.20-r3] -authdaemond -berkdb
+crypt -debug +gdbm +java -kerberos +ldap +mysql -ntlm_unsupported_patch +pam
-postgres -sample -srp +ssl +static -urandom 0 kB


nope same error,.
Comment 4 Tuan Van (RETIRED) gentoo-dev 2005-05-30 13:23:35 UTC
I can't reproduce this bugs. We have to ask youto reemerge the toolchain
(binutils, gcc, glibc) with CFLAGS="-march=athlon-xp -O2 -pipe" then try again.
Reopen if cyrus-sasl still fails to emerge.
Comment 5 Fernando (likewhoa) 2005-05-30 17:12:57 UTC
ok will do
Comment 6 Fernando (likewhoa) 2005-05-30 21:43:15 UTC
same issues after toolchain rebuild.. below is the new emerge info..

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.10-cko3 i686)
=================================================================
System uname: 2.6.10-cko3 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.7.1
dev-lang/python:     2.4.1
sys-apps/sandbox:    1.2.8
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.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/X11/xdm/Xaccess /etc/X11/xdm/Xservers
/etc/X11/xdm/xdm-config /etc/X11/xorg.conf /etc/apache2/conf/apache2.conf
/etc/apf/conf.apf /etc/conf.d/rc /etc/fstab /etc/gconf /etc/init.d/bootmisc
/etc/init.d/localmount /etc/init.d/modules /etc/modules.autoload.d/kernel-2.6
/etc/security/limits.conf /etc/ssh/sshd_config /etc/terminfo
/etc/xinetd.d/xvncserver /opt/vmware/bin/vmware-config.pl /usr/X11R6/bin/startx
/etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict userpriv
usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/pub-overlay /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm avi bash-completion bcmath bitmap-fonts bzlib
calendar caps cdr crypt ctype cups curl curlwrappers directfb divx4linux dvb dvd
dvdr eds emboss encode exif fam fbcon flac foomaticdb fortran ftp gd gdbm gif
gnome gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hardenedphp
imagemagick imlib ipv6 jikes joystick jpeg lcms ldap libg++ libwww lirc mad
maildir mbox memlimit mhash mime ming mmx mng motif mozilla mp3 mpeg mpi msn
mysql mysqli ncursers ncurses nls nptl nptlonly nvidia objc ogg opengl oscar oss
pam pcre pdflib perl php pie plotutils png pntl ppds prelude python qt quicktime
readline sasl sdk sdl session simplexml slcms sndfile snmp sockets socks5 spell
spl sqlite ssl stroke svg svga symlink tcltk tiff tokenizer transcode truetype
truetype-fonts type1-fonts unicode usb vhosts vorbis wddx wmf x86 xface xine
xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid xvidinfo yahoo zlib
video_cards_nvidia userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 7 Fernando (likewhoa) 2005-05-30 22:25:48 UTC
ok i have figured out that cyrus-sasl fails to compile with the 'static' USE
flag. here is the emerge output that worked.. as you can see cyrus-sasl-2.1.21
compiled correctly.

[ebuild   R   ] dev-libs/cyrus-sasl-2.1.21  -authdaemond -berkdb +crypt -debug
+gdbm -java -kerberos +ldap +mysql -ntlm_unsupported_patch +pam -postgres
-sample -srp +ssl -static -urandom 0 kB 

so 'static' seems to be buggy.. i will rebuild my toolchain back to original
cflags and try to reproduce the emerge w/o 'static'.. 
Comment 8 Fernando (likewhoa) 2005-05-31 01:19:03 UTC
ok emerge works , here is my emerge info just in case..

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.10-cko3 i686)
=================================================================
System uname: 2.6.10-cko3 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.7.1
dev-lang/python:     2.4.1
sys-apps/sandbox:    1.2.8
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.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -m3dnow -msse -mmmx -O2 -pipe -fforce-addr
-fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt
-falign-functions=64 -maccumulate-outgoing-args -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/X11/xdm/Xaccess /etc/X11/xdm/Xservers
/etc/X11/xdm/xdm-config /etc/X11/xorg.conf /etc/apache2/conf/apache2.conf
/etc/apf/conf.apf /etc/conf.d/rc /etc/fstab /etc/gconf /etc/init.d/bootmisc
/etc/init.d/localmount /etc/init.d/modules /etc/modules.autoload.d/kernel-2.6
/etc/security/limits.conf /etc/ssh/sshd_config /etc/terminfo
/etc/xinetd.d/xvncserver /opt/vmware/bin/vmware-config.pl /usr/X11R6/bin/startx
/etc/env.d"
CXXFLAGS="-march=athlon-xp -m3dnow -msse -mmmx -O2 -pipe -fforce-addr
-fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt
-falign-functions=64 -maccumulate-outgoing-args -fprefetch-loop-arrays
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict userpriv
usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/pub-overlay /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm avi bash-completion bcmath bitmap-fonts bzlib
calendar caps cdr crypt ctype cups curl curlwrappers directfb divx4linux dvb dvd
dvdr eds emboss encode exif fam fbcon flac foomaticdb fortran ftp gd gdbm gif
gnome gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hardenedphp
imagemagick imlib ipv6 jikes joystick jpeg lcms ldap libg++ libwww lirc mad
maildir mbox memlimit mhash mime ming mmx mng motif mozilla mp3 mpeg mpi msn
mysql mysqli ncursers ncurses nls nptl nptlonly nvidia objc ogg opengl oscar oss
pam pcre pdflib perl php pie plotutils png pntl ppds prelude python qt quicktime
readline sasl sdk sdl session simplexml slcms sndfile snmp sockets socks5 spell
spl sqlite ssl stroke svg svga symlink tcltk tiff tokenizer transcode truetype
truetype-fonts type1-fonts unicode usb vhosts vorbis wddx wmf x86 xface xine
xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid xvidinfo yahoo zlib
video_cards_nvidia userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
Comment 9 Tuan Van (RETIRED) gentoo-dev 2005-05-31 11:09:54 UTC
Sorry, I missed "static" in your USE flags earlier. Anyway, cyrus-sasl fails to
build with --enable-static. It is reported upstream. We'll just wait for
upstream to release new revision.
Comment 10 Fernando J. Pereda (RETIRED) gentoo-dev 2005-11-06 03:53:14 UTC
Ok, I temporarily disabled the 'static' use flag in cyrus-sasl-2.1.21-r1. We can
add it later if upstream fixes it.

Cheers,
Ferdy
Comment 11 Jonathan Smith (RETIRED) gentoo-dev 2006-01-16 10:57:16 UTC
lets go back and fix this the right way...
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2007-04-01 20:01:29 UTC
(In reply to comment #11)
> lets go back and fix this the right way...

Feel free. Until then - UPSTREAM. 

Comment 13 Bertrand Jacquin 2011-08-01 20:50:04 UTC
Created attachment 281773 [details, diff]
cyrus-sasl-2.1.23-r4.ebuild-BJA-static-db_none.diff

Here is a quick and dirty patch that fix the issue to build cyrus-sasl as static