Bug#908279: lua-torch-image: FTBFS (TH.h: No such file or directory)

Juhani Numminen juhaninumminen0 at gmail.com
Sat Sep 8 08:04:48 BST 2018


On Fri, 07 Sep 2018 21:01:31 +0000 Santiago Vila <sanvila at debian.org> wrote:

> Dear maintainer:
> 
> I tried to build this package in buster but it failed:
> [...]

> 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>

It looks like lua-torch-torch7 moved TH.h from /usr/include/TH to /usr/include/lua5.1/TH,
which caused lua-torch-image to FTBFS.

https://salsa.debian.org/science-team/lua-torch-torch7/commit/0f19b6da6ad5f9f30de24ff6ca49897d46b95f29


Juhani



More information about the debian-science-maintainers mailing list