[pve-devel] DAB error: Makefile:4: die Regel für Ziel „all“ scheiterte

Thomas c.monty at web.de
Fri Oct 13 08:12:19 CEST 2017


Hello!

I have created this Makefile:
BASEDIR:=$(shell dab basedir)

all: info/init_ok
        dab bootstrap
        dab install ack
        dab install apt-forktracer apt-listchanges
        dab install byobu bzip2
        dab install dma htop iftop
        dab install logrotate nano ncdu net-tools vim
        sed -e 's/prohibit-password/yes/' -i ${BASEDIR}/etc/ssh/sshd_config
        sed -e 's/#PermitRootLogin/PermitRootLogin/' -i
${BASEDIR}/etc/ssh/sshd_config
        dab finalize

info/init_ok: dab.conf
        dab init
        touch $@

.PHONY: clean
clean:
        dab clean
        rm -f *~

When I run make it returns an error message:
install: ack
dab install apt-forktracer apt-listchanges
install: distro-info-data
install: lsb-release
install: python-apt
install: apt-forktracer
dab install byobu bzip2
install: libsigsegv2
install: gawk
install: libutempter0
install: tmux
install: python-newt
install: byobu
dab install dma htop iftop
install: libpcap0.8
install: iftop
install: htop
install: dma
command 'lxc-attach -n 9a0398aa-f1dd-4490-a0f2-2b02b610209a --rcfile
/var/lib/vz/template/builds/debian-9-custom-64/config --clear-env --
defenv dpkg --force-depends --force-confold --install
/libpcap0.8_1.8.1-3_amd64.deb /iftop_1.0~pre4-4_amd64.deb
/htop_2.0.2-1_amd64.deb /dma_0.11-1+b1_amd64.deb' failed with exit code 1
command 'lxc-attach -n 9a0398aa-f1dd-4490-a0f2-2b02b610209a --rcfile
/var/lib/vz/template/builds/debian-9-custom-64/config --clear-env --
defenv dpkg --force-depends --force-confold --install
/libpcap0.8_1.8.1-3_amd64.deb /iftop_1.0~pre4-4_amd64.deb
/htop_2.0.2-1_amd64.deb /dma_0.11-1+b1_amd64.deb' failed with exit code 1
Makefile:4: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 1

What is causing this error?
How can I fix it?

THX


More information about the pve-devel mailing list