[Pkg-javascript-devel] Bug#809845: [PATCH] Fix autopkgtest failure due to missing gcc

2016-01-04 Thread Martin Pitt
Package: nodejs
Version: 4.2.3~dfsg-2
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch xenial

Hello,

since version 4.2.3~dfsg-2 nodejs' autopkgtests fail [1] due to

| adt-run [12:36:52]: test command1:  - - - - - - - - - - results - - - - - - - 
- - -
| command1 FAIL stderr: Can't exec "gcc": No such file or directory 
at /usr/share/perl5/Dpkg/Arch.pm line 126.
| adt-run [12:36:52]: test command1:  - - - - - - - - - - stderr - - - - - - - 
- - -
| Can't exec "gcc": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm 
line 126.
| dpkg-buildflags: warning: cannot determine CC system type, falling back to 
default (native compilation)
| Can't exec "gcc": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm 
line 126.

Attached trivial patch adds build-essential to the test dependencies,
which fixes the tests.

Thanks for considering,

Martin

[1] https://ci.debian.net/packages/n/nodejs/unstable/amd64/

-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -Nru nodejs-4.2.4~dfsg/debian/changelog nodejs-4.2.4~dfsg/debian/changelog
--- nodejs-4.2.4~dfsg/debian/changelog  2015-12-24 00:59:50.0 +0100
+++ nodejs-4.2.4~dfsg/debian/changelog  2016-01-04 17:03:26.0 +0100
@@ -1,3 +1,9 @@
+nodejs (4.2.4~dfsg-1ubuntu1) xenial; urgency=medium
+
+  * debian/tests/control: Add missing build-essential test dependency.
+
+ -- Martin Pitt   Mon, 04 Jan 2016 17:03:15 +0100
+
 nodejs (4.2.4~dfsg-1) unstable; urgency=medium
 
   * Imported Upstream version 4.2.4~dfsg
diff -Nru nodejs-4.2.4~dfsg/debian/tests/control 
nodejs-4.2.4~dfsg/debian/tests/control
--- nodejs-4.2.4~dfsg/debian/tests/control  2015-12-20 02:51:04.0 
+0100
+++ nodejs-4.2.4~dfsg/debian/tests/control  2016-01-04 17:03:12.0 
+0100
@@ -1,2 +1,2 @@
 Test-Command: ./debian/rules check
-Depends: @, cdbs, python, procps, curl
+Depends: @, build-essential, cdbs, python, procps, curl
___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#809845: [PATCH] Fix autopkgtest failure due to missing gcc

2016-01-04 Thread Jérémy Lal
2016-01-04 17:31 GMT+01:00 Martin Pitt :

> Package: nodejs
> Version: 4.2.3~dfsg-2
> Tags: patch
> User: ubuntu-de...@lists.ubuntu.com
> Usertags: origin-ubuntu ubuntu-patch xenial
>
> Hello,
>
> since version 4.2.3~dfsg-2 nodejs' autopkgtests fail [1] due to
>
> | adt-run [12:36:52]: test command1:  - - - - - - - - - - results - - - -
> - - - - - -
> | command1 FAIL stderr: Can't exec "gcc": No such file or
> directory at /usr/share/perl5/Dpkg/Arch.pm line 126.
> | adt-run [12:36:52]: test command1:  - - - - - - - - - - stderr - - - - -
> - - - - -
> | Can't exec "gcc": No such file or directory at
> /usr/share/perl5/Dpkg/Arch.pm line 126.
> | dpkg-buildflags: warning: cannot determine CC system type, falling back
> to default (native compilation)
> | Can't exec "gcc": No such file or directory at
> /usr/share/perl5/Dpkg/Arch.pm line 126.
>
> Attached trivial patch adds build-essential to the test dependencies,
> which fixes the tests.
>
>
Thanks ! My way was to add "gcc", but build-essential seems to be safer.
I was waiting for a better reason to upload...

Jérémy
___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel