Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

dpkg-buildpackage test suite failure

105 views
Skip to first unread message

Sven Joachim

unread,
Oct 30, 2016, 5:20:02 AM10/30/16
to
I'm getting the following error when running the test suite:

,----
| dpkg_buildpackage.t: error: /usr/local/src/dpkg/build-tree/scripts/../../scripts/dpkg-buildpackage.pl --host-arch=amd64 --build=source --check-command= gave error exit status 25
| # Looks like your test exited with 25 before it could output anything.
| ../../scripts/t/dpkg_buildpackage.t ........
| Dubious, test returned 25 (wstat 6400, 0x1900)
| Failed 7/7 subtests
`----

After redirecting dpkg-buildpackage's error messages to a real file
instead of /dev/null in the test_build function the problem seems to be
clear:

,----
| dpkg-architecture: warning: specified GNU system type x86_64-linux-gnu does not match CC system type i686-linux-gnu, try setting a correct CC environment variable
| dpkg-source --before-build test-source-0
| fakeroot debian/rules clean
| dpkg-source -b test-source-0
| dpkg-source: warning: missing information for output field Standards-Version
| dpkg-genchanges --build=source >../test-source_0_source.changes
| dpkg-genchanges: info: including full source code in upload
| dpkg-source --after-build test-source-0
| signfile test-source_0.dsc
| gpg: skipped "Dpkg Developers <debia...@lists.debian.org>": No secret key
| gpg: dpkg-sign.dsbr2X3M/test-source_0.dsc: clearsign failed: No secret key
| dpkg-buildpackage.pl: error: failed to sign .dsc and .changes file
`----

Cheers,
Sven

Sven Joachim

unread,
Oct 30, 2016, 6:00:02 AM10/30/16
to
Here is a patch for this.

Cheers,
Sven

0001-scripts-t-Do-not-try-to-sign-test-packages.patch

Guillem Jover

unread,
Nov 6, 2016, 1:50:01 AM11/6/16
to
Hi!

On Sun, 2016-10-30 at 10:57:27 +0100, Sven Joachim wrote:
> On 2016-10-30 10:12 +0100, Sven Joachim wrote:
> > I'm getting the following error when running the test suite:
> >
> > ,----
> > | dpkg_buildpackage.t: error:
> > | /usr/local/src/dpkg/build-tree/scripts/../../scripts/dpkg-buildpackage.pl
> > | --host-arch=amd64 --build=source --check-command= gave error exit
> > | status 25
> > | # Looks like your test exited with 25 before it could output anything.
> > | ../../scripts/t/dpkg_buildpackage.t ........
> > | Dubious, test returned 25 (wstat 6400, 0x1900)
> > | Failed 7/7 subtests
> > `----
> >
> > After redirecting dpkg-buildpackage's error messages to a real file
> > instead of /dev/null in the test_build function the problem seems to be
> > clear:

I improved the test code to output error messages on failing tests.

> > ,----
> > | dpkg-architecture: warning: specified GNU system type
> > | x86_64-linux-gnu does not match CC system type i686-linux-gnu, try
> > | setting a correct CC environment variable
> > | dpkg-source --before-build test-source-0
> > | fakeroot debian/rules clean
> > | dpkg-source -b test-source-0
> > | dpkg-source: warning: missing information for output field Standards-Version
> > | dpkg-genchanges --build=source >../test-source_0_source.changes
> > | dpkg-genchanges: info: including full source code in upload
> > | dpkg-source --after-build test-source-0
> > | signfile test-source_0.dsc
> > | gpg: skipped "Dpkg Developers <debia...@lists.debian.org>": No secret key
> > | gpg: dpkg-sign.dsbr2X3M/test-source_0.dsc: clearsign failed: No secret key
> > | dpkg-buildpackage.pl: error: failed to sign .dsc and .changes file
> > `----
>
> Here is a patch for this.

Thanks! It seems having those settings in my local dpkg-buildpackage
configuration file has been causing more issues than necessary. I
guess I should just finish up the stuff to get this disabled by
default. :)

Regards,
Guillem
0 new messages