whizard is hosted by Hepforge, IPPP Durham

Opened 9 years ago

Closed 9 years ago

#732 closed defect (fixed)

8 test failures in unit tests

Reported by: Juergen Reuter Owned by: kilian
Priority: P0 Milestone: v2.2.7
Component: core Version: 2.2.6
Severity: blocker Keywords:
Cc:

Description

After the latest commit there are 8 test failures: os_interface, prclib_interfaces, prc_template_me, shower, prc_omega, compilations, prc_omega_diags....

******************************************************************************
*** FATAL ERROR: dlopen(./.libs/omega1.0.so, 5): Library not loaded: /Users/reuter/local/lib/libomega_core.0.dylib
  Referenced from: /Users/reuter/local/packages/whizard/trunk/
******************************************************************************
******************************************************************************

Change History (9)

comment:1 Changed 9 years ago by Juergen Reuter

Priority: P3P0
Severity: normalblocker

comment:2 Changed 9 years ago by kilian

Could be a Mac linker issue ... I don't see this in my runs, Jenkins also doesn't complain (so far).

Anyway, some further modifications here, which I have to sort out first.

comment:3 Changed 9 years ago by Juergen Reuter

Found the culprit, it was in m4/dl.m4 which WK forgot to update. Unfortunately have to do a complete recompilation before I can say something.

comment:4 Changed 9 years ago by kilian

Thanks.

My currently pending commit will have to wait, this time I want a complete make distcheck ... tomorrow.

comment:5 Changed 9 years ago by Juergen Reuter

Resolution: fixed
Status: newclosed

Resolved in r7038. As mentioned above it was the wrong export of the DYLD_FLAGS for MAC OS X Darwin and BSD systems.

comment:6 Changed 9 years ago by Juergen Reuter

Resolution: fixed
Status: closedreopened

Damned, this broke again ....

comment:7 Changed 9 years ago by Juergen Reuter

The error message is that the libwhizard_main is not loaded, so we have to include src/whizard-core/.libs in the DYLD_PATH. This HAS to be remembered whenever someone DARES to change the name of the whizard-core directory!!!!

comment:8 Changed 9 years ago by kilian

@JR: Those errors will surface on you system as long as it's the only MacOS in our group. I'd like to avoid this but I have no clue what the Mac linker is (not) doing.

Since MacOS can't be installed in a VM (which is a nuisance by itself), someone has to buy and maintain a MacOS server .. right now not possible, maybe later this year.

comment:9 Changed 9 years ago by Juergen Reuter

Resolution: fixed
Status: reopenedclosed

As I said, libwhizard_main is now no longer part of libwhizard_ut, so src/whizard-core needs to be explicitly included in the DYLD_PATH that gets exported in the testsuite.

Note: See TracTickets for help on using tickets.