22886426 Update popt to version 1.16
authorRich Burridge <rich.burridge@oracle.com>
Fri, 11 Mar 2016 05:37:50 -0800
changeset 5588 33ed1c330eea
parent 5587 4b8419ac62e6
child 5589 35e7f040df70
22886426 Update popt to version 1.16
components/popt/Makefile
components/popt/patches/popt-01-g11n-i18n-stdio.patch
components/popt/patches/popt-02-testit.sh.patch
components/popt/popt.p5m
components/popt/test/results-all.master
--- a/components/popt/Makefile	Fri Mar 11 05:36:16 2016 -0800
+++ b/components/popt/Makefile	Fri Mar 11 05:37:50 2016 -0800
@@ -20,22 +20,22 @@
 #
 
 #
-# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		popt
-COMPONENT_VERSION=	1.7
+COMPONENT_VERSION=	1.16
 COMPONENT_PROJECT_URL=	http://freecode.com/projects/popt/
 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
 COMPONENT_ARCHIVE_HASH= \
-    sha256:4e75cb28793f0d44134f71fae53057d5f250805e6268fbd9c9780654b73b0dc1
-COMPONENT_ARCHIVE_URL=	http://sourceforge.net/projects/cross-stuff/files/cross-stuff/1.0/$(COMPONENT_ARCHIVE)/download
+    sha256:e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8
+COMPONENT_ARCHIVE_URL=	https://launchpad.net/$(COMPONENT_NAME)/head/$(COMPONENT_VERSION)/+download/$(COMPONENT_ARCHIVE)
 COMPONENT_BUGDB=	library/popt
 
-TPNO=			7904
+TPNO=			27265
 
 include $(WS_MAKE_RULES)/prep.mk
 include $(WS_MAKE_RULES)/configure.mk
@@ -45,10 +45,6 @@
 COMPONENT_PREP_ACTION = \
         (cd $(@D) ; $(TOUCH) config.rpath) ;
 
-# requires an older automake to reconfigure
-COMPONENT_PREP_ACTION += \
-	(cd $(@D) ; ACLOCAL=aclocal-1.11 AUTOMAKE=automake-1.11 autoreconf -fiv)
-
 # Needed to get "gmake test" to work.
 COMPONENT_PRE_CONFIGURE_ACTION = \
 	($(CLONEY) $(SOURCE_DIR) $(@D))
@@ -69,13 +65,15 @@
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
-# common targets
 configure:	$(CONFIGURE_32_and_64)
 
 build:          $(BUILD_32_and_64)
 
 install:        $(INSTALL_32_and_64)
 
+# api-sanity-autotest.pl is part of the API Sanity Checker
+# http://ispras.linuxbase.org/index.php/API_Sanity_Autotest
+# (which we don't have in Solaris), so expect that test to fail.
 test:           $(TEST_32_and_64)
 
 system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
