You are not logged in.

#726 2010-06-24 01:01:40

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

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

@iiijjjiii
The problem isn't the name. It's that makepkg is exiting with an error:

...
  -> Found Text-Tabs+Wrap-2009.0305.tar.gz
==> ERROR: Integrity checks are missing.
...

The MD5 checksums are pulled from the metadata on CPAN. In this case the CPAN author has not provided a checksum for the source download. Here are 3 workarounds:

Workaround 1
When you get to the PKGBUILD inspection prompt, edit the PKGBUILD. In a separate terminal, "cd" to "/tmp/bauerbill/build/cpan/perl-text-tabs+wrap/" (or wherever your BuildDir is), run "makepkg -g", then insert the md5sums array that it returns into the PKGBUILD. Adding the following enabled me to build the current version of perl-text-tabs+wrap:

md5sums=('dab239630e8cf2e6b2a3a292926ce47b')

Workaround 2
Use

bauerbill --makepkg-args '--skipinteg'

to make makepkg skip the integrity check.


Workaround 3
At the PKGBUILD inspection prompt, do not edit the PKGBUILD. Instead, do this:

cd /tmp/bauerbill/build/cpan/perl-text-tabs+wrap/
makepkg --skipinteg

After that, simply enter "ok" at the bauerbill prompt. It should detect the built package and install it, then move on to the other packages.



I would not recommend workaround 2 as it will affect all makepkg integrity checks. If you use workaround 1,  you can first enable the PatchDir. At the prompt, back up the PKGBUILD, edit it, then diff it. If you have to rebuild the package later, you will then have the option to patch it at the prompt.

I also discovered a bug in the generation of the "arch" array. It should be fixed in the latest version of perl-xyne-arch.

Last edited by Xyne (2010-06-24 01:09:00)


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

Offline

#727 2010-06-24 12:57:12

iiijjjiii
Member
Registered: 2008-05-20
Posts: 8

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

Workaround 1 solved it. Thanks.

Offline

#728 2010-06-25 03:27:34

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

$bauerbill -S sdl
--> Loading ABS taurball data...
--> Checking for abs archive updates for the following repos: [extra]
error: tar exited with 256 (bsdtar -ztf /tmp/bauerbill/taurballs/extra.abs.tar.gz 2>/dev/null)

Saw the same error for KDE related stuff back in page 25 (from google). It was supposedly fixed but doesn't seem to be now. Happens for all ABS packages somehow. What should I check out?


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

#729 2010-06-25 08:14:32

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

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

ngoonee wrote:

Saw the same error for KDE related stuff back in page 25 (from google). It was supposedly fixed but doesn't seem to be now. Happens for all ABS packages somehow. What should I check out?

fixed

It was due to another change in pacman 3.4.0.


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

Offline

#730 2010-06-25 10:28: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

Yep, that works thanks.


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

#731 2010-06-26 10:21:12

gtklocker
Member
Registered: 2009-09-01
Posts: 462

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

Xyne: Can I use bauerbill update and build ONLY from ABS packages, and not to download dbs from repos and such?

Offline

#732 2010-06-27 07:55:53

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

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

gtklocker wrote:

Xyne: Can I use bauerbill update and build ONLY from ABS packages, and not to download dbs from repos and such?

I thought that I replied to your question yesterday, but apparently I never submitted it. hmm


Yes, that's possible. Use the "BuildAll" option and avoid using "-Sy" if you don't want to download the databases. Check the man page and configuration file comments to learn about what you can do with Bauerbill.

Btw, why wouldn't you want to use it to download the database?


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

Offline

#733 2010-06-27 10:34:14

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

Hi Xyne, I've seen previously (but can't track down now) some questions about how aria2 overflows its status line to the next line as long as there's more characters than 80. Is there anyway to make it such that it doesn't (besides silencing the whole line)?


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

#734 2010-06-27 11:31:38

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

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

@ngoonee
I've added a check that should truncate the line if it exceeds the terminal width. Install perl-xyne-arch>=2010.06.27.1 and let me know if it works as expected.


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

Offline

#735 2010-06-27 14:29:16

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

Hey, that works. Thanks much smile. Pity their line is so long and non-configurable, i just lose total speed smile. Anyway this is much less annoying now, if I want to see things I'll just max the term, and I don't get the whole thing spammed... Thanks Xyne.


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

