Subject: [bug#34647] [PATCH] gnu: python-petsc4py: Update to 10.3.1.

From: Leo Famulari <[email-masked]>
Date: Mon, 25 Feb 2019 20:55:41 -0500

On Mon, Feb 25, 2019 at 01:26:09PM +0000, Paul Garlick wrote:
> * gnu/packages/maths.scm (python-petsc4py): Update to 10.3.1.

I tested this update by building fenics on top of it. On my x86-63
machine, it failed as below. Is this expected or a reason to block the
python-petsc4py update?

------
[ 95%] Building CXX object dolfin/CMakeFiles/dolfin.dir/nls/TAOLinearBoundSolver.cpp.o
/tmp/guix-build-fenics-dolfin-2018.1.0.post1.drv-0/fenics-project-dolfin-948dc42cc4e0/dolfin/nls/PETScSNESSolver.cpp:51:64: error: ‘SNESTEST’ was not declared in this scope
     {"test",         {"Tool to verify Jacobian approximation", SNESTEST}},
                                                                ^
     {"ms",           {"Multistage smoothers", SNESMS}} };
                                                        ^
[ 95%] Building CXX object dolfin/CMakeFiles/dolfin.dir/parameter/GlobalParameters.cpp.o
make[2]: *** [dolfin/CMakeFiles/dolfin.dir/build.make:2770: dolfin/CMakeFiles/dolfin.dir/nls/PETScSNESSolver.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/tmp/guix-build-fenics-dolfin-2018.1.0.post1.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:276: dolfin/CMakeFiles/dolfin.dir/all] Error 2
make[1]: Leaving directory '/tmp/guix-build-fenics-dolfin-2018.1.0.post1.drv-0/build'
make: *** [Makefile:144: all] Error 2
Backtrace:
           4 (primitive-load "/gnu/store/fvv87kxqx1lnw75y2qyqq5srwm7…")
In ice-9/eval.scm:
   191:35  3 (_ _)
In srfi/srfi-1.scm:
   863:16  2 (every1 #<procedure 763720 at /gnu/store/6bwkbm3a80v0x…> …)
In /gnu/store/6bwkbm3a80v0xab5qsicij7bjvmn5yna-module-import/guix/build/gnu-build-system.scm:
   799:28  1 (_ _)
In /gnu/store/6bwkbm3a80v0xab5qsicij7bjvmn5yna-module-import/guix/build/utils.scm:
    616:6  0 (invoke _ . _)

/gnu/store/6bwkbm3a80v0xab5qsicij7bjvmn5yna-module-import/guix/build/utils.scm:616:6: In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "make" arguments: ("-j" "4") exit-status: 2 term-signal: #f stop-signal: #f] 56df80>)'.
builder for `/gnu/store/znvp5a2xnqvzgg9sdbz4wc67wgk3ilrv-fenics-dolfin-2018.1.0.post1.drv' failed with exit code 1
build of /gnu/store/znvp5a2xnqvzgg9sdbz4wc67wgk3ilrv-fenics-dolfin-2018.1.0.post1.drv failed
View build log at '/var/log/guix/drvs/zn/vp5a2xnqvzgg9sdbz4wc67wgk3ilrv-fenics-dolfin-2018.1.0.post1.drv.bz2'.
cannot build derivation `/gnu/store/v152180dwfgwjk6bpxxf0bni8dcd013n-fenics-2018.1.0.post1.drv': 1 dependencies couldn't be built
guix build: error: build of `/gnu/store/v152180dwfgwjk6bpxxf0bni8dcd013n-fenics-2018.1.0.post1.drv' failed
------