Package: src:grafana Version: 2.6.0+dfsg-3 User: [email protected] Usertags: binary-indep Severity: important
Dear maintainer: I tried to build this package with "dpkg-buildpackage -A" (i.e. only architecture-independent packages), and it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep ## Build CSS: http://lesscss.org/usage/index.html mkdir -p public/css cd public/css \ && lessc --include-path=../less --include-path=../vendor/bootstrap/less ../less/bootstrap.dark.less grafana.dark.min.css.tmp \ && cat grafana.dark.min.css.tmp /usr/share/fonts-font-awesome/css/font-awesome.css > grafana.dark.min.css \ && lessc --include-path=../less --include-path=../vendor/bootstrap/less ../less/bootstrap.light.less grafana.light.min.css.tmp \ && cat grafana.light.min.css.tmp /usr/share/fonts-font-awesome/css/font-awesome.css > grafana.light.min.css \ ; tsc --module amd public/test/lib/common.ts public/test/core/utils/rangeutil_specs.ts public/test/core/utils/datemath_specs.ts public/test/core/utils/flatten_specs.ts public/test/core/table_model_specs.ts public/app/headers/lodash/lodash.d.ts public/app/headers/moment/moment.d.ts public/app/headers/moment/moment-node.d.ts public/app/headers/angularjs/angularjs.d.ts public/app/headers/common.d.ts public/app/headers/jquery/jquery.d.ts public/app/headers/require/require.d.ts public/app/features/panel/panel_meta.ts public/app/features/dashboard/timepicker/timepicker.ts public/app/plugins/datasource/elasticsearch/specs/index_pattern_specs.ts public/app/plugins/datasource/elasticsearch/specs/query_ctrl_specs.ts public/app/plugins/datasource/elasticsearch/specs/query_def_specs.ts public/app/plugins/datasource/elasticsearch/specs/elastic_response_specs.ts public/app/plugins/datasource/elasticsearch/specs/query_builder_specs.ts public/app/plugins/datasource/elasticsearch/specs/datasource_specs .ts public/app/plugins/datasource/graphite/specs/gfunc_specs.ts public/app/plugins/datasource/graphite/specs/query_ctrl_specs.ts public/app/plugins/datasource/graphite/specs/datasource_specs.ts public/app/plugins/datasource/cloudwatch/specs/datasource_specs.ts public/app/plugins/datasource/prometheus/specs/datasource_specs.ts public/app/plugins/datasource/influxdb/influx_query.ts public/app/plugins/datasource/influxdb/specs/query_ctrl_specs.ts public/app/plugins/datasource/influxdb/specs/influx_series_specs.ts public/app/plugins/datasource/influxdb/specs/query_builder_specs.ts public/app/plugins/datasource/influxdb/specs/query_part_specs.ts public/app/plugins/datasource/influxdb/specs/influx_query_specs.ts public/app/plugins/datasource/influxdb/query_part.ts public/app/plugins/datasource/influxdb_08/specs/influx_series_specs.ts public/app/plugins/datasource/influxdb_08/specs/query_builder_specs.ts public/app/plugins/datasource/influxdb_08/specs/datasource-specs.ts public/app/core/ti me_series.ts public/app/core/directives/give_focus.ts public/app/core/directives/array_join.ts public/app/core/utils/rangeutil.ts public/app/core/utils/datemath.ts public/app/core/utils/flatten.ts public/app/core/controllers/signup_ctrl.ts public/app/core/core.ts public/app/core/routes/bundle_loader.ts public/app/core/table_model.ts public/app/core/filters/filters.ts public/app/core/core_module.ts public/app/panels/table/module.ts public/app/panels/table/editor.ts public/app/panels/table/specs/renderer_specs.ts public/app/panels/table/specs/table_model_specs.ts public/app/panels/table/specs/transformers_specs.ts public/app/panels/table/controller.ts public/app/panels/table/renderer.ts public/app/panels/table/transformers.ts fakeroot debian/rules binary-indep dh binary-indep --buildsystem=golang --with=golang,systemd --builddirectory=_build --parallel debian/rules build-indep make[1]: Entering directory '/<<BUILDDIR>>/grafana-2.6.0+dfsg' ## Build CSS: http://lesscss.org/usage/index.html mkdir -p public/css cd public/css \ && lessc --include-path=../less --include-path=../vendor/bootstrap/less ../less/bootstrap.dark.less grafana.dark.min.css.tmp \ && cat grafana.dark.min.css.tmp /usr/share/fonts-font-awesome/css/font-awesome.css > grafana.dark.min.css \ && lessc --include-path=../less --include-path=../vendor/bootstrap/less ../less/bootstrap.light.less grafana.light.min.css.tmp \ && cat grafana.light.min.css.tmp /usr/share/fonts-font-awesome/css/font-awesome.css > grafana.light.min.css \ ; tsc --module amd public/test/lib/common.ts public/test/core/utils/rangeutil_specs.ts public/test/core/utils/datemath_specs.ts public/test/core/utils/flatten_specs.ts public/test/core/table_model_specs.ts public/app/headers/lodash/lodash.d.ts public/app/headers/moment/moment.d.ts public/app/headers/moment/moment-node.d.ts public/app/headers/angularjs/angularjs.d.ts public/app/headers/common.d.ts public/app/headers/jquery/jquery.d.ts public/app/headers/require/require.d.ts public/app/features/panel/panel_meta.ts public/app/features/dashboard/timepicker/timepicker.ts public/app/plugins/datasource/elasticsearch/specs/index_pattern_specs.ts public/app/plugins/datasource/elasticsearch/specs/query_ctrl_specs.ts public/app/plugins/datasource/elasticsearch/specs/query_def_specs.ts public/app/plugins/datasource/elasticsearch/specs/elastic_response_specs.ts public/app/plugins/datasource/elasticsearch/specs/query_builder_specs.ts public/app/plugins/datasource/elasticsearch/specs/datasource_specs .ts public/app/plugins/datasource/graphite/specs/gfunc_specs.ts public/app/plugins/datasource/graphite/specs/query_ctrl_specs.ts public/app/plugins/datasource/graphite/specs/datasource_specs.ts public/app/plugins/datasource/cloudwatch/specs/datasource_specs.ts public/app/plugins/datasource/prometheus/specs/datasource_specs.ts public/app/plugins/datasource/influxdb/influx_query.ts public/app/plugins/datasource/influxdb/specs/query_ctrl_specs.ts public/app/plugins/datasource/influxdb/specs/influx_series_specs.ts public/app/plugins/datasource/influxdb/specs/query_builder_specs.ts public/app/plugins/datasource/influxdb/specs/query_part_specs.ts public/app/plugins/datasource/influxdb/specs/influx_query_specs.ts public/app/plugins/datasource/influxdb/query_part.ts public/app/plugins/datasource/influxdb_08/specs/influx_series_specs.ts public/app/plugins/datasource/influxdb_08/specs/query_builder_specs.ts public/app/plugins/datasource/influxdb_08/specs/datasource-specs.ts public/app/core/ti me_series.ts public/app/core/directives/give_focus.ts public/app/core/directives/array_join.ts public/app/core/utils/rangeutil.ts public/app/core/utils/datemath.ts public/app/core/utils/flatten.ts public/app/core/controllers/signup_ctrl.ts public/app/core/core.ts public/app/core/routes/bundle_loader.ts public/app/core/table_model.ts public/app/core/filters/filters.ts public/app/core/core_module.ts public/app/panels/table/module.ts public/app/panels/table/editor.ts public/app/panels/table/specs/renderer_specs.ts public/app/panels/table/specs/table_model_specs.ts public/app/panels/table/specs/transformers_specs.ts public/app/panels/table/controller.ts public/app/panels/table/renderer.ts public/app/panels/table/transformers.ts make[1]: Leaving directory '/<<BUILDDIR>>/grafana-2.6.0+dfsg' dh_testroot -i -O--buildsystem=golang -O--builddirectory=_build -O--parallel dh_prep -i -O--buildsystem=golang -O--builddirectory=_build -O--parallel dh_auto_install -i -O--buildsystem=golang -O--builddirectory=_build -O--parallel dh_auto_install: error: unable to chdir to _build debian/rules:15: recipe for target 'binary-indep' failed make: *** [binary-indep] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit status 2 -------------------------------------------------------------------------------- Sorry not to have a fix, as I am reporting many bugs similar to this one. The common hints are: * If the only architecture-independent packages are dummy transitional ones and they were released with jessie, the easy fix is to drop them now. * When using "dh", it is allowed to use (independently) optional targets override_dh_foo-arch and override_dh_foo-indep (for several values of "foo"). Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work properly, the package would be suitable to be uploaded in source-only form if you wish. Thanks.

