Opened 10 years ago
Closed 10 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 10 years ago by
Priority: | P3 → P0 |
---|---|
Severity: | normal → blocker |
comment:2 Changed 10 years ago by
comment:3 Changed 10 years ago by
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 10 years ago by
Thanks.
My currently pending commit will have to wait, this time I want a complete make distcheck ... tomorrow.
comment:5 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
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 10 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Damned, this broke again ....
comment:7 Changed 10 years ago by
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 10 years ago by
@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 10 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
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.
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.