Bug#578622: mplayer: FTBFS on kfreebsd-amd64 (vidix disable needed)

Diego Biurrun diego at biurrun.de
Thu Apr 22 14:07:09 UTC 2010


On Wed, Apr 21, 2010 at 04:50:59PM +0200, Petr Salinger wrote:
>>> the current version fails to build on kfreebsd-amd64.
>>> it suffices to disable vidix support in debian/rules
>
>> Bad solution, this will only work for Debian.  You should fix configure
>> instead of adding workarounds to the local packaging infrastructure.
>>
>> What are the error messages?
>
> The full build log is linked from usual place
> https://buildd.debian.org/status/package.php?p=mplayer
>
> https://buildd.debian.org/fetch.cgi?&pkg=mplayer&ver=1.0%7Erc3%2Bsvn20090405-1&arch=kfreebsd-amd64&stamp=1271726776&file=log
>
> vidix/pci.o: In function `pci_config_read':
> /build/buildd-mplayer_1.0~rc3+svn20090405-1-kfreebsd-amd64-tJVuOE/mplayer-1.0~rc3+svn20090405/vidix/pci.c:719: undefined reference to `pci_config_read_long'
> vidix/pci.o: In function `pci_scan':
> /build/buildd-mplayer_1.0~rc3+svn20090405-1-kfreebsd-amd64-tJVuOE/mplayer-1.0~rc3+svn20090405/vidix/pci.c:536: undefined reference to `pci_config_type'
> /build/buildd-mplayer_1.0~rc3+svn20090405-1-kfreebsd-amd64-tJVuOE/mplayer-1.0~rc3+svn20090405/vidix/pci.c:556: undefined reference to `pci_get_vendor'
> /build/buildd-mplayer_1.0~rc3+svn20090405-1-kfreebsd-amd64-tJVuOE/mplayer-1.0~rc3+svn20090405/vidix/pci.c:568: undefined reference to `pci_config_read_long'
> /build/buildd-mplayer_1.0~rc3+svn20090405-1-kfreebsd-amd64-tJVuOE/mplayer-1.0~rc3+svn20090405/vidix/pci.c:570: undefined reference to `pci_config_read_long'
> /build/buildd-mplayer_1.0~rc3+svn20090405-1-kfreebsd-amd64-tJVuOE/mplayer-1.0~rc3+svn20090405/vidix/pci.c:572: undefined reference to `pci_config_read_long'
> /build/buildd-mplayer_1.0~rc3+svn20090405-1-kfreebsd-amd64-tJVuOE/mplayer-1.0~rc3+svn20090405/vidix/pci.c:574: undefined reference to `pci_config_read_long'
> /build/buildd-mplayer_1.0~rc3+svn20090405-1-kfreebsd-amd64-tJVuOE/mplayer-1.0~rc3+svn20090405/vidix/pci.c:576: undefined reference to `pci_config_read_long'
> vidix/pci.o:/build/buildd-mplayer_1.0~rc3+svn20090405-1-kfreebsd-amd64-tJVuOE/mplayer-1.0~rc3+svn20090405/vidix/pci.c:578: more undefined references to `pci_config_read_long' follow

That was helpful, fixed upstream.

I once again reiterate my suggestion to pass problems to upstream first
before attempting to work around them locally in the packaging
infrastructure of a single distribution.

Diego





More information about the pkg-multimedia-maintainers mailing list