Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39786 - emerge of vim-6.2-r6 fails with undefined reference to libperl.so
Summary: emerge of vim-6.2-r6 fails with undefined reference to libperl.so
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-29 11:38 UTC by Gregg Casillo
Modified: 2004-02-08 07:29 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 Gregg Casillo 2004-01-29 11:38:17 UTC
During an "emerge world -u" today, I got this on vim-6.2-r6:

  gcc   -rdynamic   -L/usr/local/lib  -o vim objects/buffer.o objects/charset.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/main.o objects/mark.o objects/memfile.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/syntax.o  objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/window.o  objects/if_perl.o objects/if_perlsfio.o objects/if_python.o objects/py_config.o     objects/netbeans.o  objects/version.o       -lnsl   -lncurses -ldl  -rdynamic  -L/usr/local/lib /usr/lib/perl5/5.8.3/i686-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.3/i686-linux/CORE -lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc -L/usr/lib/python2.3/config -lpython2.3 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic
/usr/lib/python2.3/config/libpython2.3.a(posixmodule.o)(.text+0x3ff3): In function `posix_tempnam':
: warning: the use of `tempnam' is dangerous, better use `mkstemp'
/usr/lib/python2.3/config/libpython2.3.a(posixmodule.o)(.text+0x40b1): In function `posix_tmpnam':
: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
/usr/lib/perl5/5.8.3/i686-linux/CORE/libperl.so: undefined reference to `__builtin_va_start'
collect2: ld returned 1 exit status
distcc[7168] ERROR: compile on localhost failed
make[1]: *** [vim] Error 1
make[1]: Leaving directory `/var/tmp/portage/vim-6.2-r6/work/vim62/src'
make: *** [first] Error 2
 
!!! ERROR: app-editors/vim-6.2-r6 failed.
!!! Function src_compile, Line 248, Exitcode 2
!!! emake failed

Not sure what happened or why.

Reproducible: Always
Steps to Reproduce:
1. emerge -u world
2. emerge gets to vim-6.2-r6
3. get aforementioned error



Expected Results:  
successful emerge world -u including vim-6.2-r6

My emerge info:

Portage 2.0.50_pre21 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0,
2.4.22-gentoo-r4)
=================================================================
System uname: 2.4.22-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.3.12
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://gentoo.seren.com/gentoo
http://gentoo.noved.org/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acpi avi berkdb cdr crypt dvb encode gdbm gif gstreamer jpeg libg++ libwww
mad mikmod mmx mpeg mysql ncurses nls oggvorbis pam perl png python quicktime
readline samba sdl ssl tcpd tiff unicode usb x86 xml2 zlib"

I also tried with ccache and distcc disabled which sometimes helps in situations
like this. Unfortunately, no luck.
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2004-02-06 08:51:12 UTC
Try remerging perl prior to emerging vim
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2004-02-08 07:29:18 UTC
I think remerging perl is the key.  Please re-open if this continues to be a problem.