Bug#908279: lua-torch-image: FTBFS (TH.h: No such file or directory)
Santiago Vila
sanvila at debian.org
Fri Sep 7 22:01:31 BST 2018
Package: src:lua-torch-image
Version: 0~20170420-g5aa1881-6
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-arch
dh build-arch --buildsystem=lua --with lua
dh_update_autotools_config -a -O--buildsystem=lua
dh_autoreconf -a -O--buildsystem=lua
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
ln -s . image
dh_auto_configure
make --no-print-directory -f /usr/share/dh-lua/make/dh-lua.Makefile.multiple configure
Making target configure for debian/lua5.1.dh-lua.conf
# .install
Filling in debian/lua-torch-image.install using /usr/share/dh-lua/template/lib.install.in
Adding new line: usr/lib/x86_64-linux-gnu/lua/5.1/libimage.so
Adding new line: usr/lib/x86_64-linux-gnu/liblua5.1-torch-image.so.*
Adding new line: usr/share/lua/5.1/image/init.lua
Adding new line: usr/share/lua/5.1/image//test.lua
Filling in debian/lua-torch-image-dev.install using /usr/share/dh-lua/template/dev.install.in
Adding new line: usr/lib/x86_64-linux-gnu/liblua5.1-torch-image.so
Adding new line: usr/lib/x86_64-linux-gnu/liblua5.1-torch-image.a
Adding new line: usr/lib/x86_64-linux-gnu/pkgconfig/lua5.1-torch-image.pc
Adding new line: usr/include/lua5.1/lua-torch-image.h
# lua_versions
Filling in debian/lua_versions
Adding new line: 5.1
Target configure made
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build -a -O--buildsystem=lua
make --no-print-directory -f /usr/share/dh-lua/make/dh-lua.Makefile.multiple build
Making target build for debian/lua5.1.dh-lua.conf
libtool --silent --tag=CC --mode=compile cc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.1 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/generic -I/usr/include/TH/ -DHAVE_JPEG_MEM_SRC -DHAVE_JPEG_MEM_DEST -Wall -Wextra -o /<<PKGBUILDDIR>>/5.1-torch-image/ppm.lo ppm.c
X/<<PKGBUILDDIR>>/5.1-torch-image/ppm.lo
libtool: warning: libobj name '/<<PKGBUILDDIR>>/5.1-torch-image/ppm.lo' may not contain shell special characters.
ppm.c:2:10: fatal error: TH.h: No such file or directory
#include <TH.h>
^~~~~~
compilation terminated.
make[2]: *** [/usr/share/dh-lua/make/dh-lua.Makefile.single:436: /<<PKGBUILDDIR>>/5.1-torch-image/ppm.lo] Error 1
make[1]: *** [/usr/share/dh-lua/make/dh-lua.Makefile.multiple:12: build] Error 1
dh_auto_build: make --no-print-directory -f /usr/share/dh-lua/make/dh-lua.Makefile.multiple build returned exit code 2
make: *** [debian/rules:7: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------
That's from my autobuilder, but it also fails here:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/lua-torch-image.html
where you can get a full build log if you need it.
If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.
Thanks.
More information about the debian-science-maintainers
mailing list