Opened 12 years ago

Closed 11 years ago

#38024 closed defect (fixed)

vigra package won't compile under clang

Reported by: fishbolt@… Owned by: BSeppke (Benjamin Seppke)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: vigra

Description

"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

Change History (4)

comment:1 Changed 12 years ago by fishbolt@…

Cc: fishbolt@… added

Cc Me!

comment:2 Changed 12 years ago by mf2k (Frank Schima)

Cc: fishbolt@… removed
Milestone: MacPorts Future
Owner: changed from macports-tickets@… to benjamin.seppke@…
Port: vigra added

In the future, please fill in the Port field and Cc the port maintainer(s). As reporter you do not need to Cc yourself. Also, please do not set the Milestone field.

comment:3 in reply to:  description Changed 12 years ago by BSeppke (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 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.

http://comments.gmane.org/gmane.comp.video.vigra/211

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

Resolution: fixed
Status: newclosed

The update to 1.9.0 was committed in r110687; see #38062.

Note: See TracTickets for help on using tickets.