#38024: vigra package won't compile under clang -------------------------+------------------------------- Reporter: fishbolt@… | Owner: benjamin.seppke@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: vigra | -------------------------+------------------------------- Comment (by benjamin.seppke@…): I'm currently working on a version jump from vigra 1.8.0 to vigra 1.9.0, which will solve the compilation issues. This means that the new port will also be working on Mac OS X 10.8.* I'm planning to finish the upgrsde this week. Best wishes, Benjamin Replying to [ticket:38024 fishbolt@…]:
"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.
-- Ticket URL: <https://trac.macports.org/ticket/38024#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS