Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Sep 2018 00:37:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 231125] x11/xcb-util-renderutil 0.3.9 build fails as dependency for cairo-1.14.8_2
Message-ID:  <bug-231125-6497-GrymunGT3E@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-231125-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-231125-6497@https.bugs.freebsd.org/bugzilla/>

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

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

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

--- Comment #6 from Ting-Wei Lan <lantw44@gmail.com> ---
(In reply to Dennis Clarke from comment #0)
> =3D=3D=3D>  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 'configur=
e'.
It should not exist if you did a clean build.

> /bin/sh ../libtool  --tag=3DCC   --mode=3Dlink cc -Wall -Wpointer-arith -=
Wmissing-declarations -Wformat=3D2 -Wstrict-prototypes -Wmissing-prototypes=
 -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-=
after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmiss=
ing-format-attribute -Wredundant-decls -Werror=3Dimplicit -Werror=3Dnonnull=
 -Werror=3Dinit-self -Werror=3Dmain -Werror=3Dmissing-braces -Werror=3Dsequ=
ence-point -Werror=3Dreturn-type -Werror=3Dtrigraphs -Werror=3Darray-bounds=
 -Werror=3Dwrite-strings -Werror=3Daddress -Werror=3Dint-to-pointer-cast -W=
error=3Dpointer-to-int-cast -O2 -pipe  -fstack-protector -fno-strict-aliasi=
ng -no-undefined -fstack-protector -o libxcb-render-util.la -rpath /usr/loc=
al/lib cache.lo util.lo glyph.lo -L/usr/local/lib -lxcb  -L/usr/local/lib -=
lxcb-render=20=20
> 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 -fstac=
k-protector   -Wl,-soname -Wl,libxcb-render-util.so.0.0.0 -o .libs/libxcb-r=
ender-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-rende=
r-util.a
> -rwxr-xr-x  1 root  wheel   1049 Sep  3 19:35 /usr/local/lib/libxcb-rende=
r-util.la
> lrwxr-xr-x  1 root  wheel     27 Sep  3 19:35 /usr/local/lib/libxcb-rende=
r-util.so -> libxcb-render-util.so.0.0.0
> -rwxr-xr-x  1 root  wheel  30880 Sep  3 19:35 /usr/local/lib/libxcb-rende=
r-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=3Dlibtool: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 libra=
ry
and it must exist.

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



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