pkgsrc-Users archive

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

libltdl fails to build



I updated to libtool-base-2.2.6bnb1 and then tried to build libltdl,
which failed.  wip/postgresql-postgis also failed.

Build log from libltldl on NetBSD/5.0_STABLE i386 follows.  Look like
spurious newlines.

=> Bootstrap dependency digest>=20010302: found digest-20080510
=> Checksum SHA1 OK for libtool-2.2.6b.tar.gz
=> Checksum RMD160 OK for libtool-2.2.6b.tar.gz
===> Installing dependencies for libltdl-2.2.6b
=> Build dependency libtool-base>=2.2.6bnb1: found libtool-base-2.2.6bnb1
=> Build dependency ccache-[0-9]*: found ccache-2.4
=> Build dependency checkperms>=1.1: found checkperms-1.11
===> Overriding tools for libltdl-2.2.6b
===> Extracting for libltdl-2.2.6b
===> Patching for libltdl-2.2.6b
=> Applying pkgsrc patches for libltdl-2.2.6b
===> Creating toolchain wrappers for libltdl-2.2.6b
===> Configuring for libltdl-2.2.6b
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Checking for portability problems in extracted files
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking build system type... i386--netbsdelf
checking host system type... i386--netbsdelf
checking for style of include used by make... GNU
checking for i386--netbsdelf-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... (cached) ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for ld option to reload object files... -r
checking for i386--netbsdelf-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern 
/lib[^/]+(\.so|_pic\.a)$
checking for i386--netbsdelf-ar... no
checking for ar... ar
checking for i386--netbsdelf-strip... no
checking for strip... strip
checking for i386--netbsdelf-ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such 
file or directory
no
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking which extension is used for runtime loadable modules... .so
checking which variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
checking for library containing dlopen... none required
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... no
checking for error_t... no
checking for argz_add... no
checking for argz_append... no
checking for argz_count... no
checking for argz_create_sep... no
checking for argz_insert... no
checking for argz_next... no
checking for argz_stringify... no
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... yes
checking for strlcpy... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
=> Modifying libtool scripts to use pkgsrc libtool
===> Building for libltdl-2.2.6b
--- argz.h ---
/bin/sh 
/n0/gdt/NetBSD-current/pkgsrc/devel/libltdl/work/libtool-2.2.6b/libltdl/config/install-sh
 -d .
