[MacPorts] #40590: poppler @0.24.1: error: expected '; ' after top level declarator (was: poppler-0.24.1 does not build on Mac OSX 10.7.5)

MacPorts noreply at macports.org
Wed Sep 25 15:26:05 PDT 2013


#40590: poppler @0.24.1: error: expected ';' after top level declarator
-------------------------------+----------------------
  Reporter:  carmine.ventre@…  |      Owner:  devans@…
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.2.0
Resolution:                    |   Keywords:
      Port:  poppler           |
-------------------------------+----------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)
 * owner:  macports-tickets@… => devans@…
 * port:   => poppler


Old description:

> 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!

New description:

 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!

--

Comment:

 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/40590#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list