You are not logged in.

#1 2006-07-20 16:06:08

mdv
Member
From: Poland
Registered: 2005-04-09
Posts: 145

aurbuild -sua exits with error message

I'll just put the console output it is self-explanatory:

$ aurbuild -sua
librsync......................................up2date
jpeg2pdf......................................up2date
pdfjam........................................up2date
encfs.........................................up2date
:: kdestyle-lipstik: local (2.2-2) appears to be newer than aur (2.2-1)
aurup.........................................up2date
pstotext......................................up2date
aurscripts....................................up2date
komparator....................................up2date
basket........................................up2date
:: csound: local (4.23f12gbs.11-1) appears to be newer than aur (4.23f13gbs.1-1)
solfege.......................................up2date
kio-locate....................................up2date
truecrypt-utils...............................up2date
einstein......................................up2date
ktranslator...................................up2date
realplayer....................................up2date
dotpac........................................up2date
kio-beagle....................................up2date
smssend.......................................up2date
kdecolorschemes...............................up2date
mtaskbar......................................up2date
kio_p7zip.....................................up2date
kleansweep....................................up2date
k3guitune.....................................up2date
wlassistant...................................up2date
aurbuild......................................up2date
yaourt........................................up2date
unrtf.........................................up2date
wordslatin....................................up2date
deb2targz.....................................up2date
yacpi.........................................up2date
Traceback (most recent call last):
  File "/usr/bin/aurbuild", line 867, in ?
    main()
  File "/usr/bin/aurbuild", line 760, in main
    aur = aur[1]
IndexError: list index out of range

I would be grateful for any suggestions.

Offline

#2 2006-07-20 20:28:09

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild -sua exits with error message

its trying to source the PKGBUILD from aur and return pkgname and pkgver. I'm guessing there is something weird about the pkgver variable in that PKGBUILD.
To help me trouble shoot please put a

print package

before that offending line at 759 and post the output here.

Offline

#3 2006-07-20 23:07:47

mdv
Member
From: Poland
Registered: 2005-04-09
Posts: 145

Re: aurbuild -sua exits with error message

$ aurbuild -sua
librsync
librsync......................................up2date
jpeg2pdf
jpeg2pdf......................................up2date
pdfjam
pdfjam........................................up2date
encfs
encfs.........................................up2date
kdestyle-lipstik
:: kdestyle-lipstik: local (2.2-2) appears to be newer than aur (2.2-1)
aurup
aurup.........................................up2date
pstotext
pstotext......................................up2date
aurscripts
aurscripts....................................up2date
komparator
komparator....................................up2date
basket
basket........................................up2date
csound
:: csound: local (4.23f12gbs.11-1) appears to be newer than aur (4.23f13gbs.1-1)
solfege
solfege.......................................up2date
kio-locate
kio-locate....................................up2date
truecrypt-utils
truecrypt-utils...............................up2date
einstein
einstein......................................up2date
ktranslator
ktranslator...................................up2date
realplayer
realplayer....................................up2date
dotpac
dotpac........................................up2date
kio-beagle
kio-beagle....................................up2date
smssend
smssend.......................................up2date
kdecolorschemes
kdecolorschemes...............................up2date
mtaskbar
mtaskbar......................................up2date
kio_p7zip
kio_p7zip.....................................up2date
kleansweep
kleansweep....................................up2date
k3guitune
k3guitune.....................................up2date
wlassistant
wlassistant...................................up2date
aurbuild
aurbuild......................................up2date
yaourt
yaourt........................................up2date
unrtf
unrtf.........................................up2date
wordslatin
wordslatin....................................up2date
deb2targz
deb2targz.....................................up2date
yacpi
yacpi.........................................up2date

Traceback (most recent call last):
  File "/usr/bin/aurbuild", line 868, in ?
    main()
  File "/usr/bin/aurbuild", line 761, in main
    aur = aur[1]
IndexError: list index out of range

Offline

#4 2006-07-20 23:22:35

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild -sua exits with error message

crap...that didn't help any its not getting the pkgname either.
One more time, replace that print package line with print argo instead.

I'm going to include a debug reference in the future so people don't have to go through this process again.

Offline

#5 2006-07-21 08:38:10

mdv
Member
From: Poland
Registered: 2005-04-09
Posts: 145

Re: aurbuild -sua exits with error message

