You are not logged in.

#1 2017-10-12 07:17:36

bjornaru
Member
From: Norway
Registered: 2017-06-07
Posts: 1

LXD - fails to build

Hello!

Having problems building lxd (and lxd-lts).

Tried both manual and wrappers (yaourt / pacaur).

==> Making package: lxd 2.17-1 (Thu Oct 12 09:14:59 CEST 2017)
==> Retrieving sources...
  -> Downloading lxd-2.17.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   117    0   117    0     0    117      0 --:--:-- --:--:-- --:--:--   215
100  687k    0  687k    0     0   687k      0 --:--:--  0:00:01 --:--:-- 1471k
  -> Found lxd.service
  -> Found dnsmasq-lxd.conf
  -> Found dnsmasq@lxd.service
  -> Found lxd.netctl
  -> Found dbus-dnsmasq-lxd.conf
  -> Found networkmanager-dnsmasq-lxd.conf
==> Validating source files with md5sums...
    lxd-2.17.tar.gz ... Passed
    lxd.service ... Passed
    dnsmasq-lxd.conf ... Passed
    dnsmasq@lxd.service ... Passed
    lxd.netctl ... Passed
    dbus-dnsmasq-lxd.conf ... Passed
    networkmanager-dnsmasq-lxd.conf ... Passed
