I opened the repository which is used to merge your patches to this PKGBUILD.
https://gitlab.com/cheatsc-pkgbuilds/concourse
This is an experiment, so I may close the repository in the future.
Git Clone URL: | https://aur.archlinux.org/concourse.git (read-only, click to copy) |
---|---|
Package Base: | concourse |
Description: | A command line interface that runs a build in a container with ATC |
Upstream URL: | https://concourse-ci.org |
Keywords: | ci ci-cd concourse continuous-delivery continuous-integration elm go pipelines |
Licenses: | custom:Apache-2.0 |
Conflicts: | concourse-fly, concourse-fly-bin, concourse-fly-git, fly-cli |
Submitter: | bramswenson |
Maintainer: | cheatsc |
Last Packager: | cheatsc |
Votes: | 4 |
Popularity: | 0.000001 |
First Submitted: | 2017-03-08 08:58 (UTC) |
Last Updated: | 2024-06-09 05:00 (UTC) |
I opened the repository which is used to merge your patches to this PKGBUILD.
https://gitlab.com/cheatsc-pkgbuilds/concourse
This is an experiment, so I may close the repository in the future.
@gbourant Sorry for the delay in updating PKGBUILD.
I fixed the problem. Try it!
@gbourant Thank you for reporting. I assume that this patch is also required for v7.11.2. I'll try the patch this night.
Also if a strange error occurs use export UV_USE_IO_URING=0
I've faced the same problem. I'll set the environment variable on PKGBUILD or announce here until it will be resolved.
I try to install it and it shows the following error
Starting downloads...
✗ ryannhg/date-format 2.3.0
Dependency problem!
-- CORRUPT PACKAGE DATA --------------------------------------------------------
I downloaded the source code for ryannhg/date-format 2.3.0 from:
https://github.com/ryannhg/date-format/zipball/2.3.0/
But it looks like the hash of the archive has changed since publication:
Expected: 70c67866fed499bec685f43f23fea279556757f2
Actual: 86534146f5a550bb8e87b87a7484ea5732090bb5
This is fixed in the next version current(7.11) next(7.12).
Also if a strange error occurs use export UV_USE_IO_URING=0
After upgrading my kernel to 6.2.2-arch1-1 from 6.1.7-arch1-1, concourse failed to create containers as follows:
run check: find or create container on worker concourse-worker-2: starting task: new task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "proc" to rootfs at "/proc": mount proc:/proc (via /proc/self/fd/11), flags: 0xe: operation not permitted: unknown
This problem does not reproduce on creating privileged container:
platform: linux
image_resource:
type: docker-image
source:
repository: archlinux
run:
path: echo
args:
- hello
$ fly -t target execute -c sample.yml --> fail
$ fly -t target execute -c sample.yml -p --> success
I assum that this is similar [1]. Please tell me if you have any information to resolve the problem.
@pancho
==> Starting prepare()...
/tmp/build/686d23aa/pkgbuild/PKGBUILD: line 29: go: command not found
Ooops! I forgot to add 'go' to the make-dependencies at 379824f. Thanks!
@cheatsc: thanks a lot for the quick update!
I recommend adding 'go' to the makedepends
array; otherwise, building the package fails with a 'go: command not found' if the go
package is not installed on the system, or if built within a chroot with aurutils
¹.
Thanks again!
Happy hacking,
pancho
@pancho: Thank you for providing important information. I update the PKGBUILD as soon as possible (I'm testing it).
BTW, fantastic job maintaining this package, both for the multi-package and for keeping it up-to-date in a timely manner. Kudos!
I'm so glad to hear that :)
@cheatsc: I suggest replacing the makedepend go-pie
with simply go
, since go-pie
is just an alias. go-pie
was dropped almost two years ago¹. As per the Go package guidelines², in order to enable PIE, the setting must be explicitly set, either in the go build
invocation, or in the GOFLAGS
.
Hope that it helps.
BTW, fantastic job maintaining this package, both for the multi-package and for keeping it up-to-date in a timely manner. Kudos!
1: https://archlinux.org/todo/move-from-go-pie-dependency-to-go/
2: https://wiki.archlinux.org/title/Go_package_guidelines#Sample_PKGBUILD
This problem has been fixed since 7.6.0.
Pinned Comments
cheatsc commented on 2024-05-30 22:44 (UTC) (edited on 2024-05-30 22:51 (UTC) by cheatsc)
@gbourant Thank you for reporting. I assume that this patch is also required for v7.11.2. I'll try the patch this night.
I've faced the same problem. I'll set the environment variable on PKGBUILD or announce here until it will be resolved.