Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123570 - dev-php/PEAR-VersionControl_SVN - path for subversion command is incorrect
Summary: dev-php/PEAR-VersionControl_SVN - path for subversion command is incorrect
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: PHP Bugs
URL: http://pear.php.net/package/VersionCo...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-20 20:22 UTC by Walter White
Modified: 2007-08-21 08:03 UTC (History)
0 users

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


Attachments
PEAR-VersionControl_SVN-0.3.0_alpha1-r1.ebuild.diff (PEAR-VersionControl_SVN-0.3.0_alpha1-r1.ebuild.diff,812 bytes, patch)
2007-08-17 00:59 UTC, Jakub Moc (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Walter White 2006-02-20 20:22:12 UTC
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14-gentoo-r4 i686)
=================================================================
System uname: 2.6.14-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 acpi apache2 apm audiofile berkdb bz2 bzip2 calendar cdr cli crypt cups curl dba encode exif expat foomaticdb gd gdbm gif gmp gpm hal idn imagemagick imap ipv6 java jpeg ldap libwww maildir mbox mcal memlimit mhash mng mysql ncurses nls nowebdev pam pcre pdflib perl png python readline ruby sasl sdl session spell sqlite ssl tcpd tiff tokenizer udev unicode usb vda vhosts wddx xml xml2 xmlrpc xsl zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Walter White 2006-02-20 20:24:40 UTC
The PEAR package, dev-php/PEAR-VersionControl_SVN, uses a hard-coded path for the binary, svn.  On Gentoo systems the binary is normally located in /usr/bin/svn; however, this should be looked up (which svn) and then inserted into the file, /usr/share/php/VersionControl/SVN.php on line 210.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-08-17 00:59:23 UTC
Created attachment 128354 [details, diff]
PEAR-VersionControl_SVN-0.3.0_alpha1-r1.ebuild.diff

/usr/local -> /usr; using $(type -P svn) is pretty much pointless, if you install it somewhere else than the standard location, then define $svn_path in your code.
Comment 3 Markus Ullmann (RETIRED) gentoo-dev 2007-08-21 08:03:19 UTC
Patch applied to CVS