[Pkg-javascript-devel] Bug#712301: more info needed on node-oauth FTBFS

Felix Geyer fgeyer at debian.org
Sat Jul 27 09:29:17 UTC 2013


Hi Laszlo,

On 27.07.2013 10:38, Laszlo Boszormenyi (GCS) wrote:
> tags 712301 moreinfo unreproducible
> thanks
> 
> Hi Felix,
> 
>  I build my packages in a clear pbuilder chroot before uploading. As I
> know, it doesn't have any internet connection. Now I've tried to rebuild
> node-oauth with an unplugged ethernet cable. It still builds.
>  On the other hand, your bugreport states the exception occurs in
> events.js which was called from dns.js . Neither one is present in my
> pbuilder chroot and package builds fine.

Maybe you still had the relevant entries in a local DNS cache?
test/internet/test-dns.js definitely checks all sorts of internet
hostnames like www.google.com, gmail.com, rackspace.com ....
dns.js and events.js are built into nodejs (see lib/dns.js in the nodejs
source package).

> I suspect your build tree was polluted and I may build-conflict on some
> other package. Please re-try the build process and put online the full
> build log somewhere if it fails there. If not, please close your
> bugreport.

It's minimal pbuilder chroot, see the attached full build log.

Cheers,
Felix
-------------- next part --------------
I: Using pkgname logfile
I: Current time: Sat Jul 27 10:53:01 CEST 2013
I: pbuilder-time-stamp: 1374915181
I: Installing the build-deps
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <pbuilder-maint at lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with apt - created by pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: debhelper (>= 9), node-vows (>= 0.5)
dpkg-deb: building package `pbuilder-satisfydepends-dummy' in `/tmp/satisfydepends-apt/pbuilder-satisfydepends-dummy.deb'.
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  bsdmainutils debhelper file gettext gettext-base groff-base intltool-debian
  libasprintf0c2 libc-ares2 libcroco3 libev4 libffi6 libglib2.0-0 libmagic1
  libpipeline1 libssl1.0.0 libunistring0 libv8-3.8.9.20 libxml2 man-db
  node-diff node-eyes node-vows nodejs po-debconf
Suggested packages:
  wamerican wordlist whois vacation dh-make gettext-doc groff less www-browser
  libmail-box-perl
Recommended packages:
  curl wget lynx-cur autopoint libasprintf-dev libgettextpo-dev
  libglib2.0-data shared-mime-info xml-core coffeescript libmail-sendmail-perl
The following NEW packages will be installed:
  bsdmainutils debhelper file gettext gettext-base groff-base intltool-debian
  libasprintf0c2 libc-ares2 libcroco3 libev4 libffi6 libglib2.0-0 libmagic1
  libpipeline1 libssl1.0.0 libunistring0 libv8-3.8.9.20 libxml2 man-db
  node-diff node-eyes node-vows nodejs pbuilder-satisfydepends-dummy
  po-debconf
