[FFe] libapache2-svn missing in saucy

Bug #1209493 reported by klockren
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
subversion (Debian)
Fix Released
Unknown
subversion (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

[FFe]

libapache2-svn was dropped in Debian to unblock the Apache 2.4 transition. This was an intentional regression.

Patches have been in Debian BTS for a while, and a DD has now uploaded a delayed NMU for it. (The package is now libapache2-mod-svn).

I'd like to cherry-pick this change for Saucy, but only if the NMU lands. The patch against the NMU notice in Debian BTS looks good. But since this involves a "new" binary package, I don't have visibility of the exact canonical patch yet. But I will make sure that what I cherry-pick only impacts the new binary package, and test it myself.

Impact: we will completely regress the Subversion Apache module if we do not fix this. Regression risk: as long as we're only impacting the new binary package, I don't see that we can make the situation worse. I will need to check carefully that this will only impact the new binary package.

[Original Description]

The package does not exist in saucy - and mod_dav_svn.so is not provided by any other package.

Revision history for this message
Robie Basak (racb) wrote :

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712004 and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666794. Debian intentionally removed libapache2-svn to unblock the transition to apache 2.4.

libapache2-svn has always been in universe in Ubuntu, so needs volunteers to help Debian fix this.

Revision history for this message
Robie Basak (racb) wrote :

Debian's changelog entry was:

   * Stop building libapache2-svn (closes: #712004, #666794).

Changed in subversion (Ubuntu):
status: New → Confirmed
Revision history for this message
klockren (jonas-almroth) wrote :

Fedora 19 seem to successfully have built Subversion against Apache 2.4.
By copying all libsvn*.so* modules, mod_authz_svn.so and mod_dav_svn.so from a Fedora 19 installation, subversion is working nicely in Apache 2.4 on my Ubuntu box. The dav_svn.load and .conf files where still in /etc/apache2/mods-available since before the upgrade raring->saucy.

Revision history for this message
Robie Basak (racb) wrote :

Right - it does look like a patch is available, but I think some packaging work is needed in Debian to rejig things for the packaging changes in the apache2 2.4 transition, too.

Revision history for this message
Shake (shake234) wrote :

This is critical for everybody hosting a subversion repository... So please fix this before reaching beta.

Revision history for this message
Shake (shake234) wrote :

@klockren: I tried to copy the files from Fedora.
But unfortunately I run into:

Cannot load /usr/local/lib/apache2/modules/mod_dav_svn.so into server: libsvn_repos-1.so.0: cannot open shared object file: No such file or directory

I have downloaded that lib and copied into /usr/local/lib

But obviously something is going wrong. Any hints?

Revision history for this message
Shake (shake234) wrote :

Okay: I did the following.

Under "/usr/lib/x86_64-linux-gnu" I created symlinks for the libs that are given within the error message.
The Fedora files expect each library so be available as "*.so.0" while they only the "*.so.1" symlinks are available.

Afterwards I had to install "libdb5.3"

Now it seems to work...

Changed in subversion (Debian):
status: Unknown → New
Changed in subversion (Debian):
status: New → Fix Committed
Robie Basak (racb)
summary: - libapache2-svn missing in saucy
+ [FFe] libapache2-svn missing in saucy
Robie Basak (racb)
description: updated
Changed in subversion (Ubuntu):
status: Confirmed → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in subversion (Ubuntu):
status: New → Confirmed
Revision history for this message
Robie Basak (racb) wrote :

I've uploaded a test package based on the NMUs in Debian by James McCoy. I've also added a dep8 test. Binary packages should build and be ready soon. If someone can test them, that would be appreciated.

Before this can land in Saucy, we need:

1) The feature freeze exception approved by the release team.

I would also prefer:

2) The NMU to land in Debian.
3) To verify that the NMU that lands is identical to the patch I've picked up from Debian BTS (for nmu5) and the breaks/replaces line matches what I've done, except for Ubuntu versioning differences (for nmu6).

Revision history for this message
Robie Basak (racb) wrote :
Revision history for this message
Martin Kunkel (ma-ku) wrote :

Tested subversion apache2 module from https://launchpad.net/~racb/+archive/experimental:
- Ubuntu saucy i386
- Apache/2.4.6 (Ubuntu)
- libapache2-mod-svn 1.7.9-1+nmu3ubuntu2~ppa2

Installation and execution of apache2 module works without any problems.

Changed in subversion (Debian):
status: Fix Committed → Fix Released
Revision history for this message
Robie Basak (racb) wrote :

Martin, thanks for the testing!

The Debian NMU has landed and I've verified that it's the same as the update I prepared in my PPA.

Save for a release team ack, this is now ready to land in Saucy. Debdiff attached.

Revision history for this message
Adam Conrad (adconrad) wrote :

Provision ACK, but I'd prefer this to be a merge that includes nmu4 as well, not just a cherrypick of nmu5.

Revision history for this message
Robie Basak (racb) wrote :

I've prepared a merge. Debdiffs attached. This passes against the dep8 test I wrote previous and include here.

Revision history for this message
Robie Basak (racb) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package subversion - 1.7.9-1+nmu6ubuntu1

---------------
subversion (1.7.9-1+nmu6ubuntu1) saucy; urgency=low

  * Merge from Debian unstable. Remaining changes:
    - Create pot file on build.
    - debian/rules: Manually create the doxygen output directory, otherwise
      we get weird build failures when running parallel builds.
    - Build a python-subversion-dbg package.
    - Build-depend on python-dbg.
    - Build-depend on default-jre-headless/-jdk.
    - only build on requested python versions (X-Python-Versions:)
    - Do not apply java-build patch.
    - Drop svn2cl to Suggests; we don't particularly need it in Ubuntu main
  * Includes changes from Debian nmu5 and nmu6 to restore the Apache module
    (LP: #1209493). Thanks to James McCoy for the Debian NMUs.
  * d/tests/libapache2-mod-svn: add dep8 test for Apache functionality.
 -- Robie Basak <email address hidden> Mon, 07 Oct 2013 15:35:59 +0000

Changed in subversion (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.