You are not logged in.

#1 2008-05-02 01:15:22

synthead
Member
Registered: 2006-05-09
Posts: 1,337

[solved] yaourt -Sb [package]: [package] was not found on abs

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

#2 2008-05-02 01:45:59

Majkhii
Member
Registered: 2007-07-29
Posts: 53

Re: [solved] yaourt -Sb [package]: [package] was not found on abs

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

#3 2008-05-02 08:21:50

kumico
Member
Registered: 2007-09-28
Posts: 224
Website

Re: [solved] yaourt -Sb [package]: [package] was not found on abs

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

#4 2008-05-02 10:25:30

Majkhii
Member
Registered: 2007-07-29
Posts: 53

Re: [solved] yaourt -Sb [package]: [package] was not found on abs

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

#5 2008-05-02 11:15:24

kumico
Member
Registered: 2007-09-28
Posts: 224
Website

Re: [solved] yaourt -Sb [package]: [package] was not found on abs

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

#6 2008-05-02 11:43:52

Majkhii
Member
Registered: 2007-07-29
Posts: 53

Re: [solved] yaourt -Sb [package]: [package] was not found on abs

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

#7 2008-05-02 17:21:13

kumico
Member
Registered: 2007-09-28
Posts: 224
Website

Re: [solved] yaourt -Sb [package]: [package] was not found on abs

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

#8 2008-05-03 02:10:57

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: [solved] yaourt -Sb [package]: [package] was not found on abs

kumico wrote:

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

I installed yaourt this way and I am still getting the error.

Offline

#9 2008-05-03 02:20:40

kumico
Member
Registered: 2007-09-28
Posts: 224
Website

Re: [solved] yaourt -Sb [package]: [package] was not found on abs

what pkg are you trying to build.
building from community is currently broken because of the svn migration

Offline

#10 2008-05-03 21:28:56

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: [solved] yaourt -Sb [package]: [package] was not found on abs

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

#11 2008-05-03 22:21:28

kumico
Member
Registered: 2007-09-28
Posts: 224
Website

Re: [solved] yaourt -Sb [package]: [package] was not found on abs

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

#12 2008-05-03 23:20:21

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: [solved] yaourt -Sb [package]: [package] was not found on abs

AH!  The test directory.  I didn't see that, sorry!  I built yaourt and it works fine now, thanks!!

Offline

#13 2008-07-06 18:22:45

emphire
Member
From: Canada
Registered: 2007-03-21
Posts: 203

Re: [solved] yaourt -Sb [package]: [package] was not found on abs

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

Board footer

Powered by FluxBB