Bug#582037: idjc: FTBFS error: ffmpeg/avcodec.h: No such file or directory

Fabian Greffrath greffrath at leat.rub.de
Wed May 19 08:12:38 UTC 2010


tags 582037 + patch
thank

Am 18.05.2010 11:34, schrieb Jakub Wilk:
> I believe that bashisms are the only problems here. The bug didn't
> trigger earlier, because dash didn't support LINENO and configure
> scripts try to avoid such shells; as a result, the configure script was
> effectively run by bash. However, LINENO has been implemented in dash
> (>= 0.5.5.1-4), so the script is run by /bin/sh now.

Indeed! The attached patch also fixes the FTBFS by simply fixing the 
bashism. Obviously the ampersand character ('&') in the line calling 
gcc has been interpreted by dash to run the compilation in the 
background and proceed with the script, which already checked the exit 
status and thus never realized that the compilation failed.

Cheers,
Fabian

-- 
Dipl.-Phys. Fabian Greffrath

Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum

Telefon: +49 (0)234 / 32-26334
Fax:     +49 (0)234 / 32-14227
E-Mail:  greffrath at leat.ruhr-uni-bochum.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-bashism-in-configure.patch
Type: text/x-diff
Size: 594 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20100519/c6e599be/attachment.patch>


More information about the pkg-multimedia-maintainers mailing list