Package Details: sysbox-ce 0.6.5-1

Git Clone URL: https://aur.archlinux.org/sysbox-ce.git (read-only, click to copy)
Package Base: sysbox-ce
Description: Container runtime with VM-like isolation (run Systemd, Docker, K8s in containers)
Upstream URL: https://github.com/nestybox/sysbox
Licenses: Apache
Submitter: gamezelda
Maintainer: gamezelda
Last Packager: gamezelda
Votes: 0
Popularity: 0.000000
First Submitted: 2021-04-08 16:40 (UTC)
Last Updated: 2024-11-09 22:07 (UTC)

Latest Comments

gamezelda commented on 2024-08-06 23:24 (UTC)

@bidskii No worries! This seems to be a problem with how the protoc-gen-go-grpc AUR package declares its version.

bidskii commented on 2024-08-06 23:03 (UTC)

My apologies, yay kept installing an old cached version of protoc-gen-go-grpc so I was wildly out of date

gamezelda commented on 2024-08-06 21:37 (UTC) (edited on 2024-08-06 22:10 (UTC) by gamezelda)

@bidskii I probably shouldn't be using that flag, but that's a bit puzzling since as far as I can tell, it should be there in protoc-gen-go-grpc 1.5.1, and I can build this package in a clean container.

Can you confirm that the output of protoc-gen-go-grpc --version is indeed "protoc-gen-go-grpc 1.5.1"? That would discard possibilities such as e.g. having an older version of protoc-gen-go-grpc somewhere in your PATH.

EDIT: Though you mention that you have protoc-gen-go-grpc 1.5.1-1, is it possible that you have been affected by this problem and still have an older version?

bidskii commented on 2024-08-05 22:48 (UTC)

Got this error today protoc-gen-go-grpc: no such flag -use_generic_streams_experimental trying to build sysbox-ce 0.6.4-3 with go 2:1.22.5-1 and protoc-gen-go-grpc 1.5.1-1

make: Entering directory '~/.cache/yay/sysbox-ce/src/sysbox'
find: ‘/usr/src/linux-headers-6.10.2-arch1-2’: No such file or directory
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
make[1]: Entering directory '~/.cache/yay/sysbox-ce/src/sysbox/sysbox-ipc'
make -C sysboxFsGrpc/sysboxFsProtobuf
make -C sysboxMgrGrpc/sysboxMgrProtobuf
make[2]: Entering directory '~/.cache/yay/sysbox-ce/src/sysbox/sysbox- 
ipc/sysboxFsGrpc/sysboxFsProtobuf'
GOFLAGS='-buildvcs=false' protoc -I . -I /usr/local/include/ sysboxFsProtobuf.proto -- 
go_out=. --go-grpc_out=. --go-grpc_opt=use_generic_streams_experimental=false --go- 
grpc_opt=require_unimplemented_servers=false
make[2]: Entering directory '~/.cache/yay/sysbox-ce/src/sysbox/sysbox- 
ipc/sysboxMgrGrpc/sysboxMgrProtobuf'
GOFLAGS='-buildvcs=false' protoc -I . -I /usr/local/include/ sysboxMgrProtobuf.proto - 
-go_out=. --go-grpc_out=. --go-grpc_opt=use_generic_streams_experimental=false --go- 
grpc_opt=require_unimplemented_servers=false
protoc-gen-go-grpc: no such flag -use_generic_streams_experimental
protoc-gen-go-grpc: no such flag -use_generic_streams_experimental
--go-grpc_out: protoc-gen-go-grpc: Plugin failed with status code 1.
--go-grpc_out: protoc-gen-go-grpc: Plugin failed with status code 1.

gamezelda commented on 2024-04-29 23:39 (UTC) (edited on 2024-04-29 23:40 (UTC) by gamezelda)

Hi AlexTalker, indeed the problem you are experiencing is related to this package's PKGBUILD using the checksum support for Git repositories introduced in Pacman 6.1.0.

