You are not logged in.

#126 2018-01-11 17:22:36

chicha
Member
From: Nice (France)
Registered: 2007-04-20
Posts: 261

Re: aurutils - helper tools for the aur

Ichimonji10 wrote:

aursync does recursive AUR dependency handling. To build $pkg and all of its AUR dependencies, the following should suffice:

aursync "$pkg"

It is not working with gdm-plymouth I get the error :

aursync -c gdm-plymouth
.....
.....
error: target not found: plymouth
==> ERROR: 'pacman' failed to install missing dependencies.
...

I suspect this is due to the nature of gdm-plymouth package (multiple package with dependencies on one of its package).
Can you reproduce it on your side ?

Last edited by chicha (2018-01-11 17:22:50)

Online

#127 2018-01-11 20:26:18

Ichimonji10
Member
Registered: 2010-11-07
Posts: 30
Website

Re: aurutils - helper tools for the aur

Oddly, pacsearch can't find plymouth.

$ pacsearch plymouth
$

EDIT:

chicha wrote:

Can you reproduce it on your side?

Yes, I can. Of interest, aursync plymouth && aursync gdm-plymouth works. As an immediate hack to get gdm-plymouth installed, you can try that. I'm not sure what effect the -c flag will have. As in, will the two builds use separate containers? I need to learn more about systemd-nspawn.

Perhaps plymouth has some broken metadata in its package.

Last edited by Ichimonji10 (2018-01-12 15:04:03)

Offline

#128 2018-01-12 20:43:13

Alad
Wiki Admin/IRC Op/TU
From: The Land of The Bloat
Registered: 2014-05-04
Posts: 1,695
Website

Re: aurutils - helper tools for the aur

Seems to work for other people in #aurutils-complaints #archlinux. What version are you using? Please don't truncate logs.


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Honest Alad's Package Emporium—Now with added bugs! (Closed until further notice)

Offline

#129 2018-01-12 20:54:24

Ichimonji10
Member
Registered: 2010-11-07
Posts: 30
Website

Re: aurutils - helper tools for the aur

aurutils version 1.5.3-5.

$ aursync gdm-plymouth
  -> Using [aur] repository
==> Resolving dependencies...
  -> gdm-plymouth 0 -> 3.26.2.1-2
  -> libgdm-plymouth 0 -> 3.26.2.1-2
  -> plymouth 0 -> 0.9.3-3
==> Retrieving build files...
From https://aur.archlinux.org/gdm-plymouth
 = [up to date]      master     -> origin/master
From https://aur.archlinux.org/plymouth
 = [up to date]      master     -> origin/master
==> Making package: gdm-plymouth 3.26.2.1-2 (Fri Jan 12 15:49:41 EST 2018)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: plymouth
==> ERROR: 'pacman' failed to install missing dependencies.

And for what it's worth:

$ pacman -Qs plymouth
$ paclist aur
hivex 1.3.14-3
libguestfs 1.36.11-1
mnemosyne 2.6-2
ms-sys 1:2.4.1-2
perl-sys-virt 3.0.0-3
systemd-boot-pacman-hook 2-1
vim-badwolf-git 1:14fd1e1-1
vim-hemisu-git v3.4.4.g37ea6aa-1
vim-mark 2.8.5-1

chicha?

Last edited by Ichimonji10 (2018-01-12 20:54:43)

Offline

#130 2018-01-13 09:21:49

chicha
Member
From: Nice (France)
Registered: 2007-04-20
Posts: 261

Re: aurutils - helper tools for the aur

$ paclist aur
aurutils 1.5.3-5

$ pacman -Q repose devtools expac
repose 7.1-2
devtools 20171108-1
expac 8-1

$ aursync -c gdm-plymouth
  -> Using [aur] repository
==> Resolving dependencies...
  -> gdm-plymouth 0 -> 3.26.2.1-2
  -> libgdm-plymouth 0 -> 3.26.2.1-2
  -> plymouth 0 -> 0.9.3-3
==> Retrieving build files...
Depuis https://aur.archlinux.org/gdm-plymouth
 = [à jour]          master     -> origin/master
Depuis https://aur.archlinux.org/plymouth
 = [à jour]          master     -> origin/master
