Open JCBauza opened 10 years ago
Which instructions were you following? I want to try and reproduce this, so knowing which commands you ran would be helpful.
First I use the repository at Launchpad as it comes with extra modules I use and I can repackage and use with my own repository. After that I use the build instructions found here: https://github.com/pagespeed/ngx_pagespeed.
Here is what you can do to reproduce it: 1) Add "deb-src http://ppa.launchpad.net/nginx/development/ubuntu saucy main" to your sources.list (or add a source file). I use 13.10/saucy but you might need to adjust if you use a different version 2) Apt-get source nginx 3) Then it will download the source code and in the debian/modules directory I created one for pagespeed as per the instructions 4) I edited debian/rules to modify the nginx extra and nginx full packages to include this module to the list of modules it already handles 5) I did a debuild, then a dput and uploaded the new package to Launchpad and it fails to build as described above.
When I do a make in my computer it shows a bunch of warnings. When I do make install it does something but I don't have nginx installed nor can I start the daemon. Ideally I wanted to be able to add it to the package as described above because I can use that to deploy it across all my servers as a package update.
Thanks!
Hi, I follow the instructions but when I try to build on launchpad I get the following error:
make: *\ [config.status.extras] Error 1 dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
Build finished at 20140223-0053 FAILED [dpkg-buildpackage died]
Any help would be greatly appreciated it.
BTW I already tried this: If instead of adding a '#' you add
ifdef LOG_INFO
undef LOG_INFO
endif
ifdef LOG_WARNING
undef LOG_WARNING
endif
to the top of chromium/src/base/logging.h, does that work? from: https://github.com/pagespeed/ngx_pagespeed/issues/197
Here is more of the log:
dpkg-source: warning: -sn is not a valid option for Dpkg::Source::Package::V3::quilt gpgv: Signature made Sun Feb 23 00:47:33 2014 UTC using RSA key ID 5E233B4A gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./nginx_1.4.5-2+saucy0.dsc dpkg-source: info: extracting nginx in nginx-1.4.5 dpkg-source: info: unpacking nginx_1.4.5.orig.tar.gz dpkg-source: info: unpacking nginx_1.4.5-2+saucy0.debian.tar.gz dpkg-source: info: applying perl-use-dpkg-buildflags.patch dpkg-source: info: applying guard-use-of-deprecated-openssl-definition.patch dpkg-buildpackage: source package nginx dpkg-buildpackage: source version 1.4.5-2+saucy0 dpkg-source --before-build nginx-1.4.5 dpkg-buildpackage: host architecture amd64 /usr/bin/fakeroot debian/rules clean dh_testdir dh_testroot dh_clean rm -rf /build/buildd/nginx-1.4.5/debian/build-* debian/rules build-arch [...] dh_testdir mkdir -p /build/buildd/nginx-1.4.5/debian/build-light cp -Pa /build/buildd/nginx-1.4.5/auto /build/buildd/nginx-1.4.5/debian/build-light/ cp -Pa /build/buildd/nginx-1.4.5/conf /build/buildd/nginx-1.4.5/debian/build-light/ cp -Pa /build/buildd/nginx-1.4.5/configure /build/buildd/nginx-1.4.5/debian/build-light/ cp -Pa /build/buildd/nginx-1.4.5/contrib /build/buildd/nginx-1.4.5/debian/build-light/ cp -Pa /build/buildd/nginx-1.4.5/src /build/buildd/nginx-1.4.5/debian/build-light/ cp -Pa /build/buildd/nginx-1.4.5/man /build/buildd/nginx-1.4.5/debian/build-light/ cd /build/buildd/nginx-1.4.5/debian/build-light && CFLAGS="
dpkg-buildflags --get CFLAGS
-Wall -DFORTIFY_SOURCE=2 -fstack-protectordpkg-buildflags --get CPPFLAGS
" CORE_LINK="dpkg-buildflags --get LDFLAGS
" ./configure \ --prefix=/usr/share/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 \ --lock-path=/var/lock/nginx.lock \ --pid-path=/run/nginx.pid \ --with-pcre-jit \ --with-http_gzip_static_module \ --with-http_ssl_module \ --with-ipv6 \ --without-http_browser_module \ --without-http_geo_module \ --without-http_limit_req_module \ --without-http_limit_zone_module \ --without-http_memcached_module \ --without-http_referer_module \ --without-http_scgi_module \ --without-http_split_clients_module \ --with-http_stub_status_module \ --without-http_ssi_module \ --without-http_userid_module \ --without-http_uwsgi_module \ --add-module=/build/buildd/nginx-1.4.5/debian/modules/nginx-echo \Build finished at 20140223-0053 FAILED [dpkg-buildpackage died]
Finished at 20140223-0053 Build needed 00:01:51, 130576k disk space RUN: /usr/share/launchpad-buildd/slavebin/scan-for-processes ['scan-for-processes', 'PACKAGEBUILD-5628399'] Scanning for processes to kill in build /home/buildd/build-PACKAGEBUILD-5628399/chroot-autobuild... RUN: /usr/share/launchpad-buildd/slavebin/umount-chroot ['umount-chroot', 'PACKAGEBUILD-5628399'] Unmounting chroot for build PACKAGEBUILD-5628399... RUN: /usr/share/launchpad-buildd/slavebin/remove-build ['remove-build', 'PACKAGEBUILD-5628399'] Removing build PACKAGEBUILD-5628399