You are not logged in.

#26 2016-02-14 20:28:17

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 6,419
Website

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

I have brought up the issue on the mailing list: https://lists.archlinux.org/pipermail/p … 20856.html

I have a workaround in mind. I'll probably post an update in a few hours.


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

Offline

#27 2016-02-14 21:59:27

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

Xyne wrote:

I have a workaround in mind. I'll probably post an update in a few hours.

Incidentally I also thought about using ----packagelist earlier today. As for the package extension, several big packages disable the compression in the PKGBUILD (such as wps-office) so you might want to fall back to "pkg.tar" if the default PKGEXT doesn't match the created package.

Offline

#28 2016-02-14 22:43:51

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 6,419
Website

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

I have a workaround using --packagelist but there are numerous edge-cases that are hard to deal with. The latest one is if DESTDIR is set and a package has previously been built, makepkg detects it but does not recreate the symlink in the working directory, so even with the package name the subsequent pacman -U command doesn't know where to look. I could add the makepkg.conf option to bauerbill.json, but then the user-configured makepkg commands lose versatility and bauerbill ends up having to source makepkg.conf, which is a bad idea.

I'm hoping that they'll see the utility of the "--pkg" option and bring it back because this is turning out to be a kludgy mess.

edit
After consideration and testing, the only reliable option is to patch makepkg to restore the --pkg option for selective install. Bauerbill now ships with makepkgx. Check the new default bauerbill.json file and update your own accordingly. In particular, for split package support, use make sure the command includes --pkg" followed by "{Name}".

Last edited by Xyne (2016-02-15 01:26:03)


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

Offline

#29 2016-02-15 10:56:10

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

Well, shipping a modified makepkg isn't ideal but I do agree that the removal of --pkg option sucks for split packages install.
I've read again the original thread in the pacman-dev list, and although I understand the rational behind the forced packaging of all subpackages, I'm wondering why keeping that option for install only couldn't make it upstream. Did I miss something here?

Offline

#30 2016-02-18 21:33:34

Alad
Wiki Admin/IRC Op/TU
From: Bagelstan
Registered: 2014-05-04
Posts: 1,972
Website

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

With the fix in #22, I've tried compiling plasma-desktop-git again, however it failed on ki18n-git with:

https://ptpb.pw/5jHA

It seems the PKGBUILD didn't include qt5-declarative, however when using makepkg manually with the list in #21 (https://ptpb.pw/j7PW), the dependency was already statisfied. Not an ideal situation, I'm aware, but I thought I'd mention it.

There were also some errors at the start of the process: https://ptpb.pw/trYW

Last edited by Alad (2016-02-18 21:34:29)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Honest Alad's Package Emporium—Now with added bugs! (Grand reopening: December 1st 2018)

Offline

#31 2016-02-19 22:40:18

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 6,419
Website

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

If the build fails then there's something wrong with the PKGBUILD or the package sources (or makepkg, but that's unlikely). Even if it's due to a missing dependency, makepkg should detect that before starting the build. If it doesn't then it means that the PKGBUILD is incomplete.

The missing dependency errors (==> ERROR: Could not resolve all dependencies.) are strange. Can you post the full output along with the bauerbill command(s)? Also post the generated download and build scripts along with your bauerbill.json file.

My initial suspicion is that your makepkg command lacks "-s" for dependency resolution. Check the default bauerbill.json file for the recommended command options.


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

Offline

#32 2016-02-24 18:51:51

Alad
Wiki Admin/IRC Op/TU
From: Bagelstan
Registered: 2014-05-04
Posts: 1,972
Website

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

Sorry for the delay, took some time to go over the 80 or so PKGBUILDs...

Full output from

sudo bb-wrapper --aur -S plasma-desktop-git

https://ptpb.pw/pd9j

build.sh: https://ptpb.pw/pW4I
clean.sh: https://ptpb.pw/Lfy3
download.sh: https://ptpb.pw/xWf8
bauerbill.json: https://ptpb.pw/i-CJ

