Subject: pkg/31108: pcre 6.2 doesn't build on 1.6.2
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <spz@serpens.de>
List: pkgsrc-bugs
Date: 08/31/2005 10:12:00
>Number: 31108
>Category: pkg
>Synopsis: pcre 6.2 doesn't build on 1.6.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 31 10:12:00 +0000 2005
>Originator: S.P. Zeidler
>Release: NetBSD 1.6.2
>Organization:
dis-
>Environment:
System: NetBSD falcon 1.6.2 NetBSD 1.6.2 (NETRA-RAID) #0: Fri Jan 28 12:40:13 CET 2005 mmersber@falcon:/usr/src/sys/arch/sparc64/compile/NETRA-RAID sparc64
Architecture: sparc64
Machine: sparc64
>Description:
the configure test for f77 doesn't clean up after itself, which results in diverse other tests, among them memmove, failing:
===> Checking for vulnerabilities in pcre-6.2
=> Checksum SHA1 OK for pcre-6.2.tar.bz2.
=> Checksum RMD160 OK for pcre-6.2.tar.bz2.
===> Extracting for pcre-6.2
===> Required installed package libtool-base>=1.5.18nb1: libtool-base-1.5.18nb3 found
===> Patching for pcre-6.2
===> Applying pkgsrc patches for pcre-6.2
===> Overriding tools for pcre-6.2
===> Creating toolchain wrappers for pcre-6.2
===> Configuring for pcre-6.2
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for sparc64--netbsd-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 ANSI C... none needed
checking for sparc64--netbsd-g++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking build system type... sparc64-unknown-netbsd1.6.2
checking host system type... sparc64--netbsd
checking for a sed that does not truncate output... /usr/pkgsrc/devel/pcre/work/.tools/bin/sed
checking for egrep... grep -E
checking for ld used by cc... /usr/pkgsrc/devel/pcre/work/.wrapper/bin/ld
checking if the linker (/usr/pkgsrc/devel/pcre/work/.wrapper/bin/ld) is GNU ld... yes
checking for /usr/pkgsrc/devel/pcre/work/.wrapper/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... c++ -E
checking for sparc64--netbsd-g77... f77
checking whether we are using the GNU Fortran 77 compiler... no
checking whether f77 accepts -g... no
checking the maximum length of command line arguments... (cached) 262144
checking command to parse nm output from cc object... ok
checking for objdir... .libs
checking for sparc64--netbsd-ar... no
checking for ar... ar
checking for sparc64--netbsd-ranlib... no
checking for ranlib... ranlib
checking for sparc64--netbsd-strip... no
checking for strip... strip
checking if cc static flag works... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/pkgsrc/devel/pcre/work/.wrapper/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by c++... /usr/pkgsrc/devel/pcre/work/.wrapper/bin/ld
checking if the linker (/usr/pkgsrc/devel/pcre/work/.wrapper/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/pkgsrc/devel/pcre/work/.wrapper/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/pkgsrc/devel/pcre/work/.wrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for f77 option to produce PIC... -fPIC
checking if f77 PIC flag -fPIC works... no
checking if f77 supports -c -o file.o... rmdir: conftest: Directory not empty
rm: conftest: is a directory
no
checking whether the f77 linker (/usr/pkgsrc/devel/pcre/work/.wrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for ANSI C header files... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking string usability... yes
checking string presence... yes
checking for string... yes
checking bits/type_traits.h usability... no
checking bits/type_traits.h presence... no
checking for bits/type_traits.h... no
checking type_traits.h usability... yes
checking type_traits.h presence... yes
checking for type_traits.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for long long... yes
checking for unsigned long long... yes
checking for bcopy... rm: conftest: is a directory
rm: conftest: is a directory
no
checking for memmove... rm: conftest: is a directory
rm: conftest: is a directory
no
checking for strerror... rm: conftest: is a directory
rm: conftest: is a directory
no
checking for strtoq... rm: conftest: is a directory
rm: conftest: is a directory
no
checking for strtoll... rm: conftest: is a directory
rm: conftest: is a directory
no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pcre.h
config.status: creating pcre-config
config.status: creating libpcre.pc
config.status: creating pcrecpp.h
config.status: creating pcre_stringpiece.h
config.status: creating RunGrepTest
config.status: creating RunTest
config.status: creating config.h
config.status: executing default commands
===> Building for pcre-6.2
cc -c -O -ffixed-g4 -mcpu=v9 -I. ./dftables.c
/bin/sh ./libtool --mode=link cc -Wl,-R/usr/pkg/lib -I. -I. -o dftables dftables.o
mkdir .libs
cc -Wl,-R/usr/pkg/lib -I. -o dftables dftables.o -L/usr/pkgsrc/devel/pcre/work/.buildlink/lib
./dftables pcre_chartables.c
cc -c -O -ffixed-g4 -mcpu=v9 -I. pcre_chartables.c -fPIC -DPIC -o .libs/pcre_chartables.o
cc -c -O -ffixed-g4 -mcpu=v9 -I. pcre_chartables.c -o pcre_chartables.o >/dev/null 2>&1
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_compile.c -fPIC -DPIC -o .libs/pcre_compile.o
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_compile.c -o pcre_compile.o >/dev/null 2>&1
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_config.c -fPIC -DPIC -o .libs/pcre_config.o
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_config.c -o pcre_config.o >/dev/null 2>&1
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_dfa_exec.c -fPIC -DPIC -o .libs/pcre_dfa_exec.o
./pcre_dfa_exec.c: In function `internal_dfa_exec':
./pcre_dfa_exec.c:593: warning: passing arg 1 of `pcre_memmove' from incompatible pointer type
./pcre_dfa_exec.c:593: warning: passing arg 2 of `pcre_memmove' from incompatible pointer type
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_dfa_exec.c -o pcre_dfa_exec.o >/dev/null 2>&1
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_exec.c -fPIC -DPIC -o .libs/pcre_exec.o
./pcre_exec.c: In function `match':
./pcre_exec.c:687: warning: passing arg 1 of `pcre_memmove' from incompatible pointer type
./pcre_exec.c:687: warning: passing arg 2 of `pcre_memmove' from incompatible pointer type
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_exec.c -o pcre_exec.o >/dev/null 2>&1
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_fullinfo.c -fPIC -DPIC -o .libs/pcre_fullinfo.o
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_fullinfo.c -o pcre_fullinfo.o >/dev/null 2>&1
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_get.c -fPIC -DPIC -o .libs/pcre_get.o
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_get.c -o pcre_get.o >/dev/null 2>&1
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_globals.c -fPIC -DPIC -o .libs/pcre_globals.o
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_globals.c -o pcre_globals.o >/dev/null 2>&1
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_info.c -fPIC -DPIC -o .libs/pcre_info.o
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_info.c -o pcre_info.o >/dev/null 2>&1
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_maketables.c -fPIC -DPIC -o .libs/pcre_maketables.o
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_maketables.c -o pcre_maketables.o >/dev/null 2>&1
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_ord2utf8.c -fPIC -DPIC -o .libs/pcre_ord2utf8.o
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_ord2utf8.c -o pcre_ord2utf8.o >/dev/null 2>&1
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_printint.c -fPIC -DPIC -o .libs/pcre_printint.o
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_printint.c -o pcre_printint.o >/dev/null 2>&1
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_refcount.c -fPIC -DPIC -o .libs/pcre_refcount.o
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_refcount.c -o pcre_refcount.o >/dev/null 2>&1
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_study.c -fPIC -DPIC -o .libs/pcre_study.o
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_study.c -o pcre_study.o >/dev/null 2>&1
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_tables.c -fPIC -DPIC -o .libs/pcre_tables.o
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_tables.c -o pcre_tables.o >/dev/null 2>&1
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_try_flipped.c -fPIC -DPIC -o .libs/pcre_try_flipped.o
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_try_flipped.c -o pcre_try_flipped.o >/dev/null 2>&1
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_ucp_findchar.c -fPIC -DPIC -o .libs/pcre_ucp_findchar.o
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_ucp_findchar.c -o pcre_ucp_findchar.o >/dev/null 2>&1
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_valid_utf8.c -fPIC -DPIC -o .libs/pcre_valid_utf8.o
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_valid_utf8.c -o pcre_valid_utf8.o >/dev/null 2>&1
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_version.c -fPIC -DPIC -o .libs/pcre_version.o
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_version.c -o pcre_version.o >/dev/null 2>&1
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_xclass.c -fPIC -DPIC -o .libs/pcre_xclass.o
cc -c -O -ffixed-g4 -mcpu=v9 -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_xclass.c -o pcre_xclass.o >/dev/null 2>&1
rm -f libpcre.la
/bin/sh ./libtool --mode=link cc -Wl,-R/usr/pkg/lib -I. -I. -rpath /usr/pkg/lib -version-info '0:1:0' -o libpcre.la pcre_chartables.lo pcre_compile.lo pcre_config.lo pcre_dfa_exec.lo pcre_exec.lo pcre_fullinfo.lo pcre_get.lo pcre_globals.lo pcre_info.lo pcre_maketables.lo pcre_ord2utf8.lo pcre_printint.lo pcre_refcount.lo pcre_study.lo pcre_tables.lo pcre_try_flipped.lo pcre_ucp_findchar.lo pcre_valid_utf8.lo pcre_version.lo pcre_xclass.lo
cc -shared .libs/pcre_chartables.o .libs/pcre_compile.o .libs/pcre_config.o .libs/pcre_dfa_exec.o .libs/pcre_exec.o .libs/pcre_fullinfo.o .libs/pcre_get.o .libs/pcre_globals.o .libs/pcre_info.o .libs/pcre_maketables.o .libs/pcre_ord2utf8.o .libs/pcre_printint.o .libs/pcre_refcount.o .libs/pcre_study.o .libs/pcre_tables.o .libs/pcre_try_flipped.o .libs/pcre_ucp_findchar.o .libs/pcre_valid_utf8.o .libs/pcre_version.o .libs/pcre_xclass.o -L/usr/pkgsrc/devel/pcre/work/.buildlink/lib -Wl,-R/usr/pkg/lib -Wl,-soname -Wl,libpcre.so.0 -o .libs/libpcre.so.0.0.1
.libs/pcre_config.o: In function `pcre_memmove':
.libs/pcre_config.o(.text+0x0): multiple definition of `pcre_memmove'
.libs/pcre_compile.o(.text+0x0): first defined here
.libs/pcre_dfa_exec.o: In function `pcre_memmove':
.libs/pcre_dfa_exec.o(.text+0x0): multiple definition of `pcre_memmove'
.libs/pcre_compile.o(.text+0x0): first defined here
.libs/pcre_exec.o: In function `pcre_memmove':
.libs/pcre_exec.o(.text+0x0): multiple definition of `pcre_memmove'
.libs/pcre_compile.o(.text+0x0): first defined here
.libs/pcre_fullinfo.o: In function `pcre_memmove':
.libs/pcre_fullinfo.o(.text+0x0): multiple definition of `pcre_memmove'
.libs/pcre_compile.o(.text+0x0): first defined here
.libs/pcre_get.o: In function `pcre_memmove':
.libs/pcre_get.o(.text+0x0): multiple definition of `pcre_memmove'
.libs/pcre_compile.o(.text+0x0): first defined here
.libs/pcre_globals.o: In function `pcre_memmove':
.libs/pcre_globals.o(.text+0x0): multiple definition of `pcre_memmove'
.libs/pcre_compile.o(.text+0x0): first defined here
.libs/pcre_info.o: In function `pcre_memmove':
.libs/pcre_info.o(.text+0x0): multiple definition of `pcre_memmove'
.libs/pcre_compile.o(.text+0x0): first defined here
.libs/pcre_maketables.o: In function `pcre_memmove':
.libs/pcre_maketables.o(.text+0x0): multiple definition of `pcre_memmove'
.libs/pcre_compile.o(.text+0x0): first defined here
.libs/pcre_ord2utf8.o: In function `pcre_memmove':
.libs/pcre_ord2utf8.o(.text+0x0): multiple definition of `pcre_memmove'
.libs/pcre_compile.o(.text+0x0): first defined here
.libs/pcre_printint.o: In function `pcre_memmove':
.libs/pcre_printint.o(.text+0x0): multiple definition of `pcre_memmove'
.libs/pcre_compile.o(.text+0x0): first defined here
.libs/pcre_refcount.o: In function `pcre_memmove':
.libs/pcre_refcount.o(.text+0x0): multiple definition of `pcre_memmove'
.libs/pcre_compile.o(.text+0x0): first defined here
.libs/pcre_study.o: In function `pcre_memmove':
.libs/pcre_study.o(.text+0x0): multiple definition of `pcre_memmove'
.libs/pcre_compile.o(.text+0x0): first defined here
.libs/pcre_tables.o: In function `pcre_memmove':
.libs/pcre_tables.o(.text+0x0): multiple definition of `pcre_memmove'
.libs/pcre_compile.o(.text+0x0): first defined here
.libs/pcre_try_flipped.o: In function `pcre_memmove':
.libs/pcre_try_flipped.o(.text+0x0): multiple definition of `pcre_memmove'
.libs/pcre_compile.o(.text+0x0): first defined here
.libs/pcre_ucp_findchar.o: In function `pcre_memmove':
.libs/pcre_ucp_findchar.o(.text+0x0): multiple definition of `pcre_memmove'
.libs/pcre_compile.o(.text+0x0): first defined here
.libs/pcre_valid_utf8.o: In function `pcre_memmove':
.libs/pcre_valid_utf8.o(.text+0x0): multiple definition of `pcre_memmove'
.libs/pcre_compile.o(.text+0x0): first defined here
.libs/pcre_version.o: In function `pcre_memmove':
.libs/pcre_version.o(.text+0x0): multiple definition of `pcre_memmove'
.libs/pcre_compile.o(.text+0x0): first defined here
.libs/pcre_xclass.o: In function `pcre_memmove':
.libs/pcre_xclass.o(.text+0x0): multiple definition of `pcre_memmove'
.libs/pcre_compile.o(.text+0x0): first defined here
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/pcre/work/pcre-6.2
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/pcre
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===> * log of the build
===> * /usr/pkgsrc/devel/pcre/work/.work.log
===>
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/pcre
>How-To-Repeat:
make
>Fix:
tdb