:: Synchronizing package databases...
 core                                                       126.8 KiB  1321K/s 00:00 [################################################] 100%
 extra                                                     1626.9 KiB  2.29M/s 00:01 [################################################] 100%
 community                                                    4.0 MiB  2.09M/s 00:02 [################################################] 100%
 aur                                                          4.0 KiB  0.00B/s 00:00 [################################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (3) glib2-2.54.3-1  libsystemd-236.0-3  systemd-236.0-3

Total Download Size:    7.05 MiB
Total Installed Size:  33.87 MiB
Net Upgrade Size:       0.22 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
(3/3) checking keys in keyring                                                       [################################################] 100%
(3/3) checking package integrity                                                     [################################################] 100%
(3/3) loading package files                                                          [################################################] 100%
(3/3) checking for file conflicts                                                    [################################################] 100%
:: Processing package changes...
(1/3) upgrading glib2                                                                [################################################] 100%
(2/3) upgrading libsystemd                                                           [################################################] 100%
(3/3) upgrading systemd                                                              [################################################] 100%
:: Running post-transaction hooks...
(1/4) Updating udev hardware database...
(2/4) Updating system user accounts...
(3/4) Creating temporary files...
(4/4) Arming ConditionNeedsUpdate...
==> Synchronizing chroot copy [/var/lib/aurbuild/x86_64/root] -> [chicha]...done
:: Synchronizing package databases...
 core                                                       126.8 KiB  1349K/s 00:00 [################################################] 100%
 extra                                                     1626.9 KiB  2.11M/s 00:01 [################################################] 100%
 community                                                    4.0 MiB  2.11M/s 00:02 [################################################] 100%
 aur is up to date
:: Starting full system upgrade...
 there is nothing to do
==> Making package: gdm-plymouth 3.26.2.1-2 (Sat Jan 13 10:19:56 CET 2018)
==> Retrieving sources...
  -> Found gdm-3.26.2.1.tar.xz
  -> Found 0002-Xsession-Don-t-start-ssh-agent-by-default.patch
  -> Found gdm.sysusers
==> Validating source files with sha256sums...
    gdm-3.26.2.1.tar.xz ... Passed
    0002-Xsession-Don-t-start-ssh-agent-by-default.patch ... Passed
    gdm.sysusers ... Passed
==> Making package: gdm-plymouth 3.26.2.1-2 (Sat Jan 13 10:19:57 CET 2018)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: plymouth
==> ERROR: 'pacman' failed to install missing dependencies.
==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/chicha/build

Online

#131 2018-01-14 13:44:19

Alad
Wiki Admin/IRC Op/TU
From: The Land of The Bloat
Registered: 2014-05-04
Posts: 1,695
Website

Re: aurutils - helper tools for the aur

aursync checks what packages to build by going over the repo db directly:

https://github.com/AladW/aurutils/blob/ … rcheck#L11
https://github.com/AladW/aurutils/blob/ … rsync#L189

So since you used --chroot, it's possible the changes to the repository weren't propagated to pacman (and thus to makepkg -s). That should be fixed by running "pacsync <yourrepohere>" first.

That's the best guess I have with the little information to go from here. Uninstall repose, rebuild the db, and try the git version if pacsync didn't help.

Last edited by Alad (2018-01-14 13:58:06)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Honest Alad's Package Emporium—Now with added bugs! (Closed until further notice)

Offline

#132 2018-01-14 16:34:46

progandy
Member
Registered: 2012-05-17
Posts: 2,555

Re: aurutils - helper tools for the aur

The problem with gdm-plymouth is the package order after filtering for pkgbase. libgdm-plymouth is a split package from gdm_plymouth, but it doesn't depend on plymouth and is listed before plymouth. The split package is now inserted in its place and the second occurence of gdm_plymouth is removed.

This is with a fresh install of aursync 1.5.3-2, empty local repository, nothing plymouth related installed at all.

$ bash -c "set -x; source /bin/aursync" aursync gdm-plymouth
...
$ cd /tmp/aursync.3kaFTqQV
$ cat queue_0
check
dconf
glib2
gobject-introspection
intltool
systemd
yelp-tools
docbook-xsl
libdrm
pango
gnome-session
gnome-shell
libgdm-plymouth
plymouth
upower
xorg-server
xorg-server-xwayland
xorg-xhost
xorg-xrdb
gdm-plymouth

$ cat queue_1 
gdm-plymouth
plymouth

Edit: I assume that an additional call to aurqueue here might fix the problem.

Last edited by progandy (2018-01-14 16:44:17)

Online

#133 2018-01-14 18:30:05

Alad
Wiki Admin/IRC Op/TU
From: The Land of The Bloat
Registered: 2014-05-04
Posts: 1,695
Website

Re: aurutils - helper tools for the aur

Can you check if it works with the git version? If so, it would be great if you could git bisect commits for aurchain and aursync. If the issue persists in git, please file it on github and I'll see what I can do.

Last edited by Alad (2018-01-14 18:35:15)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Honest Alad's Package Emporium—Now with added bugs! (Closed until further notice)

Offline

#134 2018-01-14 19:12:26

progandy
Member
Registered: 2012-05-17
Posts: 2,555

Re: aurutils - helper tools for the aur

Alad wrote:

Can you check if it works with the git version? If so, it would be great if you could git bisect commits for aurchain and aursync. If the issue persists in git, please file it on github and I'll see what I can do.

It seems to be working since commit 91188d22a8b2c7cabd6f8fb49409250c6eab3b66 (aursync: use aurchain -t)

I'll have to file another bug report, though. Since ad85184d52814dba08251439e80b441ee31cea88 I always get "There is nothing to do" after resolving dependencies.

Online

#135 2018-01-14 21:04:22

Alad
Wiki Admin/IRC Op/TU
From: The Land of The Bloat
Registered: 2014-05-04
Posts: 1,695
Website

Re: aurutils - helper tools for the aur

Of course both are monolithic beasts of commits... hmm Thanks for investigating!

@chicha: Please use the -git version for now. It's probably less effort to just release 1.6.0 than to try and fix 1.5.3.


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Honest Alad's Package Emporium—Now with added bugs! (Closed until further notice)

Offline

#136 2018-01-15 07:47:07

chicha
Member
From: Nice (France)
Registered: 2007-04-20
Posts: 261

Re: aurutils - helper tools for the aur

@Alad, @progandy : thank you for your investigation and your time. On my side I solved the issue by installing plymouth first flagging it "asdeps". I will switch to the git version until the 1.6.0 is out.

Online

#137 Today 00:49:52

Lucki
Member
Registered: 2014-03-06
Posts: 8

Re: aurutils - helper tools for the aur

Hi Alad,

is there a reason you're checking aur dependencies only against the given repository? Line 231: aurcheck -d "$repo" -r "$root" -c
I've followed the recommendation in your setup guide and have two repositories for aur and aur-vcs.
If there's a dependent non-vcs package which is already built in the aur repository aursync want to build it again into the aur-vcs repository. In the end aur dependencies would possibly be duplicated in both repositories. Using double build time and disk space.

I would expect that packages are checked against both repositories and aursync don't build them again if there's already the required package in a different than the given repository.
This would also add to the option --no-ver. When no version check is made the given package and all dependencies will be rebuild and added to the given repository instead of being rebuild and added to the repository where the last version was. (I haven't tested this)

Is this expected behavior?

For testing I've used aurutils-git:

lucki@Archlinux ~ % aursync -cs --repo aur-vcs osu-lazer-git    
  -> Using [aur-vcs] repository
==> Resolving dependencies...
  -> mono-stable N/A -> 5.4.1.6-1
  -> nuget4 N/A -> 4.4.1-0
==> Retrieving build files...
lucki@Archlinux ~ % pacman -Ss mono-stable
aur/mono-stable 5.4.1.6-1
    Stable version of free .NET implementation.

lucki@Archlinux ~ % pacman -Ss nuget4
aur/nuget4 4.4.1-0
    Package manager for .NET.
lucki@Archlinux ~ % aursync -cs --repo aur osu-lazer-git
  -> Using [aur] repository
==> Resolving dependencies...
  -> osu-lazer-git N/A -> 2018.113.0_9_g25d444554-1
==> Retrieving build files...

Offline

Board footer

Powered by FluxBB