FS#58447 - [freetype2] [grub] [php] things fail to build because freetype-config no longer exists
Attached to Project:
Arch Linux
Opened by edac val (edacval) - Thursday, 03 May 2018, 23:35 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 11 December 2019, 12:51 GMT
Opened by edac val (edacval) - Thursday, 03 May 2018, 23:35 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 11 December 2019, 12:51 GMT
|
Details
Description:
After updating freetype2 to 2.9.1-1, grub build fails with error: ` checking for freetype-config... no configure: error: grub-mkfont was explicitly requested but can't be compiled (need freetype2 library) ==> ERROR: A failure occurred in build(). ` Additional info: * package version(s) grub 2:2.02-5 * config and/or log files etc. I think, these two changes are the cause of the error: http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=b0a93839b52818abbfe9b4c8755b4aa0f5232063 http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=a7833f26c4ac45cafe1dffdcd7f7dcfd6493161c Steps to reproduce: asp checkout grub cd grub/repos/core-x86_64 makepkg -sCcrf |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Wednesday, 11 December 2019, 12:51 GMT
Reason for closing: Not a bug
Additional comments about closing: Things have calmed down and project seem to respect now freetype pkg-config.
Wednesday, 11 December 2019, 12:51 GMT
Reason for closing: Not a bug
Additional comments about closing: Things have calmed down and project seem to respect now freetype pkg-config.
Or their bugtracker: https://savannah.gnu.org/bugs/?group=grub
They should really stop using this gross *-config script and start using pkg-config properly.
FS#58468, duplicated with the current php PKGBUILD in trunk.We have two packages in the repos which suck and don't use pkg-config, who knows how many more. :(
I'd love to say they should stop relying on it existing, but that doesn't help us right now...
EDIT: okay, I'm tired...
I fixed this for grub, but other packages are still affected.
How will we find the broken things if we paper over the error? It's not a hard fix, usually.
It's unacceptable that there is no way to install it other than to build the whole freetype package by hand!
This package is indeed broken until freetype-config is back or a new package provides this utility.
I ended up reverting the package to the previous version on my machine and I won't update it until it's fixed...
Our php package has been patched in [extra], therefore php is not a problem. The AUR package should adapt the same way.
Is there any other repo package that has issues?
EDIT
Upstream already aware - https://github.com/mapnik/mapnik/issues/3870
GRUB2 will be compiled with following components:
Platform: i386-pc
With devmapper support: Yes
With memory debugging: Yes
With disk cache statistics: Yes
With boot time statistics: Yes
efiemu runtime: Yes
grub-mkfont: Yes
grub-mount: Yes
starfield theme: No (No build-time grub-mkfont)
With libzfs support: No (need zfs library)
Build-time grub-mkfont: No (need freetype2 library)
Without unifont (no build-time grub-mkfont)
With liblzma from -llzma (support for XZ-compressed mips images)
Fixed it by creating /usr/local/freetype-config:
#!/bin/sh
pkgconf "$@" freetype2
And chmod +x /usr/local/bin/freetype-config