#736 2010-06-29 16:18:25

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

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

I'm having a problem with bauerbill when updating pretty much any AUR package:

$ bbs pacgraph
WARNING: pacgraph does not match any package or group in sync db
--> Searching for AUR packages...
--> Loading AUR taurball data...
WARNING: about to source /tmp/bauerbill/build/aur/pacgraph/PKGBUILD
view [v]  backup [b]  edit [e]  continue [ok]  skip [s]  abort [x]  ok
saw PKGDEST
saw SRCDEST
saw PKGEXT
saw CARCH
--> resolving python... installed
--> Determining sizes of source files...

:: The following sources will be downloaded:
   http://kmkeen.com/pacgraph/pacgraph-20100628.tar.gz
     pacgraph


:: Number of Sources:                        1
:: Total Download Size:               0.01 MiB

:: Proceed with download? [Y/n] 

--> successfully downloaded pacgraph-20100628.tar.gz
                                                                                
Download Results:
gid|stat|avg speed  |path/URI
===+====+===========+===========================================================
  1|  OK|  32.7KiB/s|/tmp/bauerbill/build/aur/pacgraph/pacgraph-20100628.tar.gz

Status Legend:
 (OK):download completed.

--> Building pacgraph...

==> ERROR: An unknown error has occurred. Exiting...
ERROR: makepkg exited with an error (256)
saw PKGDEST
saw SRCDEST
saw PKGEXT
saw CARCH
WARNING: expected package does not exist: /tmp/bauerbill/build/aur/pacgraph/pacgraph-20100628-2-any.pkg.tar.xz
--> scanning /tmp/bauerbill/build/aur/pacgraph for matching packages...
ERROR: no package found: /tmp/bauerbill/build/aur/pacgraph/pacgraph-20100628-2-any.pkg.tar.xz
:: Abort? [Y/n]

Last edited by jdarnold (2010-06-29 16:22:51)

Offline

#737 2010-06-29 18:42:52

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

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

@jdarnold
Did you cut out the makepkg output before you posted? The "--> Building pacgraph..." message is printed just before it runs makepkg and the "==> ERROR:..." line is the last line of makepkg's output.

Try running makepkg in the build directory and try to fix whatever's causing the error. As far as I can tell, it has nothing to do with bauerbill (but I may be wrong).

I did notice that I had left some debugging messages in there though, so I've updated perl-xyne-arch to remove them.


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

Offline

#738 2010-06-30 12:47:28

vox.cogitatio
Member
Registered: 2009-12-30
Posts: 16

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

Thanks for the awesome package xyne. big_smile

I have a small bug report to submit. -Si breaks with this stack trace quite frequently:

bauerbill -Si extra/haskell-parsec
Use of uninitialized value $pkg in hash element at /usr/share/perl5/vendor_perl/Xyne/Arch/Hackage.pm line 423.
Use of uninitialized value $pkg_name in concatenation (.) or string at /usr/share/perl5/vendor_perl/Xyne/Arch/Bauerbill.pm line 2546.
error: /tmp/bauerbill/build/hackage/extra/haskell-parsec/PKGBUILD does not exist
Thread 2 terminated abnormally: URL missing at /usr/share/perl5/vendor_perl/Xyne/Arch/PKGBUILD.pm line 57.

bauerbill -Si coreutils                                                                                                       ~
Use of uninitialized value $pkg in hash element at /usr/share/perl5/vendor_perl/Xyne/Arch/Hackage.pm line 423.
Use of uninitialized value $pkg_name in concatenation (.) or string at /usr/share/perl5/vendor_perl/Xyne/Arch/Bauerbill.pm line 2546.
error: /tmp/bauerbill/build/hackage/coreutils/PKGBUILD does not exist
Thread 2 terminated abnormally: URL missing at /usr/share/perl5/vendor_perl/Xyne/Arch/PKGBUILD.pm line 57.

I've enabled hackage in the config file.

Edit: more info.

Last edited by vox.cogitatio (2010-06-30 13:13:38)

Offline

#739 2010-06-30 22:50:17

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

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

Thanks. I've updated perl-xyne-arch with a fix although I've only run a few quick tests. Grab it from my site or wait for your local mirror to sync, then let me know if I missed anything.


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

Offline

#740 2010-07-01 01:56:40

vox.cogitatio
Member
Registered: 2009-12-30
Posts: 16

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

Yep, it seems to work just fine now. Cheers.

Offline

#741 2010-07-01 14:22:03

vox.cogitatio
Member
Registered: 2009-12-30
Posts: 16

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

Perl-xyne-arch 2010.07.01.1-1 must have broken something with Hackage, because now -Si and plain -S usually fails like so:

[root@macro ~]# bauerbill -Ss haskell-regex-tdfa
Hackage/haskell-regex-tdfa 1.1.3
    Replaces/Enhances Text.Regex
Hackage/haskell-regex-tdfa-utf8 1.0
     ...

[root@macro ~]# bauerbill -Ss haskell-regex-tdfa
Hackage/haskell-regex-tdfa 1.1.3
    Replaces/Enhances Text.Regex
Hackage/haskell-regex-tdfa-utf8 1.0
     ...

[root@macro ~]# bauerbill -S haskell-regex-tdfa
WARNING: haskell-regex-tdfa does not match any package or group in sync db
--> Loading Hackage database...
--> Searching for Hackage packages...
--> Loading Hackage taurball data...
--> sourcing /tmp/bauerbill/build/hackage/haskell-regex-tdfa/PKGBUILD (trusting Hackage)
error: /tmp/bauerbill/build/hackage/haskell-regex-tdfa/PKGBUILD does not exist
[root@macro ~]# bauerbill -Si haskell-regex-tdfa
error: /tmp/bauerbill/build/hackage/haskell-regex-tdfa/PKGBUILD does not exist
[root@macro ~]# bauerbill -Ss haskell-regex-posix
extra/haskell-regex-posix 0.94.1-3 [installed: 0.94.2-1]  (installed: 0.94.2-1)
    The posix regex backend for regex-base

Hackage/haskell-regex-posix 0.94.2 (installed: 0.94.2-1)
    Replaces/Enhances Text.Regex

[root@macro ~]# bauerbill -S Hackage/haskell-regex-posix
WARNING: Hackage/haskell-regex-posix does not match any package or group in sync db
--> Loading Hackage database...
--> Searching for Hackage packages...
--> Loading Hackage taurball data...
--> sourcing /tmp/bauerbill/build/hackage/haskell-regex-posix/PKGBUILD (trusting Hackage)
error: /tmp/bauerbill/build/hackage/haskell-regex-posix/PKGBUILD does not exist
[root@macro ~]# bauerbill -Si Hackage/haskell-regex-posix
error: /tmp/bauerbill/build/hackage/haskell-regex-posix/PKGBUILD does not exist

Edit: I just noticed that -Sy, -Su and -Syu also fail with the same error message.

Last edited by vox.cogitatio (2010-07-01 15:22:32)

Offline

#742 2010-07-01 17:24:47

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

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

@Xyne - looks like there is some problem with 'makepkg'. Even if I just try to run it from the commandline, I get the same error:

$ makepkg -C

==> ERROR: An unknown error has occurred. Exiting...

Odd.

=== Edited to add:

It's definitely a problem with makepkg. See this thread:

http://bbs.archlinux.org/viewtopic.php? … 98#p784798

I added the following to bauerbill.conf:

MakepkgArgs = --nocolor

and it works fine now.

Last edited by jdarnold (2010-07-01 17:38:57)

Offline

#743 2010-07-01 18:30:23

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

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

@vox.cogitatio
I can't reproduce your errors:

$ pacman -Qi perl-xyne-arch | grep Version
Version        : 2010.07.01.1-1

$ bauerbill --hackage -Si Hackage/haskell-regex-posix
Repository     : Hackage
Name           : haskell-regex-posix
Version        : 0.94.2
Installed      : no
Description    : Replaces/Enhances Text.Regex
URL            : http://hackage.haskell.org/package/regex-posix
Licenses       : custom:BSD3
Architecture   : i686 x86_64
Groups         : None
Provides       : None
Depends On     : ghc haskell-cabal haskell-array haskell-bytestring haskell-containers haskell-regex-base>=0.93
Build Deps     : 
Optional Deps  : None
Conflicts With : None
Replaces       : None


$ bauerbill --hackage -S Hackage/haskell-regex-posix
WARNING: Hackage/haskell-regex-posix does not match any package or group in sync db
--> Loading Hackage database...
--> Searching for Hackage packages...
--> Loading Hackage taurball data...
WARNING: about to source /tmp/bauerbill/build/hackage/haskell-regex-posix/PKGBUILD
view [v]  backup [b]  edit [e]  continue [ok]  skip [s]  abort [x]  x

