I'm trying to rebuild the
nginx-extras package from Jessie and I'm running into an error
when I run debuild. I want to add a module to Nginx. I've just
been following this to rebuild the package: https://raphaelhertzog.com/2010/12/15/howto-to-rebuild-debian-packages/
jschaeffer@mutalisk:~/Build Test/nginx-1.6.2-5+deb8u2$ debuild -us -uc ... make[1]: Entering directory '/home/jschaeffer/Build Test/nginx-1.6.2-5+deb8u2' dh_testdir mkdir -p /home/jschaeffer/Build Test/nginx-1.6.2-5+deb8u2/debian/build-full cp -Pa /home/jschaeffer/Build Test/nginx-1.6.2-5+deb8u2/auto /home/jschaeffer/Build Test/nginx-1.6.2-5+deb8u2/debian/build-full/ cp: cannot stat ‘Test/nginx-1.6.2-5+deb8u2/auto’: No such file or directory cp: will not create hard link ‘Test/nginx-1.6.2-5+deb8u2/debian/build-full/Build’ to directory ‘Test/nginx-1.6.2-5+deb8u2/debian/build-full/Build’ debian/rules:141: recipe for target 'config.arch.full' failed make[1]: *** [config.arch.full] Error 1 make[1]: Leaving directory '/home/jschaeffer/Build Test/nginx-1.6.2-5+deb8u2' debian/rules:117: recipe for target 'build' failed make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 debuild: fatal error at line 1376: dpkg-buildpackage -rfakeroot -D -us -uc failed |