Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#14749 closed defect (fixed)

gtk2 fail to build on Mac Book air intel OS 10.5.2

Reported by: vpvadistance@… Owned by: nox@…
Priority: High Milestone:
Component: ports Version: 1.6.0
Keywords: gtk2 Cc:
Port:

Description

I just install macports on my new mac book air, the installation of gtk2 failed with the following trace
---> Fetching gtk2 ---> Verifying checksum(s) for gtk2 ---> Extracting gtk2 ---> Applying patches to gtk2 ---> Configuring gtk2 ---> Building gtk2 with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/gtk+-2.12.9" && make all " returned error 2 Command output: -c -o gdkwindow.lo test -f 'gdkwindow.c' || echo './'gdkwindow.c; \

then mv -f ".deps/gdkwindow.Tpo" ".deps/gdkwindow.Plo"; \ else rm -f ".deps/gdkwindow.Tpo"; exit 1; \ fi

/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I.. -I../gdk -I../gdk-pixbuf -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -D_REENTRANT -DXTHREADS -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/cairo -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include -no-cpp-precomp -DX_LOCALE -I/usr/X11R6/include -I/usr/X11/include -O2 -funroll-loops -fstrict-aliasing -Wall -MT gdkwindow.lo -MD -MP -MF .deps/gdkwindow.Tpo -c gdkwindow.c -fno-common -DPIC -o .libs/gdkwindow.o

if /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I.. -I../gdk -I../gdk-pixbuf -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -D_REENTRANT -DXTHREADS -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/cairo -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include -no-cpp-precomp -DX_LOCALE -I/usr/X11R6/include -I/usr/X11/include -O2 -funroll-loops -fstrict-aliasing -Wall -MT gdkenumtypes.lo -MD -MP -MF ".deps/gdkenumtypes.Tpo" \

-c -o gdkenumtypes.lo test -f 'gdkenumtypes.c' || echo './'gdkenumtypes.c; \

then mv -f ".deps/gdkenumtypes.Tpo" ".deps/gdkenumtypes.Plo"; \ else rm -f ".deps/gdkenumtypes.Tpo"; exit 1; \ fi

/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I.. -I../gdk -I../gdk-pixbuf -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -D_REENTRANT -DXTHREADS -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/cairo -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include -no-cpp-precomp -DX_LOCALE -I/usr/X11R6/include -I/usr/X11/include -O2 -funroll-loops -fstrict-aliasing -Wall -MT gdkenumtypes.lo -MD -MP -MF .deps/gdkenumtypes.Tpo -c gdkenumtypes.c -fno-common -DPIC -o .libs/gdkenumtypes.o

