Package Details: zramd 0.9.2-1

Git Clone URL: https://aur.archlinux.org/zramd.git (read-only, click to copy)
Package Base: zramd
Description: Automatically setup swap on zram ✨
Upstream URL: https://github.com/maximumadmin/zramd
Keywords: compcache deflate free htop lz4 lzo modprobe swap swapfile swapoff swapon sysfs systemd systemd-swap top zram zram-generator zramctl zstd zswap
Licenses: MIT
Conflicts: systemd-swap, zram-generator, zram-generator-git, zramswap
Submitter: maximumadmin
Maintainer: maximumadmin
Last Packager: maximumadmin
Votes: 10
Popularity: 1.01
First Submitted: 2021-02-26 12:08 (UTC)
Last Updated: 2021-07-22 06:34 (UTC)

Latest Comments

kronikpillow commented on 2021-12-05 22:21 (UTC)

permission issue still exists

rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.4.2/.github/banner.jpg': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.4.2/.github/workflows/go.yml': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.4.2/.gitignore': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.4.2/LICENSE': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.4.2/README.md': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.4.2/doc.go': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.4.2/example_test.go': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.4.2/go.mod': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.4.2/go.sum': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.4.2/parse.go': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.4.2/parse_test.go': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.4.2/reflect.go': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.4.2/reflect_test.go': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.4.2/sequence.go': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.4.2/sequence_test.go': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.4.2/subcommand.go': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.4.2/subcommand_test.go': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.4.2/usage.go': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.4.2/usage_test.go': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-scalar@v1.0.0/.gitignore': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-scalar@v1.0.0/.travis.yml': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-scalar@v1.0.0/LICENSE': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-scalar@v1.0.0/README.md': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-scalar@v1.0.0/go.mod': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-scalar@v1.0.0/go.sum': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-scalar@v1.0.0/scalar.go': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-scalar@v1.0.0/scalar_test.go': Permission denied rm: cannot remove 'zramd/src/go/pkg/mod/github.com/alexflint/go-scalar@v1.0.0/vendor/modules.txt': Permission denied

mrhariseldon commented on 2021-11-23 02:18 (UTC) (edited on 2021-11-23 02:19 (UTC) by mrhariseldon)

I seem to be getting the same permission issue eh8 had here:

https://aur.archlinux.org/packages/zramd/#comment-808022

(I'm using paru on linux-zen if it matters at all)

Tjuh commented on 2021-07-06 22:24 (UTC)

Apologies, forgot to mention had to disable lto to build properly.

maximumadmin commented on 2021-06-12 23:20 (UTC)

@Tjuh I can not reproduce the issue, could you please give more information like the build command you are running and if using ArchLinux? (e.g. Arch with yay -S zramd)

Tjuh commented on 2021-06-05 15:00 (UTC)

Cannot build;

==> Starting build()...
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
Building dynamic binary (GOARCH:  GOARM: )...
go: downloading github.com/alexflint/go-arg v1.4.1
go: downloading github.com/alexflint/go-scalar v1.0.0
# net
cgo: cannot load DWARF output from $WORK/b042//_cgo_.o: decoding dwarf section info at offset 0x0: too short
make[2]: *** [Makefile:68: release-dynamic] Error 2
make[1]: *** [Makefile:35: release] Error 2
make: *** [Makefile:11: default] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> Removing installed dependencies...

maximumadmin commented on 2021-05-17 12:13 (UTC)

@eh8 permission issue has been fixed as of version 0.8.9, remember to remove ~/.cache/yay/zramd/src/go if you still have it

eh8 commented on 2021-05-16 18:36 (UTC) (edited on 2021-05-16 18:36 (UTC) by eh8)

Looks like there is some permissions issue with the latest pkgrel and the usage of GOPATH?

==> Checking for packaging issues...
==> Creating package "zramd"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: zramd 0.8.8-3 (Sun 16 May 2021 02:35:35 PM EDT)
==> Cleaning up...
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-scalar@v1.0.0/vendor/modules.txt': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-scalar@v1.0.0/.gitignore': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-scalar@v1.0.0/scalar_test.go': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-scalar@v1.0.0/README.md': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-scalar@v1.0.0/go.mod': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-scalar@v1.0.0/scalar.go': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-scalar@v1.0.0/LICENSE': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-scalar@v1.0.0/go.sum': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-scalar@v1.0.0/.travis.yml': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.3.0/vendor/modules.txt': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.3.0/doc.go': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.3.0/.gitignore': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.3.0/subcommand_test.go': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.3.0/README.md': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.3.0/go.mod': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.3.0/reflect.go': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.3.0/reflect_test.go': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.3.0/subcommand.go': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.3.0/test/compile_with_go110.sh': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.3.0/test/README.md': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.3.0/test/compile_with_go111.sh': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.3.0/test/compile_with_go111_inside_gopath.sh': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.3.0/parse_test.go': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.3.0/example_test.go': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.3.0/usage_test.go': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.3.0/LICENSE': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.3.0/parse.go': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.3.0/go.sum': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.3.0/usage.go': Permission denied
rm: cannot remove '/home/eh8/.cache/yay/zramd/src/go/pkg/mod/github.com/alexflint/go-arg@v1.3.0/.travis.yml': Permission denied
loading packages...
warning: zramd-0.8.8-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Package (1)  Old Version  New Version  Net Change

zramd        0.8.8-3      0.8.8-3        0.00 MiB

Total Installed Size:  2.55 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                                                             [----------------------------------------------------] 100%
(1/1) checking package integrity                                                           [----------------------------------------------------] 100%
(1/1) loading package files                                                                [----------------------------------------------------] 100%
(1/1) checking for file conflicts                                                          [----------------------------------------------------] 100%
(1/1) checking available disk space                                                        [----------------------------------------------------] 100%
:: Running pre-transaction hooks...
(1/1) Checking Arch News with Informant ...
There are no unread news items
:: Processing package changes...
(1/1) reinstalling zramd                                                                   [----------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
(2/2) Arming ConditionNeedsUpdate...