[Pkg-octave-devel] Building octave from git clone fails

Rafael Laboissiere rafael at laboissiere.net
Sat Jan 23 18:04:46 UTC 2016


* Rafael Laboissiere <rafael at laboissiere.net> [2016-01-23 17:23]:

> It is strange, because gperf would be needed only if octave.gperf is 
> more recent than oct-gperf.h.  Now, we have:
>
>   gbp clone git://git.debian.org/git/pkg-octave/octave.git
>   cd octave
>   $ stat libinterp/parse-tree/*gperf* | grep '\(File\|Change\):'
>     File: ‘libinterp/parse-tree/octave.gperf’
>   Change: 2016-01-23 14:19:02.862901791 -0200
>     File: ‘libinterp/parse-tree/oct-gperf.h’
>   Change: 2016-01-23 14:19:02.858901820 -0200

I have overseen the time stamps above.  Actually, after a git clone, 
oct-gperf.h is older than octave.gperf.  This triggers the building of 
the former and, hence, make the package build fails, because gperf is not 
installed.

Touching the target file seems to fix the problem:

    touch libinterp/parse-tree/oct-gperf.h

I am considering adding this to d/rules.  Any objections?

Rafael



More information about the Pkg-octave-devel mailing list