Package: elinks
Severity: serious
Version: 0.10.4-1
Tags: patch

>From my build log, using pbuilder in an i386 chroot (the error message
is different on amd64 for some reason, but the fix is the same):

...
gcc  -g -O2 -Wall  -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN 
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64  -I/usr/lib/perl/5.8/CORE  -I/usr/include 
-I/usr/include/lua50 -I/usr/include -fno-strict-aliasing -rdynamic -o elinks  
main.o vernum.o ../src/intl/gettext/libintl.a  modules/libmodules.a  
cookies/libcookies.a  viewer/text/libviewer_text.a  
viewer/dump/libviewer_dump.a  cache/libcache.a  document/libdocument.a  
intl/libintl.a  sched/libsched.a  lowlevel/liblowlevel.a  
terminal/libterminal.a  scripting/libscripting.a  osdep/libosdep.a  
protocol/libprotocol.a  ssl/libssl.a  bookmarks/libbookmarks.a  
formhist/libformhist.a  globhist/libglobhist.a    config/libconfig.a  
dialogs/libdialogs.a  mime/libmime.a  bfu/libbfu.a  encoding/libencoding.a  
util/libutil.a -lgnutls -L/usr/lib -llua50 -llualib50 -lm -Wl,-E  
-L/usr/local/lib /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a 
-L/usr/lib/perl/5.8/CORE -ldl -lm -lpthread -lc -lcrypt -ldl  -lgpm -lz -lbz2 
-lexpat -lgnutls-openssl 
sched/libsched.a(download.o)(.text+0xf0d): In function `get_temp_name':
/tmp/buildd/elinks-0.10.4/src/sched/download.c:661: warning: the use of 
`tempnam' is dangerous, better use `mkstemp'
scripting/libscripting.a(core.o)(.text+0xa7): In function `precleanup_perl':
/tmp/buildd/elinks-0.10.4/src/scripting/perl/core.c:56: undefined reference to 
`perl_destruct'
scripting/libscripting.a(core.o)(.text+0xb4):/tmp/buildd/elinks-0.10.4/src/scripting/perl/core.c:57:
 undefined reference to `perl_free'
scripting/libscripting.a(core.o)(.text+0xe9): In function `cleanup_perl':
/tmp/buildd/elinks-0.10.4/src/scripting/perl/core.c:66: undefined reference to 
`Perl_Gop_mutex_ptr'
...

Adding libperl-dev to the Build-Depends allows the package to build
again.

-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.11-9-amd64-k8
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)

-- 
Daniel Schepler              "Please don't disillusion me.  I
[EMAIL PROTECTED]    haven't had breakfast yet."
                                 -- Orson Scott Card

Reply via email to