Skip to content

Instantly share code, notes, and snippets.

@trisk
Created November 20, 2014 19:56
Show Gist options
  • Save trisk/e5cd32bc808935d15b08 to your computer and use it in GitHub Desktop.
Save trisk/e5cd32bc808935d15b08 to your computer and use it in GitHub Desktop.
Cloning into bare repository 'mistify-agent-libvirt-186e47cfba2b2d4777bae61a22fb9746220efa10'...
>>> mistify-agent-libvirt 186e47cfba2b2d4777bae61a22fb9746220efa10 Extracting
gzip -d -c /ws/mistifyio/mistify-os-buildroot/downloads/mistify-agent-libvirt-186e47cfba2b2d4777bae61a22fb974622
0efa10.tar.gz | tar --strip-components=1 -C /ws/mistifyio/mistify-os-buildroot/build/mistify/build/mistify-agent
-libvirt-186e47cfba2b2d4777bae61a22fb9746220efa10 -xf -
>>> mistify-agent-libvirt 186e47cfba2b2d4777bae61a22fb9746220efa10 Patching
>>> mistify-agent-libvirt 186e47cfba2b2d4777bae61a22fb9746220efa10 Configuring
>>> mistify-agent-libvirt 186e47cfba2b2d4777bae61a22fb9746220efa10 Building
# GO apparently wants the install path to be independent of the
# build path. Use a temporary directory to do the build.
mkdir -p /ws/mistifyio/mistify-os-buildroot/build/mistify/tmp/GOPATH/src/github.com/mistifyio/mistify-agent-libv
irt
rsync -av --exclude .git /ws/mistifyio/mistify-os-buildroot/build/mistify/build/mistify-agent-libvirt-186e47cfba
2b2d4777bae61a22fb9746220efa10/* /ws/mistifyio/mistify-os-buildroot/build/mistify/tmp/GOPATH/src/github.com/mist
ifyio/mistify-agent-libvirt/
sending incremental file list
LICENSE
Makefile
README.md
Vagrantfile
libvirt.go
libvirt_test.go
xml.go
cmd/
cmd/mistify-libvirt/
cmd/mistify-libvirt/main.go
scripts/
scripts/sv/
scripts/sv/README.md
scripts/sv/libvirt.json
scripts/sv/log
scripts/sv/run
sent 36542 bytes received 256 bytes 24532.00 bytes/sec
total size is 35708 speedup is 0.97
GOROOT=/ws/mistifyio/mistify-os-buildroot/build/mistify/host/usr/local/go PATH=/usr/local/bin:/usr/bin:/bin:/usr
/bin/X11:/usr/games:/usr/sbin:/home/trisk/bin:/ws/mistifyio/mistify-os-buildroot/build/mistify/host/usr/local/go
/bin CGO_CPPFLAGS=-I/ws/mistifyio/mistify-os-buildroot/build/mistify/host/usr/include CGO_LDFLAGS=-L/ws/mistifyi
o/mistify-os-buildroot/build/mistify/target/usr/lib GOPATH=/ws/mistifyio/mistify-os-buildroot/build/mistify/tmp/
GOPATH make install DESTDIR=/ws/mistifyio/mistify-os-buildroot/build/mistify/target -C /ws/mistifyio/mistify-os-
buildroot/build/mistify/tmp/GOPATH/src/github.com/mistifyio/mistify-agent-libvirt
make[1]: Entering directory `/net/nexenta/export/ws/mistifyio/mistify-os-buildroot/build/mistify/tmp/GOPATH/src/
github.com/mistifyio/mistify-agent-libvirt'
cd cmd/mistify-libvirt && \
go get && \
go build
# github.com/alexzorin/libvirt-go
/ws/mistifyio/mistify-os-buildroot/build/mistify/target/usr/lib/libvirt.so: undefined reference to `memcpy@GLIBC
_2.14'
/ws/mistifyio/mistify-os-buildroot/build/mistify/target/usr/lib/libvirt.so: undefined reference to `setns@GLIBC_
2.14'
/ws/mistifyio/mistify-os-buildroot/build/mistify/target/usr/lib/libvirt.so: undefined reference to `secure_geten
v@GLIBC_2.17'
/ws/mistifyio/mistify-os-buildroot/build/mistify/host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libdbus-1.s
o.3: undefined reference to `clock_getres@GLIBC_2.17'
/ws/mistifyio/mistify-os-buildroot/build/mistify/target/usr/lib/libvirt.so: undefined reference to `__poll_chk@G
LIBC_2.16'
/ws/mistifyio/mistify-os-buildroot/build/mistify/target/usr/lib/libvirt.so: undefined reference to `clock_gettim
e@GLIBC_2.17'
collect2: error: ld returned 1 exit status
make[1]: *** [cmd/mistify-libvirt/mistify-libvirt] Error 2
make[1]: Leaving directory `/net/nexenta/export/ws/mistifyio/mistify-os-buildroot/build/mistify/tmp/GOPATH/src/g
ithub.com/mistifyio/mistify-agent-libvirt'
make: *** [/ws/mistifyio/mistify-os-buildroot/build/mistify/build/mistify-agent-libvirt-186e47cfba2b2d4777bae61a
22fb9746220efa10/.stamp_built] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment