Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 70016

Summary: pine-4.50-r4 don't compile but is merged with USE="ldap" !!!
Product: Gentoo Linux Reporter: Cedric Godin <cedric.godin>
Component: New packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED CANTFIX    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cedric Godin 2004-11-04 01:40:19 UTC
I have problem with pine 4.6x and tried to emerge \<pine-4.60.
The selected version is 4.50-r4 seems to compile and install but it's not the case:
.o folder.o help.o helptext.o imap.o init.o mailcap.o mailcmd.o mailindx.o mailpart.o mailview.o newmail.o other.o pine.o reply.o screen.o send.o signals.o status.o strings.o takeaddr.o os.o date.c ../pico/libpico.a ../c-client/c-client.a ../ldap/libraries/libldap.so ../ldap/libraries/liblber.so ../ldap/libraries/libresolv.so -lncurses `cat ../c-client/LDFLAGS`
../c-client/c-client.a(osdep.o)(.text+0x9e02): In function `ssl_server_init':
/var/tmp/portage/pine-4.50-r4/work/pine4.50/imap/c-client/osdep.c:288: warning:the use of `tmpnam' is dangerous, better use `mkstemp'
os.o(.text+0xc05): In function `error_description':
: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
os.o(.text+0xbfc): In function `error_description':
: warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
adrbkcmd.o(.text+0xac35): In function `url_local_ldap':
: undefined reference to `ldap_url_search_st'
collect2: ld returned 1 exit status
make: *** [pine] Error 1
>>> Test phase [not enabled]: mail-client/pine-4.50-r4

The problem is it doesn't stop here, it installs it and unmerge the old version. So no more /usr/bin/* from the package...

If I emerge it with USE="-ldap" all is ok.


Reproducible: Always
Steps to Reproduce:
1.USE="ldap" emerge pine-4.50-r4
2.
3.

Actual Results:  
no more pine program


Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Unknown CPU Type
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -Os -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox userpriv"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo
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="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X acl alsa apache2 apm arts avi cdr chroot crypt cups
dedicated dga divx4linux dvd encode faad fbcon gd gif gphoto2 gpm graphviz gtk
gtk2 icq imap imlib innodb ipv6 java jpeg kde kerberos ldap libwww live mad
maildir mmxmmx2 motif mozilla moznocompose moznoirc moznomail mpeg msn mysql
ncurses net network nls nptl nvidia objc oggvorbis opengl oss pam pdflib perl
pg-intdatetime pg-vacuumdelay png postgres python qt quicktime readline rtc
samba sdl spell ssessl tcltk threads tiff truetype usb v4l v4l2 wmf x86 xinerama
xml xml2 xmms xprint xv xvid zlib"
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2004-11-26 02:23:00 UTC
It looks like pine's build process does not return proper error code, so portage doesn't detect it and continues. This doesn't happen in newer versions.

As 4.50 is no longer in portage, I think this can be considered closed.

What kind of problems did you have with 4.6x? If it was the old out-of-memory bug while compiling filter.c, try freshly stable 4.61-r2, as it has been fixed there.
Comment 2 Cedric Godin 2004-11-26 12:27:46 UTC
No, my problem was related to the bug #66387. But with the new version all is OK. Thx