[cf-lattice] lattice build issue (docker/docker and brtfs issue)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[cf-lattice] lattice build issue (docker/docker and brtfs issue)

Pramod Mandagere
Hi,
     Been trying to build a version of lattice (lattice.tgz). Followed the instructions on https://github.com/cloudfoundry-incubator/lattice/blob/v0.2.6/docs/development-readme.md. Running into errors at two places. go get ./... in lattice directory shows docker dependency errors. 

package github.com/goamz/goamz/aws

imports github.com/vaughan0/go-ini

imports github.com/goamz/goamz/s3

imports github.com/gizak/termui

imports github.com/mattn/go-runewidth

imports github.com/nsf/termbox-go

imports github.com/codegangsta/cli

imports github.com/docker/docker/registry: /Users/npramod/workspace/diego-release/src/github.com/docker/docker exists but /Users/npramod/workspace/diego-release/src/github.com/docker/docker/.git does not - stale checkout?

package github.com/goamz/goamz/aws

imports github.com/vaughan0/go-ini

imports github.com/goamz/goamz/s3

imports github.com/gizak/termui

imports github.com/mattn/go-runewidth

imports github.com/nsf/termbox-go

imports github.com/codegangsta/cli

imports github.com/docker/docker/image

imports github.com/docker/docker/image

imports github.com/docker/docker/image: cannot find package "github.com/docker/docker/image" in any of:

/usr/local/go/src/github.com/docker/docker/image (from $GOROOT)

/Users/npramod/workspace/diego-release/src/github.com/docker/docker/image (from $GOPATH)

package github.com/goamz/goamz/aws

imports github.com/vaughan0/go-ini

imports github.com/goamz/goamz/s3

imports github.com/gizak/termui

imports github.com/mattn/go-runewidth

imports github.com/nsf/termbox-go

imports github.com/codegangsta/cli

imports github.com/docker/docker/image

imports github.com/docker/docker/nat

imports github.com/docker/docker/nat

imports github.com/docker/docker/nat: cannot find package "github.com/docker/docker/nat" in any of:

/usr/local/go/src/github.com/docker/docker/nat (from $GOROOT)

/Users/npramod/workspace/diego-release/src/github.com/docker/docker/nat (from $GOPATH)

package github.com/goamz/goamz/aws

imports github.com/vaughan0/go-ini

imports github.com/goamz/goamz/s3

imports github.com/gizak/termui

imports github.com/mattn/go-runewidth

imports github.com/nsf/termbox-go

imports github.com/codegangsta/cli

imports github.com/docker/docker/image

imports github.com/docker/docker/nat

imports github.com/docker/docker/utils

imports github.com/docker/docker/utils

imports github.com/docker/docker/utils: cannot find package "github.com/docker/docker/utils" in any of:

/usr/local/go/src/github.com/docker/docker/utils (from $GOROOT)

/Users/npramod/workspace/diego-release/src/github.com/docker/docker/utils (from $GOPATH)


If we skip this step and go further with the compilation process 

recompile-lattice throws the following brtfs error

recompile-lattice 

Running command with /workspace/diego-release/src/github.com/cloudfoundry-incubator/lattice/pipeline/01_compilation/compile_lattice_tar

/workspace/cf-release/src/loggregator /workspace

/workspace

setting up go env

copying diego release

copying cf release

copying lattice

staging common files

staging scripts

compiling cell

compiling garden linux

# github.com/docker/docker/daemon/graphdriver/btrfs

/root/workspace/diego-release/src/github.com/cloudfoundry-incubator/garden-linux/Godeps/_workspace/src/github.com/docker/docker/daemon/graphdriver/btrfs/btrfs.go:8:25: fatal error: btrfs/ioctl.h: No such file or directory

 #include <btrfs/ioctl.h>

                         ^

compilation terminated.


Any thoughts on how to debug this?

Regards,




_______________________________________________
cf-lattice mailing list
[hidden email]
https://lists.cloudfoundry.org/mailman/listinfo/cf-lattice
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [cf-lattice] lattice build issue (docker/docker and brtfs issue)

James Bayer
did you checkout version v0.2.6 of the lattice repo before you started?

