Subject: pkg/28699: /www/clearsilver-base doesn't compile on amd64/2.0
To: None <,,>
From: Wouter Schoot <>
List: pkgsrc-bugs
Date: 12/18/2004 01:12:01
>Number:         28699
>Category:       pkg
>Synopsis:       /www/clearsilver-base doesn't compile on amd64/2.0
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 18 01:12:00 +0000 2004
>Originator:     Wouter Schoot <>
>Release:        NetBSD 2.0

System: NetBSD ascent 2.0 NetBSD 2.0 (ASCENT) #2: Tue Dec 14 11:46:48 CET 2004 root@ascent:/usr/obj/sys/arch/amd64/compile/ASCENT amd64
Architecture: x86_64
Machine: amd64

Script started on Sat Dec 18 02:08:50 2004
[root@ascent /usr/pkgsrc/www/clearsilver-base]# make
===> Checking for vulnerabilities in clearsilver-base-0.9.13
=> Checksum OK for ./clearsilver-0.9.13.tar.gz.
===> Extracting for clearsilver-base-0.9.13
===> Required installed package gmake>=3.78: gmake-3.80nb4 found
===> Patching for clearsilver-base-0.9.13
===> Applying pkgsrc patches for clearsilver-base-0.9.13
===> Overriding tools for clearsilver-base-0.9.13
===> Creating toolchain wrappers for clearsilver-base-0.9.13
===> Configuring for clearsilver-base-0.9.13
creating cache ./config.cache
checking for gcc... cc
checking whether the C compiler (cc -O2 -I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib) works... yes
checking whether the C compiler (cc -O2 -I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
checking whether ln -s works... yes
checking for ar... ar
checking for ranlib... ranlib
checking whether gmake sets ${MAKE}... yes
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking for Neotonic Paths... not found
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for stdarg.h... yes
checking for varargs.h... no
checking for limits.h... yes
checking for strings.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for working const... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
checking return type of signal handlers... void
checking for strftime... yes
checking for vprintf... yes
checking for wait3 that fills in rusage... yes
checking for gettimeofday... yes
checking for mktime... yes
checking for putenv... yes
checking for strerror... yes
checking for strspn... yes
checking for strtod... yes
checking for strtol... yes
checking for strtoul... yes
checking for random... yes
checking for rand... yes
checking for drand48... yes
checking for library containing db_open... no
checking for lockf... yes
checking for pthread.h... yes
checking for mingw32 environment... no
checking for snprintf... yes
checking for vsnprintf... yes
checking for localtime_r... yes
checking whether localtime_r is declared... yes
checking for gmtime_r... yes
checking whether gmtime_r is declared... yes
checking for strtok_r... yes
checking whether strtok_r is declared... yes
checking for mkstemp... yes
checking for regexec... yes
checking for deflate in -lz... yes
Disabling Apache 1.3.x Module
Disabling python module
Disabling perl module
Disabling ruby module
Disabling java module
Disabling csharp module
updating cache ./config.cache
creating ./config.status
creating cs_config.h
===> Building for clearsilver-base-0.9.13
gmake[1]: Entering directory `/usr/pkgsrc/www/clearsilver-base/work/clearsilver-0.9.13/util'
** Building Dependencies 
** (done) 
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -o neo_err.o -c neo_err.c
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -o neo_files.o -c neo_files.c
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -o neo_misc.o -c neo_misc.c
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -o neo_rand.o -c neo_rand.c
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -o ulist.o -c ulist.c
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -o neo_hdf.o -c neo_hdf.c
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -o neo_str.o -c neo_str.c
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -o neo_date.o -c neo_date.c
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -o wildmat.o -c wildmat.c
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -o neo_hash.o -c neo_hash.c
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -o ulocks.o -c ulocks.c
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -o rcfs.o -c rcfs.c
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -o skiplist.o -c skiplist.c
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -o dict.o -c dict.c
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -o filter.o -c filter.c
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -o neo_net.o -c neo_net.c
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -o neo_server.o -c neo_server.c
ar cr ../libs/libneo_utl.a neo_err.o neo_files.o neo_misc.o neo_rand.o ulist.o neo_hdf.o neo_str.o neo_date.o wildmat.o neo_hash.o ulocks.o rcfs.o skiplist.o dict.o filter.o neo_net.o neo_server.o 
ranlib ../libs/libneo_utl.a
gmake[1]: Leaving directory `/usr/pkgsrc/www/clearsilver-base/work/clearsilver-0.9.13/util'
gmake[1]: Entering directory `/usr/pkgsrc/www/clearsilver-base/work/clearsilver-0.9.13/cs'
** Building Dependencies 
** (done) 
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -I../ -o csparse.o -c csparse.c
ar cr ../libs/libneo_cs.a csparse.o
ranlib ../libs/libneo_cs.a
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -I../ -o cstest.o -c cstest.c
cc -o cstest cstest.o -lz -L../libs/ -lneo_cs -lneo_utl  # -lefence
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -I../ -o cs.o -c cs.c
cc -o cs cs.o -lz -L../libs/ -lneo_cs -lneo_utl  # -lefence
Running cs regression tests
gmake[1]: Leaving directory `/usr/pkgsrc/www/clearsilver-base/work/clearsilver-0.9.13/cs'
gmake[1]: Entering directory `/usr/pkgsrc/www/clearsilver-base/work/clearsilver-0.9.13/cgi'
** Building Dependencies 
** (done) 
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -o cgiwrap.o -c cgiwrap.c
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -o cgi.o -c cgi.c
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -o html.o -c html.c
html.c:646: warning: `StripTags' defined but not used
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -o date.o -c date.c
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -o rfc2388.o -c rfc2388.c
ar cr ../libs/libneo_cgi.a cgiwrap.o cgi.o html.o date.o rfc2388.o
ranlib ../libs/libneo_cgi.a
cc -O2 -I/usr/include -Wall -I../ -I/usr/include -o static.o -c static.c
cc -o static.cgi static.o -lz -L../libs/ -lneo_cgi -lneo_cs -lneo_utl 
cc -shared -fPic -o static.cso static.o -lz -L../libs/ -lneo_cgi -lneo_cs -lneo_utl 
ld: static.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
static.o: could not read symbols: Bad value
gmake[1]: *** [static.cso] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/www/clearsilver-base/work/clearsilver-0.9.13/cgi'
gmake: *** [cs] Error 2
*** Error code 2

make: stopped in /usr/pkgsrc/www/clearsilver-base
*** Error code 1

make: stopped in /usr/pkgsrc/www/clearsilver-base
[root@ascent /usr/pkgsrc/www/clearsilver-base]# 
Script done on Sat Dec 18 02:09:39 2004
	<code/input/activities to reproduce the problem (multiple lines)>