vn971 / rua

Build tool for Arch Linux providing control, review and jailed build options
GNU General Public License v3.0
421 stars 38 forks source link

`rua install` doesn't work under systemd-homed user #197

Open ananthb opened 1 year ago

ananthb commented 1 year ago

rua install <packages> builds all packages and dependencies and exits successfully. It doesn't actually install the packages though.

I created a local user without systemd-homed and it installed the package. The option to install does not show up at all in the former.

ananthb commented 1 year ago

Could it have something to do with my user account being created by systemd-homed?

vn971 commented 11 months ago

@ananthb to be honest, I'm not sufficiently aware of this. Could you please show your build logs so that I could investigate?

By the way, I've realized that my email notifications on github were broken for quite a while (and I've used primarily GitLab at work). => Sorry for the late reply...

Avemark commented 10 months ago

I've got the same problem on a pretty clean manjaro-i3 install.

@vn971 is this the build log you speak of?

❯ rua install aws-session-manager-plugin

Reviewing "/home/my user/.config/rua/pkg/aws-session-manager-plugin". 
[S]=run shellcheck on PKGBUILD, [D]=(identical to upstream, empty diff), [T]=run shell to edit/inspect, [O]=ok, use package. O
==> Making package: aws-session-manager-plugin 1.2.463.0-1 (tis  5 sep 2023 16:27:36)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading aws-session-manager-plugin-1.2.463.0.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 3292k  100 3292k    0     0  2300k      0  0:00:01  0:00:01 --:--:-- 2301k
==> Validating source_x86_64 files with sha512sums...
    aws-session-manager-plugin-1.2.463.0.deb ... Passed
==> Extracting sources...
  -> Extracting aws-session-manager-plugin-1.2.463.0.deb with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing empty directories...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> WARNING: backup entry file not in package : usr/sessionmanagerplugin/seelog.xml
==> Creating package "aws-session-manager-plugin"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: aws-session-manager-plugin 1.2.463.0-1 (tis  5 sep 2023 16:27:39)
ananthb commented 10 months ago

This looks right @Avemark. I don't have an Arch install to confirm just yet, but if your user is using systemd-homed, then it should be it.