GNU bug report logs - #12224
Several testsuite failures on OpenIndiana (was: Re: [platform-testers] new snapshot available: coreutils-8.18.10-46444)

Previous Next

Package: coreutils;

Reported by: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Date: Sat, 18 Aug 2012 13:25:01 UTC

Severity: normal

Tags: moreinfo

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12224 in the body.
You can then email your comments to 12224 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#12224; Package coreutils. (Sat, 18 Aug 2012 13:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefano Lattarini <stefano.lattarini <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Sat, 18 Aug 2012 13:25:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: bug-coreutils <at> gnu.org
Cc: Jim Meyering <jim <at> meyering.net>
Subject: Several testsuite failures on OpenIndiana (was: Re: [platform-testers]
	new snapshot available: coreutils-8.18.10-46444)
Date: Sat, 18 Aug 2012 15:24:23 +0200
[Message part 1 (text/plain, inline)]
$ uname -X
System = SunOS
Node = weerd
Release = 5.11
KernelID = oi_151a5
Machine = i86pc
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 32

$ ./configure --version
GNU coreutils configure 8.18.10-46444
generated by GNU Autoconf 2.69.19-1bb10

Copyright (C) 2012 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.

$ gmake -j16 check
...
# TOTAL: 491
# PASS:  386
# SKIP:  89
# XFAIL: 0
# FAIL:  15
# XPASS: 0
# ERROR: 1

The 'config.log' and 'test-suite.log' files are attached (compressed).

Let me know if you need more information.

Regards,
  Stefano
[config.log.xz (application/octet-stream, attachment)]
[test-suite.log.xz (application/octet-stream, attachment)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#12224; Package coreutils. (Sat, 18 Aug 2012 15:30:02 GMT) Full text and rfc822 format available.

Message #8 received at 12224 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Cc: 12224 <at> debbugs.gnu.org, Jim Meyering <jim <at> meyering.net>
Subject: Re: bug#12224: Several testsuite failures on OpenIndiana
Date: Sat, 18 Aug 2012 08:29:38 -0700
On 08/18/2012 06:24 AM, Stefano Lattarini wrote:
> ld.so.1: expr: fatal: libgmp.so.10: open failed: No such file or directory

This looks like a setup problem, in that libgmp was linked
to but the runtime linker isn't finding it.  Why would
that happen on OpenIndiana?  Can it be fixed by
setting LDFLAGS or LD_RUN_PATH or whatever?




Information forwarded to bug-coreutils <at> gnu.org:
bug#12224; Package coreutils. (Sat, 18 Aug 2012 18:30:02 GMT) Full text and rfc822 format available.

Message #11 received at 12224 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Cc: 12224 <at> debbugs.gnu.org, Jim Meyering <jim <at> meyering.net>
Subject: Re: bug#12224: Several testsuite failures on OpenIndiana
Date: Sat, 18 Aug 2012 11:29:13 -0700
On 08/18/2012 08:29 AM, Paul Eggert wrote:
> This looks like a setup problem

I reproduced a similar (but not identical) setup problem
on Solaris 11, and propose the following coreutils patch, which fixes
things for me there.  Does it also fix the OpenIndiana
problem?

From 4661019854961b4985620c17530d7da8e66fd827 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert <at> cs.ucla.edu>
Date: Sat, 18 Aug 2012 11:26:36 -0700
Subject: [PATCH] expr: port cu_GMP to Solaris 11

* m4/gmp.m4 (cu_GMP): Port to Solaris 11, which puts libgmp under
pkg-config control.  Related to a problem reported by Stefano
Lattarini in <http://bugs.gnu.org/12224>.
---
 m4/gmp.m4 |   49 ++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 40 insertions(+), 9 deletions(-)

diff --git a/m4/gmp.m4 b/m4/gmp.m4
index e337e16..c458cc8 100644
--- a/m4/gmp.m4
+++ b/m4/gmp.m4
@@ -24,15 +24,46 @@ AC_DEFUN([cu_GMP],
 
   if test $cu_use_gmp != no; then
     cu_saved_libs=$LIBS
-    AC_SEARCH_LIBS([__gmpz_init], [gmp],
-      [test "$ac_cv_search___gmpz_init" = "none required" ||
-       {
-        LIB_GMP=$ac_cv_search___gmpz_init
-        AC_DEFINE([HAVE_GMP], [1],
-          [Define if you have GNU libgmp (or replacement)])
-       }],
-      [AC_MSG_WARN([libgmp development library was not found or not usable.])
-       AC_MSG_WARN([AC_PACKAGE_NAME will be built without GMP support.])])
+    cu_have_gmp=no
+    AC_PATH_PROG([PKG_CONFIG], [pkg-config], [no])
+    if test "$PKG_CONFIG" != "no"; then
+      AC_MSG_CHECKING([for libgmp under pkg-config])
+      if $PKG_CONFIG --exists "libgmp" 2>&AS_MESSAGE_LOG_FD &&
+        cu_CFLAGS_GMP=`$PKG_CONFIG --cflags "libgmp" 2>&AS_MESSAGE_LOG_FD` &&
+        cu_LIB_GMP=`$PKG_CONFIG --libs "libgmp" 2>&AS_MESSAGE_LOG_FD`; then
+          if test "$gl_gcc_warnings" != yes; then
+            isystem='-I'
+          else
+            isystem='-isystem '
+          fi
+          edit_cflags="
+            s,///*,/,g
+            s/^/ /
+            s/ -I/ $isystem/g
+            s/^ //
+            s/./ &/
+          "
+          cu_CFLAGS_GMP=`AS_ECHO(["$cu_CFLAGS_GMP"]) | sed -e "$edit_cflags"`
+          CFLAGS=$CFLAGS$cu_CFLAGS_GMP
+          LIB_GMP=`AS_ECHO(["$cu_LIB_GMP"]) | sed -e 's,///*,/,g'`
+          cu_have_gmp="yes CFLAGS='$cu_CFLAGS_GMP' LIBS='$LIB_GMP'"
+      fi
+      AC_MSG_RESULT([$cu_have_gmp])
+    fi
+    if test "$cu_have_gmp" = no; then
+      AC_SEARCH_LIBS([__gmpz_init], [gmp],
+        [test "$ac_cv_search___gmpz_init" = "none required" ||
+         {
+          LIB_GMP=$ac_cv_search___gmpz_init
+          cu_have_gmp=yes
+         }],
+        [AC_MSG_WARN([libgmp development library was not found or not usable.])
+         AC_MSG_WARN([AC_PACKAGE_NAME will be built without GMP support.])])
+    fi
+    if test "$cu_have_gmp" != no; then
+      AC_DEFINE([HAVE_GMP], [1],
+        [Define if you have GNU libgmp (or replacement)])
+    fi
     LIBS=$cu_saved_libs
   fi
 ])
-- 
1.7.6.5






Information forwarded to bug-coreutils <at> gnu.org:
bug#12224; Package coreutils. (Sat, 18 Aug 2012 19:47:02 GMT) Full text and rfc822 format available.

Message #14 received at 12224 <at> debbugs.gnu.org (full text, mbox):

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 12224 <at> debbugs.gnu.org, Jim Meyering <jim <at> meyering.net>
Subject: Re: bug#12224: Several testsuite failures on OpenIndiana
Date: Sat, 18 Aug 2012 21:44:09 +0200
[Message part 1 (text/plain, inline)]
tags 12224 + moreinfo
thanks

Hi Paul, thanks for the quick reply.  However ...

On 08/18/2012 08:29 PM, Paul Eggert wrote:
> On 08/18/2012 08:29 AM, Paul Eggert wrote:
>> This looks like a setup problem
> 
> I reproduced a similar (but not identical) setup problem
> on Solaris 11, and propose the following coreutils patch, which fixes
> things for me there.  Does it also fix the OpenIndiana
> problem?
> 
> From 4661019854961b4985620c17530d7da8e66fd827 Mon Sep 17 00:00:00 2001
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> Date: Sat, 18 Aug 2012 11:26:36 -0700
> Subject: [PATCH] expr: port cu_GMP to Solaris 11
> 
> * m4/gmp.m4 (cu_GMP): Port to Solaris 11, which puts libgmp under
> pkg-config control.  Related to a problem reported by Stefano
> Lattarini in <http://bugs.gnu.org/12224>.
>
... this patch didn't solve the failures for me.  Attached is the updated
'test-suite.log'.  Since this might be a misconfiguation issue, I say this
is not a release blocker, and you should go ahead and release coreutils
8.19 in the expected timeframe.  I'll try to work this issue out with the
system administrator before bothering you again.

Thanks,
  Stefano
[test-suite.log (text/x-log, attachment)]

Added tag(s) moreinfo. Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 18 Aug 2012 19:48:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-coreutils <at> gnu.org:
bug#12224; Package coreutils. (Tue, 23 Oct 2018 22:03:02 GMT) Full text and rfc822 format available.

Message #19 received at 12224 <at> debbugs.gnu.org (full text, mbox):

From: Assaf Gordon <assafgordon <at> gmail.com>
To: 12224 <at> debbugs.gnu.org
Subject: Re: bug#12224: Several testsuite failures on OpenIndiana
Date: Tue, 23 Oct 2018 16:02:17 -0600
close 12224
stop

(triaging old bugs)

On 18/08/12 01:44 PM, Stefano Lattarini wrote:
...]
>   Since this might be a misconfiguation issue, I say this
> is not a release blocker, and you should go ahead and release coreutils
> 8.19 in the expected timeframe.  I'll try to work this issue out with the
> system administrator before bothering you again.

With no further follow-ups in 6 years, I'm closing this bug.

-assaf






bug closed, send any further explanations to 12224 <at> debbugs.gnu.org and Stefano Lattarini <stefano.lattarini <at> gmail.com> Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 23 Oct 2018 22:03:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 21 Nov 2018 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 164 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.