libffi error building graphics/wayland (not found)

Jan Beich jbeich at FreeBSD.org
Wed Jan 1 00:22:43 UTC 2020


Ellenor Malik <ellenor at umbrellix.net> writes:

> Please see attached the config.log from
> regeneratus.bc.ca.umbrellix.net when attempting to compile
> x11/xorg. It was in graphics/wayland, which I have no idea as to why
> that's an indirect dependency of x11/xorg.

Builds fine on FreeBSD package cluster e.g.,

http://beefy9.nyi.freebsd.org/data/latest-per-pkg/wayland/1.16.0_1/113amd64-default.log
http://beefy10.nyi.freebsd.org/data/latest-per-pkg/wayland/1.16.0_1/113i386-default.log
http://beefy6.nyi.freebsd.org/data/latest-per-pkg/wayland/1.16.0_1/120amd64-default.log
http://beefy5.nyi.freebsd.org/data/latest-per-pkg/wayland/1.16.0_1/120i386-default.log

libwayland is required by Mesa as used by Xorg via Xwayland, Xserver (DRI API).

> hostname = Regeneratus.BC.CA.Umbrellix.NET
> uname -m = amd64
> uname -r = 12.0-STABLE-HBSD
> uname -s = FreeBSD
> uname -v = FreeBSD 12.0-STABLE-HBSD  HARDENEDBSD-12-STABLE 
[...
> configure:16516: checking for FFI
> configure:16523: $PKG_CONFIG --exists --print-errors "libffi"
> Package libffi was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libffi.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'libffi', required by 'virtual:world', not found

Maybe HardenedBSD changed LOCALBASE recently. If so bsd.port.mk may
detect libffi.so from /usr/local but pkg-config look under /Packages/hbsd.


More information about the freebsd-x11 mailing list