Bug#904052: ffmpeg: FTBFS on hurd-i386: wrong value for --target-os at configure

James Cowgill jcowgill at debian.org
Sat Jul 21 16:59:13 BST 2018


Hi,

On 18/07/18 22:18, Pino Toscano wrote:
> Source: ffmpeg
> Version: 7:4.0-3
> Severity: important
> Tags: patch
> User: debian-hurd at lists.debian.org
> Usertags: hurd
> 
> Hi,
> 
> ffmpeg fails to build on hurd-i386 [1].
> 
> Since version 7:4.0-3 (commit d3d378eb963734f2d330754300a63eb440f2d676
> in the packaging Git) --target-os is passed in all the cases to
> configure, using $DEB_HOST_ARCH_OS as value.  The problem is that
> configure expects for --target-os a (lowercase) value among the
> possible ones returned by `uname -s`, which is "GNU" for Hurd.  OTOH,
> $DEB_HOST_ARCH for hurd-* archs is "hurd", and thus configure fails
> with "Unknown OS".
> 
> Attached there is a patch to use a custom variable for --target-os,
> using the mapping needed (so far for hurd-* only).

I think I'll just move the --target-os option back into the cross
compilation block which will at least fix the native build. In the above
commit it was only the --arch option which was important to always specify.

Maybe upstream FFmpeg could be taught to accept "hurd" as an alternate
name for "gnu" in --target-os?

Jame

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-multimedia-maintainers/attachments/20180721/4fda7e6c/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list