pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libtool --tag issue with pkgsrc under Linux

The following error occurs when building graphics/jpeg under Linux

===> Building for jpeg-6bnb4
./libtool --mode=compile gcc -U_FORTIFY_SOURCE  -I. -c ./jcapimin.c
/usr/pkgsrc/graphics/jpeg/work/.wrapper/bin/libtool[117]: eval: line
1: 14991: Memory fault
*** Error code 11

/usr/pkgsrc/graphics/jpeg/work/.wrapper/bin/libtool line 117 consists
eval "$cmd" || wrapper_result="$?"
where $cmd is
/usr/pkg/bin/libtool --mode=compile gcc -U_FORTIFY_SOURCE -I. -c

If I try bmake a second time, or manually enter the above command the
error I then get reads:
===> Building for jpeg-6bnb4
./libtool --mode=compile gcc -U_FORTIFY_SOURCE  -I. -c ./jcapimin.c
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag`
*** Error code 1

I can make it proceed one-step if I run:
/usr/pkg/bin/libtool --mode=compile --tag CXX gcc -U_FORTIFY_SOURCE
-I. -c ./jcapimin.c

How should this be fixed properly though? Is it an autotools problem,
or a pkgsrc bug?
Many thanks,

P.S. Further details:
This problem is on Ubuntu 8.10 / pkgsrc-2008Q3 with libtool and
libtool-base built from pkgsrc;
# pkg_info -a
bootstrap-mk-files-20080808 *.mk files for the bootstrap bmake utility
bmake-20080215nb1   Portable (autoconf) version of NetBSD 'make'
tnftp-20070806      The enhanced FTP client in NetBSD
pax-20080110        POSIX standard archiver with many extensions
pkg_install-20081002 Package management and administration tools for
digest-20080510     Message digest wrapper utility
gtexinfo-4.12nb1    GNU info documentation utilities
libtool-base-1.5.24nb6 Generic shared library support script (the
script itself)
libtool-info-1.5.24 Generic shared library support script - info pages
libtool-1.5.24      Generic shared library support script

Nothing too different from default mk.conf, except for CFLAGS+= -U_FORTIFY_SOURCE
X11_TYPE=                modular

Home | Main Index | Thread Index | Old Index