Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Sep 2020 08:48:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 249328] editors/libreoffice: link failure on canvasdemo
Message-ID:  <bug-249328-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249328

            Bug ID: 249328
           Summary: editors/libreoffice: link failure on canvasdemo
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: office@FreeBSD.org
          Reporter: bsdpr@phoe.frmug.org
          Assignee: office@FreeBSD.org
             Flags: maintainer-feedback?(office@FreeBSD.org)

The libreoffice port revision 7.0.1.2 fails to link canvasdemo

[...]
[build LNK] Executable/canvasdemo
S=3D/usr/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-7.0.1.2 &&
I=3D$S/instdir && W=3D$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=20
-Wl,--hash-style=3Dgnu  -Wl,-Bsymbolic-functions -L$W/LinkTarget/StaticLibr=
ary
-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=20=20=20
-L/usr/local/lib  $W/CxxObject/canvas/workben/canvasdemo.o=20=20=20=20=20
-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=20
/usr/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-7.0.1.2/instd=
ir/program/libskialo.so:
undefined reference to `XGetXCBConnection'
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)
[...]

Shouldn't -lX11-xcb be used instead of -lX11?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249328-7788>