gnupg 1.9.15 test fails on x86_64 and ppc

Michael Schwendt mschwendt at gmail.com
Wed May 11 15:46:30 CEST 2005


On 5/10/05, Michael Schwendt wrote:
> 
> In Fedora Extras for Fedora Core 4 Development we currently experience
> a build problem with gnupg 1.9.15 on x86_64 (previously on powerpc),
> which is not reproducible on i386:
> 
> FAIL: sm-sign+verify
> PASS: sm-verify

Today's build of 1.9.16 succeeded for all three platforms (i386,
x86_64, ppc), so either something in 1.9.16 has fixed it (side-effects
maybe) or it will come back with future rebuilds.

> gpgsm: some signal caught ... exiting

I had added the following patch to 1.9.16 to get better output than
just "some signal":

diff -Nur gnupg-1.9.16-orig/common/signal.c gnupg-1.9.16/common/signal.c
--- gnupg-1.9.16-orig/common/signal.c   2004-12-21 11:03:00.000000000 +0100
+++ gnupg-1.9.16/common/signal.c        2005-05-10 07:55:06.000000000 +0200
@@ -73,12 +73,12 @@
 static const char *
 get_signal_name( int signum )
 {
-#if defined(SYS_SIGLIST_DECLARED) && defined(NSIG)
-  return (signum >= 0 && signum < NSIG) ? sys_siglist[signum] : "?";
-#else
-  return "some signal";
-#endif
+  const char* tmp = strsignal(signum);
+  if (tmp)
+    return tmp;
+  else
+    return "some signal";
 }
 #endif /*!HAVE_DOSISH_SYSTEM*/



More information about the Gnupg-devel mailing list