You are not logged in.

#801 2010-09-18 06:56:04

cap_sensitive
Member
Registered: 2010-04-05
Posts: 35

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

@ngoonee
It works. thanks.

Offline

#802 2010-09-18 11:24:13

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

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

If you enable the PatchDir then you can create a patch directly at the PKGBUILD prompt.

When it prompts you to inspect/edit the PKGBUILD, [ b]ack it up, [e]dit it, then [d]iff it to create a patch. It also works for the install file. If you need to patch other files then it might be possible to create them directly in the PatchDir and use AutoPatch, but I don't actually remember if I implemented that or not. tongue

I'll add a section about creating patches to the FAQ.

Last edited by Xyne (2010-09-18 11:33:30)


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

Offline

#803 2010-09-18 12:09:22

cap_sensitive
Member
Registered: 2010-04-05
Posts: 35

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

@Xyne
It seems that "AutoPatch" can't work. (I ' ve added $pkgname to "Autopatch" section)

Offline

#804 2010-09-18 12:37:54

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

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

Post your config, the path to the patch, and the patch itself.


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

Offline

#805 2010-09-18 12:54:51

cap_sensitive
Member
Registered: 2010-04-05
Posts: 35

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

config (patch is located in $PatchDir/aur/kernel26-bfs) :
  http://pastebin.com/yT75b1P8
PKGBUILD.patch:
  http://pastebin.com/kSP4Mc7f

thanks smile

Last edited by cap_sensitive (2010-09-18 12:57:51)

Offline

#806 2010-09-18 13:26:43

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

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

Sorry, it was my mistake. Autopatching was only applied to "trusted" PKGBUILDs (i.e. ones that the user is not prompted to edit).

It should be fixed in perl-xyne-arch 2010.09.18.1-1.


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

Offline

#807 2010-09-18 13:35:56

cap_sensitive
Member
Registered: 2010-04-05
Posts: 35

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

@Xyne
thanks! that is really a good news to me. smile

Offline

#808 2010-09-20 18:48:05

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

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

I just tried my editor line and I'm still getting the same error:

Editor = /usr/bin/emacsclient --socket-name /tmp/emacs1000/server
....
WARNING: about to source /tmp/bauerbill/build/aur/nethack-qt/PKGBUILD
view [v]  backup [b]  edit [e]  continue [ok]  skip [s]  abort [x]  e
sh: /usr/bin/emacsclient --socket-name /tmp/emacs1000/server: No such file or directory

Offline

#809 2010-09-20 19:02:41

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

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

@jdarnold
Try the latest version of perl-xyne-arch from my site and let me know if it works.


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

Offline

#810 2010-09-20 19:26:04

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

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

Yay, that works! Thx again for all your hard work!

Offline

#811 2010-09-21 11:08:38

cap_sensitive
Member
Registered: 2010-04-05
Posts: 35

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

@Xyne
Autopatch still can't work properly for me:
  http://pastebin.com/htnk8z13
T_T

Offline

#812 2010-09-21 11:53:33

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

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

@cap_sensitive
Try perl-xyne-arch>=2010.09.21.1-1 (get it from my repo) and let me know if that works. Make sure that you either remove or reset the permissions of the build directory first.


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

Offline

#813 2010-09-21 12:12:31

cap_sensitive
Member
Registered: 2010-04-05
Posts: 35

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

@Xyne
Problem solved.
Thanks! wink

Offline

#814 2010-09-24 20:21:27

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

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

I'm expecting this to be a user error, but it's the first time I hit an error using bauerbill - which has so far been excellent for me.
I'm trying to install android-sdk from AUR, on a 32bit system

Here's my command call:

 sudo bauerbill --aur --build-as skanky -S AUR/android-sdk

I also tried it without the "AUR/" bit as well, as that was recently added after reading some recommendation somewhere on the forum.

There is no configuration file.

Firstly, it tries to resolve the 64bit dependencies - this may not be bauerbill's fault, obviously and as it gives me an option to ignore them, I just do. So no issue there, just informational.

The result is:

--> Switching to pacman: '/usr/bin/pacman --config /etc/pacman.conf -S android-sdk"
error: 'android-sdk': could not find or read package

I'm at the latest version (have upgraded and Xyne's repo is in my pacman.conf).
Anyone got any idea what I've done wrong?

EDIT: I've just managed to install something else (hnb) from AUR using Bauerbill. So there must be something about android-sdk.

Last edited by skanky (2010-09-24 21:33:12)


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#815 2010-09-24 21:53:39

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

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

@skanky
It's due to the limitations of the Bash parser. Remove the line beginning with:

[ "$CARCH" = 'x86_64' ] && depends=

If you enable the PatchDir, then you can [ b]ackup the PKGBUILD at the prompt, [e]dit it and then [d]iff it to create a patch that you can apply later when rebuilding it (use AutoPatch to automate it).


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

Offline

#816 2010-09-24 22:12:25

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

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

Xyne wrote:

@skanky
It's due to the limitations of the Bash parser. Remove the line beginning with:

[ "$CARCH" = 'x86_64' ] && depends=

If you enable the PatchDir, then you can [ b]ackup the PKGBUILD at the prompt, [e]dit it and then [d]iff it to create a patch that you can apply later when rebuilding it (use AutoPatch to automate it).

Excellent, the manual edit worked, as expected.
I shall apply do the patch stuff over the weekend. Hadn't seen that before and that should solve another issue I had with a different package. One of those "must sort this sometime" ones that never gets sorted. Now I know how, I'll actually get it done. smile

Many thanks, and for the quickness of the response, too.

(Edit typo)

Last edited by skanky (2010-09-24 22:12:49)


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#817 2010-10-02 03:17:06

cap_sensitive
Member
Registered: 2010-04-05
Posts: 35

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

Hi Xyne:

Part 1:
If auto patch failed (eg. the PKGBUILD changed so that the patch can't be applied anymore), then I got an error:

--> Searching for AUR packages...
--> Loading AUR taurball data...
Can't locate object method "pretty_warn" via package "Xyne::Arch::Bauerbill" at /usr/share/perl5/vendor_perl/Xyne/Arch/Bauerbill.pm line 2865.

and bauerbill terminated.

I think it's better to "restore" the default PKGBUILD and leave the user to decide what should do next.

Part 2:
If I install firefox-pgo from AUR, bauerbill can't resolve the line:

_xvfb="$(pacman -Qqo /usr/bin/Xvfb 2>/dev/null || pacman -Sp --print-format %n xorg-server-xvfb 2>/dev/null || echo xorg-server-xvfb)"

error message:

--> resolving $(pacman -Qqo /usr/bin/Xvfb 2>/dev/null || pacman -Sp --print-format %n xorg-server-xvfb 2>/dev/null || echo xorg-server-xvfb)... unresolvable

WARNING: unresolved dependencies: firefox-pgo -> $(pacman -Qqo /usr/bin/Xvfb 2>/dev/null || pacman -Sp --print-format %n xorg-server-xvfb 2>/dev/null || echo xorg-server-xvfb) (not found)
:: Do you want to ignore the above packages for this operation? [Y/n] 

update:
I read the posts above, It seems that the problem is due to the bash parser. If that, I think I' ve known the work around.

thanks.

Last edited by cap_sensitive (2010-10-02 03:30:43)

Offline

#818 2010-10-02 04:42:42

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

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

Part 1: It terminated because of the error, which itself was due to a misspelling ("pretty_warn" instead of "pretty_warning"). I've fixed it (in perl-xyne-arch) and pushed it to [community]. It should just display a warning and leave the file unchanged if the patch cannot be applied.

Part 2: It is indeed due to the Bash parser.

Last edited by Xyne (2010-10-02 04:44:24)


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

Offline

#819 2010-10-02 04:54:04

cap_sensitive
Member
Registered: 2010-04-05
Posts: 35

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

@Xyne:
Solved. thanks smile

Offline

#820 2010-10-03 16:55:38

Infin1ty
Member
From: Israel
Registered: 2009-10-09
Posts: 42

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

i have been using bauerbill for a while, just lately came across a problem.
when i'm issuing "sudo bauerbill -S <somepackage> --aur --cpan", it detects which packages to download, etc.., but when it starts downloading, the download simply hangs!, by hangs i mean, it won't even download 1 byte.
if i take the URL from the pkgbuilds and use "aria2c <url>" then it downloads, but from bauerbill it's just stands there and not moving.
i have updated everything to the latest.

Offline

#821 2010-10-03 18:41:27

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

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

@Infin1ty
It works here. What packages are you trying to install from CPAN?
Have you changed the default Aria2Args?


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

Offline

#822 2010-10-04 08:42:32

Infin1ty
Member
From: Israel
Registered: 2009-10-09
Posts: 42

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

Xyne wrote:

@Infin1ty
It works here. What packages are you trying to install from CPAN?
Have you changed the default Aria2Args?

I tried installing perl-jmx4perl for example, "sudo bauerbill -S perl-jmx4perl --aur --cpan"

I haven't changed anything regarding Aria2Args, it does not work on both of my laptops running arch.

Offline

#823 2010-10-04 17:54:14

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

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

@Infin1ty
For whatever reason, aria2c fails to download the files in the metalink.

Run the following to create the metalink:

bauerbill -S --cpan perl-jmx4perl --trust-cpan --save-metalink test.metalink

Then run

aria2c  -M test.metalink -l aria2.log --log-level=debug

to generate a log file. Send both to the aria2c dev to see what he has to say about it (he's friendly and responds quickly... tell him I said hi).

It might be worth mentioning that aria2c is able to download those files directly with "aria2c <url 1> <url 2>...", so it seems to be an internal error in the way it handles metalinks (maybe the redirection is throwing it off... I can see the lights on my switch blinking so it is interacting with the network).


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

Offline

#824 2010-10-04 20:46:00

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 688

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

Hey I have a strange problem. When I use group name to install things from it; even if I specify which packages to install when Bauerbill goes to pacman, it goes from installing the packages I chose to install to installing all packages in that group.
example:
I want to install packages from group kde-sdk:

 S kdesdk                                                                                                                                                                                                       
:: group kdesdk (including ignored packages):
   [extra]
     kdesdk-cervisia kdesdk-dolphin-plugins kdesdk-kapptemplate kdesdk-kate kdesdk-kbugbuster kdesdk-kcachegrind kdesdk-kdeaccounts-plugin kdesdk-kdepalettes kdesdk-kioslave kdesdk-kmtrace kdesdk-kompare
     kdesdk-kpartloader kdesdk-kprofilemethod kdesdk-kstartperf kdesdk-kuiviewer kdesdk-lokalize kdesdk-poxml kdesdk-scripts kdesdk-strigi-analyzer kdesdk-umbrello
:: Install whole content? [Y/n] n
:: Install kdesdk-kstartperf from group kdesdk? [Y/n] n
:: Install kdesdk-umbrello from group kdesdk? [Y/n] n
:: Install kdesdk-kpartloader from group kdesdk? [Y/n] n
:: Install kdesdk-kbugbuster from group kdesdk? [Y/n] y
:: Install kdesdk-scripts from group kdesdk? [Y/n] n
:: Install kdesdk-kcachegrind from group kdesdk? [Y/n] n
:: Install kdesdk-kdeaccounts-plugin from group kdesdk? [Y/n] y
:: Install kdesdk-kioslave from group kdesdk? [Y/n] y
:: Install kdesdk-cervisia from group kdesdk? [Y/n] n
:: Install kdesdk-kompare from group kdesdk? [Y/n] y
:: Install kdesdk-kate from group kdesdk? [Y/n] y
:: Install kdesdk-kuiviewer from group kdesdk? [Y/n] n
:: Install kdesdk-kapptemplate from group kdesdk? [Y/n] n
:: Install kdesdk-kmtrace from group kdesdk? [Y/n] n
:: Install kdesdk-poxml from group kdesdk? [Y/n] n
:: Install kdesdk-strigi-analyzer from group kdesdk? [Y/n] y
:: Install kdesdk-kprofilemethod from group kdesdk? [Y/n] n
:: Install kdesdk-dolphin-plugins from group kdesdk? [Y/n] y
:: Install kdesdk-kdepalettes from group kdesdk? [Y/n] n
:: Install kdesdk-lokalize from group kdesdk? [Y/n] n

This is what I choose to install and what I choose not to install through bauerbill
Then when it goes to pacman and the installation itself this is what I get:

Targets (28): kdesdk-cervisia-4.5.1-2  kdesdk-kompare-4.5.1-2  kdesdk-dolphin-plugins-4.5.1-2  kdesdk-kapptemplate-4.5.1-2  kdesdk-kate-4.5.1-2  kdesdk-kbugbuster-4.5.1-2  kdesdk-kcachegrind-4.5.1-2
              kdesdk-kdeaccounts-plugin-4.5.1-2  gsfonts-1.0.7pre44-2  libwmf-0.2.8.4-8  libcroco-0.6.2-1  librsvg-2.26.3-1  babl-0.1.2-1  gegl-0.1.2-1  gimp-2.6.10-1  kdesdk-kdepalettes-4.5.1-2
              kdesdk-kioslave-4.5.1-2  kdesdk-kmtrace-4.5.1-2  kdesdk-kpartloader-4.5.1-2  kdesdk-kprofilemethod-4.5.1-2  kdesdk-kstartperf-4.5.1-2  kdesdk-kuiviewer-4.5.1-2  kdesdk-lokalize-4.5.1-2  antlr-2.7.7-7
              kdesdk-poxml-4.5.1-2  kdesdk-scripts-4.5.1-2  kdesdk-strigi-analyzer-4.5.1-2  kdesdk-umbrello-4.5.1-2

where's the problem, how come that Bauerbill doesn't "send" the info which packages pacman should install?


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#825 2010-10-05 15:57:19

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

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

@Primoz
That happened because it was passing along the arguments directly. I've updated perl-xyne-arch and perl-xyne-common so that it will now replace the group name with the names of the selected packages.

Update both packages (version >=2010.10.05.1) and let me know if it works as expected.


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

Offline

Board footer

Powered by FluxBB