Source: chicken
Version: 4.8.0-1
Severity: normal

Build fails here:

/usr/bin/make -f ./Makefile.linux CONFIG= NEEDS_RELINKING=no 
RUNTIME_LINKER_PATH="/home/dave/debian/chicken/chicken-4.8.0/debian/tmp/usr/lib"
 SONAME_VERSION=.6 install-bin
make[3]: Entering directory `/home/dave/debian/chicken/chicken-4.8.0'
gcc  -shared ,-soname,libchicken.so.6 \
          -o libchicken.so library.o eval.o data-structures.o ports.o files.o 
extras.o lolevel.o utils.o tcp.o srfi-1.o srfi-4.o srfi-13.o srfi-14.o 
srfi-18.o srfi-69.o posixunix.o irregex.o scheduler.o profiler.o stub.o 
expand.o modules.o chicken-syntax.o chicken-ffi-syntax.o build-version.o 
runtime.o -lm -ldl
gcc-4.6.real: error: ,-soname,libchicken.so.6: No such file or directory
make[3]: *** [libchicken.so] Error 1
make[3]: Leaving directory `/home/dave/debian/chicken/chicken-4.8.0'
make[2]: *** [install-bin] Error 2
make[2]: Leaving directory `/home/dave/debian/chicken/chicken-4.8.0'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/dave/debian/chicken/chicken-4.8.0'
make: *** [install] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
Build command 'cd chicken-4.8.0 && dpkg-buildpackage -b -uc' failed.

As can be seen, this fails because the gcc link command lacks "-Wl"
before ",-soname,libchicken.so.6" argument.  This occurs because of
the following rule in debian/rules:

# The directories here have to be prefixed by $(CURDIR)/debian/tmp
# because that is the location where the binary package files are
# placed by dpkg-buildpackage. If absolute files are specified,
# i.e. /var/lib/chicken, then those files will be installed on the
# build system, but will not end up in the package.
        $(MAKE) PREFIX="$(CURDIR)/debian/tmp/usr" LINKER_LINK_SHARED_DLOADABLE_O
PTIONS='-L. -shared $(LDFLAGS),-R"."' LINKER_LINK_SHARED_PROGRAM_OPTIONS='$(LDFL
AGS),-R"."' LIBCHICKEN_SO_LINKER_OPTIONS='$(LDFLAGS),-soname,libchicken.so.6' VA
RDIR="$(CURDIR)/debian/tmp/var/lib" install

I suppose others added the "-Wl" to LDFLAGS but that's not normal.

-- System Information:
Debian Release: 7.0
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 3.9.0-rc5+ (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to