You are not logged in.
If I try to build anything from source with yaourt, it says it's not on abs. However, the packages I am trying to build are in the abs. For example,
[max@pwn xorg-server]$ yaourt -Sb xorg-server
==> Building xorg-server from sources
xorg-server was not found on abs
xorg-server exists in /var/abs/extra, and the files to build it are there. What can I do to fix this?
Last edited by synthead (2008-05-03 23:20:59)
Offline
I have same error here with srcpac...
ABSROOT is set to /var/abs/ but doesn't work (of course is abs installed and updated)
Last edited by Majkhii (2008-05-02 01:46:15)
Proud to be ArchLinux64 user.
configs: http://github.com/Mihairu/config-files/tree/master
current desktop: here
Offline
i'l try and have a look at yaourt tonight,
though i'm sure there must be a better way to fix this.
for now, the patch below fixes srcpac,
--- /usr/bin/srcpac 2007-05-01 04:36:03.000000000 +0100
+++ /tmp/srcpac 2008-05-02 09:16:21.661341440 +0100
@@ -483,7 +483,7 @@
fi
if [ $ROOT -eq 0 ]; then
- build_packages "install" ${packages[@]}
+ build_packages "install" ${args[@]}
else
echo "This feature isn't done yet"
fi
sudo patch -i srcpac.patch /usr/bin/srcpac
let me know if works, and then i'll submit it to the bug tracker
Last edited by kumico (2008-05-02 08:23:40)
Offline
Hmm i copy the patch to srcpac.patch but it doesn't work
~ > sudo patch -i srcpac.patch /usr/bin/srcpac
patching file /usr/bin/srcpac
Hunk #1 FAILED at 483.
1 out of 1 hunk FAILED -- saving rejects to file /usr/bin/srcpac.rej
Proud to be ArchLinux64 user.
configs: http://github.com/Mihairu/config-files/tree/master
current desktop: here
Offline
hmm, i onno why that happened,
it works fine here
are you using srcpac 0.5-1 ?
anyway, you can do it manually
near the end of /usr/bin/srcpac, replace `build_packages "install" ${packages[@]}` with `build_packages "install" ${args[@]}`
Last edited by kumico (2008-05-02 11:15:59)
Offline
I do it manually, but it doesn't work
srcpac -Sbu
Source Targets: libxslt-1.1.23-1-x86_64
Proceed with upgrade? [Y/n] y
And no progress...
Proud to be ArchLinux64 user.
configs: http://github.com/Mihairu/config-files/tree/master
current desktop: here
Offline
hung here a little while ago when i checked it,
it was all because of the disc being slow though.
check your computer for disc activity, or wait a couple minutes and it should continue..
...
quoted from yaourt thread
git clone http://projects.archlinux.fr/yaourt.git yaourt
cd yaourt/test
makepkg -i
Last edited by kumico (2008-05-02 19:28:38)
Offline
hung here a little while ago when i checked it,
it was all because of the disc being slow though.
check your computer for disc activity, or wait a couple minutes and it should continue..
...
quoted from yaourt threadgit clone http://projects.archlinux.fr/yaourt.git yaourt cd yaourt/test makepkg -i
I installed yaourt this way and I am still getting the error.
Offline
what pkg are you trying to build.
building from community is currently broken because of the svn migration
Offline
The one from projects.archlinux.fr, it looks like this
# Author: Julien MISCHKOWITZ <wain@archlinux.fr>
pkgname=yaourt
pkgver=0.9
pkgrel=1
pkgdesc="A Pacman frontend with more features and AUR support"
arch=(i686 x86_64 ppc)
url="http://www.archlinux.fr/yaourt-en/"
license="GPL"
depends=('wget' 'diffutils' 'pacman>=3.1.0')
conflicts=('bash-completion-yaourt')
replaces=('bash-completion-yaourt')
install=yaourt.install
backup=('etc/yaourtrc')
source=(http://archiwain.free.fr/os/i686/$pkgname/$pkgname-$pkgver.src.tar.gz)
md5sums=('6b280a549e8157105e624581cc54e56f')
build() {
cd $startdir/src/$pkgname
make install DESTDIR=$pkgdir || return 1
}
Offline
you need to use yaourt 9.1 ++ from the git repository.
previous versions have no support for svn
git clone http://projects.archlinux.fr/yaourt.git yaourt
cd yaourt/test
makepkg -i
also i should note, community is currently broken, so building from there might not work
Offline
AH! The test directory. I didn't see that, sorry! I built yaourt and it works fine now, thanks!!
Offline
Is there a way to prevent the command "yaourt -Syu --aur" from "upgrading" from 0.9.1-1 to 0.9.2 while still allowing upgrades to newer versions of yaourt (incase the fix for abs gets included in a newer release)?
Offline