Control: reassign -1 libtesseract-dev 4.1.1-1
Control: retitle -1 libtesseract-dev: missing dependency on libarchive-dev
Control: affects -1 src:ffmpeg

Hi,

On 17/01/2020 11:51, Mattia Rizzolo wrote:
> Source: ffmpeg
> Version: 4.2.1-2
> Severity: serious
> Tags: ftbfs
> 
> Dear maintainer,
> 
> your package failed to rebuild in a standard sid/amd64 chroot.
> Attached is the full build log, hopefully relevant excerpt follows:
> 
> ERROR: tesseract not found using pkg-config
> make[1]: *** [debian/rules:225: override_dh_auto_configure] Error 1
> make[1]: Leaving directory '/build/ffmpeg-4.2.1'
> make: *** [debian/rules:220: binary] Error 2
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 
> 2

And the few lines before that error are:
> gcc [omitted] -ltesseract -larchive
> /usr/bin/ld: cannot find -larchive
> collect2: error: ld returned 1 exit status
> ERROR: tesseract not found using pkg-config
> make[1]: *** [debian/rules:225: override_dh_auto_configure] Error 1

If I install libtesseract-dev and nothing else, building something
against the libraries in the pkg-config file give the same error:
> $ echo 'int main(void) {}' | gcc -x c - $(pkg-config --cflags --libs 
> tesseract) 
> /usr/bin/ld: cannot find -larchive
> collect2: error: ld returned 1 exit status

So I think this is a bug in tesseract.

Thanks,
James

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to