From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Howard Subject: bug#37520: maxima x86_64/linux build failure Date: Sat, 28 Sep 2019 18:34:01 -0800 Message-ID: <1569724441.27257.0.camel@librehacker.com> References: <1569506052.14612.4.camel@librehacker.com> <87pnjmhg0h.fsf@GlaDOS.home> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-QhUD8zVDn6SN7ZnBTRb2" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:58871) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEP3A-0005tL-7H for bug-guix@gnu.org; Sat, 28 Sep 2019 22:35:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iEP38-0007rf-Cy for bug-guix@gnu.org; Sat, 28 Sep 2019 22:35:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42966) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iEP38-0007rU-58 for bug-guix@gnu.org; Sat, 28 Sep 2019 22:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iEP38-0007fu-1I for bug-guix@gnu.org; Sat, 28 Sep 2019 22:35:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87pnjmhg0h.fsf@GlaDOS.home> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Diego Nicola Barbato Cc: 37520@debbugs.gnu.org --=-QhUD8zVDn6SN7ZnBTRb2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Thank you. It is now building fine for me. On Fri, 2019-09-27 at 00:03 +0200, Diego Nicola Barbato wrote: > Hey Christopher, > > Christopher Howard writes: > > > Running guix overlaid on Debian 9 amd64. Ran guix pull && guix > > package -u. Ran guix install wxmaxima. Build fails with > > > > / 'configure' phasebuilder for > > `/gnu/store/m5r9y68mhya0kv828mp62y28bfm0lrmv-maxima-5.42.2.drv' > > failed with exit code 1 > > build of /gnu/store/m5r9y68mhya0kv828mp62y28bfm0lrmv-maxima- > > 5.42.2.drv failed > > View build log at > > '/var/log/guix/drvs/m5/r9y68mhya0kv828mp62y28bfm0lrmv-maxima- > > 5.42.2.drv.bz2'. > > > > Last lines of build log are > > > > checking for gcl... true > > checking for iconv... true > > checking for recode... false > > configure: error: unable to run gcl executable "gcl". > > Backtrace: > >            4 (primitive-load > > "/gnu/store/8n7mpp0l8rqv26gxr9hg9aj3ax4…") > > In ice-9/eval.scm: > >    191:35  3 (_ _) > > In srfi/srfi-1.scm: > >    863:16  2 (every1 # > /gnu/store/gfprsx2m62cvq…> …) > > In /gnu/store/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module- > > import/guix/build/gnu-build-system.scm: > >    799:28  1 (_ _) > > In /gnu/store/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module- > > import/guix/build/utils.scm: > >     616:6  0 (invoke _ . _) > > > > /gnu/store/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module- > > import/guix/build/utils.scm:616:6: In procedure invoke: > > Throw to key `srfi-34' with args `(# > [program: "/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash- > > minimal-4.4.23/bin/bash" arguments: ("./configure" > > "CONFIG_SHELL=/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash- > > minimal-4.4.23/bin/bash" > > "SHELL=/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal- > > 4.4.23/bin/bash" " > > --prefix=/gnu/store/3ihrqrdsq6r4n69nvaznbvcqni38c968-maxima-5.42.2" > > "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" " > > --enable-gcl" > > "--with-posix-shell=/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43- > > bash-minimal-4.4.23/bin/sh" "--with- > > wish=/gnu/store/2zl6wcliyd2ny8w73h77vk8bn4x91b7x-tk- > > 8.6.8/bin/wish8.6") exit-status: 1 term-signal: #f stop-signal: #f] > > 8a0d40>)'. > > This looks like a duplicate of [0].  The build fails because > gcl segfaults on invocation.  That's where > > > configure: error: unable to run gcl executable "gcl". > > comes from. > > This bug has recently been fixed (I'm currently on commit ee6bfff > from > last friday and maxima builds successfully). > > The problem in your case seems to be, that the guix you invoked when > running `guix install wxmaxima' (and `guix package -u') is not the > one > you got by running `guix pull' (That's why guix tries to build > maxima-5.42.2 even though it has recently been updated to > 5.43.0).  You > might want to run: > >     export PATH="$HOME/.config/guix/current/bin:$PATH" > > (See section 4.6 Invoking `guix pull' in the Guix manual).  Or if > you've > already done that, it might be necessary to run `hash guix' before > running `guix package -u' and `guix install wxmaxima' again. > > If maxima still fails to build, could you please post the outputs of > the > following commands: > >     which guix >     guix describe > > Thanks, > > Diego > > [0]: https://issues.guix.gnu.org/issue/34484 --  Christopher Howard p: +1 (907) 374-0257 w: https://librehacker.com social feed: https://gnusocial.club/librehacker xmpp: creationist@member.fsf.org otr: E9685B53 01F038DD D29281C9 30FDA71E BD0095D4 gnupg: 23FD5CC5 (keys.gnupg.net) radio: KL1TL featured: http://www.foi.org --=-QhUD8zVDn6SN7ZnBTRb2 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 8bit
Thank you. It is now building fine for me.

