Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Jan 2020 01:22:41 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Ellenor Malik <ellenor@umbrellix.net>
Cc:        x11@freebsd.org
Subject:   Re: libffi error building graphics/wayland (not found)
Message-ID:  <36d0-dnzi-wny@FreeBSD.org>
In-Reply-To: <20191231184855.DE983CCA21@umbrellix.net> (Ellenor Malik's message of "Tue, 31 Dec 2019 10:48:55 -0800")
References:  <20191231184855.DE983CCA21@umbrellix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Ellenor Malik <ellenor@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36d0-dnzi-wny>