Package: network-manager

Version: 1.14.6-2+deb10u1

I downloaded src code and debian from 
https://packages.debian.org/zh-tw/source/buster/network-manager
Try to use dpkg-buildpackage -uc -us -b -nc to build debian package locally
It failed and showed the following error

debian/org.freedesktop.NetworkManager.pkla: 1: 
debian/org.freedesktop.NetworkManager.pkla: [Adding: not found 
debian/org.freedesktop.NetworkManager.pkla: 2: 
debian/org.freedesktop.NetworkManager.pkla: unix-group:sudo: not found 
debian/60-network-manager.rules: 1: debian/60-network-manager.rules: Syntax 
error: word unexpected (expecting ")") debian/01-ifupdown: called with unknown 
action `' dh_install: debian/network-manager.install is marked executable but 
does not appear to an executable config. dh_install: dh_install: If 
debian/network-manager.install is intended to be an executable config file, 
please ensure it can dh_install: be run as a stand-alone script/program (e.g. 
"./debian/network-manager.install") dh_install: Otherwise, please remove the 
executable bit from the file (e.g. chmod -x "debian/network-manager.install") 
dh_install: dh_install: Please see "Executable debhelper config files" in 
debhelper(7) for more information. dh_install: dh_install: 
debian/network-manager.install (executable config) returned exit code 1 
make[1]: *** [debian/rules:61: override_dh_install] Error 25 make[1]: Leaving 
directory '/debian/NetworkManager-1.14.6' make: *** [debian/rules:8: binary] 
Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit 
status 2

I checked debian/60-network-manager.rules and it seems no unsuitable syntax
Try chmod -x "debian/network-manager.install" and it still didn't work for me
My OS is Debian GNU/Linux 10 (buster), running on docker
Kernel version is Linux a1b9afe10133 5.4.72-microsoft-standard-WSL2 #1 SMP Wed 
Oct 28 23:40:43 UTC 2020 x86_64 GNU/Linux

Reply via email to