The bauerbill.json is from /etc, as I didn't make custom changes.

Last edited by Alad (2016-02-24 18:52:05)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Honest Alad's Package Emporium—Now with added bugs! (Grand reopening: December 1st 2018)

Offline

#33 2016-02-24 23:45:35

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 6,419
Website

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

I don't understand how this is possible with "-irs":

==> Making package: extra-cmake-modules-git 5.16.0.r2701.7d6915b-1 (Mi 24. Feb 19:09:52 CET 2016)
==> Checking runtime dependencies...
==> Missing dependencies:
  -> cmake
==> Checking buildtime dependencies...
==> Missing dependencies:
  -> python-sphinx
==> ERROR: Could not resolve all dependencies.

Both packages are available in the repos and should be installed with "-s". What happens if you cd into build/extra-cmake-modules-git and run "makepkg -irs" manually?
Btw, the bb-wrapper is meant to be run without sudo. It should detect sudo and the normal user via the SUDO_USER environment variable, but maybe the error is there. If the manual makepkg command works, try running the build script and/or bb-wrapper as a regular user.


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

Offline

#34 2016-02-25 02:43:34

Alad
Wiki Admin/IRC Op/TU
From: Bagelstan
Registered: 2014-05-04
Posts: 1,972
Website

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

It seems the reason for the build failures was makepkg -r, as removing orphans showed some gaps in the PKGBUILD (make)depends.

About the makepkg errors, with makepkg: https://ptpb.pw/J7ku

with bb-wrapper --aur -S extra-cmake-modules-git (as a regular user): https://ptpb.pw/2RZh

I get the same error from ./download.sh:

./download.sh
INFO: searching AUR
INFO: found extra-cmake-modules-git at https://aur4.archlinux.org/cgit/aur.git/snapshot/extra-cmake-modules-git.tar.gz
~/build/extra-cmake-modules-git ~/build
extra-cmake-modules-git : 24713
~/build
==> Making package: extra-cmake-modules-git 5.16.0.r2701.7d6915b-1 (Do 25. Feb 03:44:41 CET 2016)
==> Checking runtime dependencies...
==> Missing dependencies:
  -> cmake
==> Checking buildtime dependencies...
==> Missing dependencies:
  -> python-sphinx
==> ERROR: Could not resolve all dependencies.

Last edited by Alad (2016-02-25 02:46:51)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Honest Alad's Package Emporium—Now with added bugs! (Grand reopening: December 1st 2018)

Offline

#35 2016-03-01 01:56:37

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 6,419
Website

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

I have added "--nodeps" to the common download arguments in the default bauerbill.json file which avoids dependency checks during download. The rest I consider errors in the PKGBUILDs (unlisted deps/makedeps) or makepkg (if it's removing packages other than those it installed for the build).


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

Offline

#36 2016-03-05 04:17:15

fusion809
Member
Registered: 2015-06-19
Posts: 70

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

Howdy, I just tried to install bauerbill with

yaourt -S bauerbill

, but there appears to be a gpg signing issue as I am getting an error:

==> Building and installing package
==> Making package: python3-xcgf 2016.1-1 (Sat Mar  5 14:14:03 AEST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading python3-xcgf-2016.1.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 11028  100 11028    0     0   5654      0  0:00:01  0:00:01 --:--:--  5652
  -> Downloading python3-xcgf-2016.1.tar.xz.sig...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   543  100   543    0     0   1221      0 --:--:-- --:--:-- --:--:--  1220
==> Validating source files with md5sums...
    python3-xcgf-2016.1.tar.xz ... Passed
    python3-xcgf-2016.1.tar.xz.sig ... Passed
==> Validating source files with sha512sums...
    python3-xcgf-2016.1.tar.xz ... Passed
    python3-xcgf-2016.1.tar.xz.sig ... Passed
==> Verifying source file signatures with gpg...
    python3-xcgf-2016.1.tar.xz ... FAILED (unknown public key 1D1F0DC78F173680)
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build python3-xcgf.
==> Restart building python3-xcgf ? [y/N]
==> -------------------------------------
==> 
==> Restart building pm2ml ? [y/N]
==> ------------------------------
==> 
==> Restart building pbget ? [y/N]
==> ------------------------------
==> 
==> Restart building bauerbill ? [y/N]
==> ----------------------------------
==> 

Never mind, I saw your and other comments on the python3-xcgf package.

Last edited by fusion809 (2016-03-05 04:23:38)

Offline

#37 2016-03-11 18:03:37

polospartan
Member
Registered: 2015-01-28
Posts: 2

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

Hi !

I just installed bauerbill package from AUR, I have this message when I try to use the completion for the command:

$ bauerbill -bash: completion: function `_powerpill' not found
$ bauerbill

The completion for powerpill works just fine. Any idea ?

Thanks in advance smile

Offline

#38 2016-03-12 12:35:12

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 6,419
Website

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

Hi polospartan,

I don't use completions and I don't really understand the completion file syntax. Can you edit /usr/share/bash-completion//completions/bauerbill and change "_powerpill" to "_pacman" and let me know if that works? If so then I will update the file in the package.

If anyone else wants to step in with a better solution or point me to the right documentation, please do. It will take me a while before I get to it on my own.


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

Offline

#39 2016-03-12 16:31:01

polospartan
Member
Registered: 2015-01-28
Posts: 2

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

It works, thank you !

Offline

#40 2016-03-13 19:13:38

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 6,419
Website

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

The package has been updated with the change. Thanks for testing it.


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

Offline

#41 2016-03-16 22:45:22

timofonic
Member
Registered: 2007-05-15
Posts: 46

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

Powerpill, Bauerpill...

Why two?

I use apacman, but it's not perfect. i also used packer, aura, cower, pacaur, yaourt and the now dead DigitalKiwi's Clyde (but that worked like a charm.

To me, both Archlinux and Gentoo have nice communities.

- Archlinux has nice binary packages and some important packages are updated more often (specially kernels). The AUR concept is great, but I'm unpleasant about too many orphan packages.

- Gentoo/Funtoo: I also miss the customizability of Gentoo, that I think it can go even further (theming, accesibility, maintaining dotfiles, syncing and automated collaborative building between machines...). But I don't like the reverse circular dependency hell it may happen, for example.

I see Exherbo got some improvements with Paludis, but there's certain community issues between both.

I see Pacman as a project that wants to grow, that's why there's zillion of AUR/pacman helpers. But there's some kind of resistance to change, despite the API changes.

I did understand the DigitalKiwi frustration:

* The changes to Pacman and AUR stuff were done without so much taking in account to third party developers, and it seems all this "creativity" of wrappers would be used more to improve the core package manager to become more powerful instead.

* I think one of the things Paludis and Clyde did right was to merge the core to C++, a more powerful and less dependent package. I think the package manager should be statical build and provide emergency solutions in case your system get broken, for example. Scripting would be used for the rest of the sauce, making the package manager be customized and evolve a lot faster than usual. I liked Clyde used Lua, because it's a very lightweight manager even after adding all the required libraries (compared to Python, for example).

** My ideal package manager:

*** Very good and optimized codebase.
*** Powerful functions.
*** Extreme robustness. No jokes like DNF, please.
*** Both a great binary and source package manager.
*** CI support.
*** Maximal automatization.
***Able to use your other machines to build or get mirrors: You would have a big machine for storing and building stuff for tiny ARM machines, or optimize packages for slower ones.
*** No more need to read letters all time: Try to manage upgrades and configuration file upgrades (those could be done in another format that the package manager could understand.
*** Simplified and sane directory structure.
*** Integration with packaging management of certain software: WeeChat, Irssi, Vim/NeoVim, Emacs, CPAN, Lua Rocks, Lua Power, Firefox, Pale Moon, etc.

So I would love an Archtoo Redux: The Revenge big_smile
(I know it's not gonna happen, but one can dream to not need to always mess between different distros that have more in common than it seems)

Last edited by timofonic (2016-03-16 22:47:14)

Offline

#42 2016-03-16 22:49:56

Alad
Wiki Admin/IRC Op/TU
From: Bagelstan
Registered: 2014-05-04
Posts: 1,972
Website

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Honest Alad's Package Emporium—Now with added bugs! (Grand reopening: December 1st 2018)

Offline

#43 2016-03-17 01:09:24

timofonic
Member
Registered: 2007-05-15
Posts: 46

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

Okay, sorry.

I understood the eply. Not going to write again about it. I don't need a blog just to get an audicence, anyway big_smile

Offline

#44 2016-03-17 04:14:24

timofonic
Member
Registered: 2007-05-15
Posts: 46

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

# bauerbill --aur -S pyneedle
created build/download.sh
created build/build.sh

I had a dejavu, but found it and put ut here before I forget it! I'll provide any needed info...

Thanks.

Offline

#45 2016-03-20 16:27:26

ygyfygy
Member
Registered: 2015-06-20
Posts: 10

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

Apparently, aur4.archlinux.org is dead/unmaintained/broken/whatever.

Please update farmer bill to use the usual aur website. There's no reason he should use old seeds.

Btw, I love powerpill+bauerbill.

Thanks.

Last edited by ygyfygy (2016-03-20 16:31:25)

Offline

#46 2016-03-21 14:31:05

ygyfygy
Member
Registered: 2015-06-20
Posts: 10

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

Thank you! That was fast.

Offline

#47 2016-03-23 00:45:17

sudoku
Member
Registered: 2012-10-31
Posts: 77

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

I've downloaded the latest bauerbill on AUR and I still have the error ygfygy reported:

ssl.CertificateError: hostname 'aur4.archlinux.org' doesn't match either of 'aur.archlinux.org', 'bbs.archlinux.org', 'git.archlinux.org', 'lists.archlinux.org', 'luna.archlinux.org', 'sources.archlinux.org', 'wiki.archlinux.org'

EDIT: Nevermind. Updated python3-aur and everything runs all right.

Last edited by sudoku (2016-03-23 06:20:55)

Offline

#48 2016-03-25 23:04:54

Y guy
Member
Registered: 2016-03-25
Posts: 13

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

Got BauerBill working. I want to integrate it into yaourt-gui (just pure bash).

then you have pacman, packer, yaourt, powerpill and bauerbill in one single UI   :-)

Offline

#49 2016-04-01 06:48:09

Sir7empest
Member
Registered: 2016-04-01
Posts: 1

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

So far I'm loving Bauerbill. Went so far as to build my own wrapper script for it (I'm a picky bastard). That being said, I have a few questions:

1. Does building from the ABS pull from the local ABS tree or does it download on it's own?

2. Does the hooks also run if you're installing a binary (anything through pacman) without AUR or ABS support? I have snapper on this system, and I'd like to be able to have it snapshot the system before bauerbill does any system changes.

Thanks.


Run before I break something.

Offline

#50 2016-04-01 14:47:00

Alad
Wiki Admin/IRC Op/TU
From: Bagelstan
Registered: 2014-05-04
Posts: 1,972
Website

Re: Bauerbill reborn: pacman/powerpill+AUR+ABS+configurability

Hi Xyne,

I'm trying to build microchip-mplabxc32-bin on an i686 system, but get some error messages:

WARNING: multiinfo query (lib32-gcc-libs): no results
ERROR: Unresolved dependencies: gcc-multilib lib32-gcc-libs lib32-x11

It seems like it's trying to also build the multilib (lib32) variant:

https://ptpb.pw/N5lu (download.sh)
https://ptpb.pw/XVsL (build.sh)

Last edited by Alad (2016-04-01 14:49:14)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Honest Alad's Package Emporium—Now with added bugs! (Grand reopening: December 1st 2018)

Offline

Board footer

Powered by FluxBB