pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/36222: evince fails to build on darwin
>Number: 36222
>Category: pkg
>Synopsis: evince fails to build on darwin
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 26 07:35:00 +0000 2007
>Originator: Jussi Liukkonen
>Release: none
>Organization:
Headache, Inc
>Environment:
Darwin rousku.koti2.net 8.9.0 Darwin Kernel Version 8.9.0: Thu Feb 22 20:54:07
PST 2007; root:xnu-792.17.14~1/RELEASE_PPC Power Macintosh powerpc
>Description:
Using pkgsrc-2007Q1, evince fails to build on darwin (Mac OS X 10.4.9 powerpc).
Link under shell and thumbnailer fails as follows, because link is done using
gcc and C++ objects are involved in the link:
gcc -pipe -O2 -mcpu=G4
-I/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/include
-I/Users/powermac/Projects/pkgsrc/print/evince/work/.x11-buildlink/include
-I/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/include/freetype2
-o evince eggfindbar.o ev-application.o ev-job-queue.o ev-jobs.o ev-marshal.o
ev-metadata-manager.o ev-page-action.o ev-page-cache.o ev-password.o
ev-password-view.o ev-pixbuf-cache.o ev-properties-dialog.o
ev-properties-fonts.o ev-utils.o ev-view-accessible.o ev-view.o ev-window.o
ev-window-title.o ev-sidebar.o ev-sidebar-attachments.o ev-sidebar-links.o
ev-sidebar-page.o ev-sidebar-thumbnails.o ev-stock-icons.o main.o
-L/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib
-L/Users/powermac/Projects/pkgsrc/print/evince/work/.x11-buildlink/lib
../cut-n-paste/zoom-control/.libs/libephyzoom.a
../cut-n-paste/toolbar-editor/.libs/libtoolbareditor.a
../properties/.libs/libevproperties.a ../lib/.libs/libev.a /Users/powermac
/Projects/pkgsrc/print/evince/work/.buildlink/lib/libgnomeui-2.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libbonoboui-2.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libgnome-2.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libesd.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libaudiofile.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libpopt.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libbonobo-2.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libbonobo-activation.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libORBitCosNaming-2.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libgnomevfs-2.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libgnutls.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libtasn1.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libgcrypt.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libgpg-error.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libglade-2.0.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libgconf-2.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libORBit-2.dylib
-lresolv
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libgthread-2.0.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libpoppler-glib.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libpoppler.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libgnome-keyring.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libdbus-glib-1.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libdbus-1.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildl
ink/lib/libtiff.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libjpeg.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libgnomeprintui-2-2.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libgnomeprint-2-2.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libgnomecanvas-2.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libxml2.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libart_lgpl_2.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libgtk-x11-2.0.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libgdk-x11-2.0.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libatk-1.0.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libgdk_pixbuf-2.0.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libpangocairo-1.0.dylib
/Users/powermac/Projects
/pkgsrc/print/evince/work/.buildlink/lib/libpangoft2-1.0.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libpango-1.0.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libcairo.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libfontconfig.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libfreetype.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libexpat.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libglitz.dylib
-lXext -lm
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libpng12.dylib
-lz -lXrender -lSM -lICE -lX11 -lpthread
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libgobject-2.0.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libgmodule-2.0.dylib
/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib/libglib-2.0.dylib
/Users/powermac/Projects/pkgsrc/print/evince/wo
rk/.buildlink/lib/libintl.dylib -lc /usr/lib/libiconv.dylib
/usr/bin/ld: Undefined symbols:
___gxx_personality_v0
collect2: ld returned 1 exit status
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/Users/powermac/Projects/pkgsrc/print/evince/work/.gcc/bin/gcc -pipe -O2
-mcpu=G4 -I/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/include
-I/Users/powermac/Projects/pkgsrc/print/evince/work/.x11-buildlink/include
-I/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/include/freetype2
-o evince eggfindbar.o ev-application.o ev-job-queue.o ev-jobs.o ev-marshal.o
ev-metadata-manager.o ev-page-action.o ev-page-cache.o ev-password.o
ev-password-view.o ev-pixbuf-cache.o ev-properties-dialog.o
ev-properties-fonts.o ev-utils.o ev-view-accessible.o ev-view.o ev-window.o
ev-window-title.o ev-sidebar.o ev-sidebar-attachments.o ev-sidebar-links.o
ev-sidebar-page.o ev-sidebar-thumbnails.o ev-stock-icons.o main.o
-L/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib
-L/Users/powermac/Projects/pkgsrc/print/evince/work/.x11-buildlink/lib
../cut-n-paste/zoom-control/.libs/libephyzoom.a
../cut-n-paste/toolbar-editor/.libs/libtoolbareditor.a ../properties/.l
ibs/libevproperties.a ../lib/.libs/libev.a -lgnomeui-2 -lbonoboui-2 -lgnome-2
-lesd -laudiofile -lpopt -lbonobo-2 -lbonobo-activation -lORBitCosNaming-2
-lgnomevfs-2 -lgnutls -ltasn1 -lgcrypt -lgpg-error -lglade-2.0 -lgconf-2
-lORBit-2 -lresolv -lgthread-2.0 -lpoppler-glib -lpoppler -lgnome-keyring
-ldbus-glib-1 -ldbus-1 -ltiff -ljpeg -lgnomeprintui-2-2 -lgnomeprint-2-2
-lgnomecanvas-2 -lxml2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpangoft2-1.0 -lpango-1.0 -lcairo
-lfontconfig -lfreetype -lexpat -lglitz -lXext -lm -lpng12 -lz -lXrender -lSM
-lICE -lX11 -lpthread -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lc -liconv
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkg/bin/libtool --tag=CC --mode=link gcc -pipe -O2 -mcpu=G4
-I/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/include
-I/Users/powermac/Projects/pkgsrc/print/evince/work/.x11-buildlink/include
-I/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/include/freetype2
-L/Users/powermac/Projects/pkgsrc/print/evince/work/.buildlink/lib
-L/Users/powermac/Projects/pkgsrc/print/evince/work/.x11-buildlink/lib -o
evince eggfindbar.o ev-application.o ev-job-queue.o ev-jobs.o ev-marshal.o
ev-metadata-manager.o ev-page-action.o ev-page-cache.o ev-password.o
ev-password-view.o ev-pixbuf-cache.o ev-properties-dialog.o
ev-properties-fonts.o ev-utils.o ev-view-accessible.o ev-view.o ev-window.o
ev-window-title.o ev-sidebar.o ev-sidebar-attachments.o ev-sidebar-links.o
ev-sidebar-page.o ev-sidebar-thumbnails.o ev-stock-icons.o main.o
../cut-n-paste/zoom-control/libephyzoom.la
../cut-n-paste/toolbar-editor/libtoolbareditor.la
../properties/libevproperties.la ../lib/lib
ev.la -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomecanvas-2 -lgnome-2 -lpopt
-lart_lgpl_2 -lpangoft2-1.0 -lbonobo-2 -lbonobo-activation -lgnomevfs-2
-lglade-2.0 -lgtk-x11-2.0 -lxml2 -latk-1.0 -lgconf-2 -lORBit-2 -lgthread-2.0
-lpoppler-glib -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0
-lcairo -lgobject-2.0 -lgmodule-2.0 -lgnome-keyring -lglib-2.0 -lintl -liconv
-ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lintl -liconv -lz -ltiff
-lgnomeprintui-2-2 -lgnomeprint-2-2 -lz -lgnomecanvas-2 -lxml2 -lart_lgpl_2
-lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
-lintl -liconv
gnumake[3]: *** [evince] Error 1
gnumake[2]: *** [all] Error 2
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all] Error 2
*** Error code 2
Stop.
bmake: stopped in /Users/powermac/Projects/pkgsrc/print/evince
*** Error code 1
Stop.
bmake: stopped in /Users/powermac/Projects/pkgsrc/print/evince
>How-To-Repeat:
cd print/evince; bmake
>Fix:
--- shell/Makefile.in.orig 2007-04-25 22:11:15.000000000 +0300
+++ shell/Makefile.in 2007-04-25 22:11:38.000000000 +0300
@@ -112,7 +112,8 @@
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
$(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
-LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+CXXLD = $(CXX)
+LINK = $(LIBTOOL) --tag=CC --mode=link $(CXXLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
SOURCES = $(evince_SOURCES)
DIST_SOURCES = $(am__evince_SOURCES_DIST)
--- thumbnailer/Makefile.in.orig 2007-04-25 22:14:06.000000000 +0300
+++ thumbnailer/Makefile.in 2007-04-25 22:14:21.000000000 +0300
@@ -73,7 +73,8 @@
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
$(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
-LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+CXXLD = $(CXX)
+LINK = $(LIBTOOL) --tag=CC --mode=link $(CXXLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
SOURCES = $(evince_thumbnailer_SOURCES)
DIST_SOURCES = $(evince_thumbnailer_SOURCES)
Home |
Main Index |
Thread Index |
Old Index