Package: serf
Version: 0.1.0-1
Severity: serious
Tags: patch
Justification: cannot be built from source


Serf 0.1.0-1 cannot be built from source on m68k, as shown by a buildd
log:
http://buildd.debian.org/fetch.cgi?&pkg=serf&ver=0.1.0-1&arch=m68k&stamp=1168920926&file=log


/usr/share/apr-1.0/build/libtool --silent --tag=CC --mode=link cc 
-Wl,-z,defs,--as-needed -static -o test/serf_get libserf-0.la test/serf_get.lo 
/usr/lib/libaprutil-1.la   /usr/lib/libapr-1.la -luuid -lrt -lcrypt  -lpthread 
-ldl -lz -lssl -lcrypto
/usr/lib/gcc/m68k-linux-gnu/4.1.2/../../../libcrypto.a(dso_dlfcn.o): In 
function `dlfcn_bind_func':
(.text+0x27c): undefined reference to `dlsym'
/usr/lib/gcc/m68k-linux-gnu/4.1.2/../../../libcrypto.a(dso_dlfcn.o): In 
function `dlfcn_bind_func':
(.text+0x31a): undefined reference to `dlerror'
/usr/lib/gcc/m68k-linux-gnu/4.1.2/../../../libcrypto.a(dso_dlfcn.o): In 
function `dlfcn_bind_var':
(.text+0x396): undefined reference to `dlsym'
/usr/lib/gcc/m68k-linux-gnu/4.1.2/../../../libcrypto.a(dso_dlfcn.o): In 
function `dlfcn_bind_var':
(.text+0x432): undefined reference to `dlerror'
/usr/lib/gcc/m68k-linux-gnu/4.1.2/../../../libcrypto.a(dso_dlfcn.o): In 
function `dlfcn_unload':
(.text+0x494): undefined reference to `dlclose'
/usr/lib/gcc/m68k-linux-gnu/4.1.2/../../../libcrypto.a(dso_dlfcn.o): In 
function `dlfcn_load':
(.text+0x52e): undefined reference to `dlopen'
/usr/lib/gcc/m68k-linux-gnu/4.1.2/../../../libcrypto.a(dso_dlfcn.o): In 
function `dlfcn_load':
(.text+0x55e): undefined reference to `dlopen'
/usr/lib/gcc/m68k-linux-gnu/4.1.2/../../../libcrypto.a(dso_dlfcn.o): In 
function `dlfcn_load':
(.text+0x586): undefined reference to `dlerror'
/usr/lib/gcc/m68k-linux-gnu/4.1.2/../../../libcrypto.a(dso_dlfcn.o): In 
function `dlfcn_load':
(.text+0x5de): undefined reference to `dlclose'
collect2: ld returned 1 exit status


I've created a patch attached here, but I don't have m68k machines to
test it.

Thanks,

-nori


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-686
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP)
Index: serf-0.1.0/Makefile.in
===================================================================
--- serf-0.1.0.orig/Makefile.in	2007-01-16 10:54:10.024327606 +0000
+++ serf-0.1.0/Makefile.in	2007-01-16 10:54:19.746249397 +0000
@@ -43,7 +43,7 @@
 INSTALL = @INSTALL@
 
 LDFLAGS = @LDFLAGS@
-LIBS = @SERF_LIBS@ -lz -lssl -lcrypto
+LIBS = -lz -lssl -lcrypto @SERF_LIBS@
 
 all: $(TARGET_LIB) $(PROGRAMS)
 

Reply via email to