On 03/25/2012 06:47 PM, Cyril Lavier wrote: > On 03/25/2012 03:54 PM, Laurent Bigonville wrote: >> Le Sat, 24 Mar 2012 19:17:34 +0100, >> Cyril Lavier <cyril.lav...@davromaniak.eu> a écrit : >> >>> Hi Laurent. >> Hi, >> >>> I was starting to work on a nginx-passenger flavour, and there's >>> something I don't understand. >>> >>> The ruby-passenger package doesn't contains any module source NGINX >>> can build with "--add-module". >>> >>> So for now, I'm unable to build such a package. >> In the patch I've attached to this bug I've embedded the passenger >> source tree. >> >> I'm actually afraid that nginx will create files outside its build >> directory (next to the passenger sources). >> >> Laurent Bigonville >> >> >> > You are right, I completely forgot that. > > So I just tried to build the new package, and here is the error : > > ----------- > > cd /tmp/buildd/nginx-1.1.17/debian/build-passenger && > CFLAGS="`dpkg-buildflags --get CFLAGS` -Wall `dpkg-buildflags --get > CPPFLAGS`" CORE_LINK="`dpkg-buildflags --get LDFLAGS`" ./configure \ > --prefix=/etc/nginx \ > --conf-path=/etc/nginx/nginx.conf \ > --error-log-path=/var/log/nginx/error.log \ > --http-client-body-temp-path=/var/lib/nginx/body \ > --http-fastcgi-temp-path=/var/lib/nginx/fastcgi \ > --http-log-path=/var/log/nginx/access.log \ > --http-proxy-temp-path=/var/lib/nginx/proxy \ > --http-scgi-temp-path=/var/lib/nginx/scgi \ > --http-uwsgi-temp-path=/var/lib/nginx/uwsgi \ > --lock-path=/var/lock/nginx.lock \ > --pid-path=/var/run/nginx.pid \ > --with-debug \ > --with-http_addition_module \ > --with-http_dav_module \ > --with-http_geoip_module \ > --with-http_gzip_static_module \ > --with-http_image_filter_module \ > --with-http_realip_module \ > --with-http_stub_status_module \ > --with-http_ssl_module \ > --with-http_sub_module \ > --with-http_xslt_module \ > --with-ipv6 \ > --with-sha1=/usr/include/openssl \ > --with-md5=/usr/include/openssl \ > --with-mail \ > --with-mail_ssl_module \ > --add-module=/tmp/buildd/nginx-1.1.17/debian/modules/nginx-echo \ > > --add-module=/tmp/buildd/nginx-1.1.17/debian/modules/nginx-upstream-fair \ > > --add-module=/tmp/buildd/nginx-1.1.17/debian/modules/ruby-passenger/ext/nginx > \ > >config.status.passenger > (in /tmp/buildd/nginx-1.1.17/debian/modules/ruby-passenger) > mkdir -p ext/common/libboost_oxt > g++ -Iext -D_REENTRANT -I/usr/local/include > -DHASH_NAMESPACE="__gnu_cxx" -DHASH_NAMESPACE="__gnu_cxx" > -DHASH_FUN_H="<hash_fun.h>" -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE > -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith > -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -g > -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o > ext/common/libboost_oxt/aggregate.o -c ext/common/libboost_oxt/aggregate.cpp > mkdir -p ext/common/libboost_oxt > rm -rf ext/common/libboost_oxt.a > ar cru ext/common/libboost_oxt.a ext/common/libboost_oxt/aggregate.o > ranlib ext/common/libboost_oxt.a > mkdir -p ext/common/libpassenger_common > g++ -Iext -Iext/common -Iext/libev -D_REENTRANT -I/usr/local/include > -DHASH_NAMESPACE="__gnu_cxx" -DHASH_NAMESPACE="__gnu_cxx" > -DHASH_FUN_H="<hash_fun.h>" -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE > -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith > -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -g > -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o > ext/common/libpassenger_common/aggregate.o -c > ext/common/libpassenger_common/aggregate.cpp > rm -rf ext/common/libpassenger_common.a > ar cru ext/common/libpassenger_common.a > ext/common/libpassenger_common/aggregate.o > ranlib ext/common/libpassenger_common.a > mkdir -p agents/nginx > g++ ext/nginx/HelperAgent.cpp -o agents/nginx/PassengerHelperAgent -Iext > -Iext/common -D_REENTRANT -I/usr/local/include > -DHASH_NAMESPACE="__gnu_cxx" -DHASH_NAMESPACE="__gnu_cxx" > -DHASH_FUN_H="<hash_fun.h>" -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE > -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith > -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -g > -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS > ext/common/libpassenger_common.a ext/common/libboost_oxt.a -lpthread > -rdynamic > g++ ext/common/Watchdog.cpp -o agents/PassengerWatchdog -Iext > -Iext/common -D_REENTRANT -I/usr/local/include > -DHASH_NAMESPACE="__gnu_cxx" -DHASH_NAMESPACE="__gnu_cxx" > -DHASH_FUN_H="<hash_fun.h>" -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE > -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith > -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -g > -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS > ext/common/libpassenger_common.a ext/common/libboost_oxt.a -lpthread > -rdynamic > cd ext/libev/ && sh > /tmp/buildd/nginx-1.1.17/debian/modules/ruby-passenger/ext/libev/configure > --disable-shared --enable-static > configure: error: C compiler cannot create executables > See `config.log' for more details. > rake aborted! > Command failed with status (77): [cd ext/libev/ && sh > /tmp/buildd/nginx-1.1....] > > Tasks: TOP => nginx => agents/PassengerLoggingAgent => libev => > ext/libev/.libs/libev.a => ext/libev/Makefile > (See full trace by running task with --trace) > make: *** [config.status.passenger] Error 1 > dpkg-buildpackage: error: debian/rules build gave error exit status 2 > E: Failed autobuilding of package > I: unmounting /var/cache/pbuilder/ccache filesystem > I: unmounting dev/pts filesystem > I: unmounting proc filesystem > I: cleaning the build env > I: removing directory /var/cache/pbuilder/build//337 and its subdirectories > > --------------- > > For the moment, I'm not committing anything to the SVN, as the build fails. > > If you have any idea on this error, don't hesitate to ask. > > I tried building in a sid-amd64 pbuilder. > > Thanks. > Here is the config.log :
http://paste.davromaniak.eu/index.php?show=74 I don't know why it tries "gcc -V". Could you please investigate on this ? Maybe you will need to send the bug to upstream. Thanks. -- Cyril "Davromaniak" Lavier KeyID 59E9A881 http://www.davromaniak.eu -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org