0 upgraded, 26 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.5 MB/12.5 MB of archives.
After this operation, 34.8 MB of additional disk space will be used.
Get:1 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main libpipeline1 amd64 1.2.4-1 [41.0 kB]
Get:2 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main libssl1.0.0 amd64 1.0.1e-3 [1242 kB]
Get:3 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main groff-base amd64 1.22.2-3 [747 kB]
Get:4 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main bsdmainutils amd64 9.0.5 [211 kB]
Get:5 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main man-db amd64 2.6.5-2 [976 kB]
Get:6 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main libasprintf0c2 amd64 0.18.3-1 [29.6 kB]
Get:7 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main libmagic1 amd64 1:5.14-2 [216 kB]
Get:8 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main libxml2 amd64 2.9.1+dfsg1-2 [911 kB]
Get:9 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main libffi6 amd64 3.0.13-4 [21.6 kB]
Get:10 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main libglib2.0-0 amd64 2.36.3-3 [2048 kB]
Get:11 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main libcroco3 amd64 0.6.8-2 [133 kB]
Get:12 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main libunistring0 amd64 0.9.3-5 [434 kB]
Get:13 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main libc-ares2 amd64 1.10.0-2 [76.7 kB]
Get:14 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main file amd64 1:5.14-2 [54.0 kB]
Get:15 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main gettext-base amd64 0.18.3-1 [161 kB]
Get:16 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main gettext amd64 0.18.3-1 [1898 kB]
Get:17 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main intltool-debian all 0.35.0+20060710.1 [30.8 kB]
Get:18 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main po-debconf all 1.0.16+nmu2 [224 kB]
Get:19 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main debhelper all 9.20130630 [710 kB]
Get:20 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main libv8-3.8.9.20 amd64 3.8.9.20-2 [1421 kB]
Get:21 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main libev4 amd64 1:4.11-1 [39.5 kB]
Get:22 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main nodejs amd64 0.6.19~dfsg1-7 [801 kB]
Get:23 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main node-diff all 1.0.4-1 [9862 B]
Get:24 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main node-eyes all 0.1.8-1 [9602 B]
Get:25 http://[fd2a:4006:773a::1]:3142/ftp.debian.org/debian/ sid/main node-vows all 0.7.0-2 [45.4 kB]
Preconfiguring packages ...
Fetched 12.5 MB in 4s (3047 kB/s)
Selecting previously unselected package libpipeline1:amd64.
(Reading database ... 11517 files and directories currently installed.)
Unpacking libpipeline1:amd64 (from .../libpipeline1_1.2.4-1_amd64.deb) ...
Selecting previously unselected package libssl1.0.0:amd64.
Unpacking libssl1.0.0:amd64 (from .../libssl1.0.0_1.0.1e-3_amd64.deb) ...
Selecting previously unselected package groff-base.
Unpacking groff-base (from .../groff-base_1.22.2-3_amd64.deb) ...
Selecting previously unselected package bsdmainutils.
Unpacking bsdmainutils (from .../bsdmainutils_9.0.5_amd64.deb) ...
Selecting previously unselected package man-db.
Unpacking man-db (from .../man-db_2.6.5-2_amd64.deb) ...
Selecting previously unselected package libasprintf0c2:amd64.
Unpacking libasprintf0c2:amd64 (from .../libasprintf0c2_0.18.3-1_amd64.deb) ...
Selecting previously unselected package libmagic1:amd64.
Unpacking libmagic1:amd64 (from .../libmagic1_1%3a5.14-2_amd64.deb) ...
Selecting previously unselected package libxml2:amd64.
Unpacking libxml2:amd64 (from .../libxml2_2.9.1+dfsg1-2_amd64.deb) ...
Selecting previously unselected package libffi6:amd64.
Unpacking libffi6:amd64 (from .../libffi6_3.0.13-4_amd64.deb) ...
Selecting previously unselected package libglib2.0-0:amd64.
Unpacking libglib2.0-0:amd64 (from .../libglib2.0-0_2.36.3-3_amd64.deb) ...
Selecting previously unselected package libcroco3:amd64.
Unpacking libcroco3:amd64 (from .../libcroco3_0.6.8-2_amd64.deb) ...
Selecting previously unselected package libunistring0:amd64.
Unpacking libunistring0:amd64 (from .../libunistring0_0.9.3-5_amd64.deb) ...
Selecting previously unselected package libc-ares2:amd64.
Unpacking libc-ares2:amd64 (from .../libc-ares2_1.10.0-2_amd64.deb) ...
Selecting previously unselected package file.
Unpacking file (from .../file_1%3a5.14-2_amd64.deb) ...
Selecting previously unselected package gettext-base.
Unpacking gettext-base (from .../gettext-base_0.18.3-1_amd64.deb) ...
Selecting previously unselected package gettext.
Unpacking gettext (from .../gettext_0.18.3-1_amd64.deb) ...
Selecting previously unselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ...
Selecting previously unselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.16+nmu2_all.deb) ...
Selecting previously unselected package debhelper.
Unpacking debhelper (from .../debhelper_9.20130630_all.deb) ...
Selecting previously unselected package libv8-3.8.9.20.
Unpacking libv8-3.8.9.20 (from .../libv8-3.8.9.20_3.8.9.20-2_amd64.deb) ...
Selecting previously unselected package libev4.
Unpacking libev4 (from .../libev4_1%3a4.11-1_amd64.deb) ...
Selecting previously unselected package nodejs.
Unpacking nodejs (from .../nodejs_0.6.19~dfsg1-7_amd64.deb) ...
Selecting previously unselected package node-diff.
Unpacking node-diff (from .../node-diff_1.0.4-1_all.deb) ...
Selecting previously unselected package node-eyes.
Unpacking node-eyes (from .../node-eyes_0.1.8-1_all.deb) ...
Selecting previously unselected package node-vows.
Unpacking node-vows (from .../node-vows_0.7.0-2_all.deb) ...
Selecting previously unselected package pbuilder-satisfydepends-dummy.
Unpacking pbuilder-satisfydepends-dummy (from .../pbuilder-satisfydepends-dummy.deb) ...
Setting up libpipeline1:amd64 (1.2.4-1) ...
Setting up libssl1.0.0:amd64 (1.0.1e-3) ...
Setting up groff-base (1.22.2-3) ...
Setting up bsdmainutils (9.0.5) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
Setting up man-db (2.6.5-2) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libasprintf0c2:amd64 (0.18.3-1) ...
Setting up libmagic1:amd64 (1:5.14-2) ...
Setting up libxml2:amd64 (2.9.1+dfsg1-2) ...
Setting up libffi6:amd64 (3.0.13-4) ...
Setting up libglib2.0-0:amd64 (2.36.3-3) ...
No schema files found: doing nothing.
Setting up libcroco3:amd64 (0.6.8-2) ...
Setting up libunistring0:amd64 (0.9.3-5) ...
Setting up libc-ares2:amd64 (1.10.0-2) ...
Setting up file (1:5.14-2) ...
Setting up gettext-base (0.18.3-1) ...
Setting up gettext (0.18.3-1) ...
Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.16+nmu2) ...
Setting up debhelper (9.20130630) ...
Setting up libv8-3.8.9.20 (3.8.9.20-2) ...
Setting up libev4 (1:4.11-1) ...
Setting up nodejs (0.6.19~dfsg1-7) ...
update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
Setting up node-diff (1.0.4-1) ...
Setting up node-eyes (0.1.8-1) ...
Setting up node-vows (0.7.0-2) ...
Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Processing triggers for libc-bin ...
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
fakeroot is already the newest version.
eatmydata is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I: Copying source file
I: copying [node-oauth_0.9.8-1.dsc]
I: copying [./node-oauth_0.9.8.orig.tar.gz]
I: copying [./node-oauth_0.9.8-1.debian.tar.gz]
I: Extracting source
gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Sat Mar 23 20:00:06 2013 UTC using DSA key ID A51A4FDD
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./node-oauth_0.9.8-1.dsc
dpkg-source: info: extracting node-oauth in node-oauth-0.9.8
dpkg-source: info: unpacking node-oauth_0.9.8.orig.tar.gz
dpkg-source: info: unpacking node-oauth_0.9.8-1.debian.tar.gz
I: Building the package
I: Running cd tmp/buildd/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" dpkg-buildpackage -us -uc  -rfakeroot
dpkg-buildpackage: source package node-oauth
dpkg-buildpackage: source version 0.9.8-1
dpkg-buildpackage: source changed by Laszlo Boszormenyi (GCS) <gcs at debian.hu>
 dpkg-source --before-build node-oauth-0.9.8
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
   dh_clean
 dpkg-source -b node-oauth-0.9.8
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building node-oauth using existing ./node-oauth_0.9.8.orig.tar.gz
dpkg-source: info: building node-oauth in node-oauth_0.9.8-1.debian.tar.gz
dpkg-source: info: building node-oauth in node-oauth_0.9.8-1.dsc
 debian/rules build
dh build
   dh_testdir
   dh_auto_configure
   debian/rules override_dh_auto_test
make[1]: Entering directory `/tmp/buildd/node-oauth-0.9.8'
vows tests/* --spec
 
  ♢ OAuth 
  
  When generating the signature base string described in http://oauth.net/core/1.0/#sig_base_example
    ✓ we get the expected result string
  When generating the signature base string with PLAINTEXT
    ✓ we get the expected result string
  When normalising a url
    ✓ default ports should be stripped
    ✓ should leave in non-default ports from urls for use in signature generation
    ✓ should add a trailing slash when no path at all is present
  When making an array out of the arguments hash
    ✓ flatten out arguments that are arrays
  When ordering the request parameters
    ✓ Order them by name
    ✓ If two parameter names are the same then order by the value
  When normalising the request parameters
    ✓ the resulting parameters should be encoded and ordered as per http://tools.ietf.org/html/rfc5849#section-3.1 (3.4.1.3.2)
  When preparing the parameters for use in signing
    ✓ We need to be wary of node's auto object creation from foo[bar] style url parameters
  When signing a url
    ✓ Provide a valid signature when no token present
    ✓ Provide a valid signature when a token is present
    ✓ Provide a valid signature when a token and a token secret is present
  When getting a request token
    ✓ Use the HTTP method in the client options
    ✓ Use a POST by default
  When getting an access token
    ✓ Use the HTTP method in the client options
    ✓ Use a POST by default
  When get authorization header
    ✓ Provide a valid signature when a token and a token secret is present
    ✓ Support variable whitespace separating the arguments
  When get the OAuth Echo authorization header
    ✓ Provide a valid signature when a token and token secret is present
  When non standard ports are used
    ✓ getProtectedResource should correctly define the host headers
  When building the OAuth Authorization header
    ✓ All provided oauth arguments should be concatentated correctly
    ✓ Only Oauth arguments should be concatentated, others should be disregarded
    ✓ _buildAuthorizationHeaders should not depends on Array.prototype.toString
  When performing the Secure Request using the POST method
    ✓ Any passed extra_params should form part of the POST body
  When performing a secure POST if no callback is passed
    ✓ it should return a request object
  When performing a secure POST if a callback is passed
    ✓ it should call the internal request's end method and return nothing
  When performing a secure POST if the post_body is not a string
    ✓ It should be url encoded and the content type set to be x-www-form-urlencoded
  When performing a secure GET if no callback is passed
    ✓ it should return a request object
  When performing a secure GET if a callback is passed
    ✓ it should call the internal request's end method and return nothing
  When performing a secure PUT if no callback is passed
    ✓ it should return a request object
  When performing a secure PUT if a callback is passed
    ✓ it should call the internal request's end method and return nothing
  When performing a secure PUT if the post_body is not a string
    ✓ It should be url encoded and the content type set to be x-www-form-urlencoded
  When performing a secure DELETE if no callback is passed
    ✓ it should return a request object
  When performing a secure DELETE if a callback is passed
    ✓ it should call the internal request's end method and return nothing
  When performing a secure Request With a Callback and a 200 response code is received
    ✓ it should callback successfully
  When performing a secure Request With a Callback and a 210 response code is received
    ✓ it should callback successfully
  When performing a secure POST if the post_body is a string and it contains non ascii (7/8bit) characters
    ✓ the content length should be the byte count, and not the string length
  When performing a secure POST if the post_body is a string and no post_content_type is specified
    ✓ It should be written as is, with a content length specified, and the encoding should be set to be x-www-form-urlencoded
  When performing a secure POST if the post_body is a string and a post_content_type is specified
    ✓ It should be written as is, with a content length specified, and the encoding should be set to be as specified
  When performing a secure PUT if the post_body is a string and no post_content_type is specified
    ✓ It should be written as is, with a content length specified, and the encoding should be set to be x-www-form-urlencoded
  When performing a secure PUT if the post_body is a string and a post_content_type is specified
    ✓ It should be written as is, with a content length specified, and the encoding should be set to be as specified
  When performing a secure Request With a Callback And A 301 redirect is received and there is a location header
    ✓ it should (re)perform the secure request but with the new location
  When performing a secure Request With a Callback And A 301 redirect is received but there is no location header
    ✓ it should execute the callback, passing the HTTP Response code
  When performing a secure Request With a Callback And A 302 redirect is received and there is a location header
    ✓ it should (re)perform the secure request but with the new location
  When performing a secure Request With a Callback And A 302 redirect is received but there is no location header
    ✓ it should execute the callback, passing the HTTP Response code
  
  ♢ OAuth2 
  

events.js:48
        throw arguments[1]; // Unhandled 'error' event
                       ^
Error: getaddrinfo ENOENT
    at errnoException (dns.js:31:11)
    at Object.onanswer [as oncomplete] (dns.js:140:16)
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory `/tmp/buildd/node-oauth-0.9.8'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package


More information about the Pkg-javascript-devel mailing list