pkgsrc-Bugs archive

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

pkg/38228: pcre fails to build



>Number:         38228
>Category:       pkg
>Synopsis:       devel/pcre fails to build
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 12 12:45:00 +0000 2008
>Originator:     Daniel Eggert
>Release:        NetBSD 4.0_RC5
>Organization:
macvaerk.dtu.dk
>Environment:
System: NetBSD hobbes 4.0_RC5 NetBSD 4.0_RC5 (GENERIC) #0: Wed Nov 28 13:53:06 
PST 2007 
builds@wb30:/home/builds/ab/netbsd-4-0-RC5/macppc/200711280522Z-obj/home/builds/ab/netbsd-4-0-RC5/src/sys/arch/macppc/compile/GENERIC
 macppc
Architecture: powerpc
Machine: macppc
>Description:

When compiling devel/pcre it fails:

=> Verifying update for ../../devel/pcre
=> Bootstrap dependency digest>=20010302: found digest-20050323
===> Checking for vulnerabilities in pcre-7.6
=> Checksum SHA1 OK for pcre-7.6.tar.bz2
=> Checksum RMD160 OK for pcre-7.6.tar.bz2
===> Installing dependencies for pcre-7.6
=> Build dependency libtool-base>=1.5.18nb5: found libtool-base-1.5.22nb3
===> Overriding tools for pcre-7.6
===> Extracting for pcre-7.6
===> Patching for pcre-7.6
=> Applying pkgsrc patches for pcre-7.6
===> Creating toolchain wrappers for pcre-7.6
===> Configuring for pcre-7.6
=> Fixing rpath output in pcre-config
=> 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
=> Adding run-time search paths to pkg-config files.
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 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... ./install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking for powerpc--netbsd-strip... no
checking for strip... strip
checking for powerpc--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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking build system type... powerpc-unknown-netbsd4.0.
checking host system type... powerpc--netbsd
checking for a sed that does not truncate output... 
/usr/pkgsrc/devel/pcre/work/.tools/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
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 recognize 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 powerpc--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 powerpc--netbsd-ar... no
checking for ar... ar
checking for powerpc--netbsd-ranlib... no
checking for ranlib... ranlib
checking for powerpc--netbsd-strip... strip
checking for correct ltmain.sh version... yes
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static 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++ static flag -static 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
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 static flag -static works... no
checking if f77 supports -c -o file.o... no
checking whether the f77 linker (/usr/pkgsrc/devel/pcre/work/.wrapper/bin/ld) 
supports shared libraries... ERROR: To use this compiler, you have to add 
fortran to
ERROR: USE_LANGUAGES in the package Makefile.
yes
checking dynamic linker characteristics... ERROR: To use this compiler, you 
have to add fortran to
ERROR: USE_LANGUAGES in the package Makefile.
NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether ln -s works... 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 for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking string usability... yes
checking string presence... yes
checking for string... yes
checking bits/type_traits.h usability... yes
checking bits/type_traits.h presence... yes
checking for bits/type_traits.h... yes
checking type_traits.h usability... no
checking type_traits.h presence... no
checking for type_traits.h... no
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... yes
checking for memmove... yes
checking for strerror... yes
checking for strtoq... yes
checking for strtoll... yes
checking for _strtoi64... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzopen in -lz... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for BZ2_bzopen in -lbz2... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for readline in -lreadline... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libpcre.pc
config.status: creating libpcrecpp.pc
config.status: creating pcre-config
config.status: creating pcre.h
config.status: creating pcre_stringpiece.h
config.status: creating pcrecpparg.h
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing script-chmod commands
config.status: executing delete-old-chartables commands

pcre-7.6 configuration summary:

    Install prefix .................. : /usr/pkg
    C preprocessor .................. : cc -E
    C compiler ...................... : cc
    C++ preprocessor ................ : c++ -E
    C++ compiler .................... : c++
    Linker .......................... : 
/usr/pkgsrc/devel/pcre/work/.wrapper/bin/ld
    C preprocessor flags ............ : 
    C compiler flags ................ : -O2
    C++ compiler flags .............. : -O2
    Linker flags .................... : -Wl,-R/usr/pkg/lib
    Extra libraries ................. : 

    Build C++ library ............... : yes
    Enable UTF-8 support ............ : yes
    Unicode properties .............. : yes
    Newline char/sequence ........... : lf
    \R matches only ANYCRLF ......... : no
    EBCDIC coding ................... : no
    Rebuild char tables ............. : no
    Use stack recursion ............. : yes
    POSIX mem threshold ............. : 10
    Internal link size .............. : 2
    Match limit ..................... : 10000000
    Match limit recursion ........... : MATCH_LIMIT
    Build shared libs ............... : yes
    Build static libs ............... : yes
    Link pcregrep with libz ......... : no
    Link pcregrep with libbz2 ....... : no
    Link pcretest with libreadline .. : no

