Comments (7)
stgraber@castiana:~/data/code/go/src/github.com/lxc/distrobuilder (lxc/master)$ make
gofmt -s -w .
go get -t -v -d ./...
go install -v ./...
gopkg.in/flosch/pongo2.v3
github.com/lxc/distrobuilder/shared
github.com/lxc/distrobuilder/sources
github.com/lxc/distrobuilder/managers
github.com/lxc/distrobuilder/image
github.com/lxc/distrobuilder/generators
github.com/lxc/distrobuilder/distrobuilder
distrobuilder built successfully
When building Go code, it's important that you build it from the right path within your GOPATH, in this case, this should be ${GOPATH}/src/github.com/lxc/distrobuilder
, assuming the default, it should be ~/go/src/github.com/lxc/distrobuilder
which will fix your import issue.
from distrobuilder.
thanks
Yes, Am on the correct path but still presents the same
root@server1:~/go/src/github.com/lxc/distrobuilder# make
gofmt -s -w .
go get -t -v -d ./...
import cycle not allowed
package github.com/lxc/distrobuilder/distrobuilder
imports bufio
imports bytes
imports errors
imports runtime
imports internal/bytealg
imports internal/cpu
imports runtime
Makefile:4: recipe for target '
from distrobuilder.
Hmm, odd, can you show echo ${GOPATH}
and go version
?
from distrobuilder.
We build distrobuilder from source for every image build we make, so it clearly does build fine, just wondering what's different with your setup.
from distrobuilder.
Here it is
root@server1:~/go/src# echo ${GOPATH}
/root/go
root@server1:~/go/src# go version
go version go1.6.2 linux/amd64
from distrobuilder.
Oh, yeah, I don't think 1.6 will work at all as some of the packages we're using require 1.7 or 1.8.
Our own builds all use Go 1.10 or 1.11.
from distrobuilder.
awesome, will bump it to 1.11 and try again
Thanks!
from distrobuilder.
Related Issues (20)
- snap edge no compression level HOT 2
- [Bug] Distrobuilder fails building VMs on RPM based distros HOT 11
- edge snap fails to build-lxc armhf for openwrt HOT 1
- GID=1000 for netdev (Debian bookworm cloud image) HOT 7
- docs: readme suggests invalid go version HOT 3
- Command-line option `build-lxd` should return an error when used HOT 1
- BindReadOnlyPaths=/proc breaks NetworkD sysctl support
- distrobuilder build-incus --sources-dir doesn't match in documentation and source code HOT 1
- Building distrobuilder 3.0 fails (undefined: cmdGlobal) with go 1.21.5 and 1.20.12 HOT 3
- Add riscv64 HOT 7
- Source downloader docker-http - Cannot pull from docker registry HOT 5
- debootstrap: DNS resolution failure HOT 1
- Failed at the 'make' step; make: *** [Makefile:9: default] Error 2 HOT 3
- Race issue in various tests' use of temp directories HOT 2
- Update to flosch/pongo2.v4?
- Support for OCI specification HOT 3
- Update Docker source to add support for OCI specification instead of docker v2 HOT 2
- Debian sid build is failing due to merged usr HOT 4
- Failed running distrobuilder generating RockyLinux 9 VM HOT 2
- Hardcoded non-configurable mirrorlist for pacman manager
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distrobuilder.