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

Re: Creating Packages of subversion

From: David Kimdon <dwhedon_at_debian.org>
Date: 2002-07-30 00:57:43 CEST

Mon, Jul 29, 2002 at 09:13:43PM +0100 wrote:
> Hello,
>
> Over the weekend I created an updated Debian package of subversion and
> came across some problems with getting the build system to install
> into the temporary area that is used to create the package.

Cool, I guess I haven't been quick enough getting 0.14.0 out. If you
want to help coordinate, hack, etc. that's great. At present
we're waiting on getting new apache2 .debs into the archive. I have
0.14.0 mostly ready, and it does pass the testsuite with apr 2.0.37
but I'd rather wait until we have a more recent apr (Thom May is
working on 2.0.40-pre or some such) in the archive to avoid subtle
bugs.

> It would help anyone that creating a package if it was possible to
> invoke make install as
>
> make install DESTDIR=debian/tmp

This is due to a bug in libtool:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=98342&repeatmerged=yes

Have a look at the current debian packages in debian/patches/ltmain.sh.diff
for a fix. You should apply the patch after running autogen.sh.

> The direct use of apxs2 to install mod_dav_svn.so into the apache
> modules directory is also a problem. If it could be made to use
> $(DESTDIR)$(path from apxs2 -q LIBEXECDIR) instead of apxs2 -i -a it
> would be of great help to anyone creating ether debs or rpms [1].

It would be nice to teach apxs2 to play better with packaging, I
agree. One option is to make some changes to apxs2 that would allow
this type of operation. I haven't looked into it in detail but is
seams to me the fix should go in apxs2 since that would benefit a
larger audience.

>
> I'm currenly looking into creating a patch to gen-make.py that will
> have the same effect as the attached patch to build-outs.mk - would the
> subversion developers accept such an patch to the build system ?
>

It isn't obvious to me what we get with the proposed DESTDIR fix that
we don't have with a prefix override, for example:
        
        $(MAKE) install prefix=$(INSTALL_PREFIX) -C build-svn

Hmm, that's all for now,

-David

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 30 00:55:34 2002

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.