Package: libgmpada
Version: 0.0.20121109-1
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch raring

Hello,

libgmpada's autopkgtest fails [1] because it writes things to stderr
[2] which is not allowed by autopkgtest.

I fixed this by dropping the set -v option, and redirecting gnatmake's
stderr output (which doesn't look at all like errors, it's just build
progress) to stdout.

Thanks for considering,

Martin

[1] 
https://jenkins.qa.ubuntu.com/view/Raring/view/AutoPkgTest/job/raring-adt-libgmpada/
[2] 
https://jenkins.qa.ubuntu.com/view/Raring/view/AutoPkgTest/job/raring-adt-libgmpada/1/ARCH=i386,label=adt/artifact/results/dsc0t-link_with_shared-stderr

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -Nru libgmpada-0.0.20121109/debian/changelog 
libgmpada-0.0.20121109/debian/changelog
--- libgmpada-0.0.20121109/debian/changelog     2013-03-09 12:45:59.000000000 
+0100
+++ libgmpada-0.0.20121109/debian/changelog     2013-03-18 10:51:50.000000000 
+0100
@@ -1,3 +1,11 @@
+libgmpada (0.0.20121109-1ubuntu2) raring; urgency=low
+
+  * debian/tests/link_with_shared: Drop set -v option and redirect gnatmake
+    stderr to stdout, to avoid writing stuff to stderr. Fixes autopkgtest
+    failure.
+
+ -- Martin Pitt <martin.p...@ubuntu.com>  Mon, 18 Mar 2013 10:51:15 +0100
+
 libgmpada (0.0.20121109-1ubuntu1) raring; urgency=low
 
   * pass --no-as-needed to build to fix failure
diff -Nru libgmpada-0.0.20121109/debian/tests/link_with_shared 
libgmpada-0.0.20121109/debian/tests/link_with_shared
--- libgmpada-0.0.20121109/debian/tests/link_with_shared        2012-11-09 
03:28:13.000000000 +0100
+++ libgmpada-0.0.20121109/debian/tests/link_with_shared        2013-03-18 
10:50:53.000000000 +0100
@@ -1,5 +1,5 @@
 #!/bin/sh
-set -C -e -f -u -v
+set -C -e -f -u
 
 # Use -dbg instead of -dev to avoid mentioning ALIVERSION here
 cat > $TMPDIR/demo.gpr <<EOF
@@ -10,5 +10,5 @@
   for Object_Dir use "$TMPDIR";
 end Demo;
 EOF
-gnatmake -P $TMPDIR/demo.gpr
+gnatmake -P $TMPDIR/demo.gpr 2>&1
 $TMPDIR/demo

Attachment: signature.asc
Description: Digital signature

Reply via email to