You are not logged in.

#101 2016-08-17 20:57:42

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 5,800
Website

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

SolarAquarion wrote:

the lack of a pkgbuild is what annoys me

Downloading and running one script from that directory is simpler (imo) than installing multiple testing packages that will conflict with the current official releases. That said, there is nothing stopping anyone from making a PKGBUILD. The archive will remain unversioned but the URL is constant. If you or someone else wants to make that happen then I can include the various setup.py scripts in the testing archive.

Really I just need to get around to releasing it but real life is far more pressing right now. Sorry for the delay.

Offline

#102 2016-09-18 19:08:41

ayushjsh
Member
Registered: 2013-03-21
Posts: 6

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

I came across this error and I am not sure what it is about. When searching for a package I found this weird error :

When I searched for emacs using

$bb-wrapper -Ss emacs

everything worked as expected and a list of packages was presented.
On the other hand when I tried to search for a package

$bb-wrapper -Ss wzb

I got this error

Traceback (most recent call last):
  File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3.5/site-packages/Bauerbill.py", line 1124, in <module>
    run_main()
  File "/usr/lib/python3.5/site-packages/Bauerbill.py", line 1107, in run_main
    return main(args)
  File "/usr/lib/python3.5/site-packages/Bauerbill.py", line 1070, in main
    return bb.display_sync_search()
  File "/usr/lib/python3.5/site-packages/Bauerbill.py", line 857, in display_sync_search
    found = AUR.AurPkg.AurPkgSet(self.powerpill.pm2ml.aur.search(term))
  File "/usr/lib/python3.5/site-packages/AUR/AurPkg.py", line 35, in __init__
    super(self.__class__, self).__init__(accessors, pkgs=pkgs)
  File "/usr/lib/python3.5/site-packages/XCPF/ArchPkg.py", line 44, in __init__
    for pkg in pkgs:
  File "/usr/lib/python3.5/site-packages/AUR/RPC.py", line 376, in get
    for pkg in self._get(*args, **kwargs):
  File "/usr/lib/python3.5/site-packages/AUR/RPC.py", line 438, in _get
    for pkg in json.loads(results):
  File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
    s.__class__.__name__))
TypeError: the JSON object must be str, not 'NoneType'

Offline

#103 2016-09-18 21:03:06

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 5,800
Website

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

I noticed this today too. The results format of the RPC interface has changed. I will upload a fix shortly (python3-aur).

Offline

#104 2016-09-19 07:07:29

Alad
Wiki Admin
Registered: 2014-05-04
Posts: 1,304

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

Xyne wrote:
SolarAquarion wrote:

the lack of a pkgbuild is what annoys me

Downloading and running one script from that directory is simpler (imo) than installing multiple testing packages that will conflict with the current official releases. That said, there is nothing stopping anyone from making a PKGBUILD. The archive will remain unversioned but the URL is constant. If you or someone else wants to make that happen then I can include the various setup.py scripts in the testing archive.

Really I just need to get around to releasing it but real life is far more pressing right now. Sorry for the delay.

Not sure to mention it here or in the other thread, but is the goal to eventually have powerpill & co. in a single package (as now with the pacboy archive), or to keep them separated? For former, adding a bunch of provides/conflicts should do the trick.

And yes, some setup files would come in handy. wink

Last edited by Alad (2016-09-19 07:07:44)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
User:Alad

Offline

#105 2016-09-23 01:00:38

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 5,800
Website

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

Ultimately powerpill and bauerbill can be merged into pacboy but I'll keep them as separate packages at first. The new powerpill package is just a wrapper script around a custom pacboy configuration option. The new bauerbill package is a bit more complex to remain mostly backwards-compatible. The ultimate goal will be to just pacboy with aliases for different configuration files.

No time for the setup files right now. When I do finally get some free time I'm going to re-organize my release process and try to set up a proper testing repo.

My TODO list continues to grow hmm

Offline

#106 2016-10-08 12:42:49

SolarAquarion
Member
Registered: 2014-05-18
Posts: 47

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

solaraquarion@apollo   ~/build  ./build.sh              1733  08:41:30
~/build/mp ~/build
makepkg: invalid option '--pkg'

Offline

#107 2016-10-08 13:40:02

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 5,800
Website

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

SolarAquarion wrote:

makepkg: invalid option '--pkg'

The default configuration file uses a patched version of makepkg (makepkgx) that restores the old "--pkg" option. You seem to have changed that. Either restore "makepkgx" or modify the command to work around the "--pkg" option.

Offline

#108 2016-10-08 23:51:01

SolarAquarion
Member
Registered: 2014-05-18
Posts: 47

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

# Maintainer(s): stef204
# Last modified: 2016-10-08 06:45:43 EDT
# Repository: AUR
# Package Base: mp
pushd mp
/usr/bin/bb-query_trust -l . AUR/mp 1475923543 stef204 || exit 1
makepkgx -irs --pconfig /etc/pacman.conf --pkg mp
pacman --config /etc/pacman.conf -T mp || exit 1
popd

Offline

#109 2016-10-09 00:36:35

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 5,800
Website

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

It should be fixed in bauerbill-2016.10.9. Thanks for reporting the error.

Offline

#110 2016-11-07 01:56:50

steventheevilz
Member
Registered: 2016-11-07
Posts: 2

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

I am trying to build linux-grsec using ABS

I ran

$ pacaur --build -S linux-grsec

and got

Traceback (most recent call last):
  File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3.5/site-packages/Bauerbill.py", line 1124, in <module>
    run_main()
  File "/usr/lib/python3.5/site-packages/Bauerbill.py", line 1107, in run_main
    return main(args)
  File "/usr/lib/python3.5/site-packages/Bauerbill.py", line 1078, in main
    sync_pkgs, sync_deps, build_pkgs, build_deps = bb.get_sync_and_build_targets()
  File "/usr/lib/python3.5/site-packages/Bauerbill.py", line 569, in get_sync_and_build_targets
    build_pkgs |= self.powerpill.pm2ml.buildable_pkgs(sync_pkgs)
  File "/usr/lib/python3.5/site-packages/XCPF/ArchPkg.py", line 140, in __ior__
    self.pkgs.update(other.pkgs)
AttributeError: 'generator' object has no attribute 'pkgs'

Help plz.

Offline

#111 2016-11-09 14:17:20

steventheevilz
Member
Registered: 2016-11-07
Posts: 2

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

Oh whoops, forgot to mention that I have 'pacaur' aliased to 'bb-wrapper --aur'

Offline

#112 2016-11-09 14:59:24

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

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

steventheevilz wrote:

Oh whoops, forgot to mention that I have 'pacaur' aliased to 'bb-wrapper --aur'

Wrong thread?

UPDATE. Sorry, I was too quick to judge.

Last edited by SanskritFritz (2016-11-09 15:50:50)


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

Offline

#113 2016-11-09 15:03:57

Alad
Wiki Admin
Registered: 2014-05-04
Posts: 1,304

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

You might want to reread the posts above yours.

Last edited by Alad (2016-11-09 15:04:10)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
User:Alad

Offline

#114 2016-11-11 01:40:13

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 5,800
Website

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

@steventheevilz
It should be fixed with

  • bauerbill 2016.11-1

  • python3-xcpf 2016.11-1

Please update and try again.

Offline

Board footer

Powered by FluxBB