On Fri, 2019-09-27 at 00:03 +0200, Diego Nicola Barbato wrote:
Hey Christopher,

Christopher Howard <christopher@librehacker.com> writes:

Running guix overlaid on Debian 9 amd64. Ran guix pull && guix package -u. Ran guix install wxmaxima. Build fails with / 'configure' phasebuilder for `/gnu/store/m5r9y68mhya0kv828mp62y28bfm0lrmv-maxima-5.42.2.drv' failed with exit code 1 build of /gnu/store/m5r9y68mhya0kv828mp62y28bfm0lrmv-maxima-5.42.2.drv failed View build log at '/var/log/guix/drvs/m5/r9y68mhya0kv828mp62y28bfm0lrmv-maxima-5.42.2.drv.bz2'. Last lines of build log are checking for gcl... true checking for iconv... true checking for recode... false configure: error: unable to run gcl executable "gcl". Backtrace: 4 (primitive-load "/gnu/store/8n7mpp0l8rqv26gxr9hg9aj3ax4…") In ice-9/eval.scm: 191:35 3 (_ _) In srfi/srfi-1.scm: 863:16 2 (every1 #<procedure 782420 at /gnu/store/gfprsx2m62cvq…> …) In /gnu/store/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module-import/guix/build/gnu-build-system.scm: 799:28 1 (_ _) In /gnu/store/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module-import/guix/build/utils.scm: 616:6 0 (invoke _ . _) /gnu/store/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module-import/guix/build/utils.scm:616:6: In procedure invoke: Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash" arguments: ("./configure" "CONFIG_SHELL=/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash" "SHELL=/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash" "--prefix=/gnu/store/3ihrqrdsq6r4n69nvaznbvcqni38c968-maxima-5.42.2" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "--enable-gcl" "--with-posix-shell=/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/sh" "--with-wish=/gnu/store/2zl6wcliyd2ny8w73h77vk8bn4x91b7x-tk-8.6.8/bin/wish8.6") exit-status: 1 term-signal: #f stop-signal: #f] 8a0d40>)'.
This looks like a duplicate of [0]. The build fails because gcl segfaults on invocation. That's where
configure: error: unable to run gcl executable "gcl".
comes from. This bug has recently been fixed (I'm currently on commit ee6bfff from last friday and maxima builds successfully). The problem in your case seems to be, that the guix you invoked when running `guix install wxmaxima' (and `guix package -u') is not the one you got by running `guix pull' (That's why guix tries to build maxima-5.42.2 even though it has recently been updated to 5.43.0). You might want to run: export PATH="$HOME/.config/guix/current/bin:$PATH" (See section 4.6 Invoking `guix pull' in the Guix manual). Or if you've already done that, it might be necessary to run `hash guix' before running `guix package -u' and `guix install wxmaxima' again. If maxima still fails to build, could you please post the outputs of the following commands: which guix guix describe Thanks, Diego [0]: https://issues.guix.gnu.org/issue/34484
-- 
Christopher Howard p: +1 (907) 374-0257 w: https://librehacker.com social feed: https://gnusocial.club/librehacker xmpp: creationist@member.fsf.org otr: E9685B53 01F038DD D29281C9 30FDA71E BD0095D4 gnupg: 23FD5CC5 (keys.gnupg.net) radio: KL1TL featured: http://www.foi.org
--=-QhUD8zVDn6SN7ZnBTRb2--