[blfs-support] libgpg-error

Chris Staub chris at beaker67.com
Sat Nov 14 15:59:53 PST 2015

On 11/14/2015 11:59 AM, Pol Vangheluwe wrote:
> I am using BLFS-7.6-systemd to extend my LFS-7.7-systemd system.
> The build of libgpg-error-1.13 fails with:
> Making all in src
> make[2]: Map '/BLFS_sources/libgpg-error-1.13/src' wordt binnengegaan
> gawk -f ./mkerrnos.awk ./errnos.in >code-to-errno.h
> gawk -f ./mkerrcodes1.awk ./errnos.in >_mkerrcodes.h
> gcc -E   _mkerrcodes.h | grep GPG_ERR_ | \
>                 gawk -f ./mkerrcodes.awk >mkerrcodes.h
> rm _mkerrcodes.h
> gcc -I. -I. -o mkerrcodes ./mkerrcodes.c
> In file included from ./mkerrcodes.c:26:0:
> ./mkerrcodes.h:9:5: fout: expected expression before ',' token
>     { , "GPG_ERR_E2BIG" },
>       ^
> (…)
> All error codes are missing in the file mkerrcodes.h, created by gawk…
> I see however that the standard BLFS book uses libgpg-error-1.20 and I could successfully build this version on my system.
> Looks like a compatibility problem between version 13 and gawk or gcc?
> What about the note: “This package is known to build and work properly using an LFS-7.6 systemd platform.”?
> Maybe add a wiki note to suggest using a higher version?
> pvg
Or just use the non-systemd version of BLFS 7.7 for the package versions 
to install, most package installations aren't going to be changed by the 
presence of systemd.

More information about the blfs-support mailing list