#1149021 octave-linear-algebra: autopkgtest regression

#1149021#5
Date:
2026-09-25 23:12:47 UTC
From:
To:
https://tracker.debian.org/pkg/octave-linear-algebra

Migration status for octave-linear-algebra (2.2.4-2 to 2.2.4-3): BLOCKED: Rejected/violates migration policy/introduces a regression
Issues preventing migration:
∙ ∙ Autopkgtest for octave-linear-algebra/2.2.4-3: amd64: Regression ♻ (reference ♻), arm64: Regression ♻ (reference ♻), armhf: Regression ♻ (reference ♻), i386: Regression ♻ (reference ♻), ppc64el: Regression ♻ (reference ♻), riscv64: Regression ♻ (reference ♻)

...
 98s >>>>> /tmp/autopkgtest.HOS7ki/build.get/src/inst/funm.m
 98s ***** function b = fsin (a)
 98s   b = sin (a);
 98s ***** endfunction
 98s ***** test
 98s  mtx = randn (100);
 98s  assert (funm (mtx, "fsin"), thfm (mtx, "sin"), 1e-9)
 98s !!!!! test failed
 98s fsin: function called with too many inputs
 98s 1 test, 0 passed, 0 known failure, 0 skipped
...
 99s autopkgtest [23:10:48]: @@@@@@@@@@@@@@@@@@@@ summary
 99s command1             FAIL non-zero exit status 1



This is due to 2.2.4-3 no longer shipping
/usr/share/octave/packages/linear-algebra-2.2.4/funm.m

#1149021#10
Date:
2026-09-26 18:06:33 UTC
From:
To:
* Adrian Bunk <bunk@debian.org> [2026-09-26 02:12]:

The removal of funm.m is intentional. According to the funm documentation:

     Note that a much improved funm.m function has been implemented in Octave
     11.1.0, so funm.m will be removed from the linear-algebra package if that
     is installed in Octave 11+.

At package build time, the tests in funm.m are bypassed by setting the DH_OCTAVE_EXCLUDE_TEST environment variable in debian/rules. This variable is used by the dh_octave_check command, which in turn is used by autodep8/autopktest.

However, autopkgtest ignores this environment variable. Therefore, dh-octave must implement an alternative mechanism for excluding unit tests. I am hereby reassigning this bug report to dh-octave.

Thanks,

Rafael Laboissière

#1149021#27
Date:
2026-09-27 05:53:30 UTC
From:
To:
* Rafael Laboissière <rafael@debian.org> [2026-09-26 20:06]:

I had completely forgotten that dh_octave_check already has a mechanism for setting the DH_OCTAVE_EXCLUDE_TEST environment variable at both package building and autopkgtest execution times, via the debian/checkvars file. I am hereby reverting the bug assignment I made yesterday and I will soon upload a fixed version of the octave-linear-algebra package.

Sorry for the noise.

Best,

Rafael Laboissière

#1149021#40
Date:
2026-09-27 06:01:56 UTC
From:
To:
Hello,

Bug #1149021 in octave-linear-algebra reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/octave-team/octave-linear-algebra/-/commit/840fc49aa9a6c0b2dc57eb77e6748ad330a49a2b
------------------------------------------------------------------------
Use d/checkvars instead of setting DH_OCTAVE_EXCLUDE_TEST in d/rules

Closes: #1149021

Thanks: Adrian Bunk <bunk@debian.org> for detecting the issue
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1149021

#1149021#47
Date:
2026-09-27 06:19:02 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
octave-linear-algebra, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1149021@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rafael Laboissière <rafael@debian.org> (supplier of updated octave-linear-algebra package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 27 Sep 2026 05:51:51 +0000
Source: octave-linear-algebra
Architecture: source
Version: 2.2.4-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Octave Group <team+octave-team@tracker.debian.org>
Changed-By: Rafael Laboissière <rafael@debian.org>
Closes: 1149021
Changes:
 octave-linear-algebra (2.2.4-4) unstable; urgency=medium
 .
   * d/control: Improve the format of fields with multiple values.  This
     change complies with the DOG Policy. It will make it easier to
     manipulate fields such as Build-Depends and Uploaders automatically in
     bulk.
   * d/rules: Drop cruft
   * Use d/checkvars instead of setting DH_OCTAVE_EXCLUDE_TEST in d/rules.
     Thanks to Adrian Bunk <bunk@debian.org> for detecting the issue
     (Closes: #1149021)
Checksums-Sha1:
 b611197eb7ba4deddd59cea0689faaa72b4a1379 2362 octave-linear-algebra_2.2.4-4.dsc
 cd7882f4f125a3ac8ba964fd560de3e53732b39c 7300 octave-linear-algebra_2.2.4-4.debian.tar.xz
Checksums-Sha256:
 d9931a084b481e4ce519fb651a872d2149d17d817928e21d4d71b24ebffb6580 2362 octave-linear-algebra_2.2.4-4.dsc
 ed648d34402d57c453ed0e5cd872a405d604b210f817c72361fd5800f4b15073 7300 octave-linear-algebra_2.2.4-4.debian.tar.xz
Files:
 79bad5b33cbddd684c6342708fe0fe9f 2362 math optional octave-linear-algebra_2.2.4-4.dsc
 fe13570ff8177f22a09a435ba5c81fcf 7300 math optional octave-linear-algebra_2.2.4-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEP0ZDkUmP6HS9tdmPISSqGYN4XJAFAmq4sUsSHHJhZmFlbEBk
ZWJpYW4ub3JnAAoJECEkqhmDeFyQ9a8P/R4Gv6ZZvs6NPFN/Wrtala4CV+rZMxCD
O3htNIWaGvwIm1jssbbyGqTl24cvvT7HfCobJLhXjrSIcgjUA9WtT0RBO9umZCA7
M3hCL/TJ3eWjk1SKmYK6BTwMyQadJKc+rvsx4WQMZvPaL2U3iNR9wDMnmhCvXhhG
rA69Py+3AezkTbMxQ8XHPtqpwKH+tkrRmixgKSGqyis88Tdky2BFn8v+MVCMuuCl
b9cFQzlfj5Fo+VGAdoRIic2YAXl5OvazUrVHWXAUtbX7LlQohn0A8yxqrIMLqwVN
oXMTE5dHWyWbxwEPvP9cBPl61vs9EJsaWY6DTO4hXvXr7dhAw8L9CDqTzGbQ9ElR
ElgPXYNVu9xKGGu48vixnhUlkUdoNuy71mpXWDm99TIGtqNY/pm0ah1bepqCjMp1
HqBZF+NqpMoyAqHCZGnao8BSG7YbgkRkuh+TKXPmT+T7XIqhbJ6wgkE5jxoEFms8
xoqdxIAgISE1plK+vkssfyOCud3+/nkydBDl/f/NGd7s+huTq4o09Q7oFdufmRZn
dqbsw/SiGqxBhtoz3BFx4yTmMN2jqAUWQLPL8T24I1oHaalCGNlaJMBSxXABWPcu
MB/u226rn6tw6ir4AMAv+88fjkBoIJ3yZI5dQJdJneRelK6RJnB4Mu1oFWVYdkAb
chN9BJSwcxwp
=egI3
-----END PGP SIGNATURE-----