[MacPorts] #53137: Poppler 0.50.0 Undeclared Identifier

MacPorts noreply at macports.org
Thu Dec 22 15:50:45 CET 2016


#53137: Poppler 0.50.0 Undeclared Identifier
---------------------+---------------------
 Reporter:  lefte    |      Owner:
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.3.5
 Keywords:  poppler  |       Port:  poppler
---------------------+---------------------
 I'm receiving an error when attempting to upgrade poppler from 0.49.0_0 <
 0.50.0_1 using `port upgrade outdated`. From the output:

 {{{
 $ sudo port clean poppler
 --->  Cleaning poppler
 $ sudo port upgrade outdated
 --->  Computing dependencies for poppler
 --->  Fetching archive for poppler
 --->  Attempting to fetch poppler-0.50.0_1.darwin_16.x86_64.tbz2 from
 https://packages.macports.org/poppler
 --->  Attempting to fetch poppler-0.50.0_1.darwin_16.x86_64.tbz2 from
 http://sea.us.packages.macports.org/macports/packages/poppler
 --->  Attempting to fetch poppler-0.50.0_1.darwin_16.x86_64.tbz2 from
 http://lil.fr.packages.macports.org/poppler
 --->  Fetching distfiles for poppler
 --->  Verifying checksums for poppler
 --->  Extracting poppler
 --->  Configuring poppler
 --->  Building poppler
 Error: org.macports.build for port poppler returned: command execution
 failed
 Please see the log file for port poppler for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/main.log
 Error: Unable to upgrade port: 1
 }}}

 And the first apparent lines from the log:

 {{{
 695 :info:build JPEG2000Stream.cc:169:37: error: use of undeclared
 identifier 'OPJ_CLRSPC_SRGB'; did you mean 'CLRSPC_SRGB'?
 696 :info:build     if (priv->image->color_space == OPJ_CLRSPC_SRGB &&
 numComps == 4) { numComps = 3; }
 697 :info:build                                     ^~~~~~~~~~~~~~~
 698 :info:build                                     CLRSPC_SRGB
 699 :info:build /opt/local/include/openjpeg.h:133:2: note: 'CLRSPC_SRGB'
 declared here
 700 :info:build         CLRSPC_SRGB = 1,                /**< sRGB */
 701 :info:build         ^
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53137>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list