=> Modifying libtool scripts to use pkgsrc libtool
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package 
Makefile.
===> Building for pcre-7.6
/usr/bin/make  all-am
/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.      -O2 
-MT pcre_compile.lo -MD -MP -MF .deps/pcre_compile.Tpo -c -o pcre_compile.lo 
pcre_compile.c
mkdir .libs
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_compile.lo -MD -MP -MF 
.deps/pcre_compile.Tpo -c pcre_compile.c  -fPIC -DPIC -o .libs/pcre_compile.o
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_compile.lo -MD -MP -MF 
.deps/pcre_compile.Tpo -c pcre_compile.c -o pcre_compile.o >/dev/null 2>&1
mv -f .deps/pcre_compile.Tpo .deps/pcre_compile.Plo
/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.      -O2 
-MT pcre_config.lo -MD -MP -MF .deps/pcre_config.Tpo -c -o pcre_config.lo 
pcre_config.c
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_config.lo -MD -MP -MF 
.deps/pcre_config.Tpo -c pcre_config.c  -fPIC -DPIC -o .libs/pcre_config.o
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_config.lo -MD -MP -MF 
.deps/pcre_config.Tpo -c pcre_config.c -o pcre_config.o >/dev/null 2>&1
mv -f .deps/pcre_config.Tpo .deps/pcre_config.Plo
/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.      -O2 
-MT pcre_dfa_exec.lo -MD -MP -MF .deps/pcre_dfa_exec.Tpo -c -o pcre_dfa_exec.lo 
pcre_dfa_exec.c
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_dfa_exec.lo -MD -MP -MF 
.deps/pcre_dfa_exec.Tpo -c pcre_dfa_exec.c  -fPIC -DPIC -o .libs/pcre_dfa_exec.o
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_dfa_exec.lo -MD -MP -MF 
.deps/pcre_dfa_exec.Tpo -c pcre_dfa_exec.c -o pcre_dfa_exec.o >/dev/null 2>&1
mv -f .deps/pcre_dfa_exec.Tpo .deps/pcre_dfa_exec.Plo
/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.      -O2 
-MT pcre_exec.lo -MD -MP -MF .deps/pcre_exec.Tpo -c -o pcre_exec.lo pcre_exec.c
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_exec.lo -MD -MP -MF .deps/pcre_exec.Tpo -c 
pcre_exec.c  -fPIC -DPIC -o .libs/pcre_exec.o
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_exec.lo -MD -MP -MF .deps/pcre_exec.Tpo -c 
pcre_exec.c -o pcre_exec.o >/dev/null 2>&1
mv -f .deps/pcre_exec.Tpo .deps/pcre_exec.Plo
/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.      -O2 
-MT pcre_fullinfo.lo -MD -MP -MF .deps/pcre_fullinfo.Tpo -c -o pcre_fullinfo.lo 
pcre_fullinfo.c
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_fullinfo.lo -MD -MP -MF 
.deps/pcre_fullinfo.Tpo -c pcre_fullinfo.c  -fPIC -DPIC -o .libs/pcre_fullinfo.o
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_fullinfo.lo -MD -MP -MF 
.deps/pcre_fullinfo.Tpo -c pcre_fullinfo.c -o pcre_fullinfo.o >/dev/null 2>&1
mv -f .deps/pcre_fullinfo.Tpo .deps/pcre_fullinfo.Plo
/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.      -O2 
-MT pcre_get.lo -MD -MP -MF .deps/pcre_get.Tpo -c -o pcre_get.lo pcre_get.c
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_get.lo -MD -MP -MF .deps/pcre_get.Tpo -c 
pcre_get.c  -fPIC -DPIC -o .libs/pcre_get.o
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_get.lo -MD -MP -MF .deps/pcre_get.Tpo -c 
pcre_get.c -o pcre_get.o >/dev/null 2>&1
mv -f .deps/pcre_get.Tpo .deps/pcre_get.Plo
/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.      -O2 
-MT pcre_globals.lo -MD -MP -MF .deps/pcre_globals.Tpo -c -o pcre_globals.lo 
pcre_globals.c
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_globals.lo -MD -MP -MF 
.deps/pcre_globals.Tpo -c pcre_globals.c  -fPIC -DPIC -o .libs/pcre_globals.o
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_globals.lo -MD -MP -MF 
.deps/pcre_globals.Tpo -c pcre_globals.c -o pcre_globals.o >/dev/null 2>&1
mv -f .deps/pcre_globals.Tpo .deps/pcre_globals.Plo
/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.      -O2 
-MT pcre_info.lo -MD -MP -MF .deps/pcre_info.Tpo -c -o pcre_info.lo pcre_info.c
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_info.lo -MD -MP -MF .deps/pcre_info.Tpo -c 
pcre_info.c  -fPIC -DPIC -o .libs/pcre_info.o
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_info.lo -MD -MP -MF .deps/pcre_info.Tpo -c 
pcre_info.c -o pcre_info.o >/dev/null 2>&1
mv -f .deps/pcre_info.Tpo .deps/pcre_info.Plo
/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.      -O2 
-MT pcre_maketables.lo -MD -MP -MF .deps/pcre_maketables.Tpo -c -o 
pcre_maketables.lo pcre_maketables.c
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_maketables.lo -MD -MP -MF 
.deps/pcre_maketables.Tpo -c pcre_maketables.c  -fPIC -DPIC -o 
.libs/pcre_maketables.o
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_maketables.lo -MD -MP -MF 
.deps/pcre_maketables.Tpo -c pcre_maketables.c -o pcre_maketables.o >/dev/null 
2>&1
mv -f .deps/pcre_maketables.Tpo .deps/pcre_maketables.Plo
/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.      -O2 
-MT pcre_newline.lo -MD -MP -MF .deps/pcre_newline.Tpo -c -o pcre_newline.lo 
pcre_newline.c
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_newline.lo -MD -MP -MF 
.deps/pcre_newline.Tpo -c pcre_newline.c  -fPIC -DPIC -o .libs/pcre_newline.o
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_newline.lo -MD -MP -MF 
.deps/pcre_newline.Tpo -c pcre_newline.c -o pcre_newline.o >/dev/null 2>&1
mv -f .deps/pcre_newline.Tpo .deps/pcre_newline.Plo
/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.      -O2 
-MT pcre_ord2utf8.lo -MD -MP -MF .deps/pcre_ord2utf8.Tpo -c -o pcre_ord2utf8.lo 
pcre_ord2utf8.c
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_ord2utf8.lo -MD -MP -MF 
.deps/pcre_ord2utf8.Tpo -c pcre_ord2utf8.c  -fPIC -DPIC -o .libs/pcre_ord2utf8.o
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_ord2utf8.lo -MD -MP -MF 
.deps/pcre_ord2utf8.Tpo -c pcre_ord2utf8.c -o pcre_ord2utf8.o >/dev/null 2>&1
mv -f .deps/pcre_ord2utf8.Tpo .deps/pcre_ord2utf8.Plo
/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.      -O2 
-MT pcre_refcount.lo -MD -MP -MF .deps/pcre_refcount.Tpo -c -o pcre_refcount.lo 
pcre_refcount.c
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_refcount.lo -MD -MP -MF 
.deps/pcre_refcount.Tpo -c pcre_refcount.c  -fPIC -DPIC -o .libs/pcre_refcount.o
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_refcount.lo -MD -MP -MF 
.deps/pcre_refcount.Tpo -c pcre_refcount.c -o pcre_refcount.o >/dev/null 2>&1
mv -f .deps/pcre_refcount.Tpo .deps/pcre_refcount.Plo
/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.      -O2 
-MT pcre_study.lo -MD -MP -MF .deps/pcre_study.Tpo -c -o pcre_study.lo 
pcre_study.c
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_study.lo -MD -MP -MF .deps/pcre_study.Tpo 
-c pcre_study.c  -fPIC -DPIC -o .libs/pcre_study.o
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_study.lo -MD -MP -MF .deps/pcre_study.Tpo 
-c pcre_study.c -o pcre_study.o >/dev/null 2>&1
mv -f .deps/pcre_study.Tpo .deps/pcre_study.Plo
/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.      -O2 
-MT pcre_tables.lo -MD -MP -MF .deps/pcre_tables.Tpo -c -o pcre_tables.lo 
pcre_tables.c
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_tables.lo -MD -MP -MF 
.deps/pcre_tables.Tpo -c pcre_tables.c  -fPIC -DPIC -o .libs/pcre_tables.o
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_tables.lo -MD -MP -MF 
.deps/pcre_tables.Tpo -c pcre_tables.c -o pcre_tables.o >/dev/null 2>&1
mv -f .deps/pcre_tables.Tpo .deps/pcre_tables.Plo
/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.      -O2 
-MT pcre_try_flipped.lo -MD -MP -MF .deps/pcre_try_flipped.Tpo -c -o 
pcre_try_flipped.lo pcre_try_flipped.c
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_try_flipped.lo -MD -MP -MF 
.deps/pcre_try_flipped.Tpo -c pcre_try_flipped.c  -fPIC -DPIC -o 
.libs/pcre_try_flipped.o
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_try_flipped.lo -MD -MP -MF 
.deps/pcre_try_flipped.Tpo -c pcre_try_flipped.c -o pcre_try_flipped.o 
>/dev/null 2>&1
mv -f .deps/pcre_try_flipped.Tpo .deps/pcre_try_flipped.Plo
/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.      -O2 
-MT pcre_ucp_searchfuncs.lo -MD -MP -MF .deps/pcre_ucp_searchfuncs.Tpo -c -o 
pcre_ucp_searchfuncs.lo pcre_ucp_searchfuncs.c
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_ucp_searchfuncs.lo -MD -MP -MF 
.deps/pcre_ucp_searchfuncs.Tpo -c pcre_ucp_searchfuncs.c  -fPIC -DPIC -o 
.libs/pcre_ucp_searchfuncs.o
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_ucp_searchfuncs.lo -MD -MP -MF 
.deps/pcre_ucp_searchfuncs.Tpo -c pcre_ucp_searchfuncs.c -o 
pcre_ucp_searchfuncs.o >/dev/null 2>&1
mv -f .deps/pcre_ucp_searchfuncs.Tpo .deps/pcre_ucp_searchfuncs.Plo
/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.      -O2 
-MT pcre_valid_utf8.lo -MD -MP -MF .deps/pcre_valid_utf8.Tpo -c -o 
pcre_valid_utf8.lo pcre_valid_utf8.c
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_valid_utf8.lo -MD -MP -MF 
.deps/pcre_valid_utf8.Tpo -c pcre_valid_utf8.c  -fPIC -DPIC -o 
.libs/pcre_valid_utf8.o
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_valid_utf8.lo -MD -MP -MF 
.deps/pcre_valid_utf8.Tpo -c pcre_valid_utf8.c -o pcre_valid_utf8.o >/dev/null 
2>&1
mv -f .deps/pcre_valid_utf8.Tpo .deps/pcre_valid_utf8.Plo
/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.      -O2 
-MT pcre_version.lo -MD -MP -MF .deps/pcre_version.Tpo -c -o pcre_version.lo 
pcre_version.c
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_version.lo -MD -MP -MF 
.deps/pcre_version.Tpo -c pcre_version.c  -fPIC -DPIC -o .libs/pcre_version.o
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_version.lo -MD -MP -MF 
.deps/pcre_version.Tpo -c pcre_version.c -o pcre_version.o >/dev/null 2>&1
mv -f .deps/pcre_version.Tpo .deps/pcre_version.Plo
/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.      -O2 
-MT pcre_xclass.lo -MD -MP -MF .deps/pcre_xclass.Tpo -c -o pcre_xclass.lo 
pcre_xclass.c
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_xclass.lo -MD -MP -MF 
.deps/pcre_xclass.Tpo -c pcre_xclass.c  -fPIC -DPIC -o .libs/pcre_xclass.o
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_xclass.lo -MD -MP -MF 
.deps/pcre_xclass.Tpo -c pcre_xclass.c -o pcre_xclass.o >/dev/null 2>&1
mv -f .deps/pcre_xclass.Tpo .deps/pcre_xclass.Plo
rm -f pcre_chartables.c
ln -s ./pcre_chartables.c.dist pcre_chartables.c
/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.      -O2 
-MT pcre_chartables.lo -MD -MP -MF .deps/pcre_chartables.Tpo -c -o 
pcre_chartables.lo pcre_chartables.c
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_chartables.lo -MD -MP -MF 
.deps/pcre_chartables.Tpo -c pcre_chartables.c  -fPIC -DPIC -o 
.libs/pcre_chartables.o
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcre_chartables.lo -MD -MP -MF 
.deps/pcre_chartables.Tpo -c pcre_chartables.c -o pcre_chartables.o >/dev/null 
2>&1
mv -f .deps/pcre_chartables.Tpo .deps/pcre_chartables.Plo
/bin/sh ./libtool --tag=CC    --mode=link cc  -O2  -version-info 0:1:0 
-Wl,-R/usr/pkg/lib -o libpcre.la -rpath /usr/pkg/lib 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_newline.lo 
pcre_ord2utf8.lo pcre_refcount.lo  pcre_study.lo pcre_tables.lo 
pcre_try_flipped.lo  pcre_ucp_searchfuncs.lo pcre_valid_utf8.lo pcre_version.lo 
 pcre_xclass.lo  pcre_chartables.lo  
cc -shared  .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_newline.o 
.libs/pcre_ord2utf8.o .libs/pcre_refcount.o .libs/pcre_study.o 
.libs/pcre_tables.o .libs/pcre_try_flipped.o .libs/pcre_ucp_searchfuncs.o 
.libs/pcre_valid_utf8.o .libs/pcre_version.o .libs/pcre_xclass.o 
.libs/pcre_chartables.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
(cd .libs && rm -f libpcre.so.0 && ln -s libpcre.so.0.0.1 libpcre.so.0)
(cd .libs && rm -f libpcre.so && ln -s libpcre.so.0.0.1 libpcre.so)
ar cru .libs/libpcre.a  pcre_compile.o pcre_config.o pcre_dfa_exec.o 
pcre_exec.o pcre_fullinfo.o pcre_get.o pcre_globals.o pcre_info.o 
pcre_maketables.o pcre_newline.o pcre_ord2utf8.o pcre_refcount.o pcre_study.o 
pcre_tables.o pcre_try_flipped.o pcre_ucp_searchfuncs.o pcre_valid_utf8.o 
pcre_version.o pcre_xclass.o pcre_chartables.o
ranlib .libs/libpcre.a
creating libpcre.la
(cd .libs && rm -f libpcre.la && ln -s ../libpcre.la libpcre.la)
/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.      -O2 
-MT pcreposix.lo -MD -MP -MF .deps/pcreposix.Tpo -c -o pcreposix.lo pcreposix.c
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcreposix.lo -MD -MP -MF .deps/pcreposix.Tpo -c 
pcreposix.c  -fPIC -DPIC -o .libs/pcreposix.o
 cc -DHAVE_CONFIG_H -I. -O2 -MT pcreposix.lo -MD -MP -MF .deps/pcreposix.Tpo -c 