However, Pacman 6.1.0 is currently in the stable (i.e. non-testing) Arch Linux repositories (https://archlinux.org/packages/core/x86_64/pacman/). The problem is that you are not using Arch but Manjaro, which holds back packages for some time so they still haven't released that version of Pacman (see also https://forum.endeavouros.com/t/video-be-careful-with-the-aur-on-manjaro-linux/24809).

I don't maintain compatibility with Manjaro. That said, it will most likely work if you replace the checksums in sha256sums with SKIP, or use the sysbox-ce-bin package instead.

AlexTalker commented on 2024-04-29 22:42 (UTC)

I think the issue might be that my pacman is

$ pacman -Qi pacman
Name            : pacman
Version         : 6.0.2-18
Description     : A library-based package manager with dependency support
Architecture    : x86_64
URL             : https://www.archlinux.org/pacman/
Licenses        : GPL-2.0-or-later
Groups          : None
Provides        : libalpm.so=13-64
Depends On      : bash  glibc  libarchive  curl  gpgme  pacman-mirrorlist  gettext  gawk  coreutils  gnupg  grep
Optional Deps   : perl-locale-gettext: translation support in makepkg-template
Required By     : appstream-glib  archlinux-keyring  base  libpamac  manjaro-keyring  mhwd  packagekit  pkgfile
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 4.73 MiB
Packager        : Mark Wagie <mark@manjaro.org>
Build Date      : Sat 10 Feb 2024 06:51:23 PM MSK
Install Date    : Tue 30 Apr 2024 01:06:47 AM MSK
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

due to the distro, and your PKGBUILD is written according to the future where they figure out how to compute check sum for directories or something

AlexTalker commented on 2024-04-29 22:19 (UTC)

I used pamac to fetch stuff from AUR, gonna try to do it manually now.

AlexTalker commented on 2024-04-29 22:19 (UTC)

$ ls -lah
total 24K
drwxr-xr-x 13 alx alx 4.0K Apr 30 01:16 .
drwxr-xr-x  3 alx alx   23 Apr 30 01:15 ..
drwxr-xr-x  7 alx alx  156 Apr 30 01:16 dockerfiles
drwxr-xr-x  7 alx alx  156 Apr 30 01:16 fuse
drwxr-xr-x  8 alx alx  178 Apr 30 01:16 .git
-rw-r--r--  1 alx alx 1.8K Apr 30 01:15 Honor-SOURCE_DATE_EPOCH-for-reproducible-builds.patch
-rw-r--r--  1 alx alx  792 Apr 30 01:15 install.sh
-rw-r--r--  1 alx alx 4.5K Apr 30 01:15 PKGBUILD
drwxr-xr-x  2 alx alx    6 Apr 30 01:15 src
-rw-r--r--  1 alx alx 2.3K Apr 30 01:15 .SRCINFO
drwxr-xr-x  7 alx alx  156 Apr 30 01:16 sysbox
drwxr-xr-x  7 alx alx  156 Apr 30 01:16 sysbox-fs
drwxr-xr-x  7 alx alx  156 Apr 30 01:16 sysbox-ipc
drwxr-xr-x  7 alx alx  156 Apr 30 01:16 sysbox-libs
drwxr-xr-x  7 alx alx  156 Apr 30 01:16 sysbox-mgr
drwxr-xr-x  7 alx alx  156 Apr 30 01:16 sysbox-pkgr
drwxr-xr-x  7 alx alx  156 Apr 30 01:16 sysbox-runc

but

$ makepkg -s
==> Making package: sysbox-ce 0.6.4-1 (Tue 30 Apr 2024 01:16:40 AM MSK)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating sysbox git repo...
  -> Updating dockerfiles git repo...
  -> Updating sysbox-fs git repo...
  -> Updating fuse git repo...
  -> Updating sysbox-ipc git repo...
  -> Updating sysbox-libs git repo...
  -> Updating sysbox-mgr git repo...
  -> Updating sysbox-pkgr git repo...
  -> Updating sysbox-runc git repo...
  -> Found Honor-SOURCE_DATE_EPOCH-for-reproducible-builds.patch
==> Validating source files with sha256sums...
    sysbox ... NOT FOUND
    dockerfiles ... NOT FOUND
    sysbox-fs ... NOT FOUND
    fuse ... NOT FOUND
    sysbox-ipc ... NOT FOUND
    sysbox-libs ... NOT FOUND
    sysbox-mgr ... NOT FOUND
    sysbox-pkgr ... NOT FOUND
    sysbox-runc ... NOT FOUND
    Honor-SOURCE_DATE_EPOCH-for-reproducible-builds.patch ... Passed
==> ERROR: One or more files did not pass the validity check!

I feel like it worked before

gamezelda commented on 2021-07-17 19:36 (UTC)

@dr460nf1r3: Thanks, done, added inetutils and also lsb-release, the build process tries to launch them but does not seem to use them (for anything important, at least).

dr460nf1r3 commented on 2021-07-17 16:07 (UTC)

Hey, please add inetutils to makedepends as the PKGBUILD seems to use it.