--- a/components/popt/patches/popt-01-g11n-i18n-stdio.patch	Fri Mar 11 05:36:16 2016 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,385 +0,0 @@
-Comment from the Desktop SUNWlibpopt.spec file:
-date:2007-12-21 owner:fujiwara type:bug bugster:6186542 bugzilla:178413 state:upstream
-
---- popt-1.7/Makefile.am.orig	2007-12-21 19:40:03.495254000 +0900
-+++ popt-1.7/Makefile.am	2007-12-21 19:42:56.088304000 +0900
-@@ -15,13 +15,13 @@ noinst_HEADERS = findme.h poptint.h syst
- 
- noinst_PROGRAMS = test1 test2 test3
- test1_SOURCES = test1.c
--test1_LDFLAGS = -all-static
-+test1_LDFLAGS =
- test1_LDADD = $(lib_LTLIBRARIES)
- test2_SOURCES = test2.c
--test2_LDFLAGS = -all-static
-+test2_LDFLAGS =
- test2_LDADD = $(lib_LTLIBRARIES)
- test3_SOURCES = test3.c
--test3_LDFLAGS = -all-static
-+test3_LDFLAGS =
- test3_LDADD = $(lib_LTLIBRARIES)
- 
- noinst_SCRIPTS = testit.sh
-@@ -33,7 +33,7 @@ TESTS = testit.sh
- 
- include_HEADERS = popt.h
- lib_LTLIBRARIES = libpopt.la
--libpopt_la_SOURCES = popt.c findme.c poptparse.c poptconfig.c popthelp.c
-+libpopt_la_SOURCES = popt.c findme.c poptparse.c poptconfig.c popthelp.c poptint.c
- 
- man_MANS = popt.3
- 
---- popt-1.7/configure.in.orig	2007-12-21 19:40:09.557770000 +0900
-+++ popt-1.7/configure.in	2007-12-21 20:07:17.961454000 +0900
-@@ -1,9 +1,8 @@
- AC_INIT(popt.h)
- AC_CANONICAL_SYSTEM
- AC_PREREQ(2.12)
--AC_CONFIG_HEADERS
- AM_INIT_AUTOMAKE(popt, 1.7)
--AM_CONFIG_HEADER(config.h)
-+AC_CONFIG_HEADERS(config.h)
- 
- ALL_LINGUAS="cs da de es eu_ES fi fr gl hu id is it ja ko no pl pt pt_BR ro ru sk sl sr sv tr uk wa zh zh_CN.GB2312"
- 
-@@ -50,7 +49,7 @@ else
- fi
- AC_SUBST(TARGET)
- 
--AC_CHECK_HEADERS(alloca.h float.h libintl.h mcheck.h unistd.h)
-+AC_CHECK_HEADERS(alloca.h float.h libintl.h mcheck.h unistd.h langinfo.h)
- AC_MSG_CHECKING(for /usr/ucblib in LIBS)
- if test -d /usr/ucblib ; then
- 	if test "$build" = "mips-sni-sysv4" ; then
-@@ -73,10 +72,10 @@ then
-   AC_MSG_RESULT(yes)
- fi
- 
--AC_CHECK_FUNCS(strerror mtrace getuid geteuid)
- AC_CHECK_FUNC(setreuid, [], [
-     AC_CHECK_LIB(ucb, setreuid, [if echo $LIBS | grep -- -lucb >/dev/null ;then :; else LIBS="$LIBS -lc -lucb" USEUCB=y;fi])
- ])
-+AC_CHECK_FUNCS(getuid geteuid mtrace __secure_getenv setregid strerror iconv)
- 
- AM_GNU_GETTEXT
- 
---- popt-1.7/popt.h.orig	2007-12-21 20:31:45.455134000 +0900
-+++ popt-1.7/popt.h	2007-12-21 20:32:06.508963000 +0900
-@@ -34,6 +34,8 @@
- #define	POPT_ARG_FLOAT		8	/*!< arg will be converted to float */
- #define	POPT_ARG_DOUBLE		9	/*!< arg will be converted to double */
- 
-+#define POPT_ARG_MAINCALL   10U     /*!< return (*arg) (argc, argv) */
-+
- #define POPT_ARG_MASK		0x0000FFFF
- /*@}*/
- 
---- popt-1.7/popthelp.c.orig	2007-12-21 19:40:16.105761000 +0900
-+++ popt-1.7/popthelp.c	2007-12-21 19:57:18.972191000 +0900
-@@ -208,6 +208,8 @@ static void singleOptionHelp(FILE * fp, 
-     char * defs = NULL;
-     char * left;
-     int nb = maxLeftCol + 1;
-+    int displaypad = 0;
-+    int xx;
- 
-     /* Make sure there's more than enough room in target buffer. */
-     if (opt->longName)	nb += strlen(opt->longName);
-@@ -307,8 +309,25 @@ static void singleOptionHelp(FILE * fp, 
- 		break;
- 	    }
- 	} else {
--	    *le++ = '=';
--	    strcpy(le, argDescrip);		le += strlen(le);
-+	    size_t lelen;
-+
-+	    *le++ = ((opt->argInfo & POPT_ARG_MASK) == POPT_ARG_MAINCALL)
-+	    ? ' ' : '=';
-+	    strcpy(le, argDescrip);
-+	    lelen = strlen(le);
-+	    le += lelen;
-+
-+#ifdef  POPT_WCHAR_HACK
-+	    {   const char * scopy = argDescrip;
-+	      mbstate_t t;
-+	      size_t n;
-+
-+	      memset ((void *)&t, 0, sizeof (t)); /* In initial state.  */
-+	      /* Determine number of characters.  */
-+	      n = mbsrtowcs (NULL, &scopy, strlen(scopy), &t);
-+	      displaypad = (int) (lelen-n);
-+	    }
-+#endif
- 	}
- 	if (opt->argInfo & POPT_ARGFLAG_OPTIONAL)
- 	    *le++ = ']';
-@@ -317,9 +336,9 @@ static void singleOptionHelp(FILE * fp, 
- /*@=boundswrite@*/
- 
-     if (help)
--	fprintf(fp,"  %-*s   ", maxLeftCol, left);
-+	xx = POPT_fprintf(fp,"  %-*s   ", (int)(maxLeftCol+displaypad), left);
-     else {
--	fprintf(fp,"  %s\n", left); 
-+	xx = POPT_fprintf(fp,"  %s\n", left); 
- 	goto out;
-     }
- 
-@@ -335,22 +354,24 @@ static void singleOptionHelp(FILE * fp, 
- 	char format[16];
- 
- 	ch = help + lineLength - 1;
--	while (ch > help && !isspace(*ch)) ch--;
-+	while (ch > help && !_isspaceptr(ch))
-+	    ch = POPT_prev_char (ch);
- 	if (ch == help) break;		/* give up */
--	while (ch > (help + 1) && isspace(*ch)) ch--;
-+	while (ch > (help + 1) && _isspaceptr(ch))
-+	    ch = POPT_prev_char (ch);
- 	ch++;
- 
- 	sprintf(format, "%%.%ds\n%%%ds", (int) (ch - help), indentLength);
- 	/*@-formatconst@*/
--	fprintf(fp, format, help, " ");
-+	xx = POPT_fprintf(fp, format, help, " ");
- 	/*@=formatconst@*/
- 	help = ch;
--	while (isspace(*help) && *help) help++;
-+	while (_isspaceptr(help) && *help) help++;
- 	helpLength = strlen(help);
-     }
- /*@=boundsread@*/
- 
--    if (helpLength) fprintf(fp, "%s\n", help);
-+    if (helpLength) xx = POPT_fprintf(fp, "%s\n", help);
- 
- out:
-     /*@-dependenttrans@*/
-@@ -443,6 +464,7 @@ static void singleTableHelp(poptContext 
- {
-     const struct poptOption * opt;
-     const char *sub_transdom;
-+    int xx;
- 
-     if (table == poptAliasOptions) {
- 	itemHelp(fp, con->aliases, con->numAliases, left, NULL);
-@@ -466,7 +488,7 @@ static void singleTableHelp(poptContext 
- 	    sub_transdom = translation_domain;
- 	    
- 	if (opt->descrip)
--	    fprintf(fp, "\n%s\n", D_(sub_transdom, opt->descrip));
-+	    xx = POPT_fprintf(fp, "\n%s\n", D_(sub_transdom, opt->descrip));
- 
- 	singleTableHelp(con, fp, opt->arg, left, sub_transdom);
-     }
---- popt-1.7/poptint.c.orig	1970-01-01 09:00:00.000000000 +0900
-+++ popt-1.7/poptint.c	2007-12-21 19:57:56.997312000 +0900
-@@ -0,0 +1,156 @@
-+#include "system.h"
-+#include <stdarg.h>
-+#include "poptint.h"
-+
-+#ifdef HAVE_ICONV
-+static /*@only@*/ /*@null@*/ char *
-+strdup_locale_from_utf8 (/*@null@*/ char *buffer)
-+	/*@*/
-+{
-+    char *codeset = NULL;
-+    char *dest_str;
-+    iconv_t fd;
-+
-+    if (buffer == NULL)
-+	return NULL;
-+
-+#ifdef HAVE_LANGINFO_H
-+/*@-type@*/
-+    codeset = nl_langinfo (CODESET);
-+/*@=type@*/
-+#endif
-+
-+    if (codeset && strcmp(codeset, "UTF-8")
-+     && (fd = iconv_open(codeset, "UTF-8")) != (iconv_t)-1)
-+    {
-+	char *pin = buffer;
-+	char *pout = NULL;
-+	size_t ib, ob, dest_size;
-+	int done;
-+	int is_error;
-+	size_t err;
-+	char *shift_pin = NULL;
-+	int xx;
-+
-+	err = iconv(fd, NULL, &ib, &pout, &ob);
-+	dest_size = ob = ib = strlen(buffer);
-+	dest_str = pout = malloc((dest_size + 1) * sizeof(*dest_str));
-+	if (dest_str)
-+	    *dest_str = '\0';
-+	done = is_error = 0;
-+	if (pout != NULL)
-+	while (!done && !is_error) {
-+	    err = iconv(fd, &pin, &ib, &pout, &ob);
-+
-+	    if (err == (size_t)-1) {
-+		switch (errno) {
-+		case EINVAL:
-+		    done = 1;
-+		    /*@switchbreak@*/ break;
-+		case E2BIG:
-+		{   size_t used = pout - dest_str;
-+		    dest_size *= 2;
-+		    dest_str = realloc(dest_str, (dest_size + 1) * sizeof(*dest_str));
-+		    if (dest_str == NULL) {
-+			is_error = 1;
-+			continue;
-+		    }
-+		    pout = dest_str + used;
-+		    ob = dest_size - used;
-+		}   /*@switchbreak@*/ break;
-+		case EILSEQ:
-+		    is_error = 1;
-+		    /*@switchbreak@*/ break;
-+		default:
-+		    is_error = 1;
-+		    /*@switchbreak@*/ break;
-+		}
-+	    } else {
-+		if (shift_pin == NULL) {
-+		    shift_pin = pin;
-+		    pin = NULL;
-+		    ib = 0;
-+		} else {
-+		    done = 1;
-+		}
-+	    }
-+	}
-+	xx = iconv_close(fd);
-+	if (pout)
-+	    *pout = '\0';
-+	if (dest_str != NULL)
-+	    dest_str = xstrdup(dest_str);
-+    } else {
-+	dest_str = xstrdup(buffer);
-+    }
-+
-+    return dest_str;
-+}
-+#endif
-+
-+/*@-mustmod@*/	/* LCL: can't see the ap modification. */
-+static /*@only@*/ /*@null@*/ char *
-+strdup_vprintf (const char *format, va_list ap)
-+	/*@modifies ap @*/
-+{
-+    char *buffer;
-+    char c;
-+    va_list apc;
-+    int xx;
-+
-+/*@-noeffectuncon -unrecog @*/
-+    va_copy(apc, ap);	/* XXX linux amd64/ppc needs a copy. */
-+/*@=noeffectuncon =unrecog @*/
-+
-+    buffer = calloc(sizeof(*buffer), vsnprintf (&c, 1, format, ap) + 1);
-+    if (buffer != NULL)
-+	xx = vsprintf(buffer, format, apc);
-+
-+    va_end(apc);
-+
-+    return buffer;
-+}
-+/*@=mustmod@*/
-+
-+char *
-+POPT_prev_char (const char *str)
-+{
-+    char *p = (char *)str;
-+
-+    while (1) {
-+	p--;
-+	if ((*p & 0xc0) != (char)0x80)
-+	    return (char *)p;
-+    }
-+}
-+
-+int
-+POPT_fprintf (FILE* stream, const char *format, ...)
-+{
-+    int retval = 0;
-+    va_list args;
-+    char *buffer = NULL;
-+#ifdef HAVE_ICONV
-+    char *locale_str = NULL;
-+#endif
-+
-+    va_start (args, format);
-+    buffer = strdup_vprintf(format, args);
-+    va_end (args);
-+    if (buffer == NULL)
-+	return retval;
-+
-+#ifdef HAVE_ICONV
-+    locale_str = strdup_locale_from_utf8(buffer);
-+    if (locale_str) {
-+	retval = fprintf(stream, "%s", locale_str);
-+	free(locale_str);
-+    } else
-+#endif
-+    {
-+	retval = fprintf(stream, "%s", buffer);
-+    }
-+    free (buffer);
-+
-+    return retval;
-+}
---- popt-1.7/poptint.h.orig	2007-12-21 19:40:22.696680000 +0900
-+++ popt-1.7/poptint.h	2007-12-21 20:00:39.593387000 +0900
-@@ -113,4 +113,37 @@ struct poptContext_s {
- 
- #define N_(foo) foo
- 
-+#ifdef HAVE_ICONV
-+#include <iconv.h>
-+#if defined(__LCLINT__)
-+/*@-declundef -incondefs @*/
-+extern /*@only@*/ iconv_t iconv_open(const char *__tocode, const char *__fromcode)
-+    /*@*/;
-+
-+extern size_t iconv(iconv_t __cd, /*@null@*/ char ** __inbuf,
-+            /*@out@*/ size_t * __inbytesleft,
-+            /*@out@*/ char ** __outbuf,
-+            /*@out@*/ size_t * __outbytesleft)
-+    /*@modifies __cd,
-+        *__inbuf, *__inbytesleft, *__outbuf, *__outbytesleft @*/;
-+
-+extern int iconv_close(/*@only@*/ iconv_t __cd)
-+    /*@modifies __cd @*/;
-+/*@=declundef =incondefs @*/
-+#endif
-+#endif
-+
-+#ifdef HAVE_LANGINFO_H
-+#include <langinfo.h>
-+#if defined(__LCLINT__)
-+/*@-declundef -incondefs @*/
-+extern char *nl_langinfo (nl_item __item)
-+    /*@*/;
-+/*@=declundef =incondefs @*/
-+#endif
-+#endif
-+
-+int   POPT_fprintf (FILE* steam, const char *format, ...);
-+char *POPT_prev_char (const char *str);
-+
- #endif
---- popt-1.7/system.h.orig	2007-12-21 20:01:08.290683000 +0900
-+++ popt-1.7/system.h	2007-12-21 20:01:59.455124000 +0900
-@@ -13,6 +13,9 @@ extern __const __int32_t *__ctype_touppe
- 
- #include <ctype.h>
- 
-+/* XXX isspace(3) has i18n encoding signednesss issues on Solaris. */
-+#define _isspaceptr(_chp)   isspace((int)(*(unsigned char *)(_chp)))
-+
- #include <errno.h>
- #include <fcntl.h>
- #include <limits.h>
--- a/components/popt/patches/popt-02-testit.sh.patch	Fri Mar 11 05:36:16 2016 -0800
+++ b/components/popt/patches/popt-02-testit.sh.patch	Fri Mar 11 05:37:50 2016 -0800
@@ -1,42 +1,25 @@
-Running "gmake test" was failing when it starts to try to do the three 
-"test3" tests.  These tests depend upon files called:
+Running "gmake test" was failing for tests 58 and 59 because the wrong
+test name was specified.
 
-   test3-data/01.input
-   test3-data/01.answer
-   test3-data/02.input
-   test3-data/02.answer
-   test3-data/03.input
-   test3-data/03.answer
-
- These files are simply not included with the popt 1.7 source tarball.
-
- By googling around, they were found at:
-
- http://nesl.ee.ucla.edu/fw/han/old_machine_backup/overo-oe/tmp/work/i686-linux/popt-native-1.14-r2/popt-1.14/test3-data/
-
- but looking at the latest version of popt (1.16), and the testit.sh
- script in there has those three tests commented out:
+This patch should be sent upstream.
 
- #run_diff test3 "test3 - 51" test3-data/01.input test3-data/01.answer
- #run_diff test3 "test3 - 52" test3-data/02.input test3-data/02.answer
- #run_diff test3 "test3 - 53" test3-data/03.input test3-data/03.answer
-
- This patch has been added to comment them out in a similar manner.
-
- If/when we upgrade to popt 1.16, then we can simply remove that patch. 
-
---- popt-1.7/testit.sh.orig	2012-12-14 07:49:41.381719596 -0800
-+++ popt-1.7/testit.sh	2012-12-14 07:49:54.020453347 -0800
-@@ -92,9 +92,9 @@
- run test1 "test1 - 39" "arg1: 0 arg2: (none) oStr: ping rest: pong" --optional=ping pong
- run test1 "test1 - 40" "arg1: 0 arg2: (none) oStr: ping rest: pong" --optional ping pong
+--- popt-1.16/testit.sh.orig	2016-03-08 07:21:32.625991783 -0800
++++ popt-1.16/testit.sh	2016-03-08 07:22:06.498564459 -0800
+@@ -115,7 +115,7 @@
+ run test1 "test1 - 57" "arg1: 0 arg2: (none) aBits: foo,baz" --bits foo,bar,baz,!bar
  
--run_diff test3 "test3 - 41" test3-data/01.input test3-data/01.answer
--run_diff test3 "test3 - 42" test3-data/02.input test3-data/02.answer
--run_diff test3 "test3 - 43" test3-data/03.input test3-data/03.answer
-+#run_diff test3 "test3 - 41" test3-data/01.input test3-data/01.answer
-+#run_diff test3 "test3 - 42" test3-data/02.input test3-data/02.answer
-+#run_diff test3 "test3 - 43" test3-data/03.input test3-data/03.answer
- 
- echo ""
- echo "Passed."
+ run test1 "test1 - 58" "\
+-Usage: lt-test1 [-I?] [-c|--cb2=STRING] [--arg1] [-2|--arg2=ARG]
++Usage: test1 [-I?] [-c|--cb2=STRING] [--arg1] [-2|--arg2=ARG]
+         [-3|--arg3=ANARG] [-onedash] [--optional=STRING] [--val]
+         [-i|--int=INT] [-s|--short=SHORT] [-l|--long=LONG]
+         [-L|--longlong=LONGLONG] [-f|--float=FLOAT] [-d|--double=DOUBLE]
+@@ -124,7 +124,7 @@
+         [--bitxor] [--nstr=STRING] [--lstr=STRING] [-I|--inc]
+         [-c|--cb=STRING] [--longopt] [-?|--help] [--usage] [--simple=ARG]" --usage
+ run test1 "test1 - 59" "\
+-Usage: lt-test1 [OPTION...]
++Usage: test1 [OPTION...]
+       --arg1                      First argument with a really long
+                                   description. After all, we have to test
+                                   argument help wrapping somehow, right?
--- a/components/popt/popt.p5m	Fri Mar 11 05:36:16 2016 -0800
+++ b/components/popt/popt.p5m	Fri Mar 11 05:37:50 2016 -0800
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
 #
 
 <transform file path=usr.*/man/.+ -> default mangler.man.stability volatile>
@@ -41,11 +41,13 @@
 link path=usr/lib/$(MACH64)/libpopt.so.0 target=libpopt.so.0.0.0
 file path=usr/lib/$(MACH64)/libpopt.so.0.0.0
 file path=usr/lib/$(MACH64)/llib-lpopt.ln
+file $(MACH64)/popt.pc path=usr/lib/$(MACH64)/pkgconfig/popt.pc
 link path=usr/lib/libpopt.so target=libpopt.so.0.0.0
 link path=usr/lib/libpopt.so.0 target=libpopt.so.0.0.0
 file path=usr/lib/libpopt.so.0.0.0
 file path=usr/lib/llib-lpopt
 file path=usr/lib/llib-lpopt.ln
+file $(MACH32)/popt.pc path=usr/lib/pkgconfig/popt.pc
 file libpopt.3 path=usr/share/man/man3/libpopt.3
 license popt.license license=MIT
 
--- a/components/popt/test/results-all.master	Fri Mar 11 05:36:16 2016 -0800
+++ b/components/popt/test/results-all.master	Fri Mar 11 05:37:50 2016 -0800
@@ -1,15 +1,13 @@
-make[1]: Entering directory `$(@D)'
-Making check in intl
-make[2]: Entering directory `$(@D)/intl'
-make[2]: Nothing to be done for `check'.
-make[2]: Leaving directory `$(@D)/intl'
+make[1]: Entering directory '$(@D)'
+/usr/gnu/bin/make  check-recursive
+make[2]: Entering directory '$(@D)'
 Making check in po
-make[2]: Entering directory `$(@D)/po'
-make[2]: Nothing to be done for `check'.
-make[2]: Leaving directory `$(@D)/po'
-make[2]: Entering directory `$(@D)'
+make[3]: Entering directory '$(@D)/po'
+make[3]: Leaving directory '$(@D)/po'
+Making check in .
+make[3]: Entering directory '$(@D)'
 /usr/gnu/bin/make  check-TESTS
-make[3]: Entering directory `$(@D)'
+make[4]: Entering directory '$(@D)'
 Running tests in $(@D)
 Running test test1 - 1.
 Running test test1 - 2.
@@ -52,12 +50,45 @@
 Running test test1 - 38.
 Running test test1 - 39.
 Running test test1 - 40.
+Running test test1 - 41.
+Running test test1 - 42.
+Running test test1 - 43.
+Running test test1 - 44.
+Running test test1 - 45.
+Running test test1 - 46.
+Running test test1 - 47.
+Running test test1 - 48.
+Running test test1 - 49.
+Running test test1 - 50.
+Running test test1 - 51.
+Running test test1 - 52.
+Running test test1 - 53.
+Running test test1 - 54.
+Running test test1 - 55.
+Running test test1 - 56.
+Running test test1 - 57.
+Running test test1 - 58.
+Running test test1 - 59.
 
 Passed.
-PASS: testit.sh
+PASS: $(SOURCE_DIR)/testit.sh
 =============
 1 test passed
 =============
-make[3]: Leaving directory `$(@D)'
-make[2]: Leaving directory `$(@D)'
-make[1]: Leaving directory `$(@D)'
+make[4]: Leaving directory '$(@D)'
+make[3]: Leaving directory '$(@D)'
+Making check in auto
+make[3]: Entering directory '$(@D)/auto'
+/usr/gnu/bin/make  check-local
+make[4]: Entering directory '$(@D)/auto'
+[ -d tests ] && api-sanity-autotest.pl -l popt -d desc -clean
+Makefile:396: recipe for target 'check-local' failed
+make[4]: [check-local] Error 1 (ignored)
+api-sanity-autotest.pl -l popt -d desc -st types -gen -build -run
+/bin/bash: api-sanity-autotest.pl: command not found
+Makefile:396: recipe for target 'check-local' failed
+make[4]: [check-local] Error 127 (ignored)
+make[4]: Leaving directory '$(@D)/auto'
+make[3]: Leaving directory '$(@D)/auto'
+make[2]: Leaving directory '$(@D)'
+make[1]: Leaving directory '$(@D)'