pcreposix.c -o pcreposix.o >/dev/null 2>&1
mv -f .deps/pcreposix.Tpo .deps/pcreposix.Plo
/bin/sh ./libtool --tag=CC    --mode=link cc  -O2  -version-info 0:0:0 
-Wl,-R/usr/pkg/lib -o libpcreposix.la -rpath /usr/pkg/lib pcreposix.lo 
libpcre.la 
cc -shared  .libs/pcreposix.o  -Wl,--rpath 
-Wl,/usr/pkgsrc/devel/pcre/work/pcre-7.6/.libs -Wl,--rpath -Wl,/usr/pkg/lib 
./.libs/libpcre.so -L/usr/pkgsrc/devel/pcre/work/.buildlink/lib  
-Wl,-R/usr/pkg/lib -Wl,-soname -Wl,libpcreposix.so.0 -o 
.libs/libpcreposix.so.0.0.0
(cd .libs && rm -f libpcreposix.so.0 && ln -s libpcreposix.so.0.0.0 
libpcreposix.so.0)
(cd .libs && rm -f libpcreposix.so && ln -s libpcreposix.so.0.0.0 
libpcreposix.so)
ar cru .libs/libpcreposix.a  pcreposix.o
ranlib .libs/libpcreposix.a
creating libpcreposix.la
(cd .libs && rm -f libpcreposix.la && ln -s ../libpcreposix.la libpcreposix.la)
/bin/sh ./libtool --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H -I.      -O2 
-MT pcrecpp.lo -MD -MP -MF .deps/pcrecpp.Tpo -c -o pcrecpp.lo pcrecpp.cc
 c++ -DHAVE_CONFIG_H -I. -O2 -MT pcrecpp.lo -MD -MP -MF .deps/pcrecpp.Tpo -c 
pcrecpp.cc  -fPIC -DPIC -o .libs/pcrecpp.o
/usr/include/g++/bits/type_traits.h:90: error: redefinition of 'struct 
__true_type'
/usr/include/g++/bits/cpp_type_traits.h:93: error: previous definition of 
'struct __true_type'
/usr/include/g++/bits/type_traits.h:91: error: redefinition of 'struct 
__false_type'
/usr/include/g++/bits/cpp_type_traits.h:94: error: previous definition of 
'struct __false_type'
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/pcre/work/pcre-7.6
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/pcre/work/pcre-7.6
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/pcre
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/pcre
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/pcre
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/mail/postfix
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/mail/postfix



This used to work with earlier versions of pcre on this platform.

>How-To-Repeat:

% cd /usr/pkgsrc/devel/pcre
% make

>Fix:



Home | Main Index | Thread Index | Old Index