Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17440 - Working Subversion 0.19.1 ebuild - full sandbox functionality
Summary: Working Subversion 0.19.1 ebuild - full sandbox functionality
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Paul de Vrieze (RETIRED)
URL: http://subversion.tigris.org
Whiteboard:
Keywords:
: 14040 17308 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-03-13 11:45 UTC by Kevin Williams
Modified: 2003-04-29 07:09 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild script (subversion-0.19.1.ebuild,1.77 KB, text/plain)
2003-03-13 11:47 UTC, Kevin Williams
Details
Gentoo env.d entry for subversion libraries (10subversion,20 bytes, text/plain)
2003-03-13 13:23 UTC, Kevin Williams
Details
mod_dav_svn configuration file (46_mod_dav_svn.conf,124 bytes, text/plain)
2003-03-13 13:24 UTC, Kevin Williams
Details
clean ebuild script (subversion-0.19.1.ebuild,2.99 KB, text/plain)
2003-03-23 16:31 UTC, Kevin Williams
Details
new mod_dav_svn configuration file (47_mod_dav_svn.conf,124 bytes, text/plain)
2003-03-23 16:33 UTC, Kevin Williams
Details
ChangeLog (ChangeLog,1.08 KB, text/plain)
2003-03-23 16:38 UTC, Kevin Williams
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Williams 2003-03-13 11:45:54 UTC
Everything works unless you have Apache2 install and don't specify "apache2" in your USE 
flags. 

Reproducible: Always
Steps to Reproduce:
 



>>> dev-util/subversion-0.19.1 merged. 
 
 dev-util/subversion 
    selected: none 
   protected: 0.19.1 
     omitted: none 
 
>>> clean: No packages selected for removal. 
 
>>> Regenerating /etc/ld.so.cache... 
>>> Auto-cleaning packages ... 
 
>>> No outdated packages were found on your system. 
 
 
 * Regenerating GNU info directory index... 
 * Processed 73 info files.
Comment 1 Kevin Williams 2003-03-13 11:47:26 UTC
Created attachment 9347 [details]
ebuild script

Worked around and cleaned up installation and configuration of mod_dav_svn into
Apache.
Comment 2 Kevin Williams 2003-03-13 13:23:56 UTC
Created attachment 9359 [details]
Gentoo env.d entry for subversion libraries
Comment 3 Kevin Williams 2003-03-13 13:24:31 UTC
Created attachment 9360 [details]
mod_dav_svn configuration file
Comment 4 Axxackall 2003-03-18 01:02:03 UTC
Note:  this build will create the Subversion shared libraries and a
       command-line client.  If you wish to build a Subversion server,
       you will need Apache 2.0.  See the INSTALL file for details.
 
>>> Source unpacked.
ssl
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
creating config.nice
configure: Apache Portable Runtime (APR) library configuration
checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a
build directory, or an apr-config file.
 
!!! ERROR: dev-util/subversion-0.19.1 failed.
!!! Function econf, Line 262, Exitcode 1
!!! econf failed
 
Comment 5 Tor Hovland 2003-03-18 15:20:33 UTC
Axxackall, read the bug description: Everything works unless you have Apache2 install and don't specify "apache2" in your USE flags. 
Comment 6 Axxackall 2003-03-18 18:59:59 UTC
Oops, my english-reading skills are not completely compatible with your english-writing skills, sorry about that.

Anyway, the command:
# USE="apache2" emerge subversion 
did the trick to upgrade apache1 to apache2 and now subversion is installed. But I didn't have time to configure it and to run it yet in order to confirm correctness of the ebuild.

BTW, why not require apache2 right in ebuild? Let me guess - to protect users who doesn't want to migrate to apache2 yet, right?
Comment 7 Kevin Williams 2003-03-19 00:39:36 UTC
I'm working on fixing this bug: "the --with-apr parameter is incorrect". If a user  
doesn't need or want a DAV-enabled server, then a working Apache2 install is not  
needed. I'm seeing this error when installing on a clean Gentoo install. (It takes time  
to set up a clean Gentoo machine!)  
  
I'm fixing other problems, too. For example, if you have "ldap" in your USE flags  
when compiling Apache2, it appears you get a 46_mod_ldap.conf file, so I'm  
changing my mod_dav_svn.conf file to 47. Also, Neon 0.23.8 is required for both  
client and server installations, so I'm making it a required dependency. I'm also  
working around the issue of the "./configure" script finding Apache2 installed even if  
you don't want it to.  
Comment 8 Alain Penders (RETIRED) gentoo-dev 2003-03-23 14:38:12 UTC
Take a look at http://cvs.gentoo.org/~alain/ -- this contains ebuilds to installed
Subversion 0.20.  From a first look at this ebuild, I'll probably want to include
some parts of it in the one I have published.
Comment 9 Alain Penders (RETIRED) gentoo-dev 2003-03-23 14:39:48 UTC
*** Bug 17308 has been marked as a duplicate of this bug. ***
Comment 10 Alain Penders (RETIRED) gentoo-dev 2003-03-23 14:40:42 UTC
*** Bug 14040 has been marked as a duplicate of this bug. ***
Comment 11 Kevin Williams 2003-03-23 16:31:21 UTC
Created attachment 9733 [details]
clean ebuild script

Something about included apr and apr-util that doesn't respect the sandbox, so
it's set to depend on Apache2 and Neon already installed.
Comment 12 Kevin Williams 2003-03-23 16:33:01 UTC
Created attachment 9734 [details]
new mod_dav_svn configuration file
Comment 13 Kevin Williams 2003-03-23 16:38:26 UTC
Created attachment 9735 [details]
ChangeLog
Comment 14 Axxackall 2003-03-23 22:38:13 UTC
somehow I don't see any names of all files attached here and have to guess the name when I save thme on my local disk. They all look like "attachment.cgi?id=xxxx&action=view". I think it's b/c of "text/plain". Is it possible to gather all files, tarball them and attach again? 
Comment 15 Alain Penders (RETIRED) gentoo-dev 2003-03-24 11:28:09 UTC
Shift-clicking the attachment link should download the file correctly.  If that
doesn't work, consider using another web browser ;-)

Kevin: please take a look at the link I gave before, and see what needs to be
added to these ebuilds.  I'll produce versions that don't (or only optionally)
rely on DB4 being in another directory and start adding them to CVS.
Comment 16 Axxackall 2003-03-26 11:43:13 UTC
Very strange. Shift-click works on Mozilla/Linux, but somehow it doesn't on Mozilla/Windows.
Comment 17 Dylan Carlson (RETIRED) gentoo-dev 2003-03-31 11:08:28 UTC
Alain, I have checked in dev-libs/apr which could be used by this ebuild to satisfy the APR dependency without requiring apache2.  

In other words, you could use the 'apache2' USE flag to build with apache as a server if that's what the user wants, otherwise it just builds the client.  (or something along those lines).
Comment 18 Paul de Vrieze (RETIRED) gentoo-dev 2003-04-23 04:03:50 UTC
I just committed a 0.20.1 ebuild that I wrote myself not knowing of your ebuild. I'll try to include parts of your ebuild after I'm confident that mine is in a working state
Comment 19 Paul de Vrieze (RETIRED) gentoo-dev 2003-04-28 07:08:11 UTC
Closing this bug as subversion-0.21.0 provides optional support for apache2
Comment 20 Paul de Vrieze (RETIRED) gentoo-dev 2003-04-29 07:09:01 UTC
I guess I forgot to actually close it.