Package Details: distrobuilder 1.2-1

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: Apache
Conflicts: distrobuilder-git
Submitter: graysky
Maintainer: grawlinson
Last Packager: grawlinson
Votes: 6
Popularity: 0.000000
First Submitted: 2018-03-31 15:34
Last Updated: 2021-03-23 17:40

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.

Latest Comments

1 2 Next › Last »

grawlinson commented on 2021-03-18 05:45

$ go get -t -u ./...
go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
go get: github.com/codegangsta/cli@none updating to
        github.com/codegangsta/cli@v1.22.5: parsing go.mod:
        module declares its path as: github.com/urfave/cli
                but was required as: github.com/codegangsta/cli

This is going to be a fun rabbit hole to go down.

EDIT: It was indeed, a fun rabbit hole. Let's not go down there again.

enginefeeder101 commented on 2021-03-17 21:28

This currently does not build with the following error during prepare(): go: go.mod file not found in current directory or any parent directory; see 'go help modules'

The upstream build instructions on Github also fail on my end. This looks to be an issue due to a change in Go (https://github.com/lxc/distrobuilder/issues/360) but I haven't looked into it extensively.

PS: I managed to build on a Debian VM (testing release); the produced artifact works fine on Arch. Use at your own risk: https://paste.c-net.org/ValuePastime

starfry commented on 2019-11-29 17:36

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!)

grawlinson commented on 2019-11-29 16:22

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!

starfry commented on 2019-11-29 09:13

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 ;)

andreas_baumann commented on 2019-10-31 08:03

Thanks a lot. Builds and I tested building an LXC ubuntu image, which works. :-)

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.

andreas_baumann commented on 2019-10-22 17:27

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

andreas_baumann commented on 2019-10-22 17:23

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

grawlinson commented on 2019-07-06 02:56

gcc-go provides go, so changing the dependency to go should recognise both gcc-go and go as valid.