On Fri, Jul 17, 2015 at 5:13 PM, Pramod Mandagere <[hidden email]> wrote:
Hi,
     Been trying to build a version of lattice (lattice.tgz). Followed the instructions on https://github.com/cloudfoundry-incubator/lattice/blob/v0.2.6/docs/development-readme.md. Running into errors at two places. go get ./... in lattice directory shows docker dependency errors. 

package github.com/goamz/goamz/aws

imports github.com/vaughan0/go-ini

imports github.com/goamz/goamz/s3

imports github.com/gizak/termui

imports github.com/mattn/go-runewidth

imports github.com/nsf/termbox-go

imports github.com/codegangsta/cli

imports github.com/docker/docker/registry: /Users/npramod/workspace/diego-release/src/github.com/docker/docker exists but /Users/npramod/workspace/diego-release/src/github.com/docker/docker/.git does not - stale checkout?

package github.com/goamz/goamz/aws

imports github.com/vaughan0/go-ini

imports github.com/goamz/goamz/s3

imports github.com/gizak/termui

imports github.com/mattn/go-runewidth

imports github.com/nsf/termbox-go

imports github.com/codegangsta/cli

imports github.com/docker/docker/image

imports github.com/docker/docker/image

imports github.com/docker/docker/image: cannot find package "github.com/docker/docker/image" in any of:

/usr/local/go/src/github.com/docker/docker/image (from $GOROOT)

/Users/npramod/workspace/diego-release/src/github.com/docker/docker/image (from $GOPATH)

package github.com/goamz/goamz/aws

imports github.com/vaughan0/go-ini

imports github.com/goamz/goamz/s3

imports github.com/gizak/termui

imports github.com/mattn/go-runewidth

imports github.com/nsf/termbox-go

imports github.com/codegangsta/cli

imports github.com/docker/docker/image

imports github.com/docker/docker/nat

imports github.com/docker/docker/nat

imports github.com/docker/docker/nat: cannot find package "github.com/docker/docker/nat" in any of:

/usr/local/go/src/github.com/docker/docker/nat (from $GOROOT)

/Users/npramod/workspace/diego-release/src/github.com/docker/docker/nat (from $GOPATH)

package github.com/goamz/goamz/aws

imports github.com/vaughan0/go-ini

imports github.com/goamz/goamz/s3

imports github.com/gizak/termui

imports github.com/mattn/go-runewidth

imports github.com/nsf/termbox-go

imports github.com/codegangsta/cli

imports github.com/docker/docker/image

imports github.com/docker/docker/nat

imports github.com/docker/docker/utils

imports github.com/docker/docker/utils

imports github.com/docker/docker/utils: cannot find package "github.com/docker/docker/utils" in any of:

/usr/local/go/src/github.com/docker/docker/utils (from $GOROOT)

/Users/npramod/workspace/diego-release/src/github.com/docker/docker/utils (from $GOPATH)


If we skip this step and go further with the compilation process 

recompile-lattice throws the following brtfs error

recompile-lattice 

Running command with /workspace/diego-release/src/github.com/cloudfoundry-incubator/lattice/pipeline/01_compilation/compile_lattice_tar

/workspace/cf-release/src/loggregator /workspace

/workspace

setting up go env

copying diego release

copying cf release

copying lattice

staging common files

staging scripts

compiling cell

compiling garden linux

# github.com/docker/docker/daemon/graphdriver/btrfs

/root/workspace/diego-release/src/github.com/cloudfoundry-incubator/garden-linux/Godeps/_workspace/src/github.com/docker/docker/daemon/graphdriver/btrfs/btrfs.go:8:25: fatal error: btrfs/ioctl.h: No such file or directory

 #include <btrfs/ioctl.h>

                         ^

compilation terminated.


Any thoughts on how to debug this?

Regards,




_______________________________________________
cf-lattice mailing list
[hidden email]
https://lists.cloudfoundry.org/mailman/listinfo/cf-lattice




--
Thank you,

James Bayer

_______________________________________________
cf-lattice mailing list
[hidden email]
https://lists.cloudfoundry.org/mailman/listinfo/cf-lattice
Loading...