Let's go on...
i compile the libpve-common-perl as follows
#######compile libpve-common-perl########
#set sbin path
PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
cd ~
git clone
https://github.com/proxmox-on-arm64/pve-common
cd pve-common
#install required perl components
#perl -MCPAN -e shell
#cpan>install Filesys:
f JSON String::ShellQuote Net::IP Linux::Inotify2 Devel::Cycle
Code:
echo "install Filesys::Df JSON String::ShellQuote Net::IP Linux::Inotify2 Devel::Cycle" | perl -MCPAN -e shell
#install required libs
apt-get install -y libfilesys-df-perl libjson-perl liblinux-inotify2-perl libstring-shellquote-perl
#compile the libpve-common-perl
make all
#install dependencies.
apt-get install -y libcrypt-openssl-random-perl
apt-get install -y libcrypt-openssl-rsa-perl
apt-get install -y libdevel-cycle-perl
apt-get install -y libmime-base32-perl
apt-get install -y libnet-ip-perl
#install generated libpve-common-perl
dpkg -i libpve-common-perl_5.0-38_all.deb
#########################
#now go on compiling the PVE kernel.
And i get the following error...
...
scripts/selinux/mdp/mdp
sent 3,582,643 bytes received 197,274 bytes 2,519,944.67 bytes/sec
total size is 2,905,145 speedup is 0.77
rm -rf /home/berg/pve-kernel/build/ubuntu-jammy_tmp
touch .headers_compile_mark
cp ubuntu-jammy/include/generated/compile.h debian/pve-headers-5.15.39-4-pve/usr/src/linux-headers-5.15.39-4-pve/include/generated/compile.h
install -m 0644 ubuntu-jammy/Module.symvers debian/pve-headers-5.15.39-4-pve/usr/src/linux-headers-5.15.39-4-pve
mkdir -p debian/pve-headers-5.15.39-4-pve/lib/modules/5.15.39-4-pve
ln -sf /usr/src/linux-headers-5.15.39-4-pve debian/pve-headers-5.15.39-4-pve/lib/modules/5.15.39-4-pve/build
touch .headers_install_mark
dh_installdocs -A debian/copyright debian/SOURCE
dh_installchangelogs
dh_installman
dh_strip_nondeterminism
dh_compress
dh_fixperms
debian/rules fwcheck abicheck
make[2]: Entering directory '/home/berg/pve-kernel/build'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
debian/scripts/find-firmware.pl debian/pve-kernel-5.15.39-4-pve/lib/modules/5.15.39-4-pve >fwlist.tmp
mv fwlist.tmp fwlist-5.15.39-4-pve
checking fwlist for changes since last built firmware package..
if this check fails, add fwlist-5.15.39-4-pve to the pve-firmware repository and upload a new firmware package together with the 5.15.39-4-pve kernel <---What does this mean....?
sort fwlist-previous | uniq > fwlist-previous.sorted
sort fwlist-5.15.39-4-pve | uniq > fwlist-5.15.39-4-pve.sorted
diff -up -N fwlist-previous.sorted fwlist-5.15.39-4-pve.sorted > fwlist.diff
make[2]:
*** [debian/rules:278: fwcheck] Error 1
make[2]: Leaving directory '/home/berg/pve-kernel/build'
make[1]: *** [debian/rules:110: binary] Error 2
make[1]: Leaving directory '/home/berg/pve-kernel/build'
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
make: *** [Makefile:61: pve-kernel-5.15.39-4-pve_5.15.39-4_arm64.deb] Error 2
###################after comment the lines 278/279 in debian/rules, i get errors:##################
...
dh_fixperms
debian/rules fwcheck abicheck
make[2]: Entering directory '/home/berg/pve-kernel/build'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
checking fwlist for changes since last built firmware package..
if this check fails, add fwlist-5.15.39-4-pve to the pve-firmware repository and upload a new firmware package together with the 5.15.39-4-pve kernel
sort fwlist-previous | uniq > fwlist-previous.sorted
sort fwlist-5.15.39-4-pve | uniq > fwlist-5.15.39-4-pve.sorted
done, no need to rebuild pve-firmware
debian/scripts/abi-generate debian/pve-headers-5.15.39-4-pve/usr/src/linux-headers-5.15.39-4-pve/Module.symvers abi-5.15.39-4-pve 5.15.39-4-pve
input file 'debian/pve-headers-5.15.39-4-pve/usr/src/linux-headers-5.15.39-4-pve/Module.symvers' does not exist
make[2]: *** [debian/rules:284: abi-5.15.39-4-pve] Error 2
make[2]: Leaving directory '/home/berg/pve-kernel/build'
make[1]: *** [debian/rules:110: binary] Error 2
make[1]: Leaving directory '/home/berg/pve-kernel/build'
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
make: *** [Makefile:61: pve-kernel-5.15.39-4-pve_5.15.39-4_arm64.deb] Error 2
----------------------
WOW, so many strange errors...