On Thu, 24 Apr 2008, Nicolas Letellier wrote:
I upgrade this morning my system from an old current to the new
current. After, I launch infrastructure/build/out-of-date to see my old
ports. I see my glib2 is out of date.
But I can't compile devel/glib2 port.
See the error:
mkdir .libs/libglib-2.0.lax/lt1-libcharset.a
(cd .libs/libglib-2.0.lax/lt1-libcharset.a && ar
x
/usr/ports/devel/glib2/w-glib-2.16.1/glib-2.16.1/glib/libcharset/.libs/libcharset.a)
^^
[...]
vsnprintf() /usr/local/lib/libglib-2.0.so.1400.3: warning: strcpy() is
^^^^
I have marked the important pieces of the output above. The glib2
libtool is broken and tries to pull in the old installed lib, which had
another version number. An unsupported workaround would be to add the
line
LIBTOOL=/usr/ports/infrastructure/build/libtool
to the Makefile of the port. Works for me here, but may not work for
others. If you got past that problem you will see that the pango port
has the same problem. Same fix made it work here too.
Recently, there was a mail on misc@ or ports@ that explained why this is
no propper fix.
Kind regards,
Markus