On Wed, Oct 17, 2007 at 10:13:32AM -0600, brad walker wrote:
> Hello,
> 
> glib2.diff applied cleanly to the -current ports tree. Unfortunately it
> didn't build for me. This system runs amd64#1414 from tuesday october
> 16th, 2007.
hi,

it's seems you already have an installed glib. you must remove that
before you can build the newer one.

thanks,

jasper

> 
> Build excerpt:
> 
> /usr/local/bin/libtool  --mode=link cc  -O2 -pipe -Wall
> -L/usr/local/lib -o libmoduletestplugin_b.la -rpath /usr/local/lib
> -Wl,-E -avoid-version -module  -rpath /usr/local/lib
> libmoduletestplugin_b.lo  ../gmodule/libgmodule-2.0.la ../glib/libglib-2.0.la 
> -lintl -liconv 
> rm
> -fr  .libs/libmoduletestplugin_b.a .libs/libmoduletestplugin_b.la 
> .libs/libmoduletestplugin_b.lai .libs/libmoduletestplugin_b.so
> cc -shared  -fPIC -DPIC
> -o .libs/libmoduletestplugin_b.so  .libs/libmoduletestplugin_b.o
> -L/usr/ports/devel/glib2/w-glib-2.14.1/glib-2.14.1/glib/.libs
> -L/usr/local/lib -liconv -lintl -L../glib/.libs -lglib-2.0
> -L../gmodule/.libs -lgmodule-2.0  -Wl,-E
> ar cru .libs/libmoduletestplugin_b.a  libmoduletestplugin_b.o
> ranlib .libs/libmoduletestplugin_b.a
> creating libmoduletestplugin_b.la
> (cd .libs && rm -f libmoduletestplugin_b.la && ln
> -s ../libmoduletestplugin_b.la libmoduletestplugin_b.la)
> /usr/local/bin/libtool  --mode=link cc  -O2 -pipe -Wall
> -L/usr/local/lib -o testglib  testglib.o ../glib/libglib-2.0.la -lintl
> -liconv 
> cc -O2 -pipe -Wall -o .libs/testglib testglib.o  -L/usr/local/lib
> -L../glib/.libs -lglib-2.0 -lintl -liconv -Wl,-rpath,/usr/local/lib
> /usr/local/lib/libglib-2.0.so.1200.13: warning: vsprintf() is often
> misused, please use vsnprintf()
> testglib.o(.text+0x426a): In function `main':
> /usr/ports/devel/glib2/w-glib-2.14.1/glib-2.14.1/tests/testglib.c:1482:
> warning: strcpy() is almost always misused, please use strlcpy()
> /usr/local/lib/libglib-2.0.so.1200.13: warning: strcat() is almost
> always misused, please use strlcat()
> testglib.o(.text
> +0x17a7):/usr/ports/devel/glib2/w-glib-2.14.1/glib-2.14.1/tests/testglib.c:600:
>  undefined reference to `g_get_user_special_dir'
> testglib.o(.text
> +0x17c7):/usr/ports/devel/glib2/w-glib-2.14.1/glib-2.14.1/tests/testglib.c:602:
>  undefined reference to `g_get_user_special_dir'
> testglib.o(.text
> +0x17e7):/usr/ports/devel/glib2/w-glib-2.14.1/glib-2.14.1/tests/testglib.c:604:
>  undefined reference to `g_get_user_special_dir'
> collect2: ld returned 1 exit status
> gmake[3]: *** [testglib] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/devel/glib2/w-glib-2.14.1/glib-2.14.1/tests'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/devel/glib2/w-glib-2.14.1/glib-2.14.1/tests'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/devel/glib2/w-glib-2.14.1/glib-2.14.1'
> gmake: *** [all] Error 2
> *** Error code 2
> 
> Stop in /usr/ports/devel/glib2 (line 2063
> of /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
> 
> Stop in /usr/ports/devel/glib2 (line 1373
> of /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
> 
> Stop in /usr/ports/devel/glib2 (line 1861
> of /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
> 
> Stop in /usr/ports/devel/glib2 (line 1421
> of /usr/ports/infrastructure/mk/bsd.port.mk).
> 
> On Tue, 2007-10-16 at 06:59 +0200, Jasper Lievisse Adriaanse wrote:
> > On Mon, Oct 15, 2007 at 11:15:56PM +0200, Jasper Lievisse Adriaanse wrote:
> > > hi,
> > > 
> > > here's an update to take gtk+2 and friends to the next major release.
> > > 
> > > please test and comment.
> > > breakage is expected, mainly due to the new tooltip implementation,
> > > please let me know if you experience it. (full build logs attached
> > > please).
> > > 
> > > cheers,
> > > jasper
> > > 
> > > changes:
> > > glib:
> > > GRegex, an implementation of Perl regular expressions based on PCRE, was
> > > added. GSequence, a list implemented using a balanced binary tree, was
> > > added. Support for xdg-user-dirs was added. All the bugfixes and
> > > enhancements from the 2.13 development branch were integrated.
> > > 
> > > gtk:
> > > A completely new tooltip implementation was introduced. A new interface
> > > builder, GtkBuilder, was added. Keyboard navigation was improved.
> > > GtkScaleButton, GtkVolumeButton, and GtkRecentAction were added. Search
> > > functionality was added to the file chooser, supporting several
> > > backends. Many bugs were fixed. Translations were updated.
> > > 
> > > 
> > > -- 
> > > "The good life is one inspired by love and guided by knowledge."
> > >    -- Bertrand Russel
> > >
> > oops, send the wrong diffs. correct ones attached.
> 
> 

-- 
"The good life is one inspired by love and guided by knowledge."
         -- Bertrand Russel

Reply via email to