$ aurbuild -sua
librsync
librsync......................................up2date
jpeg2pdf
jpeg2pdf......................................up2date
pdfjam
pdfjam........................................up2date
encfs
encfs.........................................up2date
kdestyle-lipstik
:: kdestyle-lipstik: local (2.2-2) appears to be newer than aur (2.2-1)
aurup
aurup.........................................up2date
pstotext
pstotext......................................up2date
aurscripts
aurscripts....................................up2date
komparator
komparator....................................up2date
basket
basket........................................up2date
csound
:: csound: local (4.23f12gbs.11-1) appears to be newer than aur (4.23f13gbs.1-1)
solfege
solfege.......................................up2date
kio-locate
kio-locate....................................up2date
truecrypt-utils
truecrypt-utils...............................up2date
einstein
einstein......................................up2date
ktranslator
ktranslator...................................up2date
realplayer
realplayer....................................up2date
dotpac
dotpac........................................up2date
kio-beagle
kio-beagle....................................up2date
smssend
smssend.......................................up2date
kdecolorschemes
kdecolorschemes...............................up2date
mtaskbar
mtaskbar......................................up2date
kio_p7zip
kio_p7zip.....................................up2date
kleansweep
kleansweep....................................up2date
k3guitune
k3guitune.....................................up2date
wlassistant
wlassistant...................................up2date
aurbuild
aurbuild......................................up2date
yaourt
yaourt........................................up2date
unrtf
unrtf.........................................up2date
wordslatin
wordslatin....................................up2date
deb2targz
deb2targz.....................................up2date
yacpi
yacpi.........................................up2date
ksquirrel-libs
Traceback (most recent call last):
  File "/usr/bin/aurbuild", line 868, in ?
    main()
  File "/usr/bin/aurbuild", line 761, in main
    aur = aur[1]
IndexError: list index out of range

Offline

#6 2006-07-21 08:48:32

mdv
Member
From: Poland
Registered: 2005-04-09
Posts: 145

Re: aurbuild -sua exits with error message

I removed ksquirrel-libs and it still does not work.

Offline

#7 2006-07-21 10:55:51

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild -sua exits with error message

mdv wrote:

I removed ksquirrel-libs and it still does not work.

Please give me the tail output of that too.
ksquirrel-libs had a syntax error in the PKGBUILD that won't allow it to be sourced by source, so that explains that. If you removed it, then you may have another doing the same or something else screwy is going on at either rate I need to see which package its on with the print argo statement.

Offline

#8 2006-07-21 15:22:37

mdv
Member
From: Poland
Registered: 2005-04-09
Posts: 145

Re: aurbuild -sua exits with error message

netswitch.....................................up2date
google-earth

  Target: google-earth-4.0.1660-1

  Proceed with upgrade?  [Y/n] n
kerry

  Target: kerry-0.08-2

  Proceed with upgrade?  [Y/n] n
libsynaptics
Traceback (most recent call last):
  File "/usr/bin/aurbuild", line 868, in ?
    main()
  File "/usr/bin/aurbuild", line 761, in main
    aur = aur[1]
IndexError: list index out of range

Offline

#9 2006-07-21 15:35:10

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: aurbuild -sua exits with error message

libsynaptics also has a syntax error (there's a missing quote in the depends array). Try removing the package and rerunning aurbuild. If there is another error, post the  tail output.

Offline

#10 2006-07-21 15:42:25

mdv
Member
From: Poland
Registered: 2005-04-09
Posts: 145

Re: aurbuild -sua exits with error message

After removing libsynaptics it works. How is it possible, that AUR accepts packages with typos?

Offline

#11 2006-07-21 16:01:37

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: aurbuild -sua exits with error message

mdv wrote:

After removing libsynaptics it works. How is it possible, that AUR accepts packages with typos?

I guess that it depends on how you parse the info from the PKGBUILD. Probably aurbuild is less tolerant about these things. It just errors out while the AUR is accepting whatever is given to it.

Offline

#12 2006-07-21 21:42:33

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild -sua exits with error message

cool. Glad to see you got it resolved. I actually accounted for these PKGBUILD errors but failed to make it process that data at the right time. Anyways, I've made the proper adjustments so this info is given to the user in a more transparent manner and won't halt everything for the next release.

Offline

Board footer

Powered by FluxBB