Neil Hopcroft

A digital misfit

Octave

Build break in mesa – build 98

The mesa build broke with this error message: checking for INTEL… no configure: error: Package requirements (libdrm_intel >= 2.4.61) were not met: Requested ‘libdrm_intel >= 2.4.61’ but version of libdrm_intel is 2.4.60 This was caused by this change: Commit a025e539e430b7bbfae9b786bd79d0d608f1acf8 by emil.l.velikov i965: bump libdrm requirement to 2.4.61 and drop in-tree workaround To satisfy this […]

automake configuration

I have noticed a few projects failing during autogen or automake stages, with errors that don’t make much sense, things like missing gettext and libtool, although they are both installed: configure.ac: not using Gettext configure.ac: not using Libtool A bit of hunting around the internet suggests that automake looks in the same directory as itself […]

Build break in fltk – build 32

The FLTK build has broken with this error: Compiling flstring.c… /usr/lib/gcc/x86_64-amazon-linux/4.8.2/../../../../lib64/crt1.o: In function `_start’: (.text+0x20): undefined reference to `main’ collect2: error: ld returned 1 exit status make[1]: *** [flstring.o] Error 1 I don’t see anything in either of the two changes introduced in this build to cause this error, which suggests it might have been […]

Octave build break – build 298

The Octave build has broken during “make check” because of a missing file: test/test/fntest.m The most likely candidate for causing this problem is changeset 20308:bacaec9b5535 eliminate recursive make invocation in test directory tree * test/module.mk: New file created from test/Makefile.am, test/bug-35448/module.mk, test/bug-36025/module.mk, test/bug-38236/module.mk, test/bug-38691/module.mk, test/bug-44940/module.mk, test/class-concat/module.mk, test/classdef/module.mk, test/classes/module.mk, test/ctor-vs-method/module.mk, test/fcn-handle-derived-resolution/module.mk, and test/nest/module.mk. * test/Makefile.am, test/bug-35448/module.mk, […]

Octave build break: SuiteSparse version – revisited

So it seems like my fix for the SuiteSparse build break only partially fixes the problem. It does get octave building again, but it is now complaining about a couple of missing libraries, cholmod and umfpack, which I think should be included in SuiteSparse. I have used the autoconf-er for SuiteSparse build to make it […]

Octave package test results revisited

Following on from my previous exploration of octave package test results, I have updated the test scripts to better find functions and capture the results from their tests. What it does now: Get description of all packages For each package Reset counts for run, pass, xfail and skipped Load package For each interface category (=provides) […]

Dolfin success

It has taken a bit of wrangling but I’ve finally gotten dolfin to build. The final set of adjustments I have made to the build are: mv dolfin/la/PETScKrylovSolver.cpp dolfin/la/PETScKrylovSolver.cpp.orig sed ‘s/^.*KSPSetNull/\/\/ Line removed to fix build problem/’ < dolfin/la/PETScKrylovSolver.cpp.orig > dolfin/la/PETScKrylovSolver.cpp mv dolfin/la/CholmodCholeskySolver.cpp dolfin/la/CholmodCholeskySolver.cpp.orig echo ‘#include “SuiteSparse_config.h”‘ > dolfin/la/CholmodCholeskySolver.cpp cat dolfin/la/CholmodCholeskySolver.cpp.orig >> dolfin/la/CholmodCholeskySolver.cpp mv dolfin/la/UmfpackLUSolver.cpp […]

Octave build break: SuiteSparse version

The recent update to the latest SuiteSparse has caused a build error, undefined references to SuiteSparse_realloc, SuiteSparse_free, SuiteSparse_time, SuiteSparse_calloc, SuiteSparse_config and SuiteSparse_malloc. This appears to be because they have moved to a new library, libsuitesparse_config.a and the octave dependencies haven’t yet been updated. Indeed, I suspect there are a number of other projects which will […]

fem-fenics octave package

As I mentioned before the fem-fenics package requires its own whole set of dependencies, a number of which are available on the fenics website. The octave package is an octave interface onto the fenics project, so to test it we need to install fenics. To install the octave fem-fenics package we first need to build […]

Build errors in the stk octave package

I’ve taken a look at the stk package following comments from Julien Bect on the maintainers mailing list. The Octave code I have comes from http://www.octave.org/hg/octave and stk code from http://hg.code.sf.net/p/octave/stk, my build is configured to poll for SCM changes and rebuild when a change happens. It’s running on a small AWS instance, so builds […]