RPM Community Forums

Mailing List Message of <popt-devel>

Re: Test failure for popt 1.16

From: Jeff Johnson <n3npq@mac.com>
Date: Tue 11 May 2010 - 20:54:28 CEST
Message-id: <6C51D3ED-AEF7-4A9C-A024-508131E0EE03@mac.com>

On May 10, 2010, at 7:57 PM, Pieter Bowman wrote:

> I did builds of popt 1.16 on a number of our systems here.  Test 59
> failed on a number of the systems with the following output:

The "fix" for the failure in popt-1.16 "make check" is likely (I have
easy no easy means of testing across all the platforms that you have)
as simple as the atached patch.

If you can confirm that the patch "works", I'll re-roll the popt-1.16
tarballs, and re-release (it hasn't been announced anywhere)
the popt-1.16 tarball.


73 de Jeff
Index: test1.c
RCS file: /v/rpm/cvs/popt/test1.c,v
retrieving revision 1.44
diff -p -u -w -r1.44 test1.c
--- test1.c	26 Jul 2009 16:38:25 -0000	1.44
+++ test1.c	11 May 2010 18:50:39 -0000
@@ -252,7 +252,7 @@ int main(int argc, const char ** argv)
-    optCon = poptGetContext("test1", argc, argv, options, 0);
+    optCon = poptGetContext("test1", argc, argv, options, POPT_CONTEXT_KEEP_FIRST);
     (void) poptReadConfigFile(optCon, "./test-poptrc");
     (void) poptReadDefaultConfig(optCon, 1);
Received on Tue May 11 20:55:00 2010
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.