/bin/sh ../libtool --mode=link /usr/bin/gcc-4.0 -O2 -funroll-loops -fstrict-aliasing -Wall -L/opt/local/lib -o libgdk-x11-2.0.la -version-info 1200:9:1200 -export-dynamic -rpath /opt/local/lib -export-symbols-regex "[_].*" gdk.lo gdkcairo.lo gdkcolor.lo gdkcursor.lo gdkdisplay.lo gdkdnd.lo gdkdraw.lo gdkevents.lo gdkfont.lo gdkgc.lo gdkglobals.lo gdkkeys.lo gdkkeyuni.lo gdkimage.lo gdkdisplaymanager.lo gdkpango.lo gdkpixbuf-drawable.lo gdkpixbuf-render.lo gdkpixmap.lo gdkpolyreg-generic.lo gdkrgb.lo gdkrectangle.lo gdkregion-generic.lo gdkscreen.lo gdkselection.lo gdkvisual.lo gdkwindow.lo gdkenumtypes.lo x11/libgdk-x11.la -L/usr/X11/lib -R/usr/X11/lib -lXrandr -lXrender -lXinerama -lXext -lX11 -R/usr/X11/lib -Wl,-framework,CoreServices,-framework,ApplicationServices -L/opt/local/lib -L/usr/X11/lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lSM -lICE -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lfreetype -lz -lpng12 -lXrender -lX11 -lfontconfig -lexpat -ltiff -ljpeg -L/opt/local/lib -lpng12 -lm ../gdk-pixbuf/libgdk_pixbuf-2.0.la generating symbol list for `libgdk-x11-2.0.la' /usr/bin/nm -p .libs/gdk.o .libs/gdkcairo.o .libs/gdkcolor.o .libs/gdkcursor.o .libs/gdkdisplay.o .libs/gdkdnd.o .libs/gdkdraw.o .libs/gdkevents.o .libs/gdkfont.o .libs/gdkgc.o .libs/gdkglobals.o .libs/gdkkeys.o .libs/gdkkeyuni.o .libs/gdkimage.o .libs/gdkdisplaymanager.o .libs/gdkpango.o .libs/gdkpixbuf-drawable.o .libs/gdkpixbuf-render.o .libs/gdkpixmap.o .libs/gdkpolyreg-generic.o .libs/gdkrgb.o .libs/gdkrectangle.o .libs/gdkregion-generic.o .libs/gdkscreen.o .libs/gdkselection.o .libs/gdkvisual.o .libs/gdkwindow.o .libs/gdkenumtypes.o x11/.libs/libgdk-x11.a | sed -n -e 's/.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | /opt/local/bin/gsed 's/.* ' | sort | uniq > .libs/libgdk-x11-2.0.exp /usr/bin/grep -E -e "[_].*" ".libs/libgdk-x11-2.0.exp" > ".libs/libgdk-x11-2.0.expT" mv -f ".libs/libgdk-x11-2.0.expT" ".libs/libgdk-x11-2.0.exp" rm -fr .libs/libgdk-x11-2.0.lax mkdir .libs/libgdk-x11-2.0.lax rm -fr .libs/libgdk-x11-2.0.lax/libgdk-x11.a mkdir .libs/libgdk-x11-2.0.lax/libgdk-x11.a Extracting /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/gtk+-2.12.9/gdk/x11/.libs/libgdk-x11.a (cd .libs/libgdk-x11-2.0.lax/libgdk-x11.a && ar x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/gtk+-2.12.9/gdk/x11/.libs/libgdk-x11.a) sed -e "s,#.*" -e "s,[ ]*" -e "s,\(..*\),_&," < .libs/libgdk-x11-2.0.exp > .libs/libgdk-x11-2.0-symbols.expsym /usr/bin/gcc-4.0 -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libgdk-x11-2.0.0.1200.9.dylib .libs/gdk.o .libs/gdkcairo.o .libs/gdkcolor.o .libs/gdkcursor.o .libs/gdkdisplay.o .libs/gdkdnd.o .libs/gdkdraw.o .libs/gdkevents.o .libs/gdkfont.o .libs/gdkgc.o .libs/gdkglobals.o .libs/gdkkeys.o .libs/gdkkeyuni.o .libs/gdkimage.o .libs/gdkdisplaymanager.o .libs/gdkpango.o .libs/gdkpixbuf-drawable.o .libs/gdkpixbuf-render.o .libs/gdkpixmap.o .libs/gdkpolyreg-generic.o .libs/gdkrgb.o .libs/gdkrectangle.o .libs/gdkregion-generic.o .libs/gdkscreen.o .libs/gdkselection.o .libs/gdkvisual.o .libs/gdkwindow.o .libs/gdkenumtypes.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkasync.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkcolor-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkcursor-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkdisplay-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkdnd-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkdrawable-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkevents-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkfont-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkgc-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkgeometry-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkglobals-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkim-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkimage-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkinput-none.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkinput.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkkeys-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkmain-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkpixmap-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkproperty-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkscreen-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkselection-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkspawn-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkvisual-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkwindow-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkxftdefaults.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkxid.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/xsettings-client.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/xsettings-common.o -L/opt/local/lib -L/usr/X11/lib /usr/X11/lib/libXrandr.2.0.0.dylib /usr/X11/lib/libXrender.1.3.0.dylib /usr/X11/lib/libXau.6.0.0.dylib /usr/X11/lib/libXdmcp.6.0.0.dylib /usr/X11/lib/libXinerama.1.0.0.dylib /usr/X11/lib/libXext.6.4.0.dylib /opt/local/lib/libpangocairo-1.0.dylib /opt/local/lib/libpangoft2-1.0.dylib /opt/local/lib/libz.dylib /opt/local/lib/libpango-1.0.dylib /opt/local/lib/libcairo.dylib /usr/X11/lib/libSM.6.0.0.dylib /usr/X11/lib/libICE.6.3.0.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib /opt/local/lib/libfreetype.dylib -lz /opt/local/lib/libXrender.dylib /usr/X11/lib/libX11.6.2.0.dylib /opt/local/lib/libfontconfig.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libtiff.dylib /opt/local/lib/libjpeg.dylib /opt/local/lib/libpng12.dylib -lm ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dylib -Wl,-framework -Wl,CoreServices -Wl,-framework -Wl,ApplicationServices -install_name /opt/local/lib/libgdk-x11-2.0.0.dylib -compatibility_version 1201 -current_version 1201.9 i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXrandr.2.0.0.dylib: No such file or directory make[4]: * [libgdk-x11-2.0.la] Error 1 make[3]: * [all-recursive] Error 1 make[2]: * [all] Error 2 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Error: Status 1 encountered during processing.

Change History (5)

comment:1 Changed 17 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to nox@…

Assigning to maintainer.

comment:2 Changed 17 years ago by gaboss2@…

I have exactly the same problem with a MacBook 10.5.2.
Thanks.

comment:3 in reply to:  2 Changed 17 years ago by gaboss2@…

Replying to gaboss2@gmail.com:

I have exactly the same problem with a MacBook 10.5.2.
Thanks.

The problem is related to the bug #14592 and I have resolved making the symbolic link to the missed file.
Thanks

comment:4 Changed 17 years ago by nox@…

Resolution: fixed
Status: newclosed

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.