Opened 14 years ago

Closed 14 years ago

#28264 closed defect (fixed)

evince fails to compile; appears to be problem with poppler

Reported by: watsodw Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: mf2k (Frank Schima), hypocrite@…, emr.mtrl@…, tehfink, drkp (Dan Ports)
Port: evince

Description

evince fails to compile

Attachments (2)

main.log (193.3 KB) - added by watsodw 14 years ago.
patch-poppler-0.16-API-changes.diff (1.3 KB) - added by su-v 14 years ago.
patch for evince 2.30.3 with poppler 0.16

Download all attachments as: .zip

Change History (12)

Changed 14 years ago by watsodw

Attachment: main.log added

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: rmstonecipher@… removed
Owner: changed from macports-tickets@… to devans@…

comment:2 Changed 14 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… added

I see this too. The main error seems to be around this section:

:info:build /usr/bin/nm: no name list
:info:build warning: no debug symbols in executable (-arch x86_64)
:info:build /usr/bin/ranlib: file: .libs/libevdocument.a(libevdocument_la-ev-debug.o) has no symbols
:info:build ranlib: file: .libs/libevdocument.a(libevdocument_la-ev-debug.o) has no symbols
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_gnome_evince/work/evince-2.30.3/libdocument'
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_gnome_evince/work/evince-2.30.3/libdocument'
:info:build Making all in backend
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_gnome_evince/work/evince-2.30.3/backend'
:info:build Making all in pdf
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_gnome_evince/work/evince-2.30.3/backend/pdf'
:info:build   CXX    ev-poppler.lo
:info:build   GEN    pdfdocument.evince-backend
:info:build Found cached translation database
:info:build Merging translations into pdfdocument.evince-backend.
:info:build ev-poppler.cc: In function 'EvLink* ev_link_from_action(PdfDocument*, PopplerAction*)':
:info:build ev-poppler.cc:1134: warning: enumeration value 'POPPLER_ACTION_RENDITION' not handled in switch
:info:build ev-poppler.cc:1134: warning: enumeration value 'POPPLER_ACTION_OCG_STATE' not handled in switch
:info:build /opt/local/include/poppler/glib/poppler-page.h: In function 'gchar* pdf_selection_get_selected_text(EvSelection*, EvRenderContext*, EvSelectionStyle, EvRectangle*)':
:info:build /opt/local/include/poppler/glib/poppler-page.h:101: error: too many arguments to function 'char* poppler_page_get_text(PopplerPage*)'
:info:build ev-poppler.cc:1991: error: at this point in file
:info:build make[3]: *** [ev-poppler.lo] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_gnome_evince/work/evince-2.30.3/backend/pdf'
:info:build make[2]: *** [all-recursive] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_gnome_evince/work/evince-2.30.3/backend'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_gnome_evince/work/evince-2.30.3'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_gnome_evince/work/evince-2.30.3'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_gnome_evince/work/evince-2.30.3" && /usr/bin/make -j8 -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)

comment:3 Changed 14 years ago by hypocrite@…

Cc: hypocrite@… added

Cc Me!

comment:4 Changed 14 years ago by hypocrite@…

I don't really understand any of this, but is this page relevant? https://trac.macports.org/changeset/75626

comment:5 Changed 14 years ago by emr.mtrl@…

Cc: emr.mtrl@… added

Cc Me!

comment:6 Changed 14 years ago by tehfink

Cc: djsnickles@… added

Cc Me!

comment:7 in reply to:  description Changed 14 years ago by don@…

Replying to david.w.watson@…:

evince fails to compile

Evince build succeeded by installing Poppler with it's Portfile reverted to revision 73295 (thus using Poppler version 0.14.5).

Changed 14 years ago by su-v

patch for evince 2.30.3 with poppler 0.16

comment:8 Changed 14 years ago by su-v

The patch allows to build evince 2.30.3 with poppler 0.16 (tested on MacOS X 10.5.8 i386).

(The latest evince version 2.32.0 includes these fixes, but unlike 2.30.3 I didn't get to launch it without crash with my setup - possibly due to disabling gnome-related functions in the local portfile).).

comment:9 Changed 14 years ago by drkp (Dan Ports)

Cc: dports@… added

Cc Me!

comment:10 in reply to:  8 Changed 14 years ago by drkp (Dan Ports)

Resolution: fixed
Status: newclosed

Replying to suv-sf@…:

The patch allows to build evince 2.30.3 with poppler 0.16 (tested on MacOS X 10.5.8 i386).

Thanks. I committed the patch in r75856.

Note: See TracTickets for help on using tickets.