#1146175 scilab: FTBFS: src/cpp/GetSparseVariable.cpp:114:22: error: invalid conversion from 'mat_int32_t*' {aka 'int*'} to 'mat_uint32_t*' {aka 'unsigned int*'} [-fpermissive]

Package:
src:scilab
Source:
src:scilab
Submitter:
Santiago Vila
Date:
2026-09-01 21:51:01 UTC
Severity:
normal
Tags:
#1146175#5
Date:
2026-08-30 16:15:57 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:scilab, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
mv -f src/cpp/.deps/libscimatio_algo_la-GetCharVariable.Tpo src/cpp/.deps/libscimatio_algo_la-GetCharVariable.Plo
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -std [too-long-redacted] '`src/cpp/GetDoubleVariable.cpp
libtool: compile:  g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../. [too-long-redacted] tio_algo_la-GetDoubleVariable.o
mv -f src/cpp/.deps/libscimatio_algo_la-GetDoubleVariable.Tpo src/cpp/.deps/libscimatio_algo_la-GetDoubleVariable.Plo
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -std [too-long-redacted] '`src/cpp/GetSparseVariable.cpp
libtool: compile:  g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../. [too-long-redacted] tio_algo_la-GetSparseVariable.o
src/cpp/GetSparseVariable.cpp: In function 'matvar_t* GetSparseMatVar(types::Sparse*, const char*)':
src/cpp/GetSparseVariable.cpp:114:22: error: invalid conversion from 'mat_int32_t*' {aka 'int*'} to 'mat_uint32_t*' {aka 'unsigned int*'} [-fpermissive]
  114 |     sparseData->ir = rowIndexes;
      |                      ^~~~~~~~~~
      |                      |
      |                      mat_int32_t* {aka int*}
src/cpp/GetSparseVariable.cpp:117:22: error: invalid conversion from 'mat_int32_t*' {aka 'int*'} to 'mat_uint32_t*' {aka 'unsigned int*'} [-fpermissive]
  117 |     sparseData->jc = colIndexes;
      |                      ^~~~~~~~~~
      |                      |
      |                      mat_int32_t* {aka int*}
make[4]: *** [Makefile:1246: src/cpp/libscimatio_algo_la-GetSparseVariable.lo] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/scilab/modules/matio'
make[3]: *** [Makefile:873: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/scilab/modules'
make[2]: *** [Makefile:1667: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/scilab'
make[1]: *** [debian/rules:54: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:38: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1146175#10
Date:
2026-09-01 21:49:44 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
scilab, 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 1146175@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pierre Gruet <pgt@debian.org> (supplier of updated scilab 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: Tue, 01 Sep 2026 23:28:55 +0200
Source: scilab
Architecture: source
Version: 2024.1.0+dfsg1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Pierre Gruet <pgt@debian.org>
Closes: 1146175
Changes:
 scilab (2024.1.0+dfsg1-4) unstable; urgency=medium
 .
   * Building against libmatio/1.6 (Closes: #1146175)
Checksums-Sha1:
 fa8c5bdf7703f4fee05f20d92a3b142717283bcf 3611 scilab_2024.1.0+dfsg1-4.dsc
 4ddfef301e5a991c0a0392051d020e6600f74ccc 100592 scilab_2024.1.0+dfsg1-4.debian.tar.xz
 1c1e91f36d70fa7fc0914f292a3717566f39431e 21774 scilab_2024.1.0+dfsg1-4_source.buildinfo
Checksums-Sha256:
 8314f3b749ddd4cd99eb96fea4c2f05faf267c7bb7f1cda52172c9b5a9fd802e 3611 scilab_2024.1.0+dfsg1-4.dsc
 c885a09e7208f899717604e1dd86dc9d9243ddc865d01781d2a653949006d114 100592 scilab_2024.1.0+dfsg1-4.debian.tar.xz
 01c416d62d69ad3c720767096eca1a53e6ee87698144e1391e9a14e6fba125af 21774 scilab_2024.1.0+dfsg1-4_source.buildinfo
Files:
 329b4750cfd3f17fceed5d7a6d85c5bb 3611 math optional scilab_2024.1.0+dfsg1-4.dsc
 016e0526c2eefa462501e8ade8df4806 100592 math optional scilab_2024.1.0+dfsg1-4.debian.tar.xz
 eefd256119c6d7226d68181e40d29bf8 21774 math optional scilab_2024.1.0+dfsg1-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEM8soQxPpC9J9y0UjYAMWptwndHYFAmqXQ8IACgkQYAMWptwn
dHbV0A/6Al2SCFavDiazirY6qFxGdQ0Gw/3NfxLMOOYvjWbgA0WAwN2iguAAQ/Uq
0UnzZdNj3AsBkd1NIxsXCOAsEG7c6jubMPrqqPFmGgAjKpjYXA1cOagW5pCqa2ho
VdbMUfJkkEJE3dFe+GFL6bcNp8/w72Yek50S1esFi+TuUHOmfNDtdXwqf3m5XSDT
eo884ptjVUOT127v7zU7T2YIne+JMOjXknpAh+ndVLl0olffYkCBPX1224cqto85
aH1o1kWDhdxL3va+awNUuGn5s4E/EnvXvQqL2vgTganD2zEuVVUXd9/blpAHI7th
HlyVxtLecKa0qROgZ4RMWmq+PDmbmWuj1zTi8MlnSh7uHPnuchOrLB7n84++Anpi
y1CoUFzQImn3IgoN7lOvhx6dz5GLij6ARHf9g0nENxWIdM9OAQudsCqOgbhijHTa
/Zqq5wZBZil1QB/rJjgXc+wndJ9/RmpG4LIGavmCmBKFI9C7/GmnXpnciHLTPeZ3
Ok2MGfOTljqrEDOMQe6P5mPseYL53lm6DKJKgbTUW/UW1MdgCdyFUpAxvAN4qfSL
QS8VjhmrjHid9e7Wk0K+pYLiihplQTRA82ZJfp+6wN1Boze0cP0HGoKASEwP1Dd5
FZV5vWxZ+Wjuj3+AiPv2ULV/dehEhudyWaOKat/D3aUKJEHw+ow=
=k+V4
-----END PGP SIGNATURE-----