On Tue, Mar 08, 2016 at 11:41:13PM +1100, Dmitry Smirnov wrote: > On Tuesday, 8 March 2016 10:02:46 AM AEDT Santiago Vila wrote: > > -O--parallel dh_auto_install -i -O--buildsystem=golang > > -O--builddirectory=_build -O--parallel dh_auto_install: error: unable to > > chdir to _build > > This is not a problem in Grafana. I think the error is in Debhelper > buildsystem=golang module (dh-golang). dh_auto_install call fails when > builddirectory do not exist...
This is hardly a problem in debhelper, which is just a tool to simplify debian/rules. What debhelper does is what you tell it to do, nothing less and nothing more. In this case we are using "dpkg-buildpackage -A" so the generic dh rule does not work for the "build" because there is a specific build-indep target. So it's not surprising that the build directory does not exist. If you have to split dh_auto_install into -arch and -indep, go ahead, but please do not blame debhelper. Thanks.

