ports/95334: Can't build resin 3.0.18 WITH_APACHE2=yes

Boris Kovalenko boris at tagnet.ru
Wed Apr 5 04:20:21 UTC 2006


>Number:         95334
>Category:       ports
>Synopsis:       Can't build resin 3.0.18 WITH_APACHE2=yes
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 05 04:20:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Boris Kovalenko
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
JSC TAGNet
>Environment:
System: FreeBSD boris.nikom.ru 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Mon Nov 7 11:38:40 YEKT 2005 root at boris.nikom.ru:/usr/obj/usr/src/sys/BSYS i386


>Description:
    Can not build Resin 3.0.18 with Apache2 module. Log attached. apache2 is 2.0.55_4
    version. libtool is 1.5.22_2 (but tested with 1.5.22_1 with same error)

>How-To-Repeat:
    cd /usr/ports/resin3
    make WITH_APACHE2=yes

>Fix:
    Not known yet.

--- resin.log begins here ---
===>  Vulnerability check disabled, database not found
===>  Extracting for resin-3.0.18
=> MD5 Checksum OK for resin-3.0.18.tar.gz.
=> SHA256 Checksum OK for resin-3.0.18.tar.gz.
===>  Patching for resin-3.0.18
===>  Applying FreeBSD patches for resin-3.0.18
===>   resin-3.0.18 depends on file: /usr/local/bin/python - found
===>   resin-3.0.18 depends on file: /usr/local/jdk1.4.2/bin/java - found
===>   resin-3.0.18 depends on file: /usr/local/sbin/apxs - found
===>  Configuring for resin-3.0.18
checking build system type... i386-unknown-freebsd6.0
checking host system type... i386-unknown-freebsd6.0
checking target system type... i386-unknown-freebsd6.0
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of cc... none
checking for ld used by GCC... cc
checking if the linker (cc) is GNU ld... no
checking for egrep... grep -E
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 sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for cc option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
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 if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions... no
checking whether the linker (cc) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... freebsd6.0 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
Using shared library flags from /usr/local/sbin/apxs
checking for JAVA_HOME... /usr/local/jdk1.4.2
checking if Java is 64-bit... no
Using Apache 2.0 configuration /usr/local/etc/apache2/httpd.conf
Using Apache CFLAGS: -O2 -fno-strict-aliasing -pipe -march=pentiumpro
checking for JNI in /usr/local/jdk1.4.2/include/freebsd ... found
Using openssl include in ... /usr/include
Using openssl lib in ... /usr/lib
Using openssl libraries in ...  -lssl -lcrypto
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bin/wrapper.pl
config.status: creating modules/c/src/Makefile
config.status: creating modules/c/src/common/Makefile
config.status: creating modules/c/src/apache1/Makefile
config.status: creating modules/c/src/apache2/Makefile
config.status: creating modules/c/src/resin_os/Makefile
config.status: creating contrib/init.resin
config.status: executing depfiles commands
===>  Building for resin-3.0.18
(cd modules/c/src; make)
for dir in common apache2   resin_os; do (cd $dir; make); done
cc -c -I/usr/include -O2 -fno-strict-aliasing -pipe -march=pentiumpro -DNO_IDEA -DPOLL stream.c
cc -c -I/usr/include -O2 -fno-strict-aliasing -pipe -march=pentiumpro -DNO_IDEA -DPOLL config.c
cc -c -I/usr/include -O2 -fno-strict-aliasing -pipe -march=pentiumpro -DNO_IDEA -DPOLL memory.c
cc -r -o common.o stream.o config.o memory.o
config.o(.text+0xef9): In function `cse_update_host':
: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp()
/mnt/work.0/usr/ports/www/resin3/work/resin-3.0.18/libtool --silent --mode=compile cc -o stream.lo -c -I/usr/include -O2 -fno-strict-aliasing -pipe -march=pentiumpro -DNO_IDEA -DPOLL stream.c
/mnt/work.0/usr/ports/www/resin3/work/resin-3.0.18/libtool --silent --mode=compile cc -o config.lo -c -I/usr/include -O2 -fno-strict-aliasing -pipe -march=pentiumpro -DNO_IDEA -DPOLL config.c
/mnt/work.0/usr/ports/www/resin3/work/resin-3.0.18/libtool --silent --mode=compile cc -o memory.lo -c -I/usr/include -O2 -fno-strict-aliasing -pipe -march=pentiumpro -DNO_IDEA -DPOLL memory.c
EGREP="grep -E" /mnt/work.0/usr/ports/www/resin3/work/resin-3.0.18/libtool --silent --mode=compile cc -o mod_caucho.lo -c -I/usr/local/include/apache2  -I/usr/local/include/apache2 -DRESIN_HOME=\"/mnt/work.0/usr/ports/www/resin3/work/resin-3.0.18\" -I../common -O2 -fno-strict-aliasing -pipe -march=pentiumpro -DNO_IDEA -DPOLL -O2 -fno-strict-aliasing -pipe -march=pentiumpro mod_caucho.c
EGREP="grep -E" /mnt/work.0/usr/ports/www/resin3/work/resin-3.0.18/libtool --silent --mode=link cc -module -o mod_caucho.la -avoid-version -rpath /usr/local/libexec/apache2 mod_caucho.lo ../common/stream.lo ../common/config.lo ../common/memory.lo 
test: : bad number
test: : bad number
creating reloadable object files...
test: : bad number
test: : bad number
test: : bad number
creating a temporary reloadable object file: .libs/mod_caucho.la-4.o
.libs/mod_caucho.la-1.o(.data+0x4): multiple definition of `__dso_handle'
/usr/lib/crtbegin.o(.data+0x0): first defined here
.libs/mod_caucho.la-1.o(.init+0x0): In function `_init':
: multiple definition of `_init'
/usr/lib/crti.o(.init+0x0): first defined here
.libs/mod_caucho.la-1.o(.data+0x0): multiple definition of `__progname'
/usr/lib/crt1.o(.data+0x0): first defined here
.libs/mod_caucho.la-1.o(.text+0x0): In function `_start':
: multiple definition of `_start'
/usr/lib/crt1.o(.text+0x0): first defined here
.libs/mod_caucho.la-1.o(.fini+0x0): In function `_fini':
: multiple definition of `_fini'
/usr/lib/crti.o(.fini+0x0): first defined here
*** Error code 1

Stop in /mnt/work.0/usr/ports/www/resin3/work/resin-3.0.18/modules/c/src/apache2.
*** Error code 1

Stop in /mnt/work.0/usr/ports/www/resin3/work/resin-3.0.18/modules/c/src.
*** Error code 1

Stop in /mnt/work.0/usr/ports/www/resin3/work/resin-3.0.18.
*** Error code 1

Stop in /usr/ports/www/resin3.
--- resin.log ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list