[Pkg-emacsen-addons] Bug#848155: verilog-mode: FTBFS when built with dpkg-buildpackage -A (cp: cannot stat 'verilog.info': No such file or directory)

Santiago Vila sanvila at debian.org
Wed Dec 14 18:04:52 UTC 2016


Package: src:verilog-mode
Version: 20161124.fd230e6-1
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
test -x debian/rules
mkdir -p "."
 fakeroot debian/rules binary-indep
test -x debian/rules
dh_testroot
dh_prep 
dh_installdirs -A 
mkdir -p "."
Adding cdbs dependencies to debian/verilog-mode.substvars
dh_installdirs -pverilog-mode \
	
dh_installdocs -pverilog-mode ./README ./TODO
dh_installexamples -pverilog-mode 
dh_installman -pverilog-mode 
dh_installinfo -pverilog-mode 
cp: cannot stat 'verilog.info': No such file or directory
dh_installinfo: cp --reflink=auto verilog.info debian/verilog-mode/usr/share/info returned exit code 1
/usr/share/cdbs/1/rules/debhelper.mk:233: recipe for target 'binary-install/verilog-mode' failed
make: *** [binary-install/verilog-mode] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit status 2
--------------------------------------------------------------------------------

I have not tested without -A, but the existence of a build target in debian/rules
is slightly dangerous because it makes the build path to be different
for "dpkg-buildpackage" and "dpkg-buildpackage -A".

I would try to switch to "dh". Things are easier to fix when using dh.

Thanks.



More information about the Pkg-emacsen-addons mailing list