[ports-i386@FreeBSD.org: mod_cplusplus-1.5.4 failed on i386 6]

Erwin Lansing erwin at FreeBSD.org
Tue May 11 17:28:46 UTC 2010


FYI; can you please investigate and/or report to the developers?  If
you are already aware of this problem but do not yet have a fix,
please mark the port BROKEN in the appropriate case, so that users do
not unexpectedly encounter it.

See http://pointyhat.freebsd.org for the full log.

Thanks,
-erwin

----- Forwarded message from User Ports-i386 <ports-i386 at FreeBSD.org> -----

Date: Tue, 11 May 2010 12:29:07 GMT
From: User Ports-i386 <ports-i386 at FreeBSD.org>
To: erwin at FreeBSD.org, miwi at FreeBSD.org, itetcu at FreeBSD.org
Subject: mod_cplusplus-1.5.4 failed on i386 6

You can also find this build log at

  http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.6.20100507222106/mod_cplusplus-1.5.4.log

building mod_cplusplus-1.5.4 on thunder2.isc.freebsd.org
in directory /usr2/pkgbuild/6/20100507222106/chroot/99
building for: 6.4-RELEASE-p9 i386
maintained by: apache at FreeBSD.org
port directory: /usr/ports/www/mod_cplusplus
Makefile ident: $FreeBSD: ports/www/mod_cplusplus/Makefile,v 1.11 2009/08/22 00:38:14 amdmi3 Exp $
build started at Tue May 11 12:26:34 UTC 2010
FETCH_DEPENDS=
PATCH_DEPENDS=
EXTRACT_DEPENDS=
BUILD_DEPENDS=apache-2.0.63_7.tbz autoconf-2.62.tbz autoconf-wrapper-20071109.tbz automake-1.9.6_3.tbz automake-wrapper-20071109.tbz expat-2.0.1_1.tbz libiconv-1.13.1_1.tbz libtool-2.2.6b.tbz m4-1.4.14,1.tbz pcre-8.02.tbz perl-5.10.1.tbz
RUN_DEPENDS=apache-2.0.63_7.tbz expat-2.0.1_1.tbz libiconv-1.13.1_1.tbz pcre-8.02.tbz perl-5.10.1.tbz
prefixes: LOCALBASE=usr/local
add_pkg
================================================================
====================<phase 1: make checksum>====================
=> mod_cplusplus-1.5.4.tar.gz doesn't seem to exist in /tmp/distfiles/.
=> Attempting to fetch from ftp://freebsd.isc.org/pub/FreeBSD/ports/distfiles/.
mod_cplusplus-1.5.4.tar.gz                             258 kB 5790 kBps
=> MD5 Checksum OK for mod_cplusplus-1.5.4.tar.gz.
=> SHA256 Checksum OK for mod_cplusplus-1.5.4.tar.gz.
================================================================
====================<phase 2: make extract>====================
add_pkg
===>  Extracting for mod_cplusplus-1.5.4
=> MD5 Checksum OK for mod_cplusplus-1.5.4.tar.gz.
=> SHA256 Checksum OK for mod_cplusplus-1.5.4.tar.gz.
/usr/bin/sed -i.bak -e 's,-Werror,,' /work/a/ports/www/mod_cplusplus/work/mod_cplusplus/configure.in
================================================================
====================<phase 3: make patch>====================
add_pkg
===>  Patching for mod_cplusplus-1.5.4
================================================================
====================<phase 4: make build>====================
add_pkg apache-2.0.63_7.tbz autoconf-2.62.tbz autoconf-wrapper-20071109.tbz automake-1.9.6_3.tbz automake-wrapper-20071109.tbz expat-2.0.1_1.tbz libiconv-1.13.1_1.tbz libtool-2.2.6b.tbz m4-1.4.14,1.tbz pcre-8.02.tbz perl-5.10.1.tbz
adding dependencies
pkg_add apache-2.0.63_7.tbz
Removing stale symlinks from /usr/bin...
    Skipping /usr/bin/perl
    Skipping /usr/bin/perl5
