Control: reassign -1 src:octave-linear-algebra 2.2.4-3
Control: retitle -1 octave-linear-algebra: Use d/checkvars instead of setting 
DH_OCTAVE_EXCLUDE_TEST in d/rules
Control: affects -1 - src:octave-linear-algebra

* Rafael Laboissière <[email protected]> [2026-09-26 20:06]:

> Control: tags -1 + confirmed
> Control: reassign -1 dh-octave 1.18.0
> Control: retitle -1 dh-octave: No way to set DH_OCTAVE_EXCLUDE_TEST envvar 
> for autopkgtest
> Control: affects -1 src:octave-linear-algebra
>
> * Adrian Bunk <[email protected]> [2026-09-26 02:12]:
>
>> Source: octave-linear-algebra
>> Version: 2.2.4-3
>> Severity: serious
>>
>> 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
>
> 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.

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

Reply via email to