Hi thanks for replying. I have go version go1.12.5 linux/amd64
on my system. I need to update. Maybe this is the push I need ;)
(thanks about the fences never thought of trying that!)
Git Clone URL: | https://aur.archlinux.org/distrobuilder.git (read-only, click to copy) |
---|---|
Package Base: | distrobuilder |
Description: | System container image builder for LXC and LXD |
Upstream URL: | https://github.com/lxc/distrobuilder |
Licenses: | |
Conflicts: | |
Submitter: | graysky |
Maintainer: | grawlinson |
Last Packager: | grawlinson |
Votes: | 6 |
Popularity: | 0.000000 |
First Submitted: | 2018-03-31 15:34 |
Last Updated: | 2020-08-19 17:44 |
Hi thanks for replying. I have go version go1.12.5 linux/amd64
on my system. I need to update. Maybe this is the push I need ;)
(thanks about the fences never thought of trying that!)
The flag trimpath
has been in Go since 1.13. What version of Go is installed on your system?
By the way, code blocks are enclosed with ```. If it’s any consolation, I found this out by accident!
I get this when building this package:
$ makepkg -s
...
==> Starting build()...
flag provided but not defined: -trimpath
usage: go install [-i] [build flags] [packages]
Run 'go help install' for details.
==> ERROR: A failure occurred in build().
Aborting...
sorry no idea how to make a code block in a comment here. I did look ;)
Thanks a lot. Builds and I tested building an LXC ubuntu image, which works. :-)
I've taken over maintenance of this package, and can verify that the updated PKGBUILD
now compiles and successfully creates LXD container images. If there are any issues, feel free to contact me.
Commenting out pkgver() makes it build..
.. but ends in:
/usr/bin/gccgo -xassembler-with-cpp -I $WORK/b238/ -c -o $WORK/b238/_buildid.o -D GOOS_linux -D GOARCH_amd64 -D GOPKGPATH=github_com_spf13_cobra -m64 $WORK/b238/_buildid.s
ar rcD $WORK/b238/_pkg_.a $WORK/b238/_go_.o $WORK/b238/_buildid.o
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/buildid -w $WORK/b238/_pkg_.a # internal
cp $WORK/b238/_pkg_.a /root/.cache/go-build/8d/8dc285486505ffe6724a91e3c42331de66f268c9a94353620f13309c3e7a0de0-d # internal
With pacman 5.1.3-1 I get:
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: 570.distrobuilder-1.0
gcc-go
provides go
, so changing the dependency to go
should recognise both gcc-go
and go
as valid.
@esbdb - Which do you recommend? I do not use go.
@graysky can you please make this not specifically depend on gcc-go and instead have it depend on any provider of go? Otherwise I can't actually use this package as it wants me to uninstall my current go package as it conflicts.
Pinned Comments
grawlinson commented on 2019-10-28 05:39
I've taken over maintenance of this package, and can verify that the updated
PKGBUILD
now compiles and successfully creates LXD container images. If there are any issues, feel free to contact me.