Ticket #16887 (closed defect: fixed)
gimp 2.6.1 fails to build in Leopard or Tiger
| Reported by: | shelleyp@… | Owned by: | devans@… |
|---|---|---|---|
| Priority: | High | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | Cc: | shelleyp@… | |
| Port: | gimp2 |
Description (last modified by devans@…) (diff)
GIMP 2.6.1 failed to build in Tiger, but that was mainly because of dependency failures, each of which have been reported.
However, GIMP 2.6.1 failed to build on my Leopard machine, and it is the GIMP package that is failing.
Following is the bottom part of the error message I'm getting:
Undefined symbols:
"_poppler_page_render_to_pixbuf", referenced from:
_get_thumbnail in file_pdf-file-pdf.o
_run in file_pdf-file-pdf.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [file-pdf] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
I searched for and could not find a matching bug.
Change History
comment:2 Changed 5 years ago by devans@…
- Keywords GIMP removed
- Status changed from new to assigned
- Description modified (diff)
- Owner changed from macports-tickets@… to devans@…
Can you provide a bit more of the error output. In particular, which port is currently being built and the command that was being executed. Are you installing the gimp port or gimp2? The gimp port is a meta port which installs nothing itself, it just has dependencies which get built. gimp2 to the main application itself but without all the bells and whistles that port gimp adds.
Please run (assuming it is the gimp that you are installing not gimp2)
sudo port -d install gimp
and report that back?
It should pickup where you left off and just show the final error.
Don't forget to use wiki formating, as I just did, so it can be easily read.
Have you succeeded in building on Tiger or are there outstanding problems there as well?
Thanks
comment:3 Changed 5 years ago by shelleyp@…
My apologies, I should have said that my upgrade failed.
I'm doing an upgrade on an outdated port:
gimp2 2.4.5_1 < 2.6.1_0
I used sudo port upgrade gimp2
I'm now doing sudo port upgrade gimp, which seems to have installed many more dependencies, but still ended up withL
Error: Unable to upgrade port: 1
---> Building gimp2 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_gimp2/work/gimp-2.6.1" && make all " returned error 2
Command output: Making all in images
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
Making all in map-object
make[3]: Nothing to be done for `all'.
Making all in maze
make[3]: Nothing to be done for `all'.
Making all in metadata
make[3]: Nothing to be done for `all'.
Making all in pagecurl
make[3]: Nothing to be done for `all'.
Making all in print
make[3]: Nothing to be done for `all'.
Making all in selection-to-path
make[3]: Nothing to be done for `all'.
Making all in twain
make[3]: Nothing to be done for `all'.
Making all in common
/bin/sh ../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -DXTHREADS -D_REENTRANT -I/opt/local/include/poppler/glib -I/opt/local/include/poppler -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/cairo -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/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -O2 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -L/opt/local/lib -o file-pdf file_pdf-file-pdf.o ../../libgimp/libgimpui-2.0.la ../../libgimpwidgets/libgimpwidgets-2.0.la ../../libgimpmodule/libgimpmodule-2.0.la ../../libgimp/libgimp-2.0.la ../../libgimpmath/libgimpmath-2.0.la ../../libgimpconfig/libgimpconfig-2.0.la ../../libgimpcolor/libgimpcolor-2.0.la ../../libgimpbase/libgimpbase-2.0.la -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices -L/opt/local/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lSM -lICE -lpangoft2-1.0 -lpixman-1 -lpng12 -lXrender -lX11 -lpango-1.0 -lm -lfontconfig -lexpat -lfreetype -lz -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices -L/opt/local/lib -L/usr/X11R6/lib -lpoppler-glib -lpoppler -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lSM -lICE -lpangoft2-1.0 -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lpixman-1 -lfontconfig -lexpat -lfreetype -lpng12 -lz -lXrender -lX11 -lgthread-2.0 -lglib-2.0 -lintl -liconv -lintl
/usr/bin/gcc-4.0 -DXTHREADS -D_REENTRANT -I/opt/local/include/poppler/glib -I/opt/local/include/poppler -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/cairo -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/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -O2 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -o .libs/file-pdf file_pdf-file-pdf.o -Wl,-framework -Wl,CoreServices -Wl,-framework -Wl,ApplicationServices -Wl,-framework -Wl,CoreServices -Wl,-framework -Wl,ApplicationServices -L/opt/local/lib ../../libgimp/.libs/libgimpui-2.0.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gimp2/work/gimp-2.6.1/libgimp/.libs/libgimp-2.0.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gimp2/work/gimp-2.6.1/libgimpwidgets/.libs/libgimpwidgets-2.0.dylib -L/usr/X11R6/lib -L/usr/X11/lib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gimp2/work/gimp-2.6.1/libgimpmodule/.libs/libgimpmodule-2.0.dylib ../../libgimpwidgets/.libs/libgimpwidgets-2.0.dylib ../../libgimpmodule/.libs/libgimpmodule-2.0.dylib ../../libgimp/.libs/libgimp-2.0.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gimp2/work/gimp-2.6.1/libgimpconfig/.libs/libgimpconfig-2.0.dylib ../../libgimpmath/.libs/libgimpmath-2.0.dylib ../../libgimpconfig/.libs/libgimpconfig-2.0.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gimp2/work/gimp-2.6.1/libgimpbase/.libs/libgimpbase-2.0.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gimp2/work/gimp-2.6.1/libgimpcolor/.libs/libgimpcolor-2.0.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gimp2/work/gimp-2.6.1/libgimpmath/.libs/libgimpmath-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/libatk-1.0.dylib /opt/local/lib/libpoppler-glib.dylib /opt/local/lib/libpoppler.dylib /opt/local/lib/libxml2.dylib -lpthread /opt/local/lib/libgdk-x11-2.0.dylib /opt/local/lib/libgdk_pixbuf-2.0.dylib /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libtiff.dylib /opt/local/lib/libjasper.dylib /opt/local/lib/libjpeg.dylib /opt/local/lib/libpangocairo-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/libpangoft2-1.0.dylib /opt/local/lib/libpango-1.0.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libpixman-1.dylib -lm /opt/local/lib/libfontconfig.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libfreetype.dylib /opt/local/lib/libpng12.dylib -lz /opt/local/lib/libXrender.dylib /usr/X11/lib/libX11.6.2.0.dylib /usr/X11/lib/libXau.6.0.0.dylib /usr/X11/lib/libXdmcp.6.0.0.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -lc
Undefined symbols:
"_poppler_page_render_to_pixbuf", referenced from:
_get_thumbnail in file_pdf-file-pdf.o
_run in file_pdf-file-pdf.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [file-pdf] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Unable to upgrade port: 1
comment:4 follow-up: ↓ 5 Changed 5 years ago by shelleyp@…
Forgot to add, the Tiger build fails because the gegl package would not build, but that's been recorded elsewhere.
comment:5 in reply to: ↑ 4 Changed 5 years ago by devans@…
Replying to shelleyp@…:
Forgot to add, the Tiger build fails because the gegl package would not build, but that's been recorded elsewhere.
I assume you mean #16889 or is there something else?
comment:6 Changed 5 years ago by devans@…
Well, I not sure what's going on for you here. /opt/local/lib/libpoppler-glib.dylib provides _poppler_page_render_to_pixbuf and is included in the link command. And poppler is listed is gimp2 as a dependency so in principal it should work. Again I don't see the problem here but I'm not running Leopard but I know of at least one other who has successfully built on Leopard with this port.
So check to make sure this library is available on your system, that poppler is correctly installed and up to date, etc.
Maybe
sudo port clean --all poppler sudo port -fn upgrade poppler
just to make sure?
Would appreciate input from others who either have or have not had this problem on Leopard.
comment:7 Changed 5 years ago by macsforever2000@…
- Port changed from GIMP 2.6.1 to gimp2
I'm on Intel Leopard and gimp2 2.6.1 is installed for me.
The following ports are currently installed: gimp2 @2.6.1_0+darwin_9 (active) poppler @0.8.5_0+x11 (active)
comment:8 Changed 5 years ago by devans@…
Concerning build problems on Tiger see if my comments on #16889 help.
comment:9 follow-up: ↓ 10 Changed 5 years ago by shelleyp@…
I tried the uninstall and reinstall of poppler, and I was able to install gimp 2.6.1.
I think the problem was that I had an old GIMP2 beta installation as well as GIMP, and I've been updating the beta release "path" of GIMP2, but not GIMP when I've updated. Frankly, I think my installation is a bit of mess because of this and I'm tempted to do a clean reinstall of my Macports, but for now, I have access to GIMP 2.6.1.
Appreciations!
In the meantime, I'll look at your item for Tiger, since that has different build issues.
comment:10 in reply to: ↑ 9 Changed 5 years ago by devans@…
- Status changed from assigned to closed
- Resolution set to fixed
Replying to shelleyp@…:
In the meantime, I'll look at your item for Tiger, since that has different build issues.
Great. Another mystery solved. If the other ticket doesn't address your Tiger problem please open another ticket for it (or point me to one that does address it).


Cc Me!