debian - dh_md5sums: Argument list too long -


i using debuild build debian packages. when building 1 of them (which contains quite lot of php files), following error:

   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 long @ /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" ! < long list of files > 

when looking @ file using vi /usr/share/perl5/debian/debhelper/dh_lib.pm +241 can find

system(join(" ", @_)) == 0 

which launches subshell list of files (which long). seems bug me?

is there workaround or something?

i fixed adding dh_override_md5sums our debian/rules file:

#!/usr/bin/make -f  # empty target: https://www.gnu.org/software/make/manual/html_node/empty-recipes.html override_dh_md5sums: ;  %:     dh $@ 

Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -