Ticket #13199 (closed defect: worksforme)
poppler fails to build on Mac OS X 10.5 Leopard
| Reported by: | oz@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.5.2 |
| Keywords: | Cc: | ||
| Port: | poppler |
Description (last modified by blb@…) (diff)
poppler fails to build on leopard.
Macintosh:~ mongrol$ sudo port install poppler Password: ---> Building poppler 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_poppler/work/poppler-0.6" && make all " returned error 2 Command output: make all-recursive Making all in goo make[2]: Nothing to be done for `all'. Making all in fofi make[2]: Nothing to be done for `all'. Making all in splash make[2]: Nothing to be done for `all'. Making all in poppler make all-am Making all in utils make[2]: Nothing to be done for `all'. Making all in glib make all-recursive Making all in . Making all in reference make[4]: Nothing to be done for `all'. Making all in demo /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -O2 -L/opt/local/lib -o poppler-glib-demo main.o fonts.o info.o links.o outline.o page.o render.o utils.o ../../glib/libpoppler-glib.la ../../poppler/libpoppler.la -L/opt/local/lib -L/usr/X11R6/lib -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -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 -lexpat -lpng12 -lXrender -lX11 -lz gcc -std=gnu99 -O2 -o .libs/poppler-glib-demo main.o fonts.o info.o links.o outline.o page.o render.o utils.o -L/opt/local/lib ../../glib/.libs/libpoppler-glib.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_poppler/work/poppler-0.6/poppler/.libs/libpoppler.dylib -L/usr/X11R6/lib -L/usr/X11/lib ../../poppler/.libs/libpoppler.dylib /opt/local/lib/libglade-2.0.dylib /opt/local/lib/libgtk-x11-2.0.dylib /opt/local/lib/libxml2.dylib -lpthread /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 -lm /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 -lc /opt/local/lib/libiconv.dylib /opt/local/lib/libfontconfig.dylib /opt/local/lib/libfreetype.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libpng12.dylib /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 -lz ld: duplicate symbol _g_bit_nth_lsf in fonts.o and main.o collect2: ld returned 1 exit status make[4]: *** [poppler-glib-demo] 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
comment:1 Changed 6 years ago by nox@…
- Status changed from new to closed
- Resolution set to duplicate
- Milestone changed from MacPorts 1.5 to Port Bugs
comment:2 Changed 6 years ago by frstan@…
- Status changed from closed to reopened
- Resolution duplicate deleted
suggest reopen this. not a duplicate. a more meaningful slice of the -d out put is: creating libpoppler-qt4.la (cd .libs && rm -f libpoppler-qt4.la && ln -s ../libpoppler-qt4.la libpoppler-qt4.la) Making all in tests if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../poppler -I../.. -I../../poppler -I../../qt4/src -I../../qt -I/opt/local/include -DQT_SHARED -I/opt/local/include/qt4 -I/opt/local/include/qt4/QtCore -I/opt/local/include/qt4/QtGui -I/opt/local/include/qt4/QtXml -I/opt/local/include -Wall -Wno-unused -O2 -MT test-poppler-qt4.o -MD -MP -MF ".deps/test-poppler-qt4.Tpo" -c -o test-poppler-qt4.o test-poppler-qt4.cpp; \
then mv -f ".deps/test-poppler-qt4.Tpo" ".deps/test-poppler-qt4.Po"; else rm -f ".deps/test-poppler-qt4.Tpo"; exit 1; fi
/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -Wno-unused -O2 -L/opt/local/lib -o test-poppler-qt4 test-poppler-qt4.o ../../poppler/libpoppler.la ../../qt4/src/libpoppler-qt4.la -L/opt/local/lib -lfontconfig -lexpat -framework ApplicationServices -framework Carbon -framework AppKit -L/opt/local/lib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.3.2/lib -lQtGui -lpng -lQtXml -lQtTest -lQtCore -lz -lm -liconv -lz mkdir .libs libtool: link: cannot find the library ' or unhandled argument Carbon' make[3]: * [test-poppler-qt4] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2
Warning: the following items did not execute (for poppler): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
This looks like a typo in the source code to me.
comment:3 Changed 6 years ago by nox@…
- Summary changed from Poppler fails to build to poppler fails to build
comment:4 Changed 5 years ago by ryandesign@…
- Summary changed from poppler fails to build to poppler fails to build on Mac OS X 10.5 Leopard
comment:5 Changed 5 years ago by ryandesign@…
I updated poppler to 0.6.3 in r32042. Please wait 12 hours, sudo port sync, and try again. Maybe it will help.
comment:6 Changed 5 years ago by jmr@…
- Status changed from reopened to closed
- Resolution set to fixed
No response from the reporter, and it builds fine for me now on Leopard, so I'm marking this as fixed. Reporter, reopen the ticket if you're still seeing this problem.
comment:7 Changed 5 years ago by jabial@…
- Status changed from closed to reopened
- Resolution fixed deleted
comment:8 Changed 5 years ago by jabial@…
I have the exact same problem as stated above, on Mac OS 10.5.2, with the last synced macports. If it works for you, then it may be an external reason. Do you use the gcc from Xcode 3.0?
comment:9 Changed 5 years ago by rhwood@…
Can anyone confirm that this remains an issue with version 0.8.5?
comment:10 Changed 5 years ago by blb@…
- Keywords poppler removed
- Status changed from reopened to closed
- Resolution set to worksforme
- Port set to poppler
- Description modified (diff)
Closing, lack of response, and 0.10.1 builds fine here on 10.5.5 Intel, Xcode 3.1.1.


#13006