[MacPorts] #38024: vigra package won't compile under clang
MacPorts
noreply at macports.org
Mon Feb 11 09:11:40 PST 2013
#38024: vigra package won't compile under clang
------------------------+--------------------------------
Reporter: fishbolt@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: MacPorts Future
Component: ports | Version: 2.1.3
Keywords: | Port:
------------------------+--------------------------------
"port install virga" results in:
{{{
---> Building vigra
Error: org.macports.build for port vigra returned: command execution
failed
Please see the log file for port vigra for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_vigra/vigra/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port vigra failed
}}}
Inspecting the log shows this as the first error:
{{{
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsyn
c.macports.org_release_tarballs_ports_graphics_vigra/vigra/work/vigra-1.8.0/in
clude/vigra/numpy_array.hxx:1077:28: error: use of undeclared identifier
'chec
kInnerStride'
:info:build vigra_precondition(checkInnerStride(Stride()),
:info:build ^
:info:build this->
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_vigra/vigra/work/vigra-1.8.0/include/vigra/error.hxx:321:81:
note: expanded from macro 'vigra_precondition'
:info:build #define vigra_precondition(PREDICATE, MESSAGE)
vigra::throw_precondition_error((PREDICATE), MESSAGE)
:info:build
^
}}}
A bit of googling shows this is a known issue with older vigras and an
update from the git sources should fix the problem.
http://comments.gmane.org/gmane.comp.video.vigra/211
--
Ticket URL: <https://trac.macports.org/ticket/38024>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list