You are not logged in.

#751 2010-07-16 15:39:27

nuovodna
Member
Registered: 2007-12-15
Posts: 17

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

Hi, i have two questions:

1) how can upgrade only the git/svn/bzr/hg packages installed from AUR ???
2) how can i save the build directories of only git/svn/bzr/hg  packages ???


Thanks!!

Offline

#752 2010-07-17 00:29:33

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

nuovodna wrote:

Hi, i have two questions:
1) how can upgrade only the git/svn/bzr/hg packages installed from AUR ???
2) how can i save the build directories of only git/svn/bzr/hg  packages ???
Thanks!!

You will need the latest version of perl-xyne-arch (>=2010.07.17.1) for this as I had to update it.

1) run "bauerbill -S --devel --needed" without ABS enabled
2) use a different build directory with the "--build-dir" option, e.g.

alias bbd="bauerbill -S --devel --needed --build-dir /path/to/some/dir"

There is currently no way to filter developmental build directories from regular build directories, but I might add that later.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#753 2010-08-03 03:49:08

dapolinario
Member
From: Brasil
Registered: 2010-03-18
Posts: 58

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

Why all the packages from AUR are installed with "--asdeps"?

Last edited by dapolinario (2010-08-03 03:54:12)


Arch Linux: The power in your hands!

Offline

#754 2010-08-03 03:51:50

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

dapolinario wrote:

Why all the packages are installed with "--asdeps"?

They aren't. What are you doing/seeing?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#755 2010-08-03 03:55:40

dapolinario
Member
From: Brasil
Registered: 2010-03-18
Posts: 58

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

Only packages from AUR. I edited above.


Arch Linux: The power in your hands!

Offline

#756 2010-08-03 07:25:24

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

They aren't here either.

$ pacman -Qi bin32-google-earth | grep Reason
Install Reason : Explicitly installed
$ pacman -Qi bin32-skype | grep Reason
Install Reason : Explicitly installed

Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#757 2010-08-03 10:30:07

dapolinario
Member
From: Brasil
Registered: 2010-03-18
Posts: 58

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

Try to install a new package. Previously installed packages are not affected.


Arch Linux: The power in your hands!

Offline

#758 2010-08-03 11:35:19

eDio
Member
From: Ukraine, Kyiv
Registered: 2008-12-02
Posts: 422

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

I've found a bug.
The problem appears, when source is some script on webserver, f.ex.
http://source.web/$pkgname.tar.gz?some=parameters
It makes bauerbill (or aria2) to save file as "$pkgname.tar.gz?some=parameters", which itself causes an error

Try to install gcue2tracks with this PKGBUILD (currently it is in AUR) to replicate.

# Contributor: Artem Sereda <overmind88@gmail.com>                                                          
pkgname=gcue2tracks
pkgver=0.4.8
pkgrel=1
pkgdesc="Tool for spliting compressed audio CD image to tracks with filling tags from cue sheet info."
arch=(i686 x86_64)
url="http://trac-hg.assembla.com/gCue2tracks/wiki"    
license=('GPL')
depends=('pygtk' 'cuetools' 'shntool' 'ffmpeg' 'unzip')
optdepends=('id3v2: For MP3 tagging support')
makedepends=(gettext)
source=(http://trac-hg.assembla.com/gCue2tracks/attachment/wiki/Archive/$pkgname\_$pkgver.tar.gz?format=raw)
md5sums=('1891ced45cfd435ddc77d2ae93f89509')

build() {
  cd "$srcdir/gCue2tracks"
  install -Dm755 gcue2tracks ${pkgdir}/usr/bin/gcue2tracks
#sed  's/gCue2tracks %f/gcue2tracks %f/' gCue2tracks.desktop > gcue2tracks.desktop
  install -Dm644 gCue2tracks.desktop ${pkgdir}/usr/share/applications/gCue2tracks.desktop
  install -Dm644 gCue2tracks.glade ${pkgdir}/usr/share/gcue2tracks/gCue2tracks.glade
  install -Dm644 gCue2tracks.py ${pkgdir}/usr/share/gcue2tracks/gCue2tracks.py
  install -Dm644 config.py ${pkgdir}/usr/share/gcue2tracks/config.py
  install -Dm644 decoder.py ${pkgdir}/usr/share/gcue2tracks/decoder.py
  install -Dm644 preference.py ${pkgdir}/usr/share/gcue2tracks/preference.py
  install -Dm644 gCue2tracks.png ${pkgdir}/usr/share/gcue2tracks/gCue2tracks.png
  mkdir    -p ${pkgdir}/usr/share/locale/es/LC_MESSAGES/
  mkdir    -p ${pkgdir}/usr/share/locale/ru/LC_MESSAGES/
  mkdir    -p ${pkgdir}/usr/share/locale/fr/LC_MESSAGES/
  msgfmt  po/es.po -o ${pkgdir}/usr/share/locale/es/LC_MESSAGES/gCue2tracks.mo
  msgfmt  po/ru.po -o ${pkgdir}/usr/share/locale/ru/LC_MESSAGES/gCue2tracks.mo
  msgfmt  po/fr.po -o ${pkgdir}/usr/share/locale/fr/LC_MESSAGES/gCue2tracks.mo
  install -Dm644 menu/gCue2tracks ${pkgdir}/usr/share/menu/gCue2tracks
  install -Dm644 gCue2tracks.png ${pkgdir}/usr/share/pixmaps/gCue2tracks.png
}

yaourt installs this package without any problems

Offline

#759 2010-08-04 01:20:10

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

dapolinario wrote:

Try to install a new package. Previously installed packages are not affected.

Ah I see it. Probably one of the latest updates to perl-xyne-arch. Xyne will probably fix it soon, or reply here when his ban's been lifted.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#760 2010-08-04 16:41:39

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

@dapolinario
It should be fixed now. It was a bug introduced with this update.

@eDio
I didn't get the same error when I tested it. The initial download fails completely for me due to the '\_' escape in the URL (it's a limitation of the Bash parser).

Just skip past the Aria2 download when it fails to retrieve one of the source files. Bauerbill tries to determine everything that you'll need and download it all at once so that when you run makepkg for each package, the sources are already there, but if they are not (because of a failed download), makepkg will download what it needs by itself (which is how yaourt does it).

Otherwise you can use the PatchDir option and edit the URL in a way that the parser can handle.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#761 2010-08-05 09:13:04

eDio
Member
From: Ukraine, Kyiv
Registered: 2008-12-02
Posts: 422

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

Xyne
Thanks for explanations.
I've solved this issue, when it happened, by changing source to look like "filename:http://source.url".

Offline

#762 2010-08-05 12:22:35

sausageandeggs
Member
Registered: 2009-12-05
Posts: 66

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

Appologies if this has been mentioned before, i couldn't find anything.
If you have a comment after your /path/to/pacman in your bauerbill.conf. ie.
PacmanBin= /usr/bin/powerpill #powerpill 
then bauerbill fails saying

Can't exec "/usr/bin/powerpill #powerpill": No such file or directory at /usr/share/perl5/vendor_perl/Xyne/Arch/Bauerbill.pm line 984. 

It doesn't really break anything, i only noticed it becaue i was messing around with things but i thought you might like to know.

Offline

#763 2010-08-05 16:29:20

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

@sausageandeggs

Thanks for letting me know.

Normally filtering for end-of-line comments is easy with regular expressions, but the underlying module is used by several front-ends and I think I had a reason not to accept such comments. I would have to dig through all the code that uses it and consider all (reasonable) cases to be sure, which would be tedious and error-prone. As stated, it doesn't really break anything and all the user has to do is move the comment to its own line, so I think I'll just leave it as-is.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#764 2010-08-07 05:04:11

kmason
Member
From: Tempe, Arizona, USA
Registered: 2010-03-23
Posts: 256
Website

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

As of now, I can't install anything from the AUR (that's all I checked so far though).  I get this error:

Use of uninitialized value in string ne at /usr/share/perl5/vendor_perl/Xyne/Arch/Reflector.pm line 217.
Can't call method "filter" without a package or object reference at /usr/share/perl5/vendor_perl/Xyne/Reflector.pm line 288.

Offline

#765 2010-08-08 07:16:25

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

Are you sure you have the latest dependencies?
perl-xyne-arch  perl-xyne-common  powerpill


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#766 2010-08-08 17:57:37

kmason
Member
From: Tempe, Arizona, USA
Registered: 2010-03-23
Posts: 256
Website

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

SanskritFritz wrote:

