pkgsrc-Bugs archive

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

pkg/44393: www/lighttpd linking broken in mod_flv_streaming



>Number:         44393
>Category:       pkg
>Synopsis:       www/lighttpd linking broken in mod_flv_streaming
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 14 23:55:00 +0000 2011
>Originator:     Jan Guttek
>Release:        Solaris 10, pkgsrc-current
>Organization:
>Environment:
SunOS global 5.10 Generic_142909-17 sun4v sparc SUNW,SPARC-Enterprise-T1000

>Description:
Package pkgsrc/www/lighttpd seems to be broken on SunOS with both Sun Studio & 
gccfss:

---
# cc -V
cc: Sun C 5.11 SunOS_sparc 2010/08/13

# gcc -v
Using built-in specs.
Target: sparc-sun-solaris2.10
Configured with: ./configure --prefix= --enable-shared --disable-static 
--with-system-zlib --enable-checking=release --enable-languages=c,c++ 
--with-cpu=v9 --with-ld=/usr/ccs/bin/ld --without-gnu-ld --disable-gnattools 
--enable-tls --with-as=/usr/ccs/bin/as --without-gnu-as
Thread model: posix
gcc version 4.3.3 (20091210) (gccfss) (GCC)
---

Please see following build dump:

---
===> Building for lighttpd-1.4.26nb1
/usr/pkg/bin/bmake  all-recursive
Making all in src
source='lemon.c' object='lemon.o' libtool=no  DEPDIR=.deps depmode=none 
/usr/pkg/bin/pdksh ../depcomp  cc -xarch=sparc -xchip=ultraT1 -m64 -xO2 -g 
-DHAVE_CONFIG_H -DHAVE_VERSION_H -DLIBRARY_DIR="\"/usr/pkg/lib/lighttpd\"" 
-DSBIN_DIR="\"/usr/pkg/sbin\"" -I. -I..    -xarch=sparc -xchip=ultraT1 -m64 
-xO2 -g -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/mysql -D_REENTRANT 
-D__EXTENSIONS__ -I/usr/pkg/include -DOPENSSL_NO_KRB5 -I/usr/pkg/include 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES  -O -xarch=sparc 
-xchip=ultraT1 -m64 -xO2 -g -I/usr/include -I/usr/pkg/include 
-I/usr/pkg/include/mysql -c lemon.c
/usr/pkg/bin/pdksh ../libtool  --tag=CC    --mode=link cc -xarch=sparc 
-xchip=ultraT1 -m64 -xO2 -g  -O -xarch=sparc -xchip=ultraT1 -m64 -xO2 -g 
-I/usr/include -I/usr/pkg/include -I/usr/pkg/include/mysql   -xarch=sparc 
-xchip=ultraT1 -m64 -xO2 -g -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib 
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib/mysql -Wl,-R/usr/pkg/lib/mysql -L/usr/pkg/lib 
-o lemon lemon.o  -lresolv -lnsl -lsocket
libtool: link: cc -xarch=sparc -xchip=ultraT1 -m64 -xO2 -g -O -xarch=sparc 
-xchip=ultraT1 -m64 -xO2 -g -I/pkg/src/www/lighttpd/work/.buildlink/include 
-I/pkg/src/www/lighttpd/work/.buildlink/include/mysql -xarch=sparc 
-xchip=ultraT1 -m64 -xO2 -g -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib/mysql -o 
lemon lemon.o  -L/pkg/src/www/lighttpd/work/.buildlink/lib 
-L/pkg/src/www/lighttpd/work/.buildlink/lib/mysql -lresolv -lnsl -lsocket
rm -f configparser.h
../src/lemon -q ./configparser.y ./lempar.c
rm -f mod_ssi_exprparser.h
../src/lemon -q ./mod_ssi_exprparser.y ./lempar.c
/usr/pkg/bin/bmake  all-am
source='mod_flv_streaming.c' object='mod_flv_streaming.lo' libtool=yes  
DEPDIR=.deps depmode=none /usr/pkg/bin/pdksh ../depcomp  /usr/pkg/bin/pdksh 
../libtool  --tag=CC    --mode=compile cc -xarch=sparc -xchip=ultraT1 -m64 -xO2 
-g -DHAVE_CONFIG_H -DHAVE_VERSION_H -DLIBRARY_DIR="\"/usr/pkg/lib/lighttpd\"" 
-DSBIN_DIR="\"/usr/pkg/sbin\""  -I. -I..   -xarch=sparc -xchip=ultraT1 -m64 
-xO2 -g -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/mysql -D_REENTRANT 
-D__EXTENSIONS__ -I/usr/pkg/include -DOPENSSL_NO_KRB5 -I/usr/pkg/include 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES   -O -xarch=sparc 
-xchip=ultraT1 -m64 -xO2 -g -I/usr/include -I/usr/pkg/include 
-I/usr/pkg/include/mysql -c -o mod_flv_streaming.lo mod_flv_streaming.c
libtool: compile:  cc -xarch=sparc -xchip=ultraT1 -m64 -xO2 -g -DHAVE_CONFIG_H 
-DHAVE_VERSION_H -DLIBRARY_DIR=\"/usr/pkg/lib/lighttpd\" 
-DSBIN_DIR=\"/usr/pkg/sbin\" -I. -I.. -xarch=sparc -xchip=ultraT1 -m64 -xO2 -g 
-I/pkg/src/www/lighttpd/work/.buildlink/include 
-I/pkg/src/www/lighttpd/work/.buildlink/include/mysql -D_REENTRANT 
-D__EXTENSIONS__ -DOPENSSL_NO_KRB5 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_LARGE_FILES -O -xarch=sparc -xchip=ultraT1 -m64 -xO2 -g -c 
mod_flv_streaming.c  -KPIC -DPIC -o .libs/mod_flv_streaming.o
/usr/pkg/bin/pdksh ../libtool  --tag=CC    --mode=link cc -xarch=sparc 
-xchip=ultraT1 -m64 -xO2 -g   -O -xarch=sparc -xchip=ultraT1 -m64 -xO2 -g 
-I/usr/include -I/usr/pkg/include -I/usr/pkg/include/mysql -module 
-export-dynamic -avoid-version -no-undefined  -xarch=sparc -xchip=ultraT1 -m64 
-xO2 -g -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib 
-L/usr/pkg/lib/mysql -Wl,-R/usr/pkg/lib/mysql -L/usr/pkg/lib -o 
mod_flv_streaming.la -rpath /usr/pkg/lib/lighttpd mod_flv_streaming.lo  
-lresolv -lnsl -lsocket
libtool: link: cc -xarch=sparc -xchip=ultraT1 -m64 -xO2 -g -G -z defs -h 
mod_flv_streaming.so -o .libs/mod_flv_streaming.so  .libs/mod_flv_streaming.o   
-L/pkg/src/www/lighttpd/work/.buildlink/lib 
-L/pkg/src/www/lighttpd/work/.buildlink/lib/mysql -lresolv -lnsl -lsocket -lc  
-xarch=sparc -m64 -xarch=sparc -m64 -xarch=sparc -m64 -Wl,-R/usr/pkg/lib 
-Wl,-R/usr/pkg/lib/mysql  
Undefined                       first referenced
 symbol                             in file
buffer_copy_string_buffer           .libs/mod_flv_streaming.o
http_chunk_append_file              .libs/mod_flv_streaming.o
data_string_init                    .libs/mod_flv_streaming.o
buffer_init_string                  .libs/mod_flv_streaming.o
array_get_element                   .libs/mod_flv_streaming.o
buffer_copy_string_len              .libs/mod_flv_streaming.o
buffer_is_empty                     .libs/mod_flv_streaming.o
response_header_overwrite           .libs/mod_flv_streaming.o
config_check_cond                   .libs/mod_flv_streaming.o
array_free                          .libs/mod_flv_streaming.o
array_init                          .libs/mod_flv_streaming.o
config_insert_values_global         .libs/mod_flv_streaming.o
stat_cache_get_entry                .libs/mod_flv_streaming.o
buffer_init                         .libs/mod_flv_streaming.o
buffer_free                         .libs/mod_flv_streaming.o
chunkqueue_get_append_buffer        .libs/mod_flv_streaming.o
array_insert_unique                 .libs/mod_flv_streaming.o
array_get_unused_element            .libs/mod_flv_streaming.o
array_reset                         .libs/mod_flv_streaming.o
buffer_is_equal_string              .libs/mod_flv_streaming.o
ld: fatal: Symbol referencing errors. No output written to 
.libs/mod_flv_streaming.so
*** Error code 2

Stop.
bmake: stopped in /pkg/src/www/lighttpd/work/lighttpd-1.4.26/src
*** Error code 1

Stop.
bmake: stopped in /pkg/src/www/lighttpd/work/lighttpd-1.4.26/src
*** Error code 1

Stop.
bmake: stopped in /pkg/src/www/lighttpd/work/lighttpd-1.4.26
*** Error code 1

Stop.
bmake: stopped in /pkg/src/www/lighttpd/work/lighttpd-1.4.26
*** Error code 1

Stop.
bmake: stopped in /pkg/src/www/lighttpd
*** Error code 1

Stop.
bmake: stopped in /pkg/src/www/lighttpd
---
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index