You are not logged in.
trying to checkout sometihng with svn out of fakeroot, i realized that this will not work:
# $Id: PKGBUILD,v 1.3 2004/07/25 10:25:54 damir Exp $
# Maintainer: damir <damir@archlinux.org>
# Contributor: damir <damir@archlinux.org>
pkgname=pingus-devel
pkgver=0.7.0
pkgrel=1
pkgdesc="a free Lemmings clone"
depends=('libxml2' 'clanlib')
url="http://pingus.seul.org"
source=($url/files/$pkgname-$pkgver.tar.bz2)
build() {
mkdir cd $startdir/src/pingus-svn
cd $startdir/src/pingus-svn
svn checkout svn://svn.berlios.de/pingus/trunk/
#cd $startdir/src/$pkgname-$pkgver
#./configure --prefix=/usr
#
#make || return 1
#make DESTDIR=$startdir/pkg install
}
trouble:
==> Starting build()...
svn: Can't check path '/root/.subversion': Permission denied
make: *** No targets specified and no makefile found. Stop.
==> ERROR: Build Failed. Aborting...
this is logical, because fakeroot is not root, but is there a trick to make svn work inside build() of PKGBUILD?
The impossible missions are the only ones which succeed.
Offline
i doubt it ... well unless you want to compromise your passwd.
AKA uknowme
I am not your friend
Offline
why not use:
http://pingus.seul.org/files/pingus-0.6.0.tar.bz2
as the source?
Offline
Or try svn export.
I haven't had this problem with namcap or srcpac...
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
why not use:
http://pingus.seul.org/files/pingus-0.6.0.tar.bz2
as the source?
because it needs clanlib 0.6 and we are running 0.7 (the HEAD _should_ work with 0.7)
The impossible missions are the only ones which succeed.
Offline
Or try svn export.
I haven't had this problem with namcap or srcpac...
the same:
svn: Can't check path '/root/.subversion': Permission denied
The impossible missions are the only ones which succeed.
Offline
the problem was:
/root was drwxr-x--- and fakeroot was not able to enter it
the solution:
make /root world r and x (open the door)
the trouble: it is a security risk to let users know what is in /root ... on my private machine this does not matter, but it is not recomendend to set /root world-readable on a public machine
The impossible missions are the only ones which succeed.
Offline
You should just be able to set +x but not +r. svn just needs to be able to get through /root, not look in it.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
You should just be able to set +x but not +r. svn just needs to be able to get through /root, not look in it.
thanx for the tip
The impossible missions are the only ones which succeed.
Offline
This thread is pretty old, but I think a better solution is to use the --config-dir option, optionally with --no-auth-cache.
svn --config-dir $startdir/src/$pkgname-$pkgver checkout svn://svn.berlios.de/pingus/trunk/
Offline