You are not logged in.
Hi guys!
What could be wrong with these packages and how could I fix it?
==> Retrieving package files
parallel: This job failed:
aur fetch -L /tmp/view.boOJTbjS nerd-fonts-fira-code neomutt-git
Offline
This is a devtools issue, in particular with arch-nspawn. Please open a report at: https://github.com/archlinux/devtools/issues
Thank you, done. I haven't tested yet but apparently it's already fixed in master.
Offline
Hi guys!
What could be wrong with these packages and how could I fix it?==> Retrieving package files parallel: This job failed: aur fetch -L /tmp/view.boOJTbjS nerd-fonts-fira-code neomutt-git
Hard to say. One of the reasons I'm looking to remove parallel is that it's not very helpful when debugging issues. See:
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Alad wrote:This is a devtools issue, in particular with arch-nspawn. Please open a report at: https://github.com/archlinux/devtools/issues
Thank you, done. I haven't tested yet but apparently it's already fixed in master.
The 2.4 release will likely stick to the old aur-chroot approach, with some modifications. Devtools bugs aside, the change from aur-chroot and dynamic pacman configuration to a single, static link to archbuild is rather big for a minor release.
https://github.com/AladW/aurutils/tree/ad/chroot (WIP)
Also a heads up on command-line options. In 2.3, aur-build has default makepkg arguments, but it will no longer in 2.4. aur-sync is unaffected. See:
https://github.com/AladW/aurutils/pull/635
Last edited by Alad (2019-11-15 00:39:26)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Is m4 a build dependency now, something screwed up (left out) in my nspawn container script, something related to base pkg vs group changes, or ?
depends = git
depends = jq
depends = expac
depends = diffstat
depends = pacutils
depends = parallel
depends = wget
optdepends = bash-completion: bash completion
optdepends = devtools: aur-chroot
optdepends = vifm: build file interaction
The faIiled build below. After installing m4, built and installed as expected.
$ makepkg -s
==> Making package: aurutils 2.3.3-1 (Wed Nov 27 17:37:30 2019)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found aurutils-2.3.3.tar.gz
-> Found aurutils-2.3.3.tar.gz.asc
==> Validating source files with sha256sums...
aurutils-2.3.3.tar.gz ... Passed
aurutils-2.3.3.tar.gz.asc ... Skipped
==> Verifying source file signatures with gpg...
aurutils-2.3.3.tar.gz ... Passed (WARNING: the key has expired.)
==> WARNING: Warnings have occurred while verifying the signatures.
Please make sure you really trust them.
==> Extracting sources...
-> Extracting aurutils-2.3.3.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
make[1]: Entering directory '/var/tmp/build/aurutils/src/aurutils-2.3.3/completions'
make[1]: Nothing to be done for 'bash'.
m4 command_opts.m4 zsh/aurutils.in >zsh/_aur
/bin/sh: m4: command not found
make[1]: *** [Makefile:12: zsh/_aur] Error 127
make[1]: Leaving directory '/var/tmp/build/aurutils/src/aurutils-2.3.3/completions'
make: *** [Makefile:15: completion] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Last edited by NuSkool (2019-11-28 06:19:07)
Offline
m4 is in the base-devel group...
Offline
Thanks lahwaacz,
Was coming back to edit my post, you beat me to it. It was a my bad!
One of my container scripts was chocking on pcmciautils, (removed from repos) which was causing problem with base-devel install silent failure.
Last edited by NuSkool (2019-11-28 08:26:49)
Offline
Is it possible to rebuild the same version of a package from AUR using "aur sync" ? I'm trying
aur sync -cuf package_list
where package_list is a string of packages already in the "custom" database but files are not rebuilt.
Offline
Is it possible to rebuild the same version of a package from AUR using "aur sync" ? I'm trying
aur sync -cuf package_list
where package_list is a string of packages already in the "custom" database but files are not rebuilt.
I think you'll need '--nover-shallow' as well.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
If you look at the man page you'll notice --rebuild which is an alias for -f --nover-shallow. A nicer approach is to bump pkgrel and have aur-build automatically update to the rebuilt package. I use this:
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Just discovered this gem, and am looking forward to digging in.
Read the thread, but didn't see anything quite like this:
I have about 30 packages built/installed to custom repo. Saved the git clones to $HOME/aur/projects/ (kept because i add a "groups" array). If I want aurutils to see the saved git directories, should I:
1. Move the git directories over to $XDG_CACHE_HOME/aurutils/sync/
2. Set AURDEST to my current directory ($HOME/aur/projects/)
3. Do a bind-mount
4 Do nothing, because it seems that PKGBUILDS get overwritten, making the above moot.
Eenie meenie, chili beanie, the spirits are about to speak -- Bullwinkle J. Moose
It's a big club...and you ain't in it -- George Carlin
Registered Linux user #149839
perl -e 'print$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10); '
Offline
A bind mount is not required, because even if you build with chroot the source retrieval step etc. is done on the host. Thus it suffices to set AURDEST.
aur-sync will however overwrite any local changes. There will be an option to preserve local commits in 2.4:
https://github.com/AladW/aurutils/pull/639
Last edited by Alad (2019-12-02 16:10:16)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
I use this:
What's the "checkrebuild" thing?
Offline
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Thanks!
Offline
This might be a dumb question... but how do I update git packages? Should I update git packages?
Offline
yetanothernewbie: You can do so by using command substitution:
$ aur sync "$(aur vercmp-devel)"
Offline
You'd probably need to leave out the quotes, or it would pass the vercmp-devel results as one big string.
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Okay, when I check vercmp-devel it tells me that updates are available:
hashlink-git: r1290.f96bdb3-1 -> r1298.f955075-1
oh-my-zsh-git: r5338.40df67bc3-1 -> r5386.903a3e9da-1
rhythmbox-plugin-alternative-toolbar-git: 0.r413.dc8961a-1 -> 0.r415.d7fd67c-1
But when I try to update with sync, it gives me this error:
hashlink-git: r1290.f96bdb3-1 is newer than r1022.2ba8897-1
there is nothing to do
What should I do?
You can do so by using command substitution:
$ aur sync "$(aur vercmp-devel)"
That doesn't work, with or without the quotes. It errors on the '->' in the output.
aur-sync: invalid option -- '>'
Offline
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Oh, I see. Okay, that makes more sense.
Offline
Is there any way to "recreate" build container via aur sync -c? My case is like this: I've replaced some packages in system (like pam with pam-selinux) and I want it to propagate to build container-it is used as a dependency for building other packages. Or should I just delete created container? Thanks!
Offline
extra-x86_64-build just removes the whole thing, including btrfs commands if you used devtools on a btrfs file system. That said, you can just use arch-nspawn pacman like the manual describes to install/replace packages.
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
I just installed aurutils and must be bumping into a n00b error with the local repo. I read through the manpage and followed its example for creating the local repo but am getting this error:
sudo pacman -Syu
...
file:///home/justin/custompkgs/custom.db: Unsupported scheme 'file'.
error: failed to update custom (error invoking external downloader)
error: failed to synchronize all databases
I edited the system /etc/pacman.conf with a custom repo, installed, and repo-add. My local repo directory now looks populated after the pacman sync that returned that above error:
$ ls -l /home/justin/custompkgs/
total 8
lrwxrwxrwx 1 justin justin 13 Jan 5 07:01 custom.db -> custom.db.tar
-rw-r--r-- 1 justin justin 1024 Jan 5 07:01 custom.db.tar
lrwxrwxrwx 1 justin justin 16 Jan 5 07:01 custom.files -> custom.files.tar
-rw-r--r-- 1 justin justin 1024 Jan 5 07:01 custom.files.tar
What step am I missing?
Offline
file:///home/justin/custompkgs/custom.db: Unsupported scheme 'file'.
Why would file:/// be an unsupported scheme??? Are you using a custom XferCommand in your pacman.conf? curl and the internal downloader both support file:/// urls, but e.g. wget does not.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline