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

Re: Error with transform_sql.sh rule

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Wed, 28 Apr 2010 09:33:41 -0500

On Wed, Apr 28, 2010 at 1:21 AM, Daniel Richard G. <skunk_at_iskunk.org> wrote:

> I'm building Subversion 1.6.11 from a read-only source tree. I get this:
>
> /nfs/subversion-1.6.11/build/transform_sql.sh
> /nfs/subversion-1.6.11/subversion/libsvn_fs_fs/rep-cache-db.sql <
> /nfs/subversion-1.6.11/subversion/libsvn_fs_fs/rep-cache-db.sql >
> /nfs/subversion-1.6.11/subversion/libsvn_fs_fs/rep-cache-db.h
> /bin/sh: /nfs/subversion-1.6.11/subversion/libsvn_fs_fs/rep-cache-db.h:
> Read-only file system
> gmake: *** [subversion/libsvn_fs_fs/rep-cache-db.h] Error 1
>
> Given that rep-cache-db.h is always generated at build time, and is not
> something that (I gather) can be bundled in the source tarball, it
> should be written to builddir, not to srcdir.
>

Yes, this is a bug in the build / distribution process. In 1.7 and beyond,
we pretransform the sql files, since they aren't platform-dependent, but
those bits have yet to be backported to 1.6.x.

-Hyrum
Received on 2010-04-28 16:34:14 CEST

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.