Bug#902198: octave-odepkg FTBFS with octave 4.4.0

2018-07-17 Thread Rafael Laboissière

* Drew Parsons  [2018-07-17 00:44]:


On Tue, 2018-07-17 at 00:30 +0800, Drew Parsons wrote:

On Mon, 2018-07-16 at 13:54 +0200, Rafael Laboissière wrote:


I tried to build the package using the tip of the Mercurial 
repository




Weird though, https://wiki.octave.org/Odepkg points at

 https://bitbucket.org/odepkg/odepkg


Thanks for pointing this out.


Is this a fork? The recent commits diverge from sourceforge.


Indeed, this seems to be a fork that is actively maintained.


(more importantly, does it build, and pass tests?)


It builds, but the tests get stuck in my system.  You can try it yourself:

   gbp clone g...@salsa.debian.org:pkg-octave-team/octave-odepkg.git
   cd octave-odepkg
   git checkout upstream-hg
   git checkout hg
   gbp dch --upstream-branch=upstream-hg --debian-branch=hg
   gbp export-orig
   debuild -us -uc

Rafael



Bug#902198: octave-odepkg FTBFS with octave 4.4.0

2018-07-16 Thread Drew Parsons
On Tue, 2018-07-17 at 00:30 +0800, Drew Parsons wrote:
> On Mon, 2018-07-16 at 13:54 +0200, Rafael Laboissière wrote:
> > 
> > I tried to build the package using the tip of the Mercurial
> > repository 
> 

Weird though, https://wiki.octave.org/Odepkg points at 

  https://bitbucket.org/odepkg/odepkg

Is this a fork? The recent commits diverge from sourceforge.
(more importantly, does it build, and pass tests?)



Bug#902198: octave-odepkg FTBFS with octave 4.4.0

2018-07-16 Thread Drew Parsons
On Mon, 2018-07-16 at 13:54 +0200, Rafael Laboissière wrote:
> 
> I tried to build the package using the tip of the Mercurial
> repository 
> for the odepkg package [1].  After some tweaks in the documentation,
> I 
> was able to compile the source code, but the unit tests fail
> miserably.
> 
> I just noticed that odepkg was removed from the list of supported 
> Octave-Forge packages

That's regrettable if odepkg has been abandoned ;(  (just as well I've
been moving my computations over to FEniCS/dolfin...)

Rafael, could you push your tip efforts to a branch on odepkg salsa?  I
can build and test against my own octave scripts that use odepkg.

Drew



Bug#902198: octave-odepkg FTBFS with octave 4.4.0

2018-07-16 Thread Rafael Laboissière

* Sébastien Villemot  [2018-06-28 21:57]:


On Fri, Jun 29, 2018 at 03:04:56AM +0800, Drew Parsons wrote:


Or does latest the upstream git work, should we just grab that?


I remember having tried to apply some upstream patches, but maybe not the 
second one that you linked to. In any case, someone has to try again.


I tried to build the package using the tip of the Mercurial repository 
for the odepkg package [1].  After some tweaks in the documentation, I 
was able to compile the source code, but the unit tests fail miserably.


I just noticed that odepkg was removed from the list of supported 
Octave-Forge packages [2].  It seems that octave-odepkg will become a 
candidate for removal from Debian.  If this happens, octave-ocs will have 
to be remove as well.


Rafael

[1] https://sourceforge.net/p/octave/odepkg/ci/default/tree/
[2] https://octave.sourceforge.io/packages.php



Bug#902198: octave-odepkg FTBFS with octave 4.4.0

2018-06-28 Thread Sébastien Villemot
On Fri, Jun 29, 2018 at 03:04:56AM +0800, Drew Parsons wrote:
> On Thu, 28 Jun 2018 20:57:52 +0200 =?iso-8859-1?Q?S=E9bastien?=
> Villemot  wrote:
> > > 
> > > The patch is trivial. Replace all  with  config.h>.
> > > 
> > > config.h was already deprecated, and is now removed in octave
> 4.4.0.
> > 
> > Yes, but then you get many numerical test failures, which are not
> trivial at
> > all to fix…
> > 
> 
> Does 
> https://bitbucket.org/odepkg/odepkg/commits/d4f56c4f3678f7f55d8dc84c96fbd0f98f8d4191
> help?
> 
> Perhaps with 
> https://bitbucket.org/odepkg/odepkg/commits/d60b477d520c762ba4093e1a8f7a036d50b80db1
> 
> 
> Or does latest the upstream git work, should we just grab that?

I remember having tried to apply some upstream patches, but maybe not the
second one that you linked to. In any case, someone has to try again.

-- 
⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁  Debian Developer
⢿⡄⠘⠷⠚⠋⠀  http://sebastien.villemot.name
⠈⠳⣄  http://www.debian.org


signature.asc
Description: PGP signature


Bug#902198: octave-odepkg FTBFS with octave 4.4.0

2018-06-28 Thread Drew Parsons
On Thu, 28 Jun 2018 20:57:52 +0200 =?iso-8859-1?Q?S=E9bastien?=
Villemot  wrote:
> > 
> > The patch is trivial. Replace all  with .
> > 
> > config.h was already deprecated, and is now removed in octave
4.4.0.
> 
> Yes, but then you get many numerical test failures, which are not
trivial at
> all to fix…
> 

Does 
https://bitbucket.org/odepkg/odepkg/commits/d4f56c4f3678f7f55d8dc84c96fbd0f98f8d4191
help?

Perhaps with 
https://bitbucket.org/odepkg/odepkg/commits/d60b477d520c762ba4093e1a8f7a036d50b80db1


Or does latest the upstream git work, should we just grab that?

Drew



Bug#902198: octave-odepkg FTBFS with octave 4.4.0

2018-06-28 Thread Sébastien Villemot
On Fri, Jun 29, 2018 at 02:50:36AM +0800, Drew Parsons wrote:
> On Sat, 23 Jun 2018 12:54:19 +0300 Adrian Bunk  wrote:
> > ...
> > odepkg_octsolver_mebdfdae.cc:42:10: fatal error: config.h: No such
> file or directory
> >  #include 
> >   ^~
> 
> 
> The patch is trivial. Replace all  with .
> 
> config.h was already deprecated, and is now removed in octave 4.4.0.

Yes, but then you get many numerical test failures, which are not trivial at
all to fix…

-- 
⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁  Debian Developer
⢿⡄⠘⠷⠚⠋⠀  http://sebastien.villemot.name
⠈⠳⣄  http://www.debian.org


signature.asc
Description: PGP signature


Bug#902198: octave-odepkg FTBFS with octave 4.4.0

2018-06-28 Thread Drew Parsons
On Sat, 23 Jun 2018 12:54:19 +0300 Adrian Bunk  wrote:
> ...
> odepkg_octsolver_mebdfdae.cc:42:10: fatal error: config.h: No such
file or directory
>  #include 
>   ^~


The patch is trivial. Replace all  with .

config.h was already deprecated, and is now removed in octave 4.4.0.

Drew



Bug#902198: octave-odepkg FTBFS with octave 4.4.0

2018-06-23 Thread Adrian Bunk
Source: octave-odepkg
Version: 0.8.5-5
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/package.php?p=octave-odepkg=sid

...
/usr/bin/mkoctfile --verbose -c odepkg_octsolver_mebdfdae.cc -o 
odepkg_octsolver_mebdfdae.o
g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-I/usr/include/octave-4.4.0/octave/.. -I/usr/include/octave-4.4.0/octave  
-pthread -fopenmp -g -O2 -fdebug-prefix-map=/<>=. 
-fstack-protector-strong -Wformat -Werror=format-security
odepkg_octsolver_mebdfdae.cc -o odepkg_octsolver_mebdfdae.o
odepkg_octsolver_mebdfdae.cc:42:10: fatal error: config.h: No such file or 
directory
 #include 
  ^~
compilation terminated.
make[1]: *** [Makefile:53: odepkg_octsolver_mebdfdae.o] Error 1