Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332401 - dev-vcs/subversion-1.6.12: does not work(launchd/inetd mode)
Summary: dev-vcs/subversion-1.6.12: does not work(launchd/inetd mode)
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-12 08:50 UTC by Reilune
Modified: 2013-08-26 19:16 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Reilune 2010-08-12 08:50:55 UTC
Trying to start subversion with launchd, I got the following error:
svn: Malformed network data

a special modification needed to make it work with launchd?? not sure

the "svnserve" from apple with the exactly same configuration(just remove $EPREFIX from ".plist" file), it works fine.
the one from portage with daemon mode also works fine.

Reproducible: Always

Steps to Reproduce:
1. start svnserve by "sudo launchctl load -w /Library/LaunchDaemons/org.tigris.subversion.plist
2. svn co svn://$user@127.0.0.1/test
3.

Actual Results:  
svn: Malformed network data


Expected Results:  
A    test/trunk
A    test/branches
A    test/tags
Checked out revision 1.


$ cat /Library/LaunchDaemons/org.tigris.subversion.plist 
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
	<dict>
		<key>UserName</key>
		<string>port</string>
		<key>GroupName</key>
		<string>port</string>
		<key>inetdCompatibility</key>
		<dict>
			<key>Wait</key>
			<false/>
		</dict>
		<key>Label</key>
		<string>org.tigris.subversion.svnserve</string>
		<key>KeepAlive</key>
		<true/>
		<key>RunAtLoad</key>
		<true/>
		<key>Program</key>
		<string>/Gentoo/usr/bin/svnserve</string>
		<key>ProgramArguments</key>
		<array>
			<string>svnserve</string>
			<string>-i</string>
			<string>--root</string>
			<string>/Gentoo/var/svn/repos</string>
			<string>--config-file</string>
			<string>/Gentoo/var/svn/conf/svnserve.conf</string>
			<string>--log-file</string>
			<string>/Gentoo/var/log/svnserve.log</string>
		</array>
		<key>ServiceDescription</key>
		<string>SVN Version Control System</string>
		<key>Sockets</key>
		<dict>
			<key>Listeners</key>
			<array>
				<dict>
					<key>SockFamily</key>
					<string>IPv4</string>
					<key>SockServiceName</key>
					<string>svn</string>
					<key>SockType</key>
					<string>stream</string>
				</dict>
			</array>
		</dict>
</dict>
</plist>

$ equery uses subversion
[ Legend : U - flag is set in make.conf       ]
[        : I - package is installed with flag ]
[ Colors : set, unset                         ]
 * Found these USE flags for dev-vcs/subversion-1.6.12:
 U I
 - - apache2         : Add Apache2 support
 - - bash-completion : Enable bash-completion support
 - - berkdb          : Adds support for sys-libs/db (Berkeley DB for MySQL)
 - - ctypes-python   : Build and install Ctypes Python bindings
 - - debug           : Enable extra debug codepaths, like asserts and extra
                       output. If you want to get meaningful backtraces see
                       http://www.gentoo.org/proj/en/qa/backtraces.xml
 - - doc             : Adds extra documentation (API, Javadoc, etc)
 - - dso             : Enable runtime module search
 - - elibc_FreeBSD   : ELIBC setting for systems that use the FreeBSD C library
 - - emacs           : Adds support for GNU Emacs
 - - extras          : Install extra scripts (examples, tools, hooks)
 - - gnome-keyring   : Enable support for storing passwords via gnome-keyring
 - - java            : Adds support for Java
 - - kde             : Adds support for kde-base/kde (K Desktop Enviroment)
 + + nls             : Adds Native Language Support (using gettext - GNU locale
                       utilities)
 - - perl            : Adds support/bindings for the Perl language
 - - python          : Adds support/bindings for the Python language
 - - ruby            : Adds support/bindings for the Ruby language
 - - sasl            : Adds support for the Simple Authentication and Security
                       Layer
 - - test            : Workaround to pull in packages needed to run with
                       FEATURES=test. Portage-2.1.2 handles this internally, so
                       don't set it in make.conf/package.use anymore
 - - vim-syntax      : Pulls in related vim syntax scripts
 - - webdav-neon     : Enable WebDAV support using net-libs/neon
 - - webdav-serf     : Enable WebDAV support using net-libs/serf
Comment 1 Rick Farina (Zero_Chaos) gentoo-dev 2013-08-26 19:16:54 UTC
Please reopen if this is still an issue.