You are not logged in.

#351 2019-11-07 09:21:40

Speranskiy
Member
From: Moscow
Registered: 2013-11-10
Posts: 52

Re: aurutils - helper tools for the aur

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

#352 2019-11-08 14:57:59

lightdot
Member
Registered: 2014-04-22
Posts: 22

Re: aurutils - helper tools for the aur

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.

Offline

#353 2019-11-15 00:34:46

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,418
Website

Re: aurutils - helper tools for the aur

Speranskiy wrote:

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:

https://github.com/AladW/aurutils/issues/582


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

Offline

#354 2019-11-15 00:38:18

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,418
Website

Re: aurutils - helper tools for the aur

lightdot wrote:
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

#355 2019-11-28 06:14:56

NuSkool
Member
Registered: 2015-03-23
Posts: 168

Re: aurutils - helper tools for the aur

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

#356 2019-11-28 07:55:43

lahwaacz
Wiki Admin
From: Czech Republic
Registered: 2012-05-29
Posts: 762

Re: aurutils - helper tools for the aur

m4 is in the base-devel group...

Offline

#357 2019-11-28 08:20:24

NuSkool
Member
Registered: 2015-03-23
Posts: 168

Re: aurutils - helper tools for the aur

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

#358 2019-11-30 11:57:18

josephg
Member
From: Brazil
Registered: 2009-09-28
Posts: 118

Re: aurutils - helper tools for the aur

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

#359 2019-11-30 12:08:25

progandy
Member
Registered: 2012-05-17
Posts: 5,263

Re: aurutils - helper tools for the aur

josephg wrote:

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

#360 2019-12-02 13:53:41

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,418
Website

Re: aurutils - helper tools for the aur

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:

https://paste.xinu.at/LfN/


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

Offline

#361 2019-12-02 15:11:32

merlock
Member
Registered: 2018-10-30
Posts: 253

Re: aurutils - helper tools for the aur

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

#362 2019-12-02 16:09:35

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,418
Website

Re: aurutils - helper tools for the aur

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

#363 2019-12-02 23:13:07

lahwaacz
Wiki Admin
From: Czech Republic
Registered: 2012-05-29
Posts: 762

Re: aurutils - helper tools for the aur

Alad wrote:

What's the "checkrebuild" thing?

Offline

#364 2019-12-03 00:12:55

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,418
Website

Re: aurutils - helper tools for the aur


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

Offline

#365 2019-12-03 08:16:52

lahwaacz
Wiki Admin
From: Czech Republic
Registered: 2012-05-29
Posts: 762

Re: aurutils - helper tools for the aur

Thanks!

Offline

#366 2019-12-04 01:07:47

yetanothernewbie
Member
Registered: 2019-07-23
Posts: 6

Re: aurutils - helper tools for the aur

This might be a dumb question... but how do I update git packages? Should I update git packages?

Offline

#367 2019-12-04 09:15:01

svito
Member
From: Ukraine
Registered: 2018-12-25
Posts: 19

Re: aurutils - helper tools for the aur

yetanothernewbie: You can do so by using command substitution:

$ aur sync "$(aur vercmp-devel)"

Offline

#368 2019-12-04 15:10:45

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,418
Website

Re: aurutils - helper tools for the aur

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

#369 2019-12-05 08:36:16

yetanothernewbie
Member
Registered: 2019-07-23
Posts: 6

Re: aurutils - helper tools for the aur

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?

svito wrote:

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

#370 2019-12-05 11:36:43

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,418
Website

Re: aurutils - helper tools for the aur

What should I do?

Read the man page:

https://github.com/AladW/aurutils/blob/ … mp-devel.1


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

Offline

#371 2019-12-06 03:48:58

yetanothernewbie
Member
Registered: 2019-07-23
Posts: 6

Re: aurutils - helper tools for the aur

Alad wrote:

Oh, I see. Okay, that makes more sense.

Offline

#372 2019-12-09 06:29:52

Unb0rn
Member
Registered: 2017-04-28
Posts: 14

Re: aurutils - helper tools for the aur

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

#373 2019-12-11 03:09:11

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,418
Website

Re: aurutils - helper tools for the aur

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

#374 2020-01-05 13:09:32

vap0rtranz
Member
From: Chicago, USA, Earth, Sol
Registered: 2019-03-06
Posts: 6

Re: aurutils - helper tools for the aur

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

#375 2020-01-05 19:21:52

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: aurutils - helper tools for the aur

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

Board footer

Powered by FluxBB