[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Broken output of gen_make.py

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Mon, 9 Mar 2009 23:54:41 -0500

In investigating the newly-failing in-tree JavaHL tests, I discovered
that some path variables are no longer being set correctly in build-
outputs.mk. Specifically, when using libtool and building shared
libraries, we get paths which look like this:

libsvn_fs_fs_PATH = subversion/libsvn_fs_fs
libsvn_fs_util_PATH = subversion/libsvn_fs_util
libsvnjavahl_PATH = subversion/bindings/javahl/native

This happens for the paths to all of our dynamically loaded
libraries. Instead, the above should be set to the following values:

libsvn_fs_fs_PATH = subversion/libsvn_fs_fs/.libs
libsvn_fs_util_PATH = subversion/libsvn_fs_util/.libs
libsvnjavahl_PATH = subversion/bindings/javahl/native/.libs

This isn't a problem for the standard build, because we don't actually
use any of those path variables. We do use libsvnjavahl_PATH, which
is used to set the path to the jni library when running 'make check-
javahl'. Hence the failure.

I've tried looking into gen-make and friends, but to no avail. Since
this happened around the same time as our change in libtool, I think
that it make be related to that, but I'm not quite familiar enough
with the build system to know the exact cause or the fix. Thoughts?

-Hyrum

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1301062
Received on 2009-03-10 05:56:21 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.