From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: bug#10520: [platform-testers] Guile 2.0.4 release imminent Date: Tue, 17 Jan 2012 00:08:13 +0100 Message-ID: <87vcob1c0y.fsf@gnu.org> References: <87boq6qnel.fsf@gnu.org> <9485528.QKLtPtEgNZ@linuix> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1326755364 9899 80.91.229.12 (16 Jan 2012 23:09:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Jan 2012 23:09:24 +0000 (UTC) Cc: 10520@debbugs.gnu.org To: Bruno Haible Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Jan 17 00:09:19 2012 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rmvfw-0005by-TH for guile-bugs@m.gmane.org; Tue, 17 Jan 2012 00:09:17 +0100 Original-Received: from localhost ([::1]:48286 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rmvfr-0001f9-0k for guile-bugs@m.gmane.org; Mon, 16 Jan 2012 18:09:11 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:50645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rmvfn-0001f4-MS for bug-guile@gnu.org; Mon, 16 Jan 2012 18:09:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rmvfl-0003Mk-R6 for bug-guile@gnu.org; Mon, 16 Jan 2012 18:09:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rmvfl-0003Mg-PN for bug-guile@gnu.org; Mon, 16 Jan 2012 18:09:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Rmvgg-0003XY-6G for bug-guile@gnu.org; Mon, 16 Jan 2012 18:10:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Mon, 16 Jan 2012 23:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10520 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 10520-submit@debbugs.gnu.org id=B10520.132675536413554 (code B ref 10520); Mon, 16 Jan 2012 23:10:02 +0000 Original-Received: (at 10520) by debbugs.gnu.org; 16 Jan 2012 23:09:24 +0000 Original-Received: from localhost ([127.0.0.1]:60799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rmvg3-0003WW-Qn for submit@debbugs.gnu.org; Mon, 16 Jan 2012 18:09:24 -0500 Original-Received: from mail4-relais-sop.national.inria.fr ([192.134.164.105]:28868) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rmvg0-0003WL-DG for 10520@debbugs.gnu.org; Mon, 16 Jan 2012 18:09:23 -0500 X-IronPort-AV: E=Sophos;i="4.71,520,1320620400"; d="scan'208";a="127414488" Original-Received: from reverse-83.fdn.fr (HELO pluto) ([80.67.176.83]) by mail4-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 17 Jan 2012 00:08:21 +0100 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 =?UTF-8?Q?Niv=C3=B4se?= an 220 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <9485528.QKLtPtEgNZ@linuix> (Bruno Haible's message of "Mon, 16 Jan 2012 02:38:58 +0100") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:6050 Archived-At: retitle 2.0.3+ portability issues thanks Hi Bruno, Thanks for the quick and detailed report! Bruno Haible skribis: [...] > How about changing that section to mention > 1) that pkg-config ought to be installed before libffi and libgc? > 2) that usually setting PKG_CONFIG_PATH to include > $BDW_LIBDIR/pkgconfig:$LIBFFI_LIBDIR/pkgconfig:/usr/lib/pkgcon= fig > will work, > 3) the BDW_GC_CFLAGS, BDW_GC_LIBS, LIBFFI_CFLAGS, LIBFFI_LIBS > approach as a last resort. I=E2=80=99ve done something along these lines: http://git.savannah.gnu.org/cgit/guile.git/commit/?h=3Dstable-2.0&id=3Dad= 17b1551241a0fbaa9f9557016cbe440cc6338b > 2) On Linux/glibc/PowerPC, MacOS X 10.5, Cygwin, I happen not to have > pkg-config installed. But I have installed all the other packages! > The configuration fails: [...] > Isn't this a *gratuitous* build dependency? Isn=E2=80=99t this a gratuitous troll? ;-) Seriously, I understand your frustration. Yet, we use upstream=E2=80=99s m= ethod to check for package availability, whether we like it or not. > I won't install pkg-config. If you want me to test guile on Linux/PowerPC, > MacOS X 10.5, Cygwin, and mingw, provide an alternative. One can define $BDW_GC_LIB, etc. as described in the manual. Would that work for you? > 4) On Solaris 11 (both x86 and x86_64), Do you mean OpenIndiana or something? > the compilation fails in the directory libguile: > > CC libguile_2.0_la-filesys.lo > filesys.c: In function 'scm_readdir': > filesys.c:1716:34: error: 'DIR' has no member named 'dd_fd' > gmake[3]: *** [libguile_2.0_la-filesys.lo] Error 1 > > Instead of whacking your own implementation of dirfd, why not just > use the 'dirfd' module from gnulib? (Actually Solaris 11 has dirfd(), > it is declared as a function in .) See > http://www.gnu.org/software/gnulib/manual/html_node/dirfd.html Done: http://git.savannah.gnu.org/cgit/guile.git/commit/?h=3Dstable-2.0&id=3Df0= 007cade095c5a2878ebbb8ea8c9b40810e4509 Funnily, Solaris 2.10 (as available on the OpenCSW machines) doesn=E2=80=99t have this problem. > 5) On OpenBSD 4.6/SPARC64, compilation failure in libguile directory: > > CC libguile_2.0_la-i18n.lo > i18n.c: In function `define_langinfo_items': > i18n.c:1747: error: `ERA' undeclared (first use in this function) > i18n.c:1747: error: (Each undeclared identifier is reported only once > i18n.c:1747: error: for each function it appears in.) > i18n.c:1748: error: `ERA_D_FMT' undeclared (first use in this function) > i18n.c:1749: error: `ERA_D_T_FMT' undeclared (first use in this function) > i18n.c:1751: error: `ERA_T_FMT' undeclared (first use in this function) > i18n.c:1753: error: `ALT_DIGITS' undeclared (first use in this function) > gmake[3]: *** [libguile_2.0_la-i18n.lo] Error 1 This was fixed in the meantime: http://git.savannah.gnu.org/cgit/guile.git/commit/?h=3Dstable-2.0&id=3D1b= d9a697b186c9a2c84f7c1028c9292f779ec79a > This could be easily fixed by including the gnulib module 'nl_langinfo'. = See > http://www.gnu.org/software/gnulib/manual/html_node/nl_005flanginfo.html I considered using it some time ago but decided not to, as the comment in i18n.c says: Note: We don't use Gnulib's `nl_langinfo' module because it's currently = not as complete as the compatibility hacks in `i18n.scm'. */ > 6) On Linux/IA-64, compilation failure in libguile directory: > > CC libguile_2.0_la-threads.lo > threads.c: In function 'guilify_self_1': > threads.c:554: error: 'struct GC_stack_base' has no member named 'reg' > make[3]: *** [libguile_2.0_la-threads.lo] Error 1 > > On this platform, gc/gc.h contains this definition: > > /* Structure representing the base of a thread stack. On most */ > /* platforms this contains just a single address. */ > struct GC_stack_base { > void * mem_base; /* Base of memory stack. */ > # if defined(__ia64) || defined(__ia64__) || defined(_M_IA64) > void * reg_base; /* Base of separate register stack. */ > # endif > }; > > It looks like a typo in threads.c:554. Fix: s/reg-base/reg_base/ Indeed! http://git.savannah.gnu.org/cgit/guile.git/commit/?h=3Dstable-2.0&id=3Dbb= d210517f12fdabb51e0dc2527ba186bb1ba549 > 7) On NetBSD 5.1/x86_64, build failure: Will investigate later. > 8) On Linux/hppa and Linux/SPARC32 and Linux/IA-64, build failure in the > libguile directory: > > SNARF socket.doc > SNARF regex-posix.doc > GEN guile-procedures.texi > /bin/sh: line 1: 1022 Broken pipe cat alist.doc arbiters.doc= array-handle.doc array-map.doc arrays.doc async.doc backtrace.doc boolean.= doc bitvectors.doc bytevectors.doc chars.doc control.doc continuations.doc = debug.doc deprecated.doc deprecation.doc dynl.doc dynwind.doc eq.doc error.= doc eval.doc evalext.doc expand.doc extensions.doc feature.doc filesys.doc = fluids.doc foreign.doc fports.doc gc-malloc.doc gc.doc gettext.doc generali= zed-arrays.doc generalized-vectors.doc goops.doc gsubr.doc guardians.doc ha= sh.doc hashtab.doc hooks.doc i18n.doc init.doc ioext.doc keywords.doc list.= doc load.doc macros.doc mallocs.doc memoize.doc modules.doc numbers.doc obj= prop.doc options.doc pairs.doc ports.doc print.doc procprop.doc procs.doc p= romises.doc r6rs-ports.doc random.doc rdelim.doc read.doc root.doc rw.doc s= cmsigs.doc script.doc simpos.doc smob.doc sort.doc srcprop.doc srfi-1.doc s= rfi-4.doc srfi-13.doc srfi-14.doc srfi-60.doc stackchk.doc stacks.doc stime= .doc strings.doc strorder.doc strports.doc struct.doc symbols.doc threads.d= oc throw.doc trees.doc uniform.doc values.doc variable.doc vectors.doc vers= ion.doc vports.doc weaks.doc dynl.doc posix.doc net_db.doc socket.doc regex= -posix.doc > 1023 Segmentation fault | GUILE_AUTO_COMPILE=3D0 ../meta/unins= talled-env guild snarf-check-and-output-texi > guile-procedures.texi > make[3]: *** [guile-procedures.texi] Error 1 I reproduced the problem on SPARC64 and am investigating (2.0.1 works well on this platform, so this looks like a regression.) > 9) Test failure on Linux/glibc/i386 (32-bit build on a x86_64 machine): > > FAIL: gc.test: gc: Lexical vars are collectable This is a known =E2=80=9Cproblem=E2=80=9D, and harmless. > 10) Linux/glibc/x86_64 > > All tests passed. > > (This must be the platform that all guile developers use, I guess?) Heheh. Thanks, Ludo=E2=80=99.