The libreoffice port revision 220.127.116.11 fails to link canvasdemo
[build LNK] Executable/canvasdemo
S=/usr/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-18.104.22.168 && I=$S/instdir && W=$S/workdir && c++ -pthread -Wl,-z,origin '-Wl,-rpath,$ORIGIN/../Library' -Wl,-rpath-link,$I/program -fstack-protector-strong -Wl,-rpath-link,/lib:/usr/lib -Wl,-z,combreloc -Wl,--hash-style=gnu -Wl,-Bsymbolic-functions -L$W/LinkTarget/StaticLibrary -L$I/sdk/lib -L$I/program -L$I/program -L$W/LinkTarget/Library -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector-strong -L/usr/local/lib $W/CxxObject/canvas/workben/canvasdemo.o -Wl,--start-group $W/LinkTarget/StaticLibrary/libvclmain.a $W/LinkTarget/StaticLibrary/libglxtest.a -lm -lX11 -Wl,--end-group -Wl,--no-as-needed -lbasegfxlo -lcomphelper -luno_cppu -luno_cppuhelpergcc3 -ltllo -luno_sal -luno_salhelpergcc3 -lvcllo -o $W/LinkTarget/Executable/canvasdemo
/usr/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-22.214.171.124/instdir/program/libskialo.so: undefined reference to `XGetXCBConnection'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
Shouldn't -lX11-xcb be used instead of -lX11?
Just wanted to make sure, do you use the default options or there are some customized settings?
Created attachment 217980 [details]
Ports configuration tree of the affected host (A)
Created attachment 217981 [details]
Ports configuration tree of the unaffected host (B)
I attempted two installations of lo on two different hosts with two different outcomes: one for which the failure is reported above (host A); one on which the port was successfully installed (host B). For both hosts I attached the full ports configuration tree.
Host A runs 11-STABLE (rev 365447), host B runs 12-STABLE (rev 360207).