:: Building lxd package(s)...
==> Making package: lxd 2.17-1 (Thu Oct 12 09:15:02 CEST 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
go get -t -v -d ./...
github.com/gorilla/websocket (download)
Fetching [url]https://gopkg.in/yaml.v2?go-get=1[/url]
Parsing meta tags from [url]https://gopkg.in/yaml.v2?go-get=1[/url] (status code 200)
get "gopkg.in/yaml.v2": found meta tag get.metaImport{Prefix:"gopkg.in/yaml.v2", VCS:"git", RepoRoot:"https://gopkg.in/yaml.v2"} at [url]https://gopkg.in/yaml.v2?go-get=1[/url]
gopkg.in/yaml.v2 (download)
github.com/gosexy/gettext (download)
Fetching [url]https://gopkg.in/inconshreveable/log15.v2?go-get=1[/url]
Parsing meta tags from [url]https://gopkg.in/inconshreveable/log15.v2?go-get=1[/url] (status code 200)
get "gopkg.in/inconshreveable/log15.v2": found meta tag get.metaImport{Prefix:"gopkg.in/inconshreveable/log15.v2", VCS:"git", RepoRoot:"https://gopkg.in/inconshreveable/log15.v2"} at [url]https://gopkg.in/inconshreveable/log15.v2?go-get=1[/url]
gopkg.in/inconshreveable/log15.v2 (download)
github.com/go-stack/stack (download)
github.com/inconshreveable/log15 (download)
github.com/mattn/go-colorable (download)
github.com/mattn/go-isatty (download)
Fetching [url]https://gopkg.in/inconshreveable/log15.v2/term?go-get=1[/url]
Parsing meta tags from [url]https://gopkg.in/inconshreveable/log15.v2/term?go-get=1[/url] (status code 200)
get "gopkg.in/inconshreveable/log15.v2/term": found meta tag get.metaImport{Prefix:"gopkg.in/inconshreveable/log15.v2", VCS:"git", RepoRoot:"https://gopkg.in/inconshreveable/log15.v2"} at [url]https://gopkg.in/inconshreveable/log15.v2/term?go-get=1[/url]
get "gopkg.in/inconshreveable/log15.v2/term": verifying non-authoritative meta tag
Fetching [url]https://gopkg.in/inconshreveable/log15.v2?go-get=1[/url]
Parsing meta tags from [url]https://gopkg.in/inconshreveable/log15.v2?go-get=1[/url] (status code 200)
github.com/olekukonko/tablewriter (download)
github.com/mattn/go-runewidth (download)
Fetching [url]https://golang.org/x/crypto/ssh/terminal?go-get=1[/url]
Parsing meta tags from [url]https://golang.org/x/crypto/ssh/terminal?go-get=1[/url] (status code 200)
get "golang.org/x/crypto/ssh/terminal": found meta tag get.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googlesource.com/crypto"} at [url]https://golang.org/x/crypto/ssh/terminal?go-get=1[/url]
get "golang.org/x/crypto/ssh/terminal": verifying non-authoritative meta tag
Fetching [url]https://golang.org/x/crypto?go-get=1[/url]
Parsing meta tags from [url]https://golang.org/x/crypto?go-get=1[/url] (status code 200)
golang.org/x/crypto (download)
Fetching [url]https://golang.org/x/sys/unix?go-get=1[/url]
Parsing meta tags from [url]https://golang.org/x/sys/unix?go-get=1[/url] (status code 200)
get "golang.org/x/sys/unix": found meta tag get.metaImport{Prefix:"golang.org/x/sys", VCS:"git", RepoRoot:"https://go.googlesource.com/sys"} at [url]https://golang.org/x/sys/unix?go-get=1[/url]
get "golang.org/x/sys/unix": verifying non-authoritative meta tag
Fetching [url]https://golang.org/x/sys?go-get=1[/url]
Parsing meta tags from [url]https://golang.org/x/sys?go-get=1[/url] (status code 200)
golang.org/x/sys (download)
github.com/stretchr/testify (download)
github.com/dustinkirkland/golang-petname (download)
github.com/golang/protobuf (download)
github.com/gorilla/mux (download)
github.com/mattn/go-sqlite3 (download)
Fetching [url]https://golang.org/x/net/context?go-get=1[/url]
Parsing meta tags from [url]https://golang.org/x/net/context?go-get=1[/url] (status code 200)
get "golang.org/x/net/context": found meta tag get.metaImport{Prefix:"golang.org/x/net", VCS:"git", RepoRoot:"https://go.googlesource.com/net"} at [url]https://golang.org/x/net/context?go-get=1[/url]
get "golang.org/x/net/context": verifying non-authoritative meta tag
Fetching [url]https://golang.org/x/net?go-get=1[/url]
Parsing meta tags from [url]https://golang.org/x/net?go-get=1[/url] (status code 200)
golang.org/x/net (download)
github.com/pborman/uuid (download)
github.com/syndtr/gocapability (download)
Fetching [url]https://gopkg.in/flosch/pongo2.v3?go-get=1[/url]
Parsing meta tags from [url]https://gopkg.in/flosch/pongo2.v3?go-get=1[/url] (status code 200)
get "gopkg.in/flosch/pongo2.v3": found meta tag get.metaImport{Prefix:"gopkg.in/flosch/pongo2.v3", VCS:"git", RepoRoot:"https://gopkg.in/flosch/pongo2.v3"} at [url]https://gopkg.in/flosch/pongo2.v3?go-get=1[/url]
gopkg.in/flosch/pongo2.v3 (download)
Fetching [url]https://gopkg.in/lxc/go-lxc.v2?go-get=1[/url]
Parsing meta tags from [url]https://gopkg.in/lxc/go-lxc.v2?go-get=1[/url] (status code 200)
get "gopkg.in/lxc/go-lxc.v2": found meta tag get.metaImport{Prefix:"gopkg.in/lxc/go-lxc.v2", VCS:"git", RepoRoot:"https://gopkg.in/lxc/go-lxc.v2"} at [url]https://gopkg.in/lxc/go-lxc.v2?go-get=1[/url]
gopkg.in/lxc/go-lxc.v2 (download)
Fetching [url]https://gopkg.in/tomb.v2?go-get=1[/url]
Parsing meta tags from [url]https://gopkg.in/tomb.v2?go-get=1[/url] (status code 200)
get "gopkg.in/tomb.v2": found meta tag get.metaImport{Prefix:"gopkg.in/tomb.v2", VCS:"git", RepoRoot:"https://gopkg.in/tomb.v2"} at [url]https://gopkg.in/tomb.v2?go-get=1[/url]
gopkg.in/tomb.v2 (download)
go install -v -tags libsqlite3  ./...
github.com/lxc/lxd/shared/ioprogress
github.com/lxc/lxd/shared/osarch
github.com/inconshreveable/log15/term
github.com/mattn/go-isatty
gopkg.in/inconshreveable/log15.v2/term
github.com/lxc/lxd/shared/version
golang.org/x/sys/unix
github.com/gorilla/websocket
github.com/lxc/lxd/shared/logger
github.com/lxc/lxd/shared/api
github.com/lxc/lxd/shared/cancel
gopkg.in/yaml.v2
github.com/lxc/lxd/shared/gnuflag
github.com/gosexy/gettext
github.com/go-stack/stack
github.com/mattn/go-colorable
github.com/mattn/go-runewidth
github.com/dustinkirkland/golang-petname
github.com/golang/protobuf/proto
gopkg.in/inconshreveable/log15.v2
github.com/olekukonko/tablewriter
github.com/gorilla/mux
github.com/lxc/lxd/shared
golang.org/x/net/context
github.com/mattn/go-sqlite3
github.com/lxc/lxd/shared/logging
golang.org/x/crypto/pbkdf2
golang.org/x/crypto/scrypt
# github.com/lxc/lxd/shared/logging
shared/logging/log_posix.go:16:27: not enough arguments in call to log15.Must.SyslogHandler
	have (string, log15.Format)
	want (syslog.Priority, string, log15.Format)
shared/logging/log_posix.go:20:32: not enough arguments in call to log15.Must.SyslogHandler
	have (string, log15.Format)
	want (syslog.Priority, string, log15.Format)
github.com/pborman/uuid
golang.org/x/crypto/ssh/terminal
github.com/syndtr/gocapability/capability
gopkg.in/flosch/pongo2.v3
gopkg.in/lxc/go-lxc.v2
gopkg.in/tomb.v2
github.com/lxc/lxd/test/deps
github.com/lxc/lxd/shared/i18n
github.com/lxc/lxd/shared/simplestreams
github.com/lxc/lxd/lxd/types
github.com/lxc/lxd/lxd/util
github.com/lxc/lxd/shared/termios
github.com/lxc/lxd/fuidshift
github.com/lxc/lxd/shared/cmd
github.com/lxc/lxd/lxd/sys
github.com/lxc/lxd/lxd/state
github.com/lxc/lxd/client
github.com/lxc/lxd/lxc/config
github.com/lxc/lxd/test/lxd-benchmark
github.com/lxc/lxd/lxd/db
make: *** [Makefile:17: default] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
:: failed to build lxd package(s)

Any ideas?

Last edited by bjornaru (2017-10-12 07:27:37)


---

"In the End, we will remember not the words of our enemies, but the silence of our friends."
Martin Luther King, Jr.

Offline

#2 2017-10-12 07:21:27

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,846
Website

Re: LXD - fails to build

Please edit your post to use code tags.

https://wiki.archlinux.org/index.php/Co … s_and_code


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB