Received: (at 27320) by debbugs.gnu.org; 11 Jun 2017 16:25:03 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 11 12:25:03 2017 Received: from localhost ([127.0.0.1]:41318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1dK5fj-0003A1-GP for submit <at> debbugs.gnu.org; Sun, 11 Jun 2017 12:25:03 -0400 Received: from mail-wr0-f173.google.com ([209.85.128.173]:35961) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <pbewig@HIDDEN>) id 1dK4fU-0001go-29 for 27320 <at> debbugs.gnu.org; Sun, 11 Jun 2017 11:20:44 -0400 Received: by mail-wr0-f173.google.com with SMTP id v111so73211748wrc.3 for <27320 <at> debbugs.gnu.org>; Sun, 11 Jun 2017 08:20:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=GhoqCoXkJjRra405QMO4wTyY4j+3iFaaAMJRwPpWpoI=; b=KnvJeDKgjPjh18HN8YO4OQmaDxPzCkKUN9fIEXjM3ypFYPg6kOLoQGI5WyQnQ2qX4A HWF6bgZS0yo5diq2T5yKm57sN0Rzx/s+eG5gS0B5DMhk59pxCB7To+mQ2hrJUSOWj+3q MKfIX3xkMKctQaKoDoeVsCHl8u5zcPu9gZruMoq9KqzA5joNFZbtijVIz1eJOWdftDqt QYyp38Vp7hlOtI8rG9AlZqUWfvdGiw7Qqz2j3Jsi+Tuv8goX7F1bjnPv7HQtnRNZ5eS0 RYuSbf7bOfbsCnhFOQYUIIDXF1CjE8siJd0fnprSFsZBGZ8K6fgzor9uoTXIDY0/YxOw qTkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=GhoqCoXkJjRra405QMO4wTyY4j+3iFaaAMJRwPpWpoI=; b=HyjAfX0EwPfUeRp4vUq2evxfcZO8nmoPSQi28Ysz2pxaopKtjYNJ80FmiUGZnKNB2C UcZF4O7JmxEUGEZBc3xMeK30CCGp6lVD8SansVYeixmrRteb7CTPtXSNENKUB1k0S1Zf dI6aw1XrrcB5kXu0K1LWD3qrpd1O1bgt9WBuXhJBO128jiVPSzTUZAGJ6l/TvJFY3EHQ 4q6Aw/dXhi16LtF5xyEH97H6ri/UuBQ3EgTXW21MbaxVKSYCFJolMgESy64G2S/l2HoQ SLP89D5aekBNbKGO2wT9ciwhKPVCtOjFl1ZQGfybgEMyTydLPWRoOr7O8XQIusZDRrIO QoxA== X-Gm-Message-State: AKS2vOyaUfWz3+dCjY+B1aYDoo8n/aWisWNDMTiHAHnCOfIlVYT5PCU1 ehzuiuSbAIG7LvBDQ6gRrSdB5kF1Rw== X-Received: by 10.28.208.74 with SMTP id h71mr5361027wmg.69.1497194438107; Sun, 11 Jun 2017 08:20:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.98.86 with HTTP; Sun, 11 Jun 2017 08:20:37 -0700 (PDT) From: Phil Bewig <pbewig@HIDDEN> Date: Sun, 11 Jun 2017 10:20:37 -0500 Message-ID: <CAPojvs2KLHaptFxU2x4ScBb0ZOrRFLYqjbiNE2QcCNkjHA2jpg@HIDDEN> Subject: Problem compiling Guile on Termux To: 27320 <at> debbugs.gnu.org Content-Type: multipart/alternative; boundary="94eb2c192fbea4ab080551b0beb3" X-Spam-Score: -1.0 (-) X-Debbugs-Envelope-To: 27320 X-Mailman-Approved-At: Sun, 11 Jun 2017 12:25:02 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --94eb2c192fbea4ab080551b0beb3 Content-Type: text/plain; charset="UTF-8" In my earlier report, I neglected to mention the C compiler used by Termux: Clang 4.0.0. --94eb2c192fbea4ab080551b0beb3 Content-Type: text/html; charset="UTF-8" <div dir="ltr">In my earlier report, I neglected to mention the C compiler used by Termux: Clang 4.0.0.<br></div> --94eb2c192fbea4ab080551b0beb3--
bug-guile@HIDDEN
:bug#27320
; Package guile
.
Full text available.Received: (at submit) by debbugs.gnu.org; 10 Jun 2017 23:21:52 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 10 19:21:52 2017 Received: from localhost ([127.0.0.1]:39495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1dJphX-0001Dg-NZ for submit <at> debbugs.gnu.org; Sat, 10 Jun 2017 19:21:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <pbewig@HIDDEN>) id 1dJpSs-0000so-Cr for submit <at> debbugs.gnu.org; Sat, 10 Jun 2017 19:06:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <pbewig@HIDDEN>) id 1dJpSl-0001SN-Ok for submit <at> debbugs.gnu.org; Sat, 10 Jun 2017 19:06:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57496) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <pbewig@HIDDEN>) id 1dJpSl-0001SH-Kw for submit <at> debbugs.gnu.org; Sat, 10 Jun 2017 19:06:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <pbewig@HIDDEN>) id 1dJpSi-0001aT-0l for bug-guile@HIDDEN; Sat, 10 Jun 2017 19:06:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <pbewig@HIDDEN>) id 1dJpSg-0001Ro-AK for bug-guile@HIDDEN; Sat, 10 Jun 2017 19:06:31 -0400 Received: from mail-wr0-x22e.google.com ([2a00:1450:400c:c0c::22e]:35322) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <pbewig@HIDDEN>) id 1dJpSg-0001RO-0E for bug-guile@HIDDEN; Sat, 10 Jun 2017 19:06:30 -0400 Received: by mail-wr0-x22e.google.com with SMTP id q97so63269080wrb.2 for <bug-guile@HIDDEN>; Sat, 10 Jun 2017 16:06:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=A0IQm0OTqspv6TA/zVF3U3X4FRLJAzc23lmnaanaf4c=; b=D8k1OSve9/oPDFHXwJXqlhLIP7ngSZXTQ/nyPFAVPQHNDFbPA8OFWceICudQa2+1co kHW4O6X7mBX/Tfp1Ad4mC6bJqlb2d9DfW3YeIdR0DFkT35VRlGgkdijLB0Wzc870r1K5 0cqPqxOTafrTAwDYDplk+EEpei/QANdZZafr+kbF+hJvRDWXcksahy3JsvdcnrIL6u5s HVIXCZoYnZGzmwmfRbHsFvHnFBAMkCmJZBSWfINTFhhXVKuqfuryPjsmuSTgmwpokMbp ZuFw+3n8/DfA0lw5c1AjFeAIDm2Lj6ryxhvfTP91lK48cxHDMQ4MLbv7O0Hhx3Wy3JGK ie5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=A0IQm0OTqspv6TA/zVF3U3X4FRLJAzc23lmnaanaf4c=; b=Q0BWVmfM7Xr5BLbnfqVCb+iQyZi2WODCXMnmAtE+RNPsuvzKwXnuRWZgZYzjTw+m2u nDzhVfkpexBggP4LO7A5WBcx5cXWl+QxG6oiQAIP8L2kuC8jocHQnQZT1vCskivQpRkI 7SrhITSdSFuZKvHdfgfaATD7W9zM1waQkQPPscr6lYNzfI2TEmOb/mbN/Gs9x+tpk3xV 8YatZspfabAblsIX94DEbzFpSuAWJ/944bWytRUclXQDF3dh9VUuxwVlWzFBVcZFiMaI ywrs56tNmtnrwPYYuwJ4froQL60dH0V86tskBpdviZFtKSKpbudA3YbhIA3i9y3KRHrI 2lig== X-Gm-Message-State: AKS2vOzohPK2MW8/Gbifv+egEE3d+l/nRwQlfkUgiTAJBLGJW8tvnLUQ SEB2TBq4No9sB9qYBBfqrXDM3AWtWiS1 X-Received: by 10.28.151.193 with SMTP id z184mr3820442wmd.2.1497135986847; Sat, 10 Jun 2017 16:06:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.98.86 with HTTP; Sat, 10 Jun 2017 16:06:26 -0700 (PDT) From: Phil Bewig <pbewig@HIDDEN> Date: Sat, 10 Jun 2017 18:06:26 -0500 Message-ID: <CAPojvs0x2trHEnfXdz+rXR6cFW0ch3TRgyj6s_qkYPzdJKh+PQ@HIDDEN> Subject: 'Segmentation fault' when compiling Guile 2.2.2 under Termux (Android) To: bug-guile@HIDDEN Content-Type: multipart/alternative; boundary="001a1144e55cad37c10551a322b5" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 10 Jun 2017 19:21:50 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.0 (----) --001a1144e55cad37c10551a322b5 Content-Type: text/plain; charset="UTF-8" I have a Lenovo TAB 2 A10-70F tablet computer running Android 5.0.1 on an ARM Cortex A53 Quad-Core processor with 2B RAMexit clocked at 1.7 GHz. I am running Termux 0.49, available from the Google Play Store, which provides a unix-like environment on the tablet, but without rooting it, and Termux:API 0.15, also available from the Google Play Store, which gives Termux access to the tablet hardware. Termux is strange, probably because it must behave as an Android app since it does not root the device. Running 'uname -a' reports 'Linux localhost 3.10.61 #2 SMP PREEMPT Mon Oct 17 17:46:54 CST 2016 aarch64 Android' and 'whoami' reports 'u0_a111'; there is only a single user, who has superuser permissions. The Termux file tree is rooted at /data/data/com/termux/files; I have exported environment variable $TERMUX with that value, and Termux itself exports $PREFIX to point to what I call $TERMUX/usr. Under $TERMUX are home and usr. Under usr are directories bin, etc, include, lib, libexec, share, src, tmp and var. There are lots of libraries (.so) in lib, lots of headers (.h) in include, and even more headers in include/linux. The environment sets several variables of interest, including BASH=$TERMUX/usr/bin/bash, HOSTTYPE=aarch64, LD_LIBRARY_PATH=$TERMUX/usr/lib, MACHTYPE=aarch64-unknown-linux-android, OSTYPE=linux-android, PATH=$TERMUX/usr/bin:$TERMUX/usr/bin/applets, SHELL=$TERMUX/usr/bin/bash, and TMPDIR=$TERMUX/usr/tmp, where I have written $TERMUX for convenience (the environment has the entire path written out in every case). I have installed gawk and m4 for my own use (and probably a few other things too, though I don't remember them at the moment). I am trying to install the Guile Scheme interpreter. I performed the following steps: cd /data/data/com.termux/files/usr/src wget ftp://ftp.gnu.org/gnu/guile/guile-2.0.14.tar.gz tar -zxvf guile-2.0.14.tar.gz cd guile-2.0.14 apt install libtool libunistring libunistring-dev \ libgc libgc-dev libgmp-dev pkg-config libffi-dev termux-fix-shebang configure build-aux/config.sub \ build-aux/install-sh libguile/guile-snarf* \ meta/build-env* ./configure SHELL='/data/data/com.termux/files/usr/bin/sh' \ CPPFLAGS='-I/data/data/com.termux/files/usr/bin/include: /data/data/com.termux/files/usr/bin/include/linux' \ LDFLAGS='-L/data/data/com.termux/files/usr/lib make At this point I get an error about being unable to find guild, so I fix the shebang on file meta/guild, which is built early in the make process, and continue: termux-fix-shebang meta/guild make The make command ends with an error. After entering directory '/data/data/com.termux/files/usr/src/guile-2.0.14/libguile' and executing 'GEN guile-procedures.texi' I get an error message 'CANNOT LINK EXECUTABLE: could not load library "libguile-2.0.so.22" needed by "/data/data/com.termux/files/usr/src/guile-2.0.14/libguile/.libs/lt-guile"; cause by library "libguile-2.0.so.22 not found'. I note that file libguile-2.0.so.22 exists in directory /data/data/com.termux/files/usr/src/guile-2.0.14/libguile/.libs. I fix the error by linking libguile-2.0.so.22, then continue: ln libguile/.libs/libguile-2.0.so.22 /data/data/com.termux/files/usr/lib/libguile-2.0.so.22 make The I get another error: "Segmentation fault". The error occurs when make is trying to execute guild snarf-check-and-output-texi; I note there is a Scheme script snarf-check-and-output-texi.scm under module/scripts. Exactly the same problem occurs with Guile 2.2.2. I actually started with Guile 2.2.2, but switched to Guile 2.0.14 because it is the legacy branch of the program and I was worried there might be something odd in the newer version. How can I fix this problem? --001a1144e55cad37c10551a322b5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I have a Lenovo TAB 2 A10-70F tablet computer running Andr= oid 5.0.1 on an ARM Cortex A53 Quad-Core processor with 2B RAMexit clocked = at 1.7 GHz. I am running Termux 0.49, available from the Google Play Store,= which provides a unix-like environment on the tablet, but without rooting = it, and Termux:API 0.15, also available from the Google Play Store, which g= ives Termux access to the tablet hardware.<br><br>Termux is strange, probab= ly because it must behave as an Android app since it does not root the devi= ce. Running 'uname -a' reports 'Linux localhost 3.10.61 #2 SMP = PREEMPT Mon Oct 17 17:46:54 CST 2016 aarch64 Android' and 'whoami&#= 39; reports 'u0_a111'; there is only a single user, who has superus= er permissions. The Termux file tree is rooted at /data/data/com/termux/fil= es; I have exported environment variable $TERMUX with that value, and Termu= x itself exports $PREFIX to point to what I call $TERMUX/usr. Under $TERMUX= are home and usr. Under usr are directories bin, etc, include, lib, libexe= c, share, src, tmp and var. There are lots of libraries (.so) in lib, lots = of headers (.h) in include, and even more headers in include/linux. The env= ironment sets several variables of interest, including BASH=3D$TERMUX/usr/b= in/bash, HOSTTYPE=3Daarch64, LD_LIBRARY_PATH=3D$TERMUX/usr/lib, MACHTYPE=3D= aarch64-unknown-linux-android, OSTYPE=3Dlinux-android, PATH=3D$TERMUX/usr/b= in:$TERMUX/usr/bin/applets, SHELL=3D$TERMUX/usr/bin/bash, and TMPDIR=3D$TER= MUX/usr/tmp, where I have written $TERMUX for convenience (the environment = has the entire path written out in every case). I have installed gawk and m= 4 for my own use (and probably a few other things too, though I don't r= emember them at the moment).<br><br>I am trying to install the Guile Scheme= interpreter. I performed the following steps:<br><br>=C2=A0=C2=A0=C2=A0 cd= /data/data/com.termux/files/usr/src<br>=C2=A0=C2=A0=C2=A0 wget <a href=3D"= ftp://ftp.gnu.org/gnu/guile/guile-2.0.14.tar.gz">ftp://ftp.gnu.org/gnu/guil= e/guile-2.0.14.tar.gz</a><br>=C2=A0=C2=A0=C2=A0 tar -zxvf guile-2.0.14.tar.= gz<br>=C2=A0=C2=A0=C2=A0 cd guile-2.0.14<br>=C2=A0=C2=A0=C2=A0 apt install = libtool libunistring libunistring-dev \<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 libgc libgc-dev libgmp-dev pkg-config libffi-dev<br>=C2=A0=C2= =A0=C2=A0 termux-fix-shebang configure build-aux/config.sub \<br>=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 build-aux/install-sh libguile/guile-snarf= * \<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 meta/build-env*<br>=C2=A0= =C2=A0=C2=A0 ./configure SHELL=3D'/data/data/com.termux/files/usr/bin/s= h' \<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 CPPFLAGS=3D'-I/d= ata/data/com.termux/files/usr/bin/include:<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /data/data/com.termux/files/usr/bin= /include/linux' \<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 LDFLAGS= =3D'-L/data/data/com.termux/files/usr/lib<br>=C2=A0=C2=A0=C2=A0 make<br= ><br>At this point I get an error about being unable to find guild, so I fi= x the shebang on file meta/guild, which is built early in the make process,= and continue:<br><br>=C2=A0=C2=A0=C2=A0 termux-fix-shebang meta/guild<br>= =C2=A0=C2=A0=C2=A0 make<br><br>The make command ends with an error. After e= ntering directory '/data/data/com.termux/files/usr/src/guile-2.0.14/lib= guile' and executing 'GEN guile-procedures.texi' I get an error= message 'CANNOT LINK EXECUTABLE: could not load library "libguile= -2.0.so.22" needed by "/data/data/com.termux/files/usr/src/guile-= 2.0.14/libguile/.libs/lt-guile"; cause by library "libguile-2.0.s= o.22 not found'. I note that file libguile-2.0.so.22 exists in director= y /data/data/com.termux/files/usr/src/guile-2.0.14/libguile/.libs. I fix th= e error by linking libguile-2.0.so.22, then continue:<br><br>=C2=A0=C2=A0= =C2=A0 ln libguile/.libs/libguile-2.0.so.22 /data/data/com.termux/files/usr= /lib/libguile-2.0.so.22<br>=C2=A0=C2=A0=C2=A0 make<br><br>The I get another= error: "Segmentation fault". The error occurs when make is tryin= g to execute guild snarf-check-and-output-texi; I note there is a Scheme sc= ript snarf-check-and-output-texi.scm under module/scripts.<br><br>Exactly t= he same problem occurs with Guile 2.2.2. I actually started with Guile 2.2.= 2, but switched to Guile 2.0.14 because it is the legacy branch of the prog= ram and I was worried there might be something odd in the newer version.<br= ><br>How can I fix this problem?<br></div> --001a1144e55cad37c10551a322b5--
Phil Bewig <pbewig@HIDDEN>
:bug-guile@HIDDEN
.
Full text available.bug-guile@HIDDEN
:bug#27320
; Package guile
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.