Control: tags -1 + confirmed upstream
* Sebastian Ramacher <[email protected]> [2026-03-05 08:45]:
Source: octave-instrument-control
Version: 0.10.0-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: [email protected], [email protected]
User: [email protected]
Usertags: s390x
Dear maintainer,
octave-instrument-control FTBFS on s390x:
[inst/instrhwinfo.m]
>>>>> /build/reproducible-path/octave-instrument-control-0.10.0/inst/instrhwinfo.m
***** test
a = instrhwinfo();
assert(! isempty (a))
***** xtest
# could fail if no serial ports?
assert(!isempty(instrhwinfo("serial")))
!!!!! known failure
assert (!isempty (instrhwinfo ("serial"))) failed
***** error instrhwinfo("serial", "2ndarg")
***** xtest
# could fail if no i2c ports or not configured
assert(!isempty(instrhwinfo("i2c")))
!!!!! known failure
assert (!isempty (instrhwinfo ("i2c"))) failed
***** xtest
p = pkg('describe', 'instrument-control');
hw = instrhwinfo ();
assert (hw.ToolboxVersion, p{1}.version)
!!!!! known failure
structure has no member 'version'
5 tests, 2 passed, 3 known failures, 0 skipped
See
https://buildd.debian.org/status/fetch.php?pkg=octave-instrument-control&arch=s390x&ver=0.10.0-1&stamp=1772657383&raw=0
for details.
Thank you for the bug report. The actual failure happens here:
[inst/writebinblock.m]
>>>>>
/build/reproducible-path/octave-instrument-control-0.10.0/inst/writebinblock.m
***** error writebinblock
***** error writebinblock (1)
***** test
# old classes
a = udp ();
a.remoteport = a.localport;
a.remotehost = '127.0.0.1';
a.timeout = 1;
writebinblock(a, "hello", "char");
x = read(a);
assert(char(x), "#15hello\n");
writebinblock(a, "hello", "uint16");
x = read(a);
assert(char(x), "#210h\0e\0l\0l\0o\0\n");
clear a
!!!!! test failed
ASSERT errors for: assert (char (x),"#210h\0e\0l\0l\0o\0\n")
Location | Observed | Expected | Reason
[] '#210hello
' '#210hello
' Strings don't match
The problem seems to be related to endianness. I am investigating this
right now.
Best,
Rafael Laboissière