[Bug 231125] x11/xcb-util-renderutil 0.3.9 build fails as dependency for cairo-1.14.8_2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 5 00:37:05 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231125

Ting-Wei Lan <lantw44 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lantw44 at gmail.com

--- Comment #6 from Ting-Wei Lan <lantw44 at gmail.com> ---
(In reply to Dennis Clarke from comment #0)
> ===>  Building for xcb-util-renderutil-0.3.9_1
> gmake[8]: Entering directory '/usr/ports/x11/xcb-util-renderutil/work/xcb-util-renderutil-0.3.9'
> /bin/sh ./config.status --recheck
Did you build with a clean 'work' directory? It looks like you use an old
'work' directory because 'config.status' is a script generated by 'configure'.
It should not exist if you did a clean build.

> /bin/sh ../libtool  --tag=CC   --mode=link cc -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -pipe  -fstack-protector -fno-strict-aliasing -no-undefined -fstack-protector -o libxcb-render-util.la -rpath /usr/local/lib cache.lo util.lo glyph.lo -L/usr/local/lib -lxcb  -L/usr/local/lib -lxcb-render  
> libtool: link: cc -shared  -fPIC -DPIC  .libs/cache.o .libs/util.o .libs/glyph.o   -L/usr/local/lib -lxcb -lxcb-render  -O2 -fstack-protector -fstack-protector   -Wl,-soname -Wl,libxcb-render-util.so.0.0.0 -o .libs/libxcb-render-util.so.0.0.0
This line is wrong. It should be '-Wl,-soname -Wl,libxcb-render-util.so.0'.

(In reply to Dennis Clarke from comment #1)
> titan# ls -lap /usr/local/lib/libxcb-render-util.*
> -rw-r--r--  1 root  wheel  39292 Sep  3 19:35 /usr/local/lib/libxcb-render-util.a
> -rwxr-xr-x  1 root  wheel   1049 Sep  3 19:35 /usr/local/lib/libxcb-render-util.la
> lrwxr-xr-x  1 root  wheel     27 Sep  3 19:35 /usr/local/lib/libxcb-render-util.so -> libxcb-render-util.so.0.0.0
> -rwxr-xr-x  1 root  wheel  30880 Sep  3 19:35 /usr/local/lib/libxcb-render-util.so.0.0.0
Please remember to remove the .la file after doing the test. .la files are
useless for dynamic linking and they are known to cause a lot of linking
troubles. FreeBSD ports remove them by default unless USES=libtool:keepla is
used.

(In reply to Shane from comment #3)
> So the quick fix would be to create a link from libxcb-render-util.so to libxcb-render-util.so.0 or just remove it from pkg-plist
No, it can't be removed. libxcb-render-util.so.0 is the SONAME of the library
and it must exist.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-emulation mailing list