Quoting Jan Beich <[email protected]> (from Mon, 24 Jul 2023 13:52:43 +0200):

Alexander Leidinger <[email protected]> writes:

Hi,

a build with non-standard port options (mostly nox11 und related stuff
for a headless system, except for some ports where this doesn't work)
is giving me an unresolved symbol in
libQt6WebEngineCore.so.6.4.2. This symbol is
_ZN7sandbox6policy12SandboxLinux11GetInstanceEv.

I'm seeking some insight where this symbol comes from, so it would be
nice if someone could report back if their
libQt6WebEngineCore.so.6.4.2 also has this symbol as unresolved and
which libary does provide this symbol via:
  find /usr/local/lib -type f -print0 | xargs -0 nm -dynamic
  --print-file-name | grep SandboxLinux

The symbol is defined by WebEngine itself.

$ cd www/qt6-webengine
$ make clean patch
$ cd `make -V WRKSRC`
$ rg -lF 'SandboxLinux::GetInstance() {'
src/3rdparty/chromium/sandbox/policy/linux/sandbox_linux.cc
src/3rdparty/chromium/sandbox/policy/openbsd/sandbox_openbsd.cc
src/3rdparty/chromium/sandbox/policy/freebsd/sandbox_freebsd.cc

That doesn't sound promising. The qt6-webengine build succeeded, but this symbol is missing... :( As the port only has the audio options, it's not some direct influence which is causing it, but some indirect dependency on something in the dependecy chain I would assume.

I had a look at the faq and explanation of the sandbox at chromium.googlesource.com, but I didn't see any low level stuff which could help to identify why it isn't in the lib.

Bye,
Alexander.

--
http://www.Leidinger.net [email protected]: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    [email protected]  : PGP 0x8F31830F9F2772BF

Attachment: pgpiZmLcDy_bq.pgp
Description: Digitale PGP-Signatur

Reply via email to