Done.
Creating various symlinks in /usr/bin...
    Symlinking /usr/local/bin/perl5.10.1 to /usr/bin/perl
    Symlinking /usr/local/bin/perl5.10.1 to /usr/bin/perl5
Done.
Cleaning up /etc/make.conf... Done.
Spamming /etc/make.conf... Done.
Cleaning up /etc/manpath.config... Done.
Spamming /etc/manpath.config... Done.

To run apache www server from startup, add apache2_enable="YES"
in your /etc/rc.conf. Extra options can be found in startup script.

Your hostname must be resolvable using at least 1 mechanism in
/etc/nsswitch typically DNS or /etc/hosts or apache might
have issues starting depending on the modules you are using.

pkg_add autoconf-2.62.tbz
pkg_add autoconf-wrapper-20071109.tbz
skipping autoconf-wrapper-20071109, already added
pkg_add automake-1.9.6_3.tbz
pkg_add automake-wrapper-20071109.tbz
skipping automake-wrapper-20071109, already added
pkg_add expat-2.0.1_1.tbz
skipping expat-2.0.1_1, already added
pkg_add libiconv-1.13.1_1.tbz
skipping libiconv-1.13.1_1, already added
pkg_add libtool-2.2.6b.tbz
pkg_add m4-1.4.14,1.tbz
skipping m4-1.4.14,1, already added
pkg_add pcre-8.02.tbz
skipping pcre-8.02, already added
pkg_add perl-5.10.1.tbz
skipping perl-5.10.1, already added
===>   mod_cplusplus-1.5.4 depends on file: /usr/local/sbin/apxs - found
===>   mod_cplusplus-1.5.4 depends on file: /usr/local/bin/automake-1.9 - found
===>   mod_cplusplus-1.5.4 depends on file: /usr/local/bin/autoconf-2.62 - found
===>   mod_cplusplus-1.5.4 depends on package: libtool>=2.2 - found
===>  Configuring for mod_cplusplus-1.5.4
(cd /work/a/ports/www/mod_cplusplus/work/mod_cplusplus && /usr/bin/env ACLOCAL=/usr/local/bin/aclocal-1.9 AUTOMAKE=/usr/local/bin/automake-1.9 AUTOMAKE_VERSION=19 AUTOCONF=/usr/local/bin/autoconf-2.62 AUTOHEADER=/usr/local/bin/autoheader-2.62 AUTOIFNAMES=/usr/local/bin/ifnames-2.62 AUTOM4TE=/usr/local/bin/autom4te-2.62 AUTORECONF=/usr/local/bin/autoreconf-2.62 AUTOSCAN=/usr/local/bin/autoscan-2.62 AUTOUPDATE=/usr/local/bin/autoupdate-2.62 AUTOCONF_VERSION=262 LIBTOOL=/usr/local/bin/libtool LIBTOOLIZE=/usr/local/bin/libtoolize LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4 /usr/local/bin/libtoolize --force --copy)
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize:   `/usr/local/share/aclocal/libtool.m4'
libtoolize:   `/usr/local/share/aclocal/ltoptions.m4'
libtoolize:   `/usr/local/share/aclocal/ltversion.m4'
libtoolize:   `/usr/local/share/aclocal/ltsugar.m4'
libtoolize:   `/usr/local/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.in: installing `./install-sh'
configure.in: installing `./missing'
example/handler/Makefile.am: installing `./depcomp'
configure.in:6: installing `./config.guess'
configure.in:6: installing `./config.sub'
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for 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 build system type... i386-portbld-freebsd6.4
checking host system type... i386-portbld-freebsd6.4
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/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 /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for 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 whether we are using the GNU C++ compiler... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking dependency style of c++... (cached) gcc3
checking how to run the C++ preprocessor... c++ -E
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... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... freebsd6.4 ld.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
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd6.4 ld.so
checking how to hardcode library paths into programs... immediate
checking what the shared library extension is... test: x: unexpected operator

