Skip to content
Snippets Groups Projects
Commit dc99d355 authored by Christian Ehrhardt's avatar Christian Ehrhardt Committed by Guido Günther
Browse files

d/rules: set enable-dependency-tracking to avoid FTBFS


Temporary workaround until build uses meson:
[16:28] <cpaelzer> phrdina: hiho a question about b98f90cf "src: access: generate source files into build directory"
[16:28] <cpaelzer> I see the debian build entering a dir make[3]: Entering directory '/<<PKGBUILDDIR>>/debian/build/src'
[16:29] <cpaelzer> of that "<<PKGBUILDDIR>>/debian/build"  is the builddir
[16:29] <cpaelzer> now later on I see the following fail
[16:29] <cpaelzer> ...
[16:29] <cpaelzer> 4259 /usr/bin/perl -w ../../../src/rpc/gendispatch.pl --mode=aclheader \
[16:29] <cpaelzer> 4260   remote REMOTE ../../../src/remote/remote_protocol.x \
[16:29] <cpaelzer> 4261   > access/viraccessapicheck.h
[16:29] <cpaelzer> 4262 /bin/bash: access/viraccessapicheck.h: No such file or directory
[16:29] <cpaelzer> phrdina: what would create the dir "access" in the build dir to be ready for hte generated file to be placed there
[16:30] <danpb> cpaelzer: i bet you have  --disable-dependancy-tracking passed to configure
[16:30] <cpaelzer> src/access obviously existed in the past but with building relative to the build dir some step is missing
[16:30] <cpaelzer> danpb: checking for disable-dependancy-tracking ...
[16:31] <danpb> for reasons i don't understand this option breaks creation of sub-dirs when using separate VPATH build
[16:32] <cpaelzer> --disable-dependency-tracking
[16:32] <cpaelzer> it isn't in the debian packaging, but the tools set it by default
[16:32] <cpaelzer> hence I only found it in the build log
[16:32] <danpb> yeah, i was going to say that the debian build helpers probably set it
[16:33] <danpb> there's probably a more correct fix than just removing this cli flag
[16:33] <danpb> but we don't much care to investigate given that we're trying to switch to meson asap
[16:33] <danpb> so i've just been telling everyone to remove use of this flag

Signed-off-by: default avatarChristian Ehrhardt <christian.ehrhardt@canonical.com>
parent 5639ffb7
No related branches found
No related tags found
No related merge requests found
......@@ -94,6 +94,7 @@ DEB_CONFIGURE_EXTRA_ARGS := \
--with-packager="$(DEB_BUILDUSER) $(DEB_BUILDDATE)" \
--with-packager-version="$(DEB_RELEASE)" \
--with-default-editor="sensible-editor" \
--enable-dependency-tracking \
--disable-silent-rules \
--disable-rpath \
--with-qemu \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment