sonic-linux-kernel icon indicating copy to clipboard operation
sonic-linux-kernel copied to clipboard

make error:cannot run debian/linux-cpupower.install: No such file or directory

Open dingrui37 opened this issue 5 years ago • 2 comments

ubuntu 16.04

Can't exec "/home/dingrui/projects/sonic-linux-kernel/linux-4.9.168/debian/linux-cpupower.install": No such file or directory at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 776.
dh_install: cannot run debian/linux-cpupower.install: No such file or directory
make[3]: *** [install-source] Error 2
make[2]: *** [binary-indep] Error 2
make[1]: *** [binary-indep] Error 2
make: *** [/linux-headers-4.9.0-9-2-common_4.9.168-1+deb9u5_all.deb] Error 2

dingrui37 avatar Dec 17 '19 01:12 dingrui37

I hit the same issue as well

timmy00274672 avatar May 25 '20 00:05 timmy00274672

dh-exec packagec is removed during sonic-slave-stretch build along with other packages. I suspect it because of the stretch-backports.

Need to override the apt auto remove behaviour

Removing gem2deb (0.33.1) ... Removing kernel-wedge (2.96) ... Removing dh-exec (0.23+b1) ... Removing dh-make (2.201608) ... Removing dh-systemd (10.2.5) ... Removing equivs (2.0.9+nmu1) ... Removing javahelper (0.59) ... Removing pkg-php-tools (1.35) ... Removing python-stdeb (0.8.5-1) ... Removing dh-strip-nondeterminism (0.034-1) ... Removing debhelper (12.1.1~bpo9+1) ... Removing dh-autoreconf (17~bpo9+1) ...

antony-rheneus avatar Jun 11 '20 06:06 antony-rheneus