Bug#721496: Do not recurse into packages when building

2014-07-21 Thread Alessandro Ghedini
Control: tags -1 patch On Sun, Sep 01, 2013 at 12:46:12PM +0200, Vincent Bernat wrote: > Package: dh-golang > Version: 1.1 > Severity: normal > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Hi! > > I have a package (log4go, https://code.google.com/p/log4go/) which > contains an "examp

Bug#721496: Do not recurse into packages when building

2014-03-09 Thread Michael Stapelberg
Hi Shawn, Sorry for taking so long to get back to this. Shawn Landden writes: > I am getting the opposite problem with go-systemd > github.com/coreos/go-systemd > The modules build fine, but the build breaks > because the root directory is not a module and cannot > be installed: > > dh_auto_buil

Bug#721496: Do not recurse into packages when building

2014-02-07 Thread Shawn Landden
Package: dh-golang Version: 1.5 Followup-For: Bug #721496 I am getting the opposite problem with go-systemd github.com/coreos/go-systemd The modules build fine, but the build breaks because the root directory is not a module and cannot be installed: dh_auto_build: go install -v github.com/coreos/

Bug#721496: Do not recurse into packages when building

2013-09-08 Thread Vincent Bernat
❦ 1 septembre 2013 22:50 CEST, Michael Stapelberg  : >> OK. But fixing the error is not sufficient. Can't those examples be >> compiled if they are not in a separate directory? I am a total noob with >> Go. > The problem is that each of the examples is declaring it is the package > “main” with a

Bug#721496: Do not recurse into packages when building

2013-09-01 Thread Michael Stapelberg
Hi Vincent, Vincent Bernat writes: > OK. But fixing the error is not sufficient. Can't those examples be > compiled if they are not in a separate directory? I am a total noob with > Go. The problem is that each of the examples is declaring it is the package “main” with a function called “main”, a

Bug#721496: Do not recurse into packages when building

2013-09-01 Thread Vincent Bernat
❦ 1 septembre 2013 20:16 CEST, Michael Stapelberg  : > I think upstream should make the entire code buildable, even if it’s > only examples. After all, having them buildable catches mistakes/errors > in those files. To achieve that, upstream can simply move each of these > files into a separate

Bug#721496: Do not recurse into packages when building

2013-09-01 Thread Michael Stapelberg
Hi Vincent, Vincent Bernat writes: > I have a package (log4go, https://code.google.com/p/log4go/) which > contains an "example" directory. When building with dh-golang, it > tries to build it as a module and fails with an error: > > cd > /tmp/buildd/golang-log4go-0.0~hg48/obj-x86_64-linux-gnu/sr

Bug#721496: Do not recurse into packages when building

2013-09-01 Thread Vincent Bernat
Package: dh-golang Version: 1.1 Severity: normal -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi! I have a package (log4go, https://code.google.com/p/log4go/) which contains an "example" directory. When building with dh-golang, it tries to build it as a module and fails with an error: cd /t