[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#794994: graphite2: FTBFS on !linux archs



Hi,

On Sun, Aug 09, 2015 at 08:18:11AM +0200, Pino Toscano wrote:
> graphite2 1.3.0-1 fails to build on kFreeBSD [1][2] and Hurd [3].

Yeah, noticed already, but thanks.

> The problem is that tests/graphite.py does not have any library item
> for these platforms registered in the grfiles dictionary, so the script
> will fail with a KeyError exception.

Got that and my nasty patch was just to add a new line for "gnukfreebsd9" :)

> The fix, which is suitable for upstream (so please do forward it),
> is to slightly rework the logic for knowing the library name on the
> current platform: since there will be far more platforms with the name
> libgraphite2.so (Linux, kFreeBSD, Hurd, and any other BSD platform for
> sure), then fallback to that name for missing items in the grfiles
> dictionary. Hence, that dictionary contains now only platforms where
> the library name is not libgraphite2.so, and the linux2 mapping is no
> more needed.
> Patch attached for this.

Will do.

Regards,

Rene


Reply to: