It looks like test.env is not being evaled any more. We use this in the
Subversion test suite to find all the dylibs so that the programs can run:
test.env DYLD_LIBRARY_PATH=`find ${worksrcpath}/subversion -type d
-name .libs | xargs echo | sed -e 's/ /:/g'` CLEANUP=true
This used to work, but now no longer does.
Can we get this behavior back?
And more importantly, how do we make changes to the port system without
breaking existing ports? Do we need to set up a test suite of ports
that we build to ensure that we don't break anything?
Regards,
Blair
--- Begin Message ---
On May 18, 2007, at 4:32 PM, Blair Zajac wrote:
The tests are failing and the DYLD_LIBRARY_PATH trick isn't
working, note the actual environment variable. I tried some tricks
to get it working, but was unable to. Any ideas?
I'm guessing base/ changed to not eval the command anymore.
We could write something else to construct the environment, or just
build it with ${worksrcpath} and set it in the portfile instead.
I don't know how soon I'll be able to look at it, but if you figure
out something you have my permission to commit it (without bumping
the rev).
DEBUG: Skipping completed com.apple.patch (subversion)
DEBUG: Skipping completed com.apple.configure (subversion)
DEBUG: Skipping completed com.apple.build (subversion)
---> Testing subversion
DEBUG: Executing com.apple.test (subversion)
DEBUG: Environment: DYLD_LIBRARY_PATH='`find'
DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/
_private_net_soft_scratch_users_blair_MacPorts_dports-
macports.org_devel_subversion/work/subversion-1.4.3" && make check'
Running all tests in compat-test...FAILURE
Running all tests in config-test...FAILURE
Running all tests in diff-diff3-test...FAILURE
From the tests.log:
START: compat-test
dyld: Library not loaded: /opt/local/lib/libsvn_test-1.0.dylib
Referenced from: /opt/local/var/db/dports/build/
_private_net_soft_scratch_users_blair_MacPorts_dports-
macports.org_devel_subversion/work/subversion-1.4.3/subversion/
tests/libsvn_subr/./compat-test
Reason: image not found
END: compat-test
--
Daniel J. Luke
+========================================================+
| *---------------- [EMAIL PROTECTED] ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
| Opinions expressed are mine and do not necessarily |
| reflect the opinions of my employer. |
+========================================================+
PGP.sig
Description: This is a digitally signed message part
--- End Message ---
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev