[pve-devel] error: debian/rules build gave error exit status 2

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Apr 24 08:01:44 CEST 2018


Hi,

On 4/23/18 5:03 PM, Daniel Boothby wrote:
> Hi,
> 
> I'm trying to build the pve kernel with the raw source from git but it's
> failing with the following error:
> 
>     make[1]: Leaving directory '/root/pve-kernel/build'
>     dpkg-buildpackage: error: debian/rules build gave error exit status 2
>     Makefile:79: recipe for target
> 'pve-kernel-4.13.16-2-pve_4.13.16-47_amd64.deb' failed
>     make: *** [pve-kernel-4.13.16-2-pve_4.13.16-47_amd64.deb] Error 2
> 
> Have I interpreted the correctly that it's failing when running line 79 of
> the debian/rules file? Line 79 is:
>     debian/rules fwcheck abicheck
> 

It _may_ be that you looked at the wrong Makefile. 

Thing is, I'm missing too much error output from the make
process to tell. Have you more build log to share?


> I followed the setup instructions from here:
> https://git.proxmox.com/?p=pve-common.git;a=blob_plain;f=README.dev;hb=HEAD
> with the exception that I started on the current 5.1 ISO release of Proxmox.
> 
> Is there something I've missed?

For the kernel only, you do not need that much devel packages installed
as listed in the README.

gcc-6 lintian sed flex bison bc libssl-dev asciidoc xmlto tar

should do it.




More information about the pve-devel mailing list