gplessis/dotdeb-nginx

Fail to compile nginx-1.6.0

Closed this issue · 1 comments

Hello
Trying to recomplile nginx from sources:

apt-get source nginx
cd nginx-1.6.0
dpkg-buildpackage -rfakeroot -us -uc

and got errors:

dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building nginx using existing ./nginx_1.6.0.orig.tar.gz
dpkg-source: error: unwanted binary file: debian/modules/ruby-passenger/ext/common/libpassenger_common.a
dpkg-source: error: unwanted binary file: debian/modules/ruby-passenger/ext/common/libboost_oxt.a
dpkg-source: error: unwanted binary file: debian/modules/ruby-passenger/ext/common/libpassenger_common/aggregate.o
dpkg-source: error: unwanted binary file: debian/modules/ruby-passenger/ext/common/libboost_oxt/aggregate.o
dpkg-source: error: unwanted binary file: debian/modules/ruby-passenger/ext/ruby/ruby-1.8.7-x86_64-linux/passenger_native_support.o
dpkg-source: error: unwanted binary file: debian/modules/ruby-passenger/ext/ruby/ruby-1.8.7-x86_64-linux/passenger_native_support.so
dpkg-source: error: unwanted binary file: debian/modules/ruby-passenger/agents/PassengerWatchdog
dpkg-source: error: unwanted binary file: debian/modules/ruby-passenger/agents/PassengerLoggingAgent
dpkg-source: error: unwanted binary file: debian/modules/ruby-passenger/agents/nginx/PassengerHelperAgent
dpkg-source: error: detected 9 unwanted binary files (add them in debian/source/include-binaries to allow their inclusion).
dpkg-buildpackage: error: dpkg-source -b nginx-1.6.0 gave error exit status 2

Looks like clean in rules is missing some rm

I haven't worked on the Passenger module for Nginx 1.6, sorry.