aborting...

The Hackage server seems to be responsive again so I doubt that it's a connection issue, but you could try increasing the timeout just in case. Does it download any files to /tmp/bauerbill?

It shouldn't be a permissions problem either but check the directory hierarchy under /tmp/bauerbill just in case.

I can keep trying to replicate this if you post your configuration file. There may be some obscure bug in one of your settings.



@jdarnold
Thanks for posting the workaround.


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

Offline

#744 2010-07-01 19:35:08

vox.cogitatio
Member
Registered: 2009-12-30
Posts: 16

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

It was actually a permissions error. I have BuildAs set to "bauerbill"* in my config file.
However, /tmp/bauerbill/ and everything under it was owned by root.
After doing a chown/chgrp to bauerbill/users it was working as intended again.
Correct me if I'm wrong but isn't at least the build folder supposed to be owned by the user running the build scripts?

* Is an unpriviliged user; Can be reproduced by useradd with no parameters.

Config file;

[options]

################################################################################
# Enable ABS support.

# ABS
################################################################################





################################################################################
# Enable AUR support.

# AUR
################################################################################





################################################################################
# Specify the architecture to use if autodetection fails.

# Arch = <architecture>
################################################################################





################################################################################
# [Powerpill option]

# Additional arguments to aria2c. These will be appended to the internal list of
# default arguments, replacing some of them when appropriate. The format used is
# the same as in aria2c configuration files, e.g. "lowest-speed-limit=10K"

# Options of immediate interest are "lowest-speed-limit", which can be used to
# filter slow mirrors while the download is in progress, and
# "max-download-limit", to limit download speed.

# Options which are required by Powerpill will be ignored. Beyond that,
# Powerpill does not check the sanity of the arguments given.

# Consult aria2c's documentation for a full list of available options and
# information about what they do.

Aria2Args = allow-overwrite=true continue file-allocation=none ftp-pasv=true max-concurrent-downloads=45 max-tries=2 metalink-enable-unique-protocol=false metalink-servers=45 summary-interval=0 timeout=10 file-allocation=none
################################################################################





################################################################################
# [Powerpill option]

# The path to the aria2c binary.

Aria2Bin = /usr/bin/aria2c
################################################################################





################################################################################
# Automatically build the specified packages using ABS. This works even when the
# "ABS" option is not set.

# Autobuild = [pkgnames]
################################################################################





################################################################################
# Automatically apply patches in the PatchDir to PKGBUILDs and install files
# when trusting the PKGBUILDs. If the prompt appears, the patch is not applied
# and it is left to the user.

# Autopatch = [pkgnames]
################################################################################





################################################################################
# Build all repo packages using ABS, including dependencies. This will bypass
# the ABS build queue dialogue.

# BuildAll
################################################################################





################################################################################
# If Bauerbill is run with root privileges, it will drop them and assume the
# privileges of the given user when sourcing files and building packages.

BuildAs = bauerbill
################################################################################





################################################################################
# Specify the build directory.

BuildDir = /tmp/bauerbill/build
################################################################################





################################################################################
# Enable CPAN support. Read the CPAN section of the man page before using this
# option.

# CPAN
################################################################################





################################################################################
# Move built packages to the cache. If PKGDEST is set in makepkg.conf, it will
# take precedence over this option.

# CacheBuilt
################################################################################





################################################################################
# Select a text editor for editing PKGBUILDs and install files.

# Editor = <path>
################################################################################





################################################################################
# Retrieve the AUR category list to enable translation of category IDs to
# category names when displaying information.

# GetCategories
################################################################################





################################################################################
# Enable Hackage support. Read the Hackage section of the man page before using
# this option.

Hackage
################################################################################





################################################################################
# Specify the cache directory where Hackage metadata files will be mirrored and
# where the Hackage database file will be created.

HackageCache = /tmp/bauerbill/hackage
################################################################################





################################################################################
# Keep build dependencies (makedeps) after a successful build.

# KeepMakedeps
################################################################################





################################################################################
# [Powerpill option]

# The LWP user-agent timeout, in seconds. This affects the timeout of internal
# network connections and is unrelated to Aria2 settings.

