Opened 10 years ago

Closed 4 years ago

#43595 closed defect (wontfix)

opal @0.4.0 breaks after ode @0.13 is reinstalled with the +debug variant

Reported by: cooljeanius (Eric Gallager) Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: opal ode

Description

I recently installed opal, and then after looking at the variants of its dependencies, decided to try installing ode with its +debug variant. After doing this though, rev-upgrade has been reporting opal as broken:

--->  Scanning binaries for linking errors
<snip>

Could not open /opt/local/lib/libode.1.dylib: Error opening or reading file (referenced from /opt/local/lib/libopal-ode.dylib)
DEBUG: Marking /opt/local/lib/libopal-ode.dylib as broken

Unfortunately rev-upgrade fails to rebuild it properly:

/usr/bin/g++-4.2 -o build/darwin/release/ODE/ODESimulator.os -c -Os -fPIC -I/opt/local/include src/ODE/ODESimulator.cpp
src/ODE/ODESimulator.cpp: In member function ‘virtual void opal::ODESimulator::stepPhysics()’:
src/ODE/ODESimulator.cpp:279: error: expected primary-expression before ‘=’ token
src/ODE/ODESimulator.cpp:279: error: expected primary-expression before ‘,’ token
src/ODE/ODESimulator.cpp:279: error: ‘dMULTIPLYOP0_331’ was not declared in this scope
scons: *** [build/darwin/release/ODE/ODESimulator.os] Error 1
scons: building terminated because of errors.
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_opal/opal/work/opal-0.4.0-src" && scons -j2 extra_include_path=/opt/local/include extra_lib_path=/opt/local/lib ODE 
Exit code: 2
Error: org.macports.build for port opal returned: command execution failed
DEBUG: Error code: CHILDSTATUS 53713 2
DEBUG: Backtrace: command execution failed

will attach the log from this rebuild attempt...

Attachments (1)

main.log (15.2 KB) - added by cooljeanius (Eric Gallager) 10 years ago.
failed rev-upgrade rebuild of opal after ode was installed +debug

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by cooljeanius (Eric Gallager)

Attachment: main.log added

failed rev-upgrade rebuild of opal after ode was installed +debug

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Cc: snc@… removed
Owner: changed from macports-tickets@… to snc@…

comment:2 Changed 10 years ago by nerdling (Jeremy Lavergne)

Status: newassigned

For me, ode @0.13 always installs version 3-ish regardless of variants: /opt/pspp/lib/libode.3.dylib.

Can you check which versions of ode are installed? port -v installed ode

It would seem the ode update has broken opal as I can't get opal to build with ode 0.13.

comment:3 in reply to:  2 Changed 10 years ago by cooljeanius (Eric Gallager)

Replying to snc@…:

Can you check which versions of ode are installed? port -v installed ode

$ port -v installed ode
The following ports are currently installed:
  ode @0.13_0+debug+universal (active) platform='darwin 10' archs='i386 x86_64'
  ode @0.13_0+universal platform='darwin 10' archs='i386 x86_64'

I tried comparing their contents, but they seem to have the same files to me... A diff between port contents output for when each one was activated comes out empty... Actually when activating the regular, non-debug variant of ode, and then forcing rev-upgrade, it also reports opal as broken, so I have no idea how I got opal installed in the first place... maybe MacPorts grabbed a binary archive of it or something?

comment:4 Changed 4 years ago by nerdling (Jeremy Lavergne)

Resolution: wontfix
Status: assignedclosed

Opal's been removed from MacPorts.

Note: See TracTickets for help on using tickets.