amd64/104117: When building GIMP using ports it crashes on glade/.libs/libglade-2.0.so: undefined reference to `g_object_ref_sink'

M de Wit mcawdewit at gmail.com
Sat Oct 7 09:30:35 PDT 2006


>Number:         104117
>Category:       amd64
>Synopsis:       When building GIMP using ports it crashes on glade/.libs/libglade-2.0.so: undefined reference to `g_object_ref_sink'
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 07 16:30:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     M de Wit
>Release:        6.1-RELEASE FreeBSD amd64
>Organization:
-- 
>Environment:
FreeBSD blaster.mars.local 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:15:57 UTC 2006     root at bloom.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  amd64
>Description:
I'm trying to build gimp gimp-2.2.13,1 from ports repsitory.

< snip of error >
gmake[2]: Entering directory `/usr/ports/devel/libglade2/work/libglade-2.6.0'
/bin/sh ./libtool --tag=CC --mode=link cc  -O2 -fno-strict-aliasing -pipe  -Wall -std=c9x  -L/usr/local/lib -o test-libglade  test-libglade.o glade/libglade-2.0.la -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -L/usr/X11R6/lib -lxml2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXi -lXinerama -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXcursor -lXfixes -lcairo -lpangoft2-1.0 -lfontconfig -lfreetype -lz -lpango-1.0 -lm -lXrender -lX11 -lXext -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv   
cc -O2 -fno-strict-aliasing -pipe -Wall -std=c9x -o .libs/test-libglade test-libglade.o -Wl,--rpath -Wl,/usr/local/lib  -L/usr/local/lib glade/.libs/libglade-2.0.so -L/usr/X11R6/lib /usr/local/lib/libxml2.so /usr/X11R6/lib/libgtk-x11-2.0.so /usr/X11R6/lib/libgdk-x11-2.0.so -lXrandr -lXi -lXinerama /usr/local/lib/libatk-1.0.so /usr/X11R6/lib/libgdk_pixbuf-2.0.so /usr/X11R6/lib/libpangocairo-1.0.so -lXcursor -lXfixes /usr/local/lib/libcairo.so -pthread -lpng /usr/X11R6/lib/libpangoft2-1.0.so /usr/X11R6/lib/libfontconfig.so /usr/local/lib/libexpat.so /usr/local/lib/libfreetype.so -lz /usr/X11R6/lib/libpango-1.0.so -lm -lXrender -lX11 -lXext /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so /usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so /usr/local/lib/libiconv.so  -Wl,--rpath -Wl,/usr/X11R6/lib -Wl,--rpath -Wl,/usr/local/lib
glade/.libs/libglade-2.0.so: undefined reference to `g_object_ref_sink'
gmake[2]: *** [test-libglade] Error 1
gmake[2]: Leaving directory `/usr/ports/devel/libglade2/work/libglade-2.6.0'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/libglade2/work/libglade-2.6.0'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/devel/libglade2.
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-gtk2.
*** Error code 1

Stop in /usr/ports/graphics/gimp.

< end snip >

< snip Makefile >

LIB_DEPENDS=    wmf.2:${PORTSDIR}/graphics/libwmf \
                aa.1:${PORTSDIR}/graphics/aalib \
                exif.12:${PORTSDIR}/graphics/libexif \
                mng.1:${PORTSDIR}/graphics/libmng \
                png.5:${PORTSDIR}/graphics/png \
                jpeg.9:${PORTSDIR}/graphics/jpeg \
                tiff.4:${PORTSDIR}/graphics/tiff

CONFLICTS=      gimp-1.* gimpshop-[0-9]*

SHLIBVER?=      200

USE_BZIP2=      yes
USE_X_PREFIX=   yes
USE_XPM=        yes
USE_GMAKE=      yes
GNU_CONFIGURE=  yes
USE_GNOME=      gnomehack intltool intlhack gtk20 libartlgpl2
WANT_GNOME=     yes
USE_GETTEXT=    yes
USE_LDCONFIG=   yes
PLIST_SUB=      SHLIBVER="${SHLIBVER}"
CONFIGURE_ARGS= --disable-perl \
                --with-html-dir=${DOCSDIR} \
                --disable-gtk-doc \
                --enable-static \
                --mandir=${PREFIX}/man
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
                LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"

GIMP_DISTFILE=  ${DISTDIR}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}

MAN1=   gimp.1 gimp-2.2.1 gimp-remote.1 gimp-remote-2.2.1 gimptool-2.0.1
MAN5=   gimprc.5 gimprc-2.2.5

OPTIONS=        DEBUG "debugging" off \
                PYTHON "Python-Fu support" off \
                RSVG "SVG format support" on \
                PRINT "GIMP printing" on \
                HTML_HELP_BROWSER "GIMP help browser" on \
                MP "multiple processor support" off
< end snip Makefile>


>How-To-Repeat:
# cd  /usr/ports/graphics/gimp

# make

<-- In menu select all but debug -->


>Fix:
No, not known to me.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-amd64 mailing list