#13265 closed defect (duplicate)
gimp2 fails to build on Mac OS X 10.5 Leopard
Reported by: | sebsto@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.0 |
Keywords: | gimp leopard | Cc: | jmroot (Joshua Root) |
Port: |
Description
Trying to "port install gimp2" on Leopard, I receive
---> Building gimp-lqr-plugin 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_graphics_gimp-lqr-plugin/work/gimp-lqr-plugin-0.3.0" && make all " returned error 2 Command output: Making all in src if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DXTHREADS -I/opt/local/include/gimp-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -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/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include -DLOCALEDIR=\""/opt/local/share/locale"\" -DDATADIR=\""/opt/local/share/gimp-lqr-plugin"\" -I/opt/local/include -O2 -Wall -MT interface.o -MD -MP -MF ".deps/interface.Tpo" -c -o interface.o interface.c; \
then mv -f ".deps/interface.Tpo" ".deps/interface.Po"; else rm -f ".deps/interface.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DXTHREADS -I/opt/local/include/gimp-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -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/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include -DLOCALEDIR=\""/opt/local/share/locale"\" -DDATADIR=\""/opt/local/share/gimp-lqr-plugin"\" -I/opt/local/include -O2 -Wall -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DXTHREADS -I/opt/local/include/gimp-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -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/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include -DLOCALEDIR=\""/opt/local/share/locale"\" -DDATADIR=\""/opt/local/share/gimp-lqr-plugin"\" -I/opt/local/include -O2 -Wall -MT render.o -MD -MP -MF ".deps/render.Tpo" -c -o render.o render.c; \
then mv -f ".deps/render.Tpo" ".deps/render.Po"; else rm -f ".deps/render.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DXTHREADS -I/opt/local/include/gimp-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -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/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include -DLOCALEDIR=\""/opt/local/share/locale"\" -DDATADIR=\""/opt/local/share/gimp-lqr-plugin"\" -I/opt/local/include -O2 -Wall -MT lqr_gradient.o -MD -MP -MF ".deps/lqr_gradient.Tpo" -c -o lqr_gradient.o lqr_gradient.c; \
then mv -f ".deps/lqr_gradient.Tpo" ".deps/lqr_gradient.Po"; else rm -f ".deps/lqr_gradient.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DXTHREADS -I/opt/local/include/gimp-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -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/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include -DLOCALEDIR=\""/opt/local/share/locale"\" -DDATADIR=\""/opt/local/share/gimp-lqr-plugin"\" -I/opt/local/include -O2 -Wall -MT lqr_data.o -MD -MP -MF ".deps/lqr_data.Tpo" -c -o lqr_data.o lqr_data.c; \
then mv -f ".deps/lqr_data.Tpo" ".deps/lqr_data.Po"; else rm -f ".deps/lqr_data.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DXTHREADS -I/opt/local/include/gimp-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -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/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include -DLOCALEDIR=\""/opt/local/share/locale"\" -DDATADIR=\""/opt/local/share/gimp-lqr-plugin"\" -I/opt/local/include -O2 -Wall -MT lqr_cursor.o -MD -MP -MF ".deps/lqr_cursor.Tpo" -c -o lqr_cursor.o lqr_cursor.c; \
then mv -f ".deps/lqr_cursor.Tpo" ".deps/lqr_cursor.Po"; else rm -f ".deps/lqr_cursor.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DXTHREADS -I/opt/local/include/gimp-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -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/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include -DLOCALEDIR=\""/opt/local/share/locale"\" -DDATADIR=\""/opt/local/share/gimp-lqr-plugin"\" -I/opt/local/include -O2 -Wall -MT lqr_raster.o -MD -MP -MF ".deps/lqr_raster.Tpo" -c -o lqr_raster.o lqr_raster.c; \
then mv -f ".deps/lqr_raster.Tpo" ".deps/lqr_raster.Po"; else rm -f ".deps/lqr_raster.Tpo"; exit 1; fi
/var/tmpcc8pX78b.s:167:non-relocatable subtraction expression, "_norm_bias" minus "L00000000002$pb" /var/tmpcc8pX78b.s:167:symbol: "_norm_bias" can't be undefined in a subtraction expression /var/tmpcc8pX78b.s:161:non-relocatable subtraction expression, "_sumabs" minus "L00000000002$pb" /var/tmpcc8pX78b.s:161:symbol: "_sumabs" can't be undefined in a subtraction expression /var/tmpcc8pX78b.s:155:non-relocatable subtraction expression, "_xabs" minus "L00000000002$pb" /var/tmpcc8pX78b.s:155:symbol: "_xabs" can't be undefined in a subtraction expression /var/tmpcc8pX78b.s:149:non-relocatable subtraction expression, "_yabs" minus "L00000000002$pb" /var/tmpcc8pX78b.s:149:symbol: "_yabs" can't be undefined in a subtraction expression /var/tmpcc8pX78b.s:143:non-relocatable subtraction expression, "_norm" minus "L00000000002$pb" /var/tmpcc8pX78b.s:143:symbol: "_norm" can't be undefined in a subtraction expression /var/tmpcc8pX78b.s:135:non-relocatable subtraction expression, "_zero" minus "L00000000002$pb" /var/tmpcc8pX78b.s:135:symbol: "_zero" can't be undefined in a subtraction expression make[2]: * [lqr_raster.o] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2
Error: The following dependencies failed to build: gimp-lqr-plugin gimp-user-manual gtk-nodoka-engine gutenprint icns-gimp macclipboard-gimp macfile-gimp ufraw exiv2 xsane sane-backends libusb Error: Status 1 encountered during processing.
Change History (7)
comment:1 Changed 17 years ago by nox@…
Milestone: | MacPorts 1.5 → Port Bugs |
---|---|
Summary: | Gimp2 failed to build on Leopard → gimp2 fails to build on Mac OS X 10.5 Leopard |
comment:2 follow-up: 3 Changed 17 years ago by blake@…
comment:3 follow-up: 4 Changed 17 years ago by jmroot (Joshua Root)
Cc: | jmr@… added |
---|
Replying to blake@thenme.net:
The newest version of the tarball for gimp-lqr-plugin has had these changes made to it and compiles fine.
Can this ticket be closed, then?
comment:4 Changed 17 years ago by blake@…
Replying to jmr@macports.org:
Replying to blake@thenme.net:
The newest version of the tarball for gimp-lqr-plugin has had these changes made to it and compiles fine.
Can this ticket be closed, then?
I believe so as this issue should no longer be relevant. I am not positive though as I am now running into #13930 and so cannot confirm at the moment.
comment:5 Changed 17 years ago by blake@…
I should have mentioned though that the ticket related to this bug (I think it may technically be a duplicate) for the gimp-lqr-plugin (#13209) has been closed.
comment:6 Changed 17 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Right, this is indeed a dupe of #13209.
It seems the problem had something to do with some inline functions in the file lqr_gradient.c which is part of the gimp-lqr-plugin. Making the functions not inline seems to get past this problem. The newest version of the tarball for gimp-lqr-plugin has had these changes made to it and compiles fine.