LWPTimeout = 10
################################################################################





################################################################################
# [Powerpill option]

# Powerpill output will be logged to this path if it is given.

# Log = /var/log/powerpill.log
################################################################################





################################################################################
# Additional arguments to makepkg which will be used when building packages from
# source. Check the makepkg documentation for details.

# Note that makepkg is NEVER RUN AS ROOT so there is no reason to pass it
# arguments which would allow it to be run as root.

MakepkgArgs = --nocolor
################################################################################





################################################################################
# Specify a different makepkg configuration file to use.

MakepkgConfig = /etc/makepkg.conf
################################################################################





################################################################################
# [Powerpill option]

# Cache database file lookups in memory to enable faster subsequent lookups.
# This will greatly speed up longer operations in most cases at the cost of a
# larger memory footprint.

# Memoize
################################################################################





################################################################################
# [Powerpill option]

# Suppress colored output.

# NoColor
################################################################################





################################################################################
# [Powerpill option]

# The path to the pacman binary or an equivalent, such as pacman-color.

PacmanBin = /usr/bin/pacman
################################################################################





################################################################################
# [Powerpill option]

# Specify a different pacman configuration file to use.

PacmanConfig = /etc/pacman.conf
################################################################################





################################################################################
# Specify the pacpan cache where CPAN metadata files will be mirrored and where
# the CPAN database file will be created.

PacpanCache = /tmp/bauerbill/pacpan
################################################################################





################################################################################
# The PatchDir should be a directory with the same nested hierarchy as the
# BuildDir. It will be checked for corresponding PKGBUILD and install file
# patches to apply before sourcing a given PKGBUILD.

# PatchDir = <path>
################################################################################





################################################################################
# [Powerpill option]

# Specify PkgD servers to query for packages before using external mirrors.

# PkgD = [address:port]
################################################################################





################################################################################
# Specify a path to a Powerpill configuration file which should be loaded before
# the Bauerbill configuration file. This lets the user keep all common options
# in a single configuration file and selectively override them in the Bauerbill
# configution file, which also contains Bauerbill-specific options. Make sure
# that you comment all settings in the Bauerbill configuration file that you do
# not want to override.

# PowerpillConf = /etc/powerpill.conf
################################################################################





################################################################################
# [Powerpill option]

# Use the Rebase module to update the sync database. See the Rebase
# documentation for more information.

# Rebase
################################################################################





################################################################################
# [Powerpill option]

# Enable retrieval of mirrors from the MirrorStatus webpage during a sync
# operation. This uses the Reflector module internally and accepts the same
# arguments that Reflector does. See the Reflector documentation for more
# information.

# There is absolutely no reason to pass any of the ranking options with this
# command as the order of the servers is completely irrelevant.

Reflect = -l 45
################################################################################





################################################################################
# [Powerpill option]

# The number of times that a failed download should be retried when run
# automatically.

RetryLimit = 3
################################################################################





################################################################################
# [Powerpill option]

# The minimum size, in MB (not MiB), that a file must be before it is split for
# segmented downloading.

SplitSize = 5
################################################################################





################################################################################
# Specify a storage directory for ABS and AUR taurballs. Taurballs are the
# archives containing the PKGBUILDs and local source files required by makepkg
# to build the package (AUR tarball = taurball).

TaurballDir = /tmp/bauerbill/taurballs
################################################################################





################################################################################
# If set, the user will not be prompted to inspect PKGBUILDs and install files
# for ABS packages. If you trust the binary packages created with those
# PKGBUILDs, you can probably trust the PKGBUILDs themselves.

# TrustABS
################################################################################





################################################################################
# If set, the user will not be prompted to inspect PKGBUILDs generated by
# Xyne::Arch::CPAN. Although these PKGBUILD are safe in the sense that they will
# never contain malicious code, they may sometime require editing to correct
# errors that arise due to absent or incorrect metadata on CPAN.

# TrustCPAN
################################################################################





################################################################################
# If set, the user will not be prompted to inspect PKGBUILDs generated by
# cabal2arch.

TrustHackage
################################################################################





################################################################################
# This option can be used to specify "trusted users" on the AUR. The user will
# not be prompted to inspect PKGBUILDs and install files for packages maintained
# by these "trusted users". Despite the name, this option is not limited to
# actual Arch TUs, although they are probably a good candidates for this list,
# as well as your own user account.

