mozilla-services / heka

DEPRECATED: Data collection and processing made easy.
http://hekad.readthedocs.org/
Other
3.39k stars 531 forks source link

Problems to build debian package #1858

Closed jpereira closed 4 years ago

jpereira commented 8 years ago

Hi guys,

I have tried to use the target "deb" to build debian packages. but, the current code looks broken.

[jpereira@jpereira-lenovo build]$ make deb
can't load package: package github.com/gogo/protobuf/protoc-gen-gogo: cannot find package "github.com/gogo/protobuf/protoc-gen-gogo" in any of:
    /usr/lib/go/src/github.com/gogo/protobuf/protoc-gen-gogo (from $GOROOT)
    ($GOPATH not set)
CMakeFiles/protobuf.dir/build.make:119: recipe for target 'protobuf' failed
make[3]: *** [protobuf] Error 1
CMakeFiles/Makefile2:1822: recipe for target 'CMakeFiles/protobuf.dir/all' failed
make[2]: *** [CMakeFiles/protobuf.dir/all] Error 2
CMakeFiles/Makefile2:1061: recipe for target 'CMakeFiles/deb.dir/rule' failed
make[1]: *** [CMakeFiles/deb.dir/rule] Error 2
Makefile:573: recipe for target 'deb' failed
make: *** [deb] Error 2
[jpereira@jpereira-lenovo build]$ git log | head -5
commit 08b95b002fe8f784c43bcb5d4d9b940bf7bddd78
Merge: f5e03b0 6e09299
Author: Rob Miller <rob@kalistra.com>
Date:   Tue Feb 9 11:13:06 2016 -0800

[jpereira@jpereira-lenovo build]$

I am in HEAD revision.

sathieu commented 8 years ago

Could not reproduce here:

$ git show HEAD
commit 08b95b002fe8f784c43bcb5d4d9b940bf7bddd78
Merge: f5e03b0 6e09299
Author: Rob Miller <rob@kalistra.com>
Date:   Tue Feb 9 11:13:06 2016 -0800

    Merge branch 'Nitro-pr-dockerinput-plugin' into dev

Can you try to remove the "build" directory and run . build.sh then make deb.

Also what is you distro and version?