Control: tags -1 + unreproducible moreinfo

* Graham Inggs <gin...@debian.org> [2023-08-19 13:27]:

Source: octave-image
Version: 2.14.0-4
Tags: ftbfs patch

Hi Maintainer

While rebuilding octave-* packages for the octave-abi-58 transition in Ubuntu 23.10, octave-image FTBFS due to missing .oct files. I've copied some of the output below.

Upon investigation, I found the following files were not built:

 bwconncomp.oct
 bwlabeln.oct
 conndef.oct
 imerode.oct
 imreconstruct.oct
 watershed.oct

Instead, the following were:

 connectivity.oct
 strel.oct

I was able to solve it with a simple patch:

 --- a/src/Makefile.in
 +++ b/src/Makefile.in
 @@ -24,10 +24,10 @@
     $(FLAGGED_MKOCTFILE) -c $<

 $(conn_dependent): %.oct: %.cc connectivity.o
 -    $(FLAGGED_MKOCTFILE) $^
 +    $(FLAGGED_MKOCTFILE) $^ -o $@

 $(strel_dependent): %.oct: %.cc strel.o
 -    $(FLAGGED_MKOCTFILE) $^
 +    $(FLAGGED_MKOCTFILE) $^ -o $@

 %.oct: %.cc
     $(FLAGGED_MKOCTFILE) $<

I'm not sure what changed, or when, but I was able to reproduce this failure in the Ubuntu 23.04 release.

Regards

Graham

 !!!!! test failed
 'conndef' undefined near line 48, column 12

 The ’conndef’ function belongs to the image package from Octave Forge
 which seems to not be installed in your system.

Thanks for your bug report, but I am afraid I cannot reproduce this bug on my sid system.

Could you please post the full log for the failing build?

Best,

Rafael Laboissière

Reply via email to