Opened 18 years ago

Closed 18 years ago

#10770 closed defect (fixed)

BUG: Gimp2-2.2.13 fails to build

Reported by: enadil@… Owned by: yeled@…
Priority: High Milestone:
Component: ports Version: 1.3.2
Keywords: gimp gettext Cc: markd@…
Port:

Description

--->  Building gimp2 with target all
Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_graphics_gimp2/work/gimp-2.2.13" && make all" returned error 2
Command output: creating jigsaw
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -DXTHREADS -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng12 -I/usr/X11R6/include   -I/opt/local/include/libexif -I/opt/local/include    -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/opt/local/include  -I/opt/local/include -DGIMP_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE  -g -O2 -Wall -MT jpeg.o -MD -MP -MF ".deps/jpeg.Tpo" -c -o jpeg.o jpeg.c; \
then mv -f ".deps/jpeg.Tpo" ".deps/jpeg.Po"; else rm -f ".deps/jpeg.Tpo"; exit 1; fi
In file included from /opt/local/include/jpeglib.h:24,
                 from jpeg.c:175:
/opt/local/include/jconfig.h:12:1: warning: "HAVE_STDLIB_H" redefined
In file included from jpeg.c:159:
../../config.h:144:1: warning: this is the location of the previous definition
jpeg.c: In function 'save_image':
jpeg.c:1678: warning: pointer targets in assignment differ in signedness
jpeg.c:1694: warning: pointer targets in assignment differ in signedness
jpeg.c: In function 'load_thumbnail_image':
jpeg.c:2391: warning: pointer targets in assignment differ in signedness
jpeg.c: In function 'empty_output_buffer':
jpeg.c:2705: warning: pointer targets in assignment differ in signedness
jpeg.c: In function 'create_thumbnail':
jpeg.c:2815: warning: pointer targets in assignment differ in signedness
/bin/sh ../../libtool --tag=CC --mode=link gcc  -g -O2 -Wall  -L/opt/local/lib -o jpeg  jpeg.o ../../libgimp/libgimpui-2.0.la ../../libgimpwidgets/libgimpwidgets-2.0.la ../../libgimp/libgimp-2.0.la ../../libgimpcolor/libgimpcolor-2.0.la ../../libgimpbase/libgimpbase-2.0.la -ljpeg -L/opt/local/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -ltiff -ljpeg -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lSM -lICE -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lfreetype -lz -lfontconfig -lpng12 -lXrender -lX11   -L/opt/local/lib -lexif -lm    -lintl  
gcc -g -O2 -Wall -o .libs/jpeg jpeg.o  -L/opt/local/lib ../../libgimp/.libs/libgimpui-2.0.dylib /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_graphics_gimp2/work/gimp-2.2.13/libgimp/.libs/libgimp-2.0.dylib /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_graphics_gimp2/work/gimp-2.2.13/libgimpwidgets/.libs/libgimpwidgets-2.0.dylib -L/usr/X11R6/lib /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_graphics_gimp2/work/gimp-2.2.13/libgimpmodule/.libs/libgimpmodule-2.0.dylib ../../libgimpwidgets/.libs/libgimpwidgets-2.0.dylib ../../libgimp/.libs/libgimp-2.0.dylib /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_graphics_gimp2/work/gimp-2.2.13/libgimpcolor/.libs/libgimpcolor-2.0.dylib /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_graphics_gimp2/work/gimp-2.2.13/libgimpbase/.libs/libgimpbase-2.0.dylib ../../libgimpcolor/.libs/libgimpcolor-2.0.dylib ../../libgimpbase/.libs/libgimpbase-2.0.dylib /opt/local/lib/libgtk-x11-2.0.dylib /opt/local/lib/libgdk-x11-2.0.dylib /opt/local/lib/libatk-1.0.dylib /opt/local/lib/libgdk_pixbuf-2.0.dylib /opt/local/lib/libtiff.dylib /opt/local/lib/libjpeg.dylib /opt/local/lib/libpangocairo-1.0.dylib /opt/local/lib/libpangoft2-1.0.dylib /opt/local/lib/libpango-1.0.dylib /opt/local/lib/libcairo.dylib -lSM -lICE /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libfontconfig.dylib /opt/local/lib/libfreetype.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libpng12.dylib -lz /opt/local/lib/libXrender.dylib -lX11 /opt/local/lib/libexif.dylib -lm /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -lc
/usr/bin/ld: warning prebinding disabled because dependent library: /opt/local/lib/libgimpui-2.0.0.dylib is not prebound
/usr/bin/ld: warning can't open dynamic library: /opt/local/lib/libintl.3.dylib referenced from: /opt/local/lib/libexif.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
/usr/bin/ld: Undefined symbols:
_libintl_bind_textdomain_codeset referenced from libexif.12 expected to be defined in /opt/local/lib/libintl.3.dylib
_libintl_bindtextdomain referenced from libexif.12 expected to be defined in /opt/local/lib/libintl.3.dylib
_libintl_dgettext referenced from libexif.12 expected to be defined in /opt/local/lib/libintl.3.dylib
collect2: ld returned 1 exit status
make[3]: *** [jpeg] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Change History (5)

comment:1 Changed 18 years ago by enadil@…

I was using OS X 10.4.7 and Xcode 4.0

comment:2 Changed 18 years ago by enadil@…

I meant Xcode 2.4, sorry for being an idiot.

comment:3 Changed 18 years ago by rhwood@…

Keywords: gettext added

libexif is broken due to the gettext port upgrade.

Try: sudo port -fR upgrade gettext to rebuild every port that depends on gettext working.

comment:4 Changed 18 years ago by markd@…

Summary: Gimp2 (2.2.13) fails to buildBUG: Gimp2-2.2.13 fails to build

comment:5 Changed 18 years ago by markd@…

Cc: markd@… added
Resolution: fixed
Status: newclosed

Recovering from the gettext 0.15.x upgrade problem is covered on the Wiki now.

http://trac.macosforge.org/projects/macports/wiki/ProblemHotlist

Since the gettext port has been fixed I'll close this.

Note: See TracTickets for help on using tickets.