Are you sure you have the latest dependencies?
perl-xyne-arch  perl-xyne-common  powerpill

Well, after a pacman update it is now working (I added Xyne's repo to my /etc/pacman.conf).

Offline

#767 2010-08-15 13:38:42

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

When an build fails, can you make it so that the makedepends are still removed?

Offline

#768 2010-08-15 13:55:55

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

pogeymanz wrote:

When an build fails, can you make it so that the makedepends are still removed?

Not a good idea IMO. Most likely you'd want to try again smile


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#769 2010-08-15 15:21:27

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

pogeymanz wrote:

When an build fails, can you make it so that the makedepends are still removed?

That's what the "Remove leftover dependencies?" prompt does. If you're not seeing that, then you're probably passing it the "KeepMakedeps" option, otherwise it's a bug, in which case you should post the full output along with a way to replicate it.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#770 2010-08-15 17:05:09

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

I just wanted to give clyde and bauerbill a try, because aurbuild doesn't do the job good enough for me anymore.

So I activated bauerbill's AUR support and chose a user for the build process in the config file. Then I ran a bauerbill -Syu. First the repos were synced, everything fine so far, but as soon as bauerbill starts looking for updates in the AUR, the RAM usage grows and grows, more than 300mb!! Why is that? Did I do something wrong? If not, how can I help to solve this?

Offline

#771 2010-08-15 19:01:36

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

Army wrote:

I just wanted to give clyde and bauerbill a try, because aurbuild doesn't do the job good enough for me anymore.

So I activated bauerbill's AUR support and chose a user for the build process in the config file. Then I ran a bauerbill -Syu. First the repos were synced, everything fine so far, but as soon as bauerbill starts looking for updates in the AUR, the RAM usage grows and grows, more than 300mb!! Why is that? Did I do something wrong? If not, how can I help to solve this?

That's a problem with Perl and threading. Each AUR query is run in a parallel thread, but each thread duplicates all variables in memory. I have a plan to deal with that, but it will be a while before I can implement it.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#772 2010-08-16 08:29:55

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

I also get this error when I install packages with bauerbill (not only from AUR) and powerpill. The installation works though.

Use of uninitialized value $_ in concatenation (.) or string at /usr/share/perl5/vendor_perl/Xyne/Arch/Reflector.pm line 337

The needed dependencies are installed.

Last edited by Barghest (2010-08-16 08:33:02)

Offline

#773 2010-08-16 22:04:15

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

Barghest wrote:

I also get this error when I install packages with bauerbill (not only from AUR) and powerpill. The installation works though.

Use of uninitialized value $_ in concatenation (.) or string at /usr/share/perl5/vendor_perl/Xyne/Arch/Reflector.pm line 337

The needed dependencies are installed.

What options are you passing to reflector? I don't see how that value could be uninitialized and I don't know how to reproduce it.

Are you using the latest version of perl-xyne-arch from my site, or the one in [community]? If you're using the one in [community], try the one from my site and let me know if it still gives that error.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#774 2010-08-17 01:35:05

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

Xyne wrote:
Barghest wrote:

I also get this error when I install packages with bauerbill (not only from AUR) and powerpill. The installation works though.

Use of uninitialized value $_ in concatenation (.) or string at /usr/share/perl5/vendor_perl/Xyne/Arch/Reflector.pm line 337

The needed dependencies are installed.

What options are you passing to reflector? I don't see how that value could be uninitialized and I don't know how to reproduce it.

Are you using the latest version of perl-xyne-arch from my site, or the one in [community]? If you're using the one in [community], try the one from my site and let me know if it still gives that error.

I'm seeing it too and your repo is at the top of my list. I'm only running 'powerpill --rebase' and have never bothered to configure anything.

By the way, the message is reported a bunch of times. 64 bit, of course.

-- EDIT --

Contact me if you need a grunt. I'll be more than happy to test for you.

Last edited by skottish (2010-08-17 01:47:32)

Offline

#775 2010-08-17 04:06:11

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

I see an easy way to avoid the error by grepping for defined values on that line, but I want to understand why it's uninitialized in the first place.

I've added some checks further up in the code. Update perl-xyne-arch from my site and let me know if it resolves the error. If not, do you get the same error when running stand-alone reflector? What's the full output, including the mirrorlist itself?


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

Board footer

Powered by FluxBB