# This option is provided for convenience and completeness but it is inherently
# dangerous. Use it with caution.

# TrustedUsers = [trusted AUR users]
################################################################################





################################################################################
# Enable stty cbreak at the PKGBUILD inspection prompt. This enables the user to
# make a choice without pressing <return>, e.g. by typing "ok" instead of
# "ok<return>". Some users have reported issues with this so it has been changed
# to an option.

# UseCbreak
################################################################################





################################################################################
# Select a viewer for displaying text output. This can be used at the PKGBUILD
# inspection prompt to view text instead of printing it to the console. The
# viewer must accept text piped to it on STDIN, e.g. "/bin/less".

# Viewer = <path>
################################################################################

Edit: Config file.

Last edited by vox.cogitatio (2010-07-01 19:43:22)

Offline

#745 2010-07-01 20:38:42

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

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

It doesn't chown or chmod those directories once they've been created. There are probably a few fringe cases that can cause errors, such as running as one user then another, changing the BuildAs user, etc.

If you find a way to consistently reproduce the error in a (somewhat) typical usage scenario then I'll look into it but otherwise I'll leave it on my list of unsolved mysteries for now.


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

Offline

#746 2010-07-01 21:47:29

vox.cogitatio
Member
Registered: 2009-12-30
Posts: 16

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

I found that changing the BuildAs account can indeed reproduce the error. I also did change the account earlier, which is no doubt what caused the bug in the first place.

Last edited by vox.cogitatio (2010-07-01 21:47:49)

Offline

#747 2010-07-02 14:30:09

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

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

This is probably a stupid request considering what the "point" of powerpill is.

But is it possible to have an option to use Curl instead of Aria2c? Frankly, I love all of bauerbill's options, especially the "always build these packages" and the general integration of AUR and Repo handling. But, aria2c sucks for me. Whenever I have a large update, I have to fall back to yaourt/pacman first because aria messes it up and I have to retry several times. I've also seen several complaints in this thread about aria.

What I did for a short while was replace the aria2c binary location with /usr/bin/curl and just disabled the aria2c options, which mostly worked. But I'd also like to pass options to curl, which didn't seem to work with the way that bauerbill currently parses the aria options array.

EDIT: Maybe I dreamed that up, because it doesn't work when I try that now...

Last edited by pogeymanz (2010-07-02 14:41:52)

Offline

#748 2010-07-02 16:05:36

bfo
Member
Registered: 2009-11-27
Posts: 44

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

Hi
Is there a way to make bauerbill build all packages from the queue first and install them after build queue has been emptied? I'm having problems with updating firefox-kde-opensuse together with xulrunner-kde-opensuse with 'bauerbill -Syu --aur' because pacman install step is invoked just after building of xulrunner. However, old version of firefox-kde-opensuse still requires earlier xulrunner, which prevents pacman from updating xulrunner to the new version. I know there is '-d' pacman switch, but I feel there's something wrong in using it :-P

Offline

#749 2010-07-02 17:09:15

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

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

@pogeymanz
It would take a lot of work to make the download client optional. I know that Aria2 can be problematic and I actually do have a few ideas for a different approach, but I won't be able to get to it for a while. The best thing I can recommend in the meantime is to play around with aria2c's options and maybe contact the developer if you notice a clear error.


@bfo
Nope, sorry. Run-time dependencies may also be build-time dependencies, so they have to be installed when building packages. I suggest that you simply remove firefox-kde-opensuse with "pacman -Rd" before the operation.


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

Offline

#750 2010-07-02 17:18:18

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

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

bfo wrote:

Hi
Is there a way to make bauerbill build all packages from the queue first and install them after build queue has been emptied? I'm having problems with updating firefox-kde-opensuse together with xulrunner-kde-opensuse with 'bauerbill -Syu --aur' because pacman install step is invoked just after building of xulrunner. However, old version of firefox-kde-opensuse still requires earlier xulrunner, which prevents pacman from updating xulrunner to the new version. I know there is '-d' pacman switch, but I feel there's something wrong in using it :-P

Maybe you could add xulrunner-kde-opensuse to your ignored packages. That way it will be ignored in the bauerbill -Syu --aur, but it will still be installed as a dependency of firefox-kde-opensuse.

This is just a guess. I don't know if it will work.

Offline

Board footer

Powered by FluxBB