On Thu, 2008-04-24 at 14:44 +0200, Nicolas Letellier wrote:
> Hi [EMAIL PROTECTED]
> 
> 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)
> ar cru .libs/libglib-2.0.a  garray.o gasyncqueue.o gatomic.o
> gbacktrace.o gbase64.o gbookmarkfile.o gcache.o gchecksum.o
> gcompletion.o gconvert.o gdataset.o gdate.o gdir.o gerror.o
> gfileutils.o ghash.o ghook.o giochannel.o gkeyfile.o glist.o gmain.o
> gmappedfile.o gmarkup.o gmem.o gmessages.o gnode.o goption.o gpattern.o
> gprimes.o gqsort.o gqueue.o grel.o grand.o gregex.o gscanner.o
> gsequence.o gshell.o gslice.o gslist.o gstdio.o gstrfuncs.o gstring.o
> gtestutils.o gthread.o gthreadpool.o gtimer.o gtree.o guniprop.o
> gutf8.o gunibreak.o gunicollate.o gunidecomp.o gurifuncs.o gutils.o
> gprintf.o giounix.o
> gspawn.o  .libs/libglib-2.0.lax/lt1-libcharset.a/localcharset.o
> ranlib .libs/libglib-2.0.a rm
> -fr .libs/libglib-2.0.lax .libs/libglib-2.0.lax creating libglib-2.0.la
> (cd .libs && rm -f libglib-2.0.la && ln -s ../libglib-2.0.la
> libglib-2.0.la) cc -DHAVE_CONFIG_H -I. -I..  -I.. -I/usr/local/include
> -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED
> -DGLIB_COMPILATION -DPCRE_STATIC -I/usr/local/include -pthread  -O2
> -pipe -Wall -MT gtester.o -MD -MP -MF .deps/gtester.Tpo -c -o gtester.o
> gtester.c mv
> -f .deps/gtester.Tpo .deps/gtester.Po /usr/local/bin/libtool
> --tag=CC   --mode=link cc  -O2 -pipe -Wall  -L/usr/local/lib -o gtester
> gtester.o libglib-2.0.la -lintl -liconv cc -O2 -pipe -Wall
> -o .libs/gtester gtester.o  -L/usr/local/lib -L./.libs -lglib-2.0
> -lpcre -lintl -liconv
> -Wl,-rpath,/usr/local/lib /usr/local/lib/libglib-2.0.so.1400.3:
> warning: vsprintf() is often misused, please use
> vsnprintf() /usr/local/lib/libglib-2.0.so.1400.3: warning: strcpy() is
> almost always misused, please use
> strlcpy() /usr/local/lib/libglib-2.0.so.1400.3: warning: strcat() is
> almost always misused, please use strlcat() gtester.o(.text+0x56c): In
> function `child_report_cb': : undefined reference to
> `g_test_log_buffer_push' gtester.o(.text+0x574): In function
> `child_report_cb': : undefined reference to `g_test_log_buffer_pop'
> gtester.o(.text+0x592): In function `child_report_cb': : undefined
> reference to `g_test_log_msg_free' gtester.o(.text+0x8f1): In function
> `launch_test_binary': : undefined reference to `g_test_log_buffer_new'
> gtester.o(.text+0x9fe): In function `launch_test_binary': : undefined
> reference to `g_test_log_buffer_free' gtester.o(.text+0x14ff): In
> function `fixture_setup': : undefined reference to
> `g_assertion_message_cmpnum' gtester.o(.text+0x152e): In function
> `fixture_test': : undefined reference to `g_test_message'
> gtester.o(.text+0x153a): In function `fixture_test': : undefined
> reference to `g_test_bug_base' gtester.o(.text+0x1546): In function
> `fixture_test': : undefined reference to `g_test_bug'
> gtester.o(.text+0x1552): In function `fixture_test': : undefined
> reference to `g_test_bug_base' gtester.o(.text+0x15b1): In function
> `fixture_test': : undefined reference to `g_assertion_message_cmpnum'
> gtester.o(.text+0x1626): In function `fixture_teardown': : undefined
> reference to `g_assertion_message_cmpnum' gtester.o(.text+0x1645): In
> function `main_selftest': : undefined reference to `g_test_init'
> gtester.o(.text+0x1664): In function `main_selftest': : undefined
> reference to `g_test_add_vtable' gtester.o(.text+0x166c): In function
> `main_selftest': : undefined reference to `g_test_run'
> gtester.o(.text+0x1565): In function `fixture_test': : undefined
> reference to `g_test_bug' collect2: ld returned 1 exit status gmake[4]:
> *** [gtester] Error 1 gmake[4]: Leaving directory
> `/usr/ports/devel/glib2/w-glib-2.16.1/glib-2.16.1/glib' gmake[3]: ***
> [all-recursive] Error 1 gmake[3]: Leaving directory
> `/usr/ports/devel/glib2/w-glib-2.16.1/glib-2.16.1/glib' gmake[2]: ***
> [all] Error 2 gmake[2]: Leaving directory
> `/usr/ports/devel/glib2/w-glib-2.16.1/glib-2.16.1/glib' gmake[1]: ***
> [all-recursive] Error 1 gmake[1]: Leaving directory
> `/usr/ports/devel/glib2/w-glib-2.16.1/glib-2.16.1' gmake: *** [all]
> Error 2 *** Error code 2
> 
> Stop in /usr/ports/devel/glib2 (line 2098
> of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1
> 
> Stop in /usr/ports/devel/glib2 (line 1398
> of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1
> 
> Stop in /usr/ports/devel/glib2 (line 1896
> of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1
> 
> Stop in /usr/ports/devel/glib2 (line 1428
> of /usr/ports/infrastructure/mk/bsd.port.mk).
> 
> 
> 
> (I just past the end).
> 
> I use a -current system (userland and kernel and xenocara were built
> this morning. My /usr/src/ /usr/xenocara /usr/ports are up to date to
> -current).
> I rm -rf /usr/ports and re-checkout it: problem is the same. I cannot
> take a snapshot package about it because snapshot packages are out of
> date.
> 
> Thanks for your help.
> 
>  - Nicolas.

You need to uninstall the glib2-2.14.3 package before building the
glib2-2.16.1 package.

Brad Walker

Reply via email to