From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bruno Haible Newsgroups: gmane.lisp.guile.bugs Subject: bug#10520: [platform-testers] Guile 2.0.4 release imminent Date: Tue, 17 Jan 2012 01:22:52 +0100 Message-ID: <2100848.mfnGXlOVEW@linuix> References: <87boq6qnel.fsf@gnu.org> <9485528.QKLtPtEgNZ@linuix> <87vcob1c0y.fsf@gnu.org> 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 1326759796 5721 80.91.229.12 (17 Jan 2012 00:23:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 17 Jan 2012 00:23:16 +0000 (UTC) Cc: 10520@debbugs.gnu.org Bcc: bruno@haible.de To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Jan 17 01:23:11 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 1RmwpS-0002h7-MU for guile-bugs@m.gmane.org; Tue, 17 Jan 2012 01:23:10 +0100 Original-Received: from localhost ([::1]:56935 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmwpR-0006TR-VO for guile-bugs@m.gmane.org; Mon, 16 Jan 2012 19:23:09 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:35818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmwpP-0006T6-9r for bug-guile@gnu.org; Mon, 16 Jan 2012 19:23:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmwpN-00067g-LO for bug-guile@gnu.org; Mon, 16 Jan 2012 19:23:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmwpN-00067c-Jp for bug-guile@gnu.org; Mon, 16 Jan 2012 19:23:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RmwqH-0005Fr-ON for bug-guile@gnu.org; Mon, 16 Jan 2012 19:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Bruno Haible Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 17 Jan 2012 00:24:01 +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.132675981820162 (code B ref 10520); Tue, 17 Jan 2012 00:24:01 +0000 Original-Received: (at 10520) by debbugs.gnu.org; 17 Jan 2012 00:23:38 +0000 Original-Received: from localhost ([127.0.0.1]:60880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rmwps-0005F8-VT for submit@debbugs.gnu.org; Mon, 16 Jan 2012 19:23:37 -0500 Original-Received: from mo-p00-ob.rzone.de ([81.169.146.162]:11197) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rmwpl-0005Eu-83 for 10520@debbugs.gnu.org; Mon, 16 Jan 2012 19:23:35 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1326759750; l=4812; s=domk; d=haible.de; h=Content-Type:Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Date:Subject:Cc:To:From:X-RZG-CLASS-ID:X-RZG-AUTH; bh=nyOsMOSggbf9iZ8vEWH16cWayCo=; b=khXx339YyVvyJZJgd36sP9GOH+BcSM+jXKIRCNN8MXCRfaT+xk+PcLX5+NjXebFoiTQ wAc5/S/NbPa3Rq90mt+YxXbzFN4e20eVYNsDIzKF+gl9tsEu4G826HKlCBVn70E9FVpXK wn3JgWxjL06sTQy1PXPwEpVRc1vNOHGJyw8= X-RZG-AUTH: :Ln4Re0+Ic/6oZXR1YgKryK8brksyK8dozXDwHXjf9hj/zDNRbvc44/6LjQ== X-RZG-CLASS-ID: mo00 Original-Received: from linuix.haible.de (dslb-088-068-071-136.pools.arcor-ip.net [88.68.71.136]) by smtp.strato.de (jimi mo5) (RZmta 27.4 DYNA|AUTH) with ESMTPA id Y00b79o0GM5lkN ; Tue, 17 Jan 2012 01:22:17 +0100 (MET) User-Agent: KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; ) In-Reply-To: <87vcob1c0y.fsf@gnu.org> 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:6053 Archived-At: Hi Ludo, > Thanks for the quick and detailed report! Another set of platforms is being tested right now. -------------------------------------------------- About configuration of the dependencies: > > How about changing that section to mention > > 1) that pkg-config ought to be installed before libffi and li= bgc? > > 2) that usually setting PKG_CONFIG_PATH to include > > $BDW_LIBDIR/pkgconfig:$LIBFFI_LIBDIR/pkgconfig:/usr/lib/= pkgconfig > > will work, > > 3) the BDW_GC_CFLAGS, BDW_GC_LIBS, LIBFFI_CFLAGS, LIBFFI_LIBS= > > approach as a last resort. >=20 > I=E2=80=99ve done something along these lines: >=20 > http://git.savannah.gnu.org/cgit/guile.git/commit/?h=3Dstable-2.0&i= d=3Dad17b1551241a0fbaa9f9557016cbe440cc6338b Hmm, two comments about your advice PKG_CONFIG_PATH=3D/path/to/libgc/lib/pkgconfig:/path/to/libffi/lib/pk= gconfig - When the packages are installed on a bi-arch system, in $prefix/lib64= / (or, on Solaris, $prefix/lib/64/), then the pkgconfig dir is a subdir= of that directory. More precisely, if the package was installed with --libdir=3D$LIBFFI_LIBDIR, then the dir to use is $LIBFFI_LIBDIR/pkgc= onfig. - If the user sets this variable and then forgets about it, and it does= not contain /usr/lib/pkgconfig or /usr/lib64/pkgconfig, then AFAIU other packages installed in /usr/lib[64] will no longer be found. > > 2) On Linux/glibc/PowerPC, MacOS X 10.5, Cygwin, I happen not to ha= ve > > pkg-config installed. But I have installed all the other packages! > > The configuration fails: >=20 > [...] >=20 > > Isn't this a *gratuitous* build dependency? >=20 > Isn=E2=80=99t this a gratuitous troll? ;-) Given the size of the thread about this topic in gnu-prog-discuss, it is not gratuitous to talk about it. > Seriously, I understand your frustration. Yet, we use upstream=E2=80= =99s method > to check for package availability, whether we like it or not. You can do better than that. > > I won't install pkg-config. If you want me to test guile on Linux/P= owerPC, > > MacOS X 10.5, Cygwin, and mingw, provide an alternative. >=20 > One can define $BDW_GC_LIB, etc. as described in the manual. Would t= hat > work for you? This is even more work, no thanks. I mean, after I installed the prerequisite packages with the same --pre= fix, guile found libiconv, libintl, libunistring, libgmp all automatically, without any further ado - because you are using the gnulib module 'have= lib'. For packages as simple as libffi and gc, these macros will work as well= . Can't you just change=20 PKG_CHECK_MODULES(LIBFFI, libffi) to AC_LIB_HAVE_LINKFLAGS([ffi], [], [#include #include ], [ffi_call (NULL, NULL, NULL, NULL);]) if test "$HAVE_LIBFFI" =3D yes; then LIBFFI_CFLAGS=3D # CPPFLAGS already augmented LIBFFI_LIBS=3D"$LTLIBFFI" # since linking is done with libtool else PKG_CHECK_MODULES(LIBFFI, libffi) fi and similarly for libgc. If this gets too complicated, I can extend the gnulib 'havelib' module = to also invoke pkg-config when the search in the various directories faile= d. -------------------------------------------------- > > 4) On Solaris 11 (both x86 and x86_64), >=20 > Do you mean OpenIndiana or something? No, I meant Oracle Solaris 11, released on 2011-11-09. Cf. http://en.wikipedia.org/wiki/Solaris_(operating_system) http://www.oracle.com/technetwork/server-storage/solaris11/downloads/in= dex.html But I warn you: with this OS, before you have a usable system, you have to learn how to use their package manager. Otherwise, no gcc, no development tools. -------------------------------------------------- > > This could be easily fixed by including the gnulib module 'nl_langi= nfo'. See > > http://www.gnu.org/software/gnulib/manual/html_node/nl_005flanginfo= .html >=20 > I considered using it some time ago but decided not to, as the commen= t > in i18n.c says: >=20 > Note: We don't use Gnulib's `nl_langinfo' module because it's curr= ently not > as complete as the compatibility hacks in `i18n.scm'. */ If you are not satisfied with the contents of a particular gnulib modul= e, please by all means say so on the bug-gnulib list. I beg you. Then the enhancements will not only profit guile but also other packages. -------------------------------------------------- > > 9) Test failure on Linux/glibc/i386 (32-bit build on a x86_64 machi= ne): > > > > FAIL: gc.test: gc: Lexical vars are collectable >=20 > This is a known =E2=80=9Cproblem=E2=80=9D, and harmless. Then, why not change the test so that it only prints a warning message,= and always succeeds? -------------------------------------------------- Bruno