cp ./argz_.h argz.h-t
mv argz.h-t argz.h
--- all ---
/usr/bin/make  all-am
--- libltdl_la-preopen.lo ---
--- libltdl_la-lt__alloc.lo ---
--- libltdl_la-preopen.lo ---
/bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  
-DLTDLOPEN=libltdl -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I.  -Ilibltdl 
-I./libltdl -I./libltdl -I/usr/include  -O2 -I/usr/include -MT 
libltdl_la-preopen.lo -MD -MP -MF .deps/libltdl_la-preopen.Tpo -c -o 
libltdl_la-preopen.lo `test -f 'loaders/preopen.c' || echo 
'./'`loaders/preopen.c
--- libltdl_la-lt__alloc.lo ---
/bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  
-DLTDLOPEN=libltdl -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I.  -Ilibltdl 
-I./libltdl -I./libltdl -I/usr/include  -O2 -I/usr/include -MT 
libltdl_la-lt__alloc.lo -MD -MP -MF .deps/libltdl_la-lt__alloc.Tpo -c -o 
libltdl_la-lt__alloc.lo `test -f 'lt__alloc.c' || echo './'`lt__alloc.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdl 
"-DLT_CONFIG_H=<config.h>" -DLTDL -Ilibltdl -I./libltdl -O2 -MT 
libltdl_la-lt__alloc.lo -MD -MP -MF .deps/libltdl_la-lt__alloc.Tpo -c 
lt__alloc.c  -fPIC -DPIC -o .libs/libltdl_la-lt__alloc.o
--- libltdl_la-preopen.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdl 
"-DLT_CONFIG_H=<config.h>" -DLTDL -Ilibltdl -I./libltdl -O2 -MT 
libltdl_la-preopen.lo -MD -MP -MF .deps/libltdl_la-preopen.Tpo -c 
loaders/preopen.c  -fPIC -DPIC -o .libs/libltdl_la-preopen.o
--- libltdl_la-lt__alloc.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdl 
"-DLT_CONFIG_H=<config.h>" -DLTDL -Ilibltdl -I./libltdl -O2 -MT 
libltdl_la-lt__alloc.lo -MD -MP -MF .deps/libltdl_la-lt__alloc.Tpo -c 
lt__alloc.c -o libltdl_la-lt__alloc.o >/dev/null 2>&1
mv -f .deps/libltdl_la-lt__alloc.Tpo .deps/libltdl_la-lt__alloc.Plo
--- libltdl_la-lt_dlloader.lo ---
/bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  
-DLTDLOPEN=libltdl -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I.  -Ilibltdl 
-I./libltdl -I./libltdl -I/usr/include  -O2 -I/usr/include -MT 
libltdl_la-lt_dlloader.lo -MD -MP -MF .deps/libltdl_la-lt_dlloader.Tpo -c -o 
libltdl_la-lt_dlloader.lo `test -f 'lt_dlloader.c' || echo './'`lt_dlloader.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdl 
"-DLT_CONFIG_H=<config.h>" -DLTDL -Ilibltdl -I./libltdl -O2 -MT 
libltdl_la-lt_dlloader.lo -MD -MP -MF .deps/libltdl_la-lt_dlloader.Tpo -c 
lt_dlloader.c  -fPIC -DPIC -o .libs/libltdl_la-lt_dlloader.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdl 
"-DLT_CONFIG_H=<config.h>" -DLTDL -Ilibltdl -I./libltdl -O2 -MT 
libltdl_la-lt_dlloader.lo -MD -MP -MF .deps/libltdl_la-lt_dlloader.Tpo -c 
lt_dlloader.c -o libltdl_la-lt_dlloader.o >/dev/null 2>&1
--- libltdl_la-preopen.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdl 
"-DLT_CONFIG_H=<config.h>" -DLTDL -Ilibltdl -I./libltdl -O2 -MT 
libltdl_la-preopen.lo -MD -MP -MF .deps/libltdl_la-preopen.Tpo -c 
loaders/preopen.c -o libltdl_la-preopen.o >/dev/null 2>&1
--- libltdl_la-lt_dlloader.lo ---
mv -f .deps/libltdl_la-lt_dlloader.Tpo .deps/libltdl_la-lt_dlloader.Plo
--- libltdl_la-lt_error.lo ---
/bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  
-DLTDLOPEN=libltdl -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I.  -Ilibltdl 
-I./libltdl -I./libltdl -I/usr/include  -O2 -I/usr/include -MT 
libltdl_la-lt_error.lo -MD -MP -MF .deps/libltdl_la-lt_error.Tpo -c -o 
libltdl_la-lt_error.lo `test -f 'lt_error.c' || echo './'`lt_error.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdl 
"-DLT_CONFIG_H=<config.h>" -DLTDL -Ilibltdl -I./libltdl -O2 -MT 
libltdl_la-lt_error.lo -MD -MP -MF .deps/libltdl_la-lt_error.Tpo -c lt_error.c  
-fPIC -DPIC -o .libs/libltdl_la-lt_error.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdl 
"-DLT_CONFIG_H=<config.h>" -DLTDL -Ilibltdl -I./libltdl -O2 -MT 
libltdl_la-lt_error.lo -MD -MP -MF .deps/libltdl_la-lt_error.Tpo -c lt_error.c 
-o libltdl_la-lt_error.o >/dev/null 2>&1
--- libltdl_la-preopen.lo ---
mv -f .deps/libltdl_la-preopen.Tpo .deps/libltdl_la-preopen.Plo
--- libltdl_la-ltdl.lo ---
/bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  
-DLTDLOPEN=libltdl -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I.  -Ilibltdl 
-I./libltdl -I./libltdl -I/usr/include  -O2 -I/usr/include -MT 
libltdl_la-ltdl.lo -MD -MP -MF .deps/libltdl_la-ltdl.Tpo -c -o 
libltdl_la-ltdl.lo `test -f 'ltdl.c' || echo './'`ltdl.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdl 
"-DLT_CONFIG_H=<config.h>" -DLTDL -Ilibltdl -I./libltdl -O2 -MT 
libltdl_la-ltdl.lo -MD -MP -MF .deps/libltdl_la-ltdl.Tpo -c ltdl.c  -fPIC -DPIC 
-o .libs/libltdl_la-ltdl.o
--- libltdl_la-lt_error.lo ---
mv -f .deps/libltdl_la-lt_error.Tpo .deps/libltdl_la-lt_error.Plo
--- libltdl_la-slist.lo ---
/bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  
-DLTDLOPEN=libltdl -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I.  -Ilibltdl 
-I./libltdl -I./libltdl -I/usr/include  -O2 -I/usr/include -MT 
libltdl_la-slist.lo -MD -MP -MF .deps/libltdl_la-slist.Tpo -c -o 
libltdl_la-slist.lo `test -f 'slist.c' || echo './'`slist.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdl 
"-DLT_CONFIG_H=<config.h>" -DLTDL -Ilibltdl -I./libltdl -O2 -MT 
libltdl_la-slist.lo -MD -MP -MF .deps/libltdl_la-slist.Tpo -c slist.c  -fPIC 
-DPIC -o .libs/libltdl_la-slist.o
--- libltdl_la-ltdl.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdl 
"-DLT_CONFIG_H=<config.h>" -DLTDL -Ilibltdl -I./libltdl -O2 -MT 
libltdl_la-ltdl.lo -MD -MP -MF .deps/libltdl_la-ltdl.Tpo -c ltdl.c -o 
libltdl_la-ltdl.o >/dev/null 2>&1
--- libltdl_la-slist.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdl 
"-DLT_CONFIG_H=<config.h>" -DLTDL -Ilibltdl -I./libltdl -O2 -MT 
libltdl_la-slist.lo -MD -MP -MF .deps/libltdl_la-slist.Tpo -c slist.c -o 
libltdl_la-slist.o >/dev/null 2>&1
--- libltdl_la-ltdl.lo ---
mv -f .deps/libltdl_la-ltdl.Tpo .deps/libltdl_la-ltdl.Plo
--- argz.lo ---
/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.   
-DLT_CONFIG_H='<config.h>' -DLTDL -I. -I.  -Ilibltdl -I./libltdl -I./libltdl 
-I/usr/include  -O2 -I/usr/include -MT argz.lo -MD -MP -MF .deps/argz.Tpo -c -o 
argz.lo argz.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. "-DLT_CONFIG_H=<config.h>" -DLTDL 
-Ilibltdl -I./libltdl -O2 -MT argz.lo -MD -MP -MF .deps/argz.Tpo -c argz.c  
-fPIC -DPIC -o .libs/argz.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. "-DLT_CONFIG_H=<config.h>" -DLTDL 
-Ilibltdl -I./libltdl -O2 -MT argz.lo -MD -MP -MF .deps/argz.Tpo -c argz.c -o 
argz.o >/dev/null 2>&1
--- libltdl_la-slist.lo ---
mv -f .deps/libltdl_la-slist.Tpo .deps/libltdl_la-slist.Plo
--- dlopen.lo ---
/bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  
-DLT_CONFIG_H='<config.h>' -DLTDL -I. -I.  -Ilibltdl -I./libltdl -I./libltdl 
-I/usr/include  -O2 -I/usr/include -MT dlopen.lo -MD -MP -MF .deps/dlopen.Tpo 
-c -o dlopen.lo `test -f 'loaders/dlopen.c' || echo './'`loaders/dlopen.c
--- argz.lo ---
mv -f .deps/argz.Tpo .deps/argz.Plo
--- dlopen.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. "-DLT_CONFIG_H=<config.h>" -DLTDL 
-Ilibltdl -I./libltdl -O2 -MT dlopen.lo -MD -MP -MF .deps/dlopen.Tpo -c 
loaders/dlopen.c  -fPIC -DPIC -o .libs/dlopen.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. "-DLT_CONFIG_H=<config.h>" -DLTDL 
-Ilibltdl -I./libltdl -O2 -MT dlopen.lo -MD -MP -MF .deps/dlopen.Tpo -c 
loaders/dlopen.c -o dlopen.o >/dev/null 2>&1
mv -f .deps/dlopen.Tpo .deps/dlopen.Plo
--- dlopen.la ---
/bin/sh ./libtool --tag=CC    --mode=link cc  -O2 -I/usr/include  -module 
-avoid-version -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o dlopen.la  
dlopen.lo  
libtool: link: ar cru .libs/dlopen.a .libs/dlopen.o 
libtool: link: ranlib .libs/dlopen.a
libtool: link: ( cd ".libs" && rm -f "dlopen.la" && ln -s "../dlopen.la" 
"dlopen.la" )
--- libltdl.la ---
/bin/sh ./libtool --tag=CC    --mode=link cc  -O2 -I/usr/include  -no-undefined 
-version-info 9:1:2 -dlpreopen dlopen.la -L/usr/lib -Wl,-R/usr/lib 
-Wl,-R/usr/pkg/lib -o libltdl.la -rpath /usr/pkg/lib libltdl_la-preopen.lo 
libltdl_la-lt__alloc.lo  libltdl_la-lt_dlloader.lo libltdl_la-lt_error.lo  
libltdl_la-ltdl.lo libltdl_la-slist.lo argz.lo 
libtool: link: rm -f .libs/libltdl.nm .libs/libltdl.nmS .libs/libltdl.nmT
libtool: link: (cd .libs && cc -O2 -I/usr/include -c -fno-builtin  -fPIC -DPIC 
"libltdlS.c")
libtool: link: rm -f ".libs/libltdlS.c" ".libs/libltdl.nm" ".libs/libltdl.nmS" 
".libs/libltdl.nmT"
libtool: link: (cd .libs/libltdl.lax/dlopen.a && ar x 
"/n0/gdt/NetBSD-current/pkgsrc/devel/libltdl/work/libtool-2.2.6b/libltdl/./.libs/dlopen.a")
libtool: link: cc -shared  .libs/libltdl_la-preopen.o 
.libs/libltdl_la-lt__alloc.o .libs/libltdl_la-lt_dlloader.o 
.libs/libltdl_la-lt_error.o .libs/libltdl_la-ltdl.o .libs/libltdl_la-slist.o 
.libs/argz.o .libs/libltdlS.o  .libs/libltdl.lax/dlopen.a/dlopen.o   
-L/n0/gdt/NetBSD-current/pkgsrc/devel/libltdl/work/.buildlink/lib  -Wl,
-R/usr/pkg/lib   -Wl,
-soname -Wl,
libltdl.so.7 -o .libs/libltdl.so.7.2.1
ld: : No such file: No such file or directory
eval: -R/usr/pkg/lib: not found
-soname: not found
libltdl.so.7: not found
*** [libltdl.la] Error code 127
1 error

make: stopped in 
/n0/gdt/NetBSD-current/pkgsrc/devel/libltdl/work/libtool-2.2.6b/libltdl
*** [all] Error code 2
1 error

make: stopped in 
/n0/gdt/NetBSD-current/pkgsrc/devel/libltdl/work/libtool-2.2.6b/libltdl
*** Error code 2

Stop.
make: stopped in /n0/gdt/NetBSD-current/pkgsrc/devel/libltdl
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/libltdl

Attachment: pgpTjJ0UOZgBo.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index