Neil Hopcroft

A digital misfit


Build break in octave – build 307

Following some recent changes to the Octave build process to eliminate recursive use of make my CI build has started failing with this error: CXX libgui/src/libgui_src_libgui_src_la-moc-dialog.lo libgui/src/ fatal error: src/dialog.h: No such file or directory #include “src/dialog.h” ^ compilation terminated. make[2]: *** [libgui/src/libgui_src_libgui_src_la-moc-dialog.lo] Error 1 Which appears to be a problem with directories during qt […]

Build break in freeglut – build 7

There was a build break in the freeglut build: [ 38%] Built target freeglut Linking C executable bin/CallbackMaker lib/ undefined reference to `sball_initialized’ collect2: error: ld returned 1 exit status make[2]: *** [bin/CallbackMaker] Error 1 make[1]: *** [CMakeFiles/CallbackMaker.dir/all] Error 2 There were a significant number of changes included in build 7 as it was originally […]

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: not using Gettext 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/ New file created from test/, test/bug-35448/, test/bug-36025/, test/bug-38236/, test/bug-38691/, test/bug-44940/, test/class-concat/, test/classdef/, test/classes/, test/ctor-vs-method/, test/fcn-handle-derived-resolution/, and test/nest/ * test/, test/bug-35448/, […]

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 […]

octave build break – interp1q

My octave CI build has failed with this error: make[2]: Entering directory `/usr/share/tomcat7/.jenkins/workspace/octave/scripts’ make[2]: *** No rule to make target `deprecated/interp1q.m’, needed by `all-am’. Stop. This appears to be caused by Changeset 19526:ccef60b2a058 by Rik: maint: Remove functions deprecated in 3.8. * scripts/deprecated/ Remove deprecated scripts from build system. * scripts/deprecated/default_save_options.m,scripts/deprecated/gen_doc_cache.m, scripts/deprecated/interp1q.m,scripts/deprecated/isequalwithequalnans.m,scripts/deprecated/java_convert_matrix.m, scripts/deprecated/java_debug.m,scripts/deprecated/java_invoke.m, scripts/deprecated/java_new.m,scripts/deprecated/java_unsigned_conversion.m, scripts/deprecated/javafields.m,scripts/deprecated/javamethods.m,scripts/deprecated/re_read_readline_init_file.m,scripts/deprecated/read_readline_init_file.m,scripts/deprecated/saving_history.m:Remove […]

Review of the octave package build errors

Some of the octave packages are causing build errors, here is a quick review of how things are: ad: gives “error: ‘DECLARE_OCTAVE_ALLOCATOR’ does not name a type” ann: there appears to be a couple of problems here, delving a bit deeper into the build, this package can be built from the command line, allowing the […]

Improving the octave build

Looking further at config.log and the output from configure, there are a few further improvements that could be made to make the build better. Add –enable-jit option, although this causes a warning claiming to be a missing LLVM include file, but closer examination of the config.log file shows actually is caused by failure to use […]