Opened 11 years ago

Last modified 11 years ago

#40590 closed defect

poppler @0.24.1: error: expected ';' after top level declarator — at Version 1

Reported by: carmine.ventre@… Owned by: devans@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: ryandesign@…
Port: glib2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hi I tried to upgrade first and then uninstall and install poppler-0.24.1 unsuccessfully. I get an error in building phase, namely "Error: org.macports.build for port poppler returned: command execution failed".

Looking at the log file I can see the following errors a number of errors regarding missing semicolons or undeclared variables (see attached log file). The error code is

:debug:build Error code: CHILDSTATUS 10572 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"

Am I the only one with this problem? Any ideas on how to sort it? Thanks!

Change History (2)

Changed 11 years ago by carmine.ventre@…

Attachment: main.log added

log file

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

Cc: ryandesign@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to devans@…
Port: poppler added
Summary: poppler-0.24.1 does not build on Mac OSX 10.7.5poppler @0.24.1: error: expected ';' after top level declarator

Yes the relevant error in the log seems to be:

:info:build /opt/local/include/glib-2.0/glib/gmessages.h:192:34: error: expected ';' after top level declarator
:info:build          ...) G_ANALYZER_NORETURN
:info:build                                  ^
:info:build                                  ;

glib2 was just updated to a new version yesterday. It's possible poppler is not compatible and needs an update. However, I was able to build poppler just now with no problem.

Note: See TracTickets for help on using tickets.