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:
Christian Ehrhardt <christian.ehrhardt@canonical.com>
Please register or sign in to comment