[Debian-med-packaging] Bug#806632: libsis-base-java: FTBFS when built with dpkg-buildpackage -A (cp: target is not a directory)
Santiago Vila
sanvila at debian.org
Tue Mar 8 00:00:32 UTC 2016
unarchive 806632
found 806632 14.12.0-3
thanks
Hi. Sorry for the reopening but "dpkg-buildpackage -A" still does not work.
Now the error is completely different, but since the end result is
still the same (i.e. "dpkg-buildpackage -A does not work"), I'm
reopening the old bug to recycle it.
This is the way it fails now:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --with javahelper
dh_testdir -i
dh_update_autotools_config -i
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cp debian/build_native/* source/c
#Needed on Ubuntu 14.04
touch source/c/NEWS source/c/README source/c/AUTHORS source/c/ChangeLog
cd source/c && autoreconf -i
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
[... snipped ...]
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -DMACHINE_BYTE_ORDER=1 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT copyByteLong.lo -MD -MP -MF .deps/copyByteLong.Tpo -c copyByteLong.c -fPIC -DPIC -o .libs/copyByteLong.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -DMACHINE_BYTE_ORDER=1 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT copyByteLong.lo -MD -MP -MF .deps/copyByteLong.Tpo -c copyByteLong.c -o copyByteLong.o >/dev/null 2>&1
mv -f .deps/copyByteLong.Tpo .deps/copyByteLong.Plo
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -DMACHINE_BYTE_ORDER=1 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT copyByteShort.lo -MD -MP -MF .deps/copyByteShort.Tpo -c -o copyByteShort.lo copyByteShort.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -DMACHINE_BYTE_ORDER=1 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT copyByteShort.lo -MD -MP -MF .deps/copyByteShort.Tpo -c copyByteShort.c -fPIC -DPIC -o .libs/copyByteShort.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -DMACHINE_BYTE_ORDER=1 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT copyByteShort.lo -MD -MP -MF .deps/copyByteShort.Tpo -c copyByteShort.c -o copyByteShort.o >/dev/null 2>&1
mv -f .deps/copyByteShort.Tpo .deps/copyByteShort.Plo
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -DMACHINE_BYTE_ORDER=1 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT copyCommon.lo -MD -MP -MF .deps/copyCommon.Tpo -c -o copyCommon.lo copyCommon.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -DMACHINE_BYTE_ORDER=1 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT copyCommon.lo -MD -MP -MF .deps/copyCommon.Tpo -c copyCommon.c -fPIC -DPIC -o .libs/copyCommon.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -DMACHINE_BYTE_ORDER=1 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT copyCommon.lo -MD -MP -MF .deps/copyCommon.Tpo -c copyCommon.c -o copyCommon.o >/dev/null 2>&1
mv -f .deps/copyCommon.Tpo .deps/copyCommon.Plo
/bin/bash ./libtool --tag=CC --mode=link gcc -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -DMACHINE_BYTE_ORDER=1 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o libcisd_nativedata.la -rpath /usr/local/lib copyByteChar.lo copyByteDouble.lo copyByteFloat.lo copyByteInt.lo copyByteLong.lo copyByteShort.lo copyCommon.lo
libtool: link: gcc -shared -fPIC -DPIC .libs/copyByteChar.o .libs/copyByteDouble.o .libs/copyByteFloat.o .libs/copyByteInt.o .libs/copyByteLong.o .libs/copyByteShort.o .libs/copyCommon.o -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-soname -Wl,libcisd_nativedata.so.0 -o .libs/libcisd_nativedata.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libcisd_nativedata.so.0" && ln -s "libcisd_nativedata.so.0.0.0" "libcisd_nativedata.so.0")
libtool: link: (cd ".libs" && rm -f "libcisd_nativedata.so" && ln -s "libcisd_nativedata.so.0.0.0" "libcisd_nativedata.so")
libtool: link: ar cru .libs/libcisd_nativedata.a copyByteChar.o copyByteDouble.o copyByteFloat.o copyByteInt.o copyByteLong.o copyByteShort.o copyCommon.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib .libs/libcisd_nativedata.a
libtool: link: ( cd ".libs" && rm -f "libcisd_nativedata.la" && ln -s "../libcisd_nativedata.la" "libcisd_nativedata.la" )
make[3]: Leaving directory '/<<PKGBUILDDIR>>/source/c'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/source/c'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
jh_build -i
dh_auto_test -i
fakeroot debian/rules binary-indep
dh binary-indep --with javahelper
dh_testroot -i
dh_prep -i
debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_install
dh_installdirs -plibsis-base-jni /usr/lib/jni
dh_installdirs: No packages to build.
cp -L source/c/.libs/*.so debian/*/usr/lib/jni/
cp: target 'debian/*/usr/lib/jni/' is not a directory
debian/rules:25: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:15: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit status 2
--------------------------------------------------------------------------------
Thanks.
More information about the Debian-med-packaging
mailing list