<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:新細明體;
panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
{font-family:細明體;
panose-1:2 2 5 9 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:"\@新細明體";
panose-1:2 1 6 1 0 1 1 1 1 1;}
@font-face
{font-family:"\@細明體";
panose-1:2 1 6 9 0 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"新細明體",serif;}
pre
{mso-style-priority:99;
mso-style-link:"HTML 預設格式 字元";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:細明體;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.HTML
{mso-style-name:"HTML 預設格式 字元";
mso-style-priority:99;
mso-style-link:"HTML 預設格式";
font-family:細明體;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
/* Page Definitions */
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ZH-TW" link="#0563C1" vlink="#954F72" style="text-justify-trim:punctuation">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-family:細明體">Package: network-manager<o:p></o:p></span></p>
<pre><span lang="EN-US">Version: 1.14.6-2+deb10u1<o:p></o:p></span></pre>
<p><span lang="EN-US">I downloaded src code and debian from <a href="https://packages.debian.org/zh-tw/source/buster/network-manager">
https://packages.debian.org/zh-tw/source/buster/network-manager</a><br>
Try to use dpkg-buildpackage -uc -us -b -nc to build debian package locally<br>
It failed and showed the following error<o:p></o:p></span></p>
<p><span lang="EN-US">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<o:p></o:p></span></p>
<p><span lang="EN-US">I checked debian/60-network-manager.rules and it seems no unsuitable syntax<br>
Try chmod -x "debian/network-manager.install" and it still didn't work for me<br>
My OS is Debian GNU/Linux 10 (buster), running on docker<br>
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<o:p></o:p></span></p>
</div>
</body>
</html>