Project

General

Profile

On Raspbian, "No rule to make target '/usr/include/a'"

Added by Chris L over 6 years ago

Building the source code tagged as v4.2.6 with the command line:

AUTOBUILD_CONFIGURE_EXTRA=--disable-bintray_cache\ --disable-hdhomerun_static\ --disable-ffmpeg_static\ --disable-dvbscan ./Autobuild.sh

... my build ends in failure with the output:

make[1]: Leaving directory '/home/pi/build/tvheadend'
   dh_auto_test
dh_auto_test: Compatibility levels before 9 are deprecated (level 5 in use)
   create-stamp debian/debhelper-build-stamp
 fakeroot debian/rules binary
dh binary
dh: Compatibility levels before 9 are deprecated (level 5 in use)
   dh_testroot
   dh_prep
        rm -f debian/tvheadend.substvars
        rm -f debian/tvheadend.*.debhelper
        rm -rf debian/tvheadend/
        rm -f debian/tvheadend-dbg.substvars
        rm -f debian/tvheadend-dbg.*.debhelper
        rm -rf debian/tvheadend-dbg/
   dh_installdirs
dh_installdirs: Compatibility levels before 9 are deprecated (level 5 in use)
        install -d debian/tvheadend
        install -d debian/tvheadend/usr/bin
        install -d debian/tvheadend-dbg
   debian/rules override_dh_auto_install
make[1]: Entering directory '/home/pi/build/tvheadend'
dh_auto_install --destdir=debian/tvheadend
dh_auto_install: Compatibility levels before 9 are deprecated (level 5 in use)
        make -j1 install DESTDIR=/home/pi/build/tvheadend/debian/tvheadend AM_UPDATE_INFO_DIR=no
make[2]: Entering directory '/home/pi/build/tvheadend'
/home/pi/build/tvheadend/build.linux/src/docs.d:1: warning: NUL character seen; rest of line ignored
make -f Makefile.webui LANGUAGES="ach ady ar bg cs da de en_US en_GB es et fa fi fr he hr hu it ko lv lt nl nopl pt ro ru sl sk sq sv tr uk zh zh-Hans" all
make[3]: Entering directory '/home/pi/build/tvheadend'
make -f Makefile.webui WEBUI=std   compile-std
make[4]: Entering directory '/home/pi/build/tvheadend'
WEBUI std finished
make[4]: Leaving directory '/home/pi/build/tvheadend'
make -f Makefile.webui WEBUI=debug compile-debug
make[4]: Entering directory '/home/pi/build/tvheadend'
WEBUI debug finished
make[4]: Leaving directory '/home/pi/build/tvheadend'
make[3]: Leaving directory '/home/pi/build/tvheadend'
make[2]: *** No rule to make target '/usr/include/a', needed by '/home/pi/build/tvheadend/build.linux/src/docs.o'.  Stop.
make[2]: Leaving directory '/home/pi/build/tvheadend'
dh_auto_install: make -j1 install DESTDIR=/home/pi/build/tvheadend/debian/tvheadend AM_UPDATE_INFO_DIR=no returned exit code 2
debian/rules:20: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 2
make[1]: Leaving directory '/home/pi/build/tvheadend'
debian/rules:5: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

I chose 4.2.6 over 4.3 or HEAD with the expectation that it was most likely to be in a stable state.