我正在使用 debuild 来构建我的 debian 包。在构建其中一个(包含相当多的 php 文件)时,我收到以下错误:
dh_installdocs
dh_installchangelogs
dh_perl
dh_link
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dpkg-gencontrol: warning: package amazing-php: unused substitution variable ${perl:Depends}
dh_md5sums
Can't exec "/bin/sh": Argument list too long at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 241.
dh_md5sums: (cd debian/amazing-php >/dev/null ; find . -type f ! -path "./etc/apache2/sites-available/amazing-php.conf" ! -path "./etc/amazing-php/extensions/Arrays/arrayLoopsInteractionParserTests.txt" ! < A LONG LIST OF FILES >
使用查看文件时,vi /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm +241
您可以找到
system(join(" ", @_)) == 0
它启动一个带有文件列表的子shell(太长)。这对我来说似乎是一个错误?
有解决方法吗?