After a bit more testing, it seems that just adding the --hotedit flag is enough even if I answer no when asked whether to edit the pkgbuild. Also, I tested against previous versions of aura (1.2.0.2 and 1.2.0.0), which also resulted in --custom not taking effect.
Search Criteria
Package Details: aura 3.2.9-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/aura.git (read-only, click to copy) |
---|---|
Package Base: | aura |
Description: | A secure package manager for Arch Linux and the AUR |
Upstream URL: | https://github.com/fosskers/aura |
Keywords: | AUR haskell pacman |
Licenses: | GPL3 |
Conflicts: | aura-bin, aura-git |
Submitter: | fosskers |
Maintainer: | fosskers |
Last Packager: | fosskers |
Votes: | 166 |
Popularity: | 0.005374 |
First Submitted: | 2012-06-13 09:49 (UTC) |
Last Updated: | 2022-05-23 18:42 (UTC) |
Dependencies (5)
- git (git-gitAUR)
- gmp (gmp-hgAUR)
- pacman (pacman-pbAUR, pacman-fancy-progress-gitAUR, pacman-gitAUR)
- stack (stack-binAUR, stack-staticAUR) (make)
- bash-completion (bash-completion-gitAUR) (optional) – for bash completions
Required by (1)
- pacup-arch-git (optional)
Sources (1)
Latest Comments
« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 18 19 .. 38 Next › Last »
roadnottaken commented on 2013-08-22 03:30 (UTC)
roadnottaken commented on 2013-08-20 21:27 (UTC)
Also, I don't think it should matter, but just in case: I'm using aura as provided by the aura-bin package.
roadnottaken commented on 2013-08-20 21:22 (UTC)
customizepkg-patching
fosskers commented on 2013-08-20 21:16 (UTC)
Thanks. Which of the various `customizepkg`s are you using?
roadnottaken commented on 2013-08-20 01:18 (UTC)
@fosskers Copied below. If I add --hotedit, the editor shows the PKGBUILD with the patch applied and the package builds successfully (patch shown at the bottom for completeness).
$ sudo -E aura -Ax --custom --auradebug --builduser=jre2718 gkrellshoot
User => root
True User => jre2718
Build User => jre2718
Using Sudo? => Yes!
Pacman Flags =>
Other Flags => AURInstall Unsuppress Customizepkg Debug BuildUser "jre2718"
Other input => gkrellshoot
Language => English
Pacman Command => pacman
Editor => /usr/local/bin/emacs
$CARCH => x86_64
Ignored Pkgs =>
Build Path => /var/cache/pacman/pkg/
Pkg Cache Path => /var/cache/pacman/pkg/
Log File Path => /var/log/pacman.log
Quiet? => No.
Silent Building? => No.
Must Confirm? => Yes!
PKGBUILD editing? => No.
Diff PKGBUILDs? => No.
Rebuild Devel? => No.
Use Customizepkg? => Yes!
Forego PowerPill? => No.
Keep source? => No.
aura >>= Determining dependencies...
aura >>= AUR Packages:
gkrellshoot
aura >>= Continue? [Y/n] y
aura >>= Building `gkrellshoot`...
/etc/makepkg.conf: line 35: //: Is a directory
==> Making package: gkrellshoot 0.4.4-1 (Mon Aug 19 18:09:54 PDT 2013)
==> WARNING: Using a PKGBUILD without a package() function is deprecated.
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading gkrellshoot-0.4.4.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Transient problem: timeout Will retry in 3 seconds. 3 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Transient problem: timeout Will retry in 3 seconds. 2 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Transient problem: timeout Will retry in 3 seconds. 1 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: mesh.dl.sourceforge.net
==> ERROR: Failure while downloading gkrellshoot-0.4.4.tar.gz
Aborting...
aura >>= Well, building `gkrellshoot` failed.
aura >>= Would you like to continue anyway? [Y/n] n
aura >>= Building failed.
$ cat /etc/customizepkg.d/gkrellshoot
--- ./PKGBUILD.original 2013-08-17 14:49:53.479961233 -0700
+++ ./PKGBUILD 2013-08-17 15:22:17.736621230 -0700
@@ -5,7 +5,7 @@ pkgdesc="A plugin for GkrellM for screen
arch=('i686' 'x86_64')
license=('GPL')
depends=('imagemagick' 'gkrellm' 'gtk2')
-source=(http://mesh.dl.sourceforge.net/sourceforge/gkrellshoot/$pkgname-$pkgver.tar.gz)
+source=("http://downloads.sourceforge.net/project/$pkgname/GkrellM2.0%20Port/$pkgver/$pkgname-$pkgver.tar.gz")
url="http://gkrellshoot.sourceforge.net/"
build() {
trusktr commented on 2013-08-19 18:11 (UTC)
@SaBer maybe your permissions for /var/cache/ were modified?
fosskers commented on 2013-08-19 17:49 (UTC)
Odd. Can you try using just `--custom` with `--auradebug` and show me the output of that?
roadnottaken commented on 2013-08-17 22:26 (UTC)
The --custom flag in version 1.2.1.1 seems to only work if I also set --hotedit and specifically tell the program to edit the PKGBUILD file. I'd expect --custom to work on its own. Perhaps this is a bug in the way aura parses the command line?
fosskers commented on 2013-07-31 21:15 (UTC)
Yup. Set the EDITOR environment variable, and run `sudo` with the `-E` option when building.
trusktr commented on 2013-07-31 19:15 (UTC)
@fosskers For sure. Is there an option change the editor that Aura starts when using --hotedit?
Pinned Comments
fosskers commented on 2020-02-02 02:43 (UTC) (edited on 2020-05-27 18:08 (UTC) by fosskers)
If you'd rather not deal with Haskell dependencies, a pre-built binary is available in the
aura-bin
package .