checking for apxs... found /usr/local/sbin/apxs
test: x-I/usr/local/include/apache2 -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr-util/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr-util/include: unexpected operator
checking for __gxx_personality_v0 in -lstdc++... yes
test: -lstdc++: unexpected operator
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating example/Makefile
config.status: creating example/handler/Makefile
config.status: creating example/input_filter/Makefile
config.status: creating example/output_filter/Makefile
config.status: creating example/protocol/Makefile
config.status: creating test/Makefile
config.status: creating test/t/conf/extra.conf
config.status: creating docs/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
===>  Building for mod_cplusplus-1.5.4
make  all-recursive
Making all in src
if /bin/sh /usr/local/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I.. -I/usr/local/include/apache2 -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr-util/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr-util/include  -I/usr/local/include/apache2 -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr-util/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr-util/include -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe -D_REENTRANT -D_THREAD_SAFE  -Wall  -g -I/work/a/ports/www/mod_cplusplus/work/mod_cplusplus/include   -O2 -fno-strict-aliasing -pipe -MT mod_cplusplus.lo -MD -MP -MF ".deps/mod_cplusplus.Tpo" -c -o mod_cplusplus.lo mod_cplusplus.c
 ;  then mv -f ".deps/mod_cplusplus.Tpo" ".deps/mod_cplusplus.Plo"; else rm -f ".deps/mod_cplusplus.Tpo"; exit 1; fi
if /bin/sh /usr/local/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H  -I. -I. -I.. -I/usr/local/include/apache2 -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr-util/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr-util/include  -I/usr/local/include/apache2 -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr-util/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr-util/include -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe -D_REENTRANT -D_THREAD_SAFE  -Wall  -g -I/work/a/ports/www/mod_cplusplus/work/mod_cplusplus/include   -O2 -fno-strict-aliasing -pipe -MT apache_handler.lo -MD -MP -MF ".deps/apache_handler.Tpo" -c -o apache_handler.lo apache_han
 dler.cpp;  then mv -f ".deps/apache_handler.Tpo" ".deps/apache_handler.Plo"; else rm -f ".deps/apache_handler.Tpo"; exit 1; fi
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/apache2 -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr-util/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr-util/include -I/usr/local/include/apache2 -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr-util/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr-util/include -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe -D_REENTRANT -D_THREAD_SAFE -Wall -g -I/work/a/ports/www/mod_cplusplus/work/mod_cplusplus/include -O2 -fno-strict-aliasing -pipe -MT apache_handler.lo -MD -MP -MF .deps/apache_handler.Tpo -c apache_handler.cpp  -fPIC -DPIC -o .libs/apache_handler.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/apache2 -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr-util/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr-util/include -I/usr/local/include/apache2 -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr-util/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr/include -I/work/a/ports/www/apache20/work/httpd-2.0.63/srclib/apr-util/include -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe -D_REENTRANT -D_THREAD_SAFE -Wall -g -I/work/a/ports/www/mod_cplusplus/work/mod_cplusplus/include -O2 -fno-strict-aliasing -pipe -MT mod_cplusplus.lo -MD -MP -MF .deps/mod_cplusplus.Tpo -c mod_cplusplus.c  -fPIC -DPIC -o .libs/mod_cplusplus.o
In file included from /work/a/ports/www/mod_cplusplus/work/mod_cplusplus/include/mod_cplusplus.h:4,
                 from /work/a/ports/www/mod_cplusplus/work/mod_cplusplus/include/apache_handler.h:14,
                 from apache_handler.cpp:4:
/usr/local/include/apache2/httpd.h:44:23: pcreposix.h: No such file or directory
In file included from /work/a/ports/www/mod_cplusplus/work/mod_cplusplus/include/mod_cplusplus.h:4,
                 from /work/a/ports/www/mod_cplusplus/work/mod_cplusplus/include/apache_handler.h:14,
                 from apache_handler.cpp:4:
/usr/local/include/apache2/httpd.h:1526: error: expected constructor, destructor, or type conversion before '*' token
/usr/local/include/apache2/httpd.h:1534: error: `regex_t' has not been declared
/usr/local/include/apache2/httpd.h:1534: error: ISO C++ forbids declaration of `reg' with no type
/usr/local/include/apache2/httpd.h:1548: error: `regex_t' was not declared in this scope
/usr/local/include/apache2/httpd.h:1548: error: `preg' was not declared in this scope
/usr/local/include/apache2/httpd.h:1548: error: expected primary-expression before "const"
/usr/local/include/apache2/httpd.h:1549: error: expected primary-expression before "nmatch"
/usr/local/include/apache2/httpd.h:1549: error: `regmatch_t' was not declared in this scope
/usr/local/include/apache2/httpd.h:1549: error: expected primary-expression before "int"
/usr/local/include/apache2/httpd.h:1549: error: initializer expression list treated as compound expression
/usr/local/include/apache2/httpd.h:1558: error: expected `,' or `...' before '*' token
/usr/local/include/apache2/httpd.h:1559: error: ISO C++ forbids declaration of `regex_t' with no type
/usr/local/include/apache2/httpd.h:1573: error: `regmatch_t' has not been declared
/usr/local/include/apache2/httpd.h:1573: error: ISO C++ forbids declaration of `pmatch' with no type
In file included from /usr/include/c++/3.4/bits/stl_algobase.h:67,
                 from /usr/include/c++/3.4/bits/char_traits.h:46,
                 from /usr/include/c++/3.4/string:47,
                 from /work/a/ports/www/mod_cplusplus/work/mod_cplusplus/include/cpp_request.h:21,
                 from /work/a/ports/www/mod_cplusplus/work/mod_cplusplus/include/apache_handler.h:15,
                 from apache_handler.cpp:4:
/usr/include/c++/3.4/cstdlib:115: error: `::strtoul' has not been declared
In file included from /work/a/ports/www/mod_cplusplus/work/mod_cplusplus/include/mod_cplusplus.h:4,
                 from mod_cplusplus.c:7:
/usr/local/include/apache2/httpd.h:44:23: pcreposix.h: No such file or directory
In file included from /work/a/ports/www/mod_cplusplus/work/mod_cplusplus/include/mod_cplusplus.h:4,
                 from mod_cplusplus.c:7:
/usr/local/include/apache2/httpd.h:1526: error: syntax error before '*' token
/usr/local/include/apache2/httpd.h:1527: warning: type defaults to `int' in declaration of `ap_pregcomp'
/usr/local/include/apache2/httpd.h:1527: warning: data definition has no type or storage class
/usr/local/include/apache2/httpd.h:1534: error: syntax error before "regex_t"
/usr/local/include/apache2/httpd.h:1548: error: syntax error before '*' token
/usr/local/include/apache2/httpd.h:1558: error: syntax error before '*' token
/usr/local/include/apache2/httpd.h:1559: warning: type defaults to `int' in declaration of `ap_regerror'
/usr/local/include/apache2/httpd.h:1573: error: syntax error before "regmatch_t"
*** Error code 1
*** Error code 1
2 errors
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 1

Stop in /a/ports/www/mod_cplusplus.
================================================================
build of /usr/ports/www/mod_cplusplus ended at Tue May 11 12:29:02 UTC 2010

----- End forwarded message -----
-- 
Erwin Lansing                                   http://droso.org
Prediction is very difficult
especially about the future                    erwin at FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-apache/attachments/20100511/ce183ccc/attachment.pgp


More information about the freebsd-apache mailing list