I have just tried to build unixcw-2.3 on merkel.debian.org (another amd64
machine).

While the build log reports:
-----------------------------------------------------------------

make[3]: Entering directory `/build/buildd/unixcw-2.3/src/cwlib'
if [ "no" = "yes" ]; then                           \
                x86_64-linux-gnu-gcc -shared -Wl,-soname,libcw.so.0             
        \
                        -o libcw.so.0.0.0 cwlib.o;                      \
        else                                                            \
                if [ "no" = "yes" ]; then                   \
                        /usr/bin/ld -G -Wl,-soname,libcw.so.0                   
\
                                -o libcw.so.0.0.0 cwlib.o;              \
                fi                                                      \
        fi

-----------------------------------------------------------------
The manual compilation on merkel reports:

-----------------------------------------------------------------
if [ "yes" = "yes" ]; then                              \
       gcc -shared -Wl,-soname,libcw.so.0                      \
               -o libcw.so.0.0.0 cwlib.o;                      \
else                                                            \
       if [ "yes" = "yes" ]; then                      \
               /usr/bin/ld -G -Wl,-soname,libcw.so.0                   \
                       -o libcw.so.0.0.0 cwlib.o;              \
       fi                                                      \
fi
-----------------------------------------------------------------

and libcw.so.0.0.0 seems to be created correctly.
I have tried to run the little test program included in configure.ac (which
fails on the build daemon) by hand, it does the following:

 cat >conftest.c <<-EOF
 int so_test() { return 0; }
EOF
 $CC -c conftest.c
 $CC -shared -o conftest.so conftest.o
 rm -f conftest.c conftest.o
 if test -f conftest.so ; then
   nm conftest.so | grep -q so_test
   if test $? -eq 0 ; then
     CC_LINKS_SO="yes"
   fi
 fi

This test reports success in merkel, so CC_LINKS_SO is set to "yes".
Any idea why this fails on the build daemon?

Regards,
Joop pa3aba at debian dot org

Reply via email to