Your message dated Thu, 19 Nov 2026 21:34:27 +0000
with message-id <[email protected]>
and subject line Bug#1136873: fixed in siconos 4.4.0+dfsg-7
has caused the Debian Bug report #1136873,
regarding siconos: FTBFS: E ValueError: setting an array element with a
sequence.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1136873: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1136873
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:siconos
Version: 4.4.0+dfsg-6
Severity: serious
Tags: ftbfs forky sid
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/202605/
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:siconos, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --with numpy3 --no-parallel
--builddirectory=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
dh_auto_clean -O--no-parallel
-O--builddirectory=/<<BUILDDIR>>/siconos-4.4.0\+dfsg/obj-x86_64-linux-gnu
dh_autoreconf_clean -O--no-parallel
-O--builddirectory=/<<BUILDDIR>>/siconos-4.4.0\+dfsg/obj-x86_64-linux-gnu
dh_clean -O--no-parallel
-O--builddirectory=/<<BUILDDIR>>/siconos-4.4.0\+dfsg/obj-x86_64-linux-gnu
rm -f debian/debhelper-build-stamp
rm -rf debian/.debhelper/
rm -f -- debian/siconos.substvars
debian/siconos-mechanics-tools.substvars debian/libsiconos-numerics7.substvars
debian/libsiconos-numerics-dev.substvars debian/libsiconos-kernel7.substvars
debian/libsiconos-kernel-dev.substvars debian/libsiconos-control7.substvars
debian/libsiconos-control-dev.substvars debian/libsiconos-mechanics7.substvars
debian/libsiconos-mechanics-dev.substvars debian/libsiconos-io7.substvars
debian/libsiconos-io-dev.substvars debian/python3-siconos.substvars debian/files
rm -fr -- debian/siconos/ debian/tmp/ debian/siconos-mechanics-tools/
debian/libsiconos-numerics7/ debian/libsiconos-numerics-dev/
debian/libsiconos-kernel7/ debian/libsiconos-kernel-dev/
debian/libsiconos-control7/ debian/libsiconos-control-dev/
debian/libsiconos-mechanics7/ debian/libsiconos-mechanics-dev/
debian/libsiconos-io7/ debian/libsiconos-io-dev/ debian/python3-siconos/
find . \( \( \
\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path
.\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o
-type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
[... snipped ...]
nslaw = sk.NewtonImpactNSL(e)
nslaw_d = sk.NewtonImpactNSL(e)
relation = sk.LagrangianLinearTIR(H)
relation_d = sk.LagrangianLinearTIR(H)
inter = sk.Interaction(nslaw, relation)
inter_d = sk.Interaction(nslaw_d, relation_d)
#
# NSDS
#
bouncing_ball = sk.NonSmoothDynamicalSystem(t0, T)
bouncing_ball_d = sk.NonSmoothDynamicalSystem(t0, T)
# add the dynamical system to the non smooth dynamical system
bouncing_ball.insertDynamicalSystem(ball)
bouncing_ball_d.insertDynamicalSystem(ball_d)
# link the interaction and the dynamical system
bouncing_ball.link(inter, ball)
bouncing_ball_d.link(inter_d, ball_d)
#
# Simulation
#
# (1) OneStepIntegrators
OSI = sk.MoreauJeanOSI(theta)
OSI_d = sk.MoreauJeanOSI(theta)
# (2) Time discretisation --
t = sk.TimeDiscretisation(t0, h)
t_d = sk.TimeDiscretisation(t0, h)
# (3) one step non smooth problem
osnspb = sk.LCP()
osnspb_d = sk.LCP()
# (4) Simulation setup with (1) (2) (3)
s = sk.TimeStepping(bouncing_ball,t, OSI, osnspb)
s_d = sk.TimeStepping(bouncing_ball_d,t_d, OSI_d, osnspb_d)
# end of model definition
#
# computation
#
# the number of time steps
nb_time_steps = int((T - t0) / h + 1)
# Get the values to be plotted
# ->saved in a matrix data
s_d.computeOneStep()
data = np.empty((nb_time_steps + 1, 5))
data_d = np.empty((nb_time_steps + 1, 5))
data[0, 0] = t0
data[0, 1] = ball.q()[0]
data[0, 2] = ball.velocity()[0]
data[0, 3] = ball.p(1)[0]
> data[0, 4] = inter.lambda_(1)
^^^^^^^^^^
E ValueError: setting an array element with a sequence.
test_bouncing_ball.py:240: ValueError
----------------------------- Captured stdout call -----------------------------
computing FExt at t= 0
computing FExt at t= 0.0
computing FExt at t= 0.005
computing FExt at t= 0.005
computing FExt at t= 0.005
_____________________________ test_bouncing_ball4 ______________________________
TypeError: only 0-dimensional arrays can be converted to Python scalars
The above exception was the direct cause of the following exception:
def test_bouncing_ball4():
"""Run a complete simulation (Bouncing ball example)
LagrangianDS, plugged Fext.
"""
t0 = 0 # start time
r = 0.1 # ball radius
g = 9.81 # gravity
m = 1 # ball mass
#
# dynamical system
#
x = np.zeros(3, dtype=np.float64)
x[0] = 1.
v = np.zeros_like(x)
# mass matrix
mass = np.eye(3, dtype=np.float64)
mass[2, 2] = 3. / 5 * r * r
# the dynamical system
ball = sk.LagrangianLinearTIDS(x, v, mass)
stiffness = np.eye(3, dtype=np.float64)
ball.setKPtr(stiffness)
weight = np.zeros(ball.dimension())
weight[0] = -m * g
#ball.setFExtPtr(weight)
# a ball with its own computeFExt
class Ball(sk.LagrangianLinearTIDS):
def __init__(self,x, v, mass, stiffness):
sk.LagrangianLinearTIDS.__init__(self,x,v,mass)
self.setKPtr(stiffness)
def computeFExt(self, t):
"""External forces operator computation
"""
print("computing FExt at t=", t)
#self._fExt[0] = -m * g
weight = np.zeros(self.dimension())
weight[0] = -m * g
#self.setFExtPtr(weight)
ball_d = Ball(x.copy(), v.copy(), mass, stiffness)
ball_d.computeFExt(t0)
> run_simulation_with_two_ds(ball, ball_d, t0)
test_bouncing_ball.py:438:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ball = <siconos.kernel.LagrangianLinearTIDS; proxy of <Swig Object of type
'std::shared_ptr< LagrangianLinearTIDS > *' at 0x7f4def19b130> >
ball_d = <siconos.tests.test_bouncing_ball.Ball; proxy of <Swig Object of type
'std::shared_ptr< LagrangianLinearTIDS > *' at 0x7f4dee61c3f0> >
t0 = 0
def run_simulation_with_two_ds(ball, ball_d, t0):
T = 5 # end time
h = 0.005 # time step
e = 0.9 # restitution coeficient
theta = 0.5 # theta scheme
# ball-floor
H = np.zeros((1, 3), dtype=np.float64)
H[0, 0] = 1.
nslaw = sk.NewtonImpactNSL(e)
nslaw_d = sk.NewtonImpactNSL(e)
relation = sk.LagrangianLinearTIR(H)
relation_d = sk.LagrangianLinearTIR(H)
inter = sk.Interaction(nslaw, relation)
inter_d = sk.Interaction(nslaw_d, relation_d)
#
# NSDS
#
bouncing_ball = sk.NonSmoothDynamicalSystem(t0, T)
bouncing_ball_d = sk.NonSmoothDynamicalSystem(t0, T)
# add the dynamical system to the non smooth dynamical system
bouncing_ball.insertDynamicalSystem(ball)
bouncing_ball_d.insertDynamicalSystem(ball_d)
# link the interaction and the dynamical system
bouncing_ball.link(inter, ball)
bouncing_ball_d.link(inter_d, ball_d)
#
# Simulation
#
# (1) OneStepIntegrators
OSI = sk.MoreauJeanOSI(theta)
OSI_d = sk.MoreauJeanOSI(theta)
# (2) Time discretisation --
t = sk.TimeDiscretisation(t0, h)
t_d = sk.TimeDiscretisation(t0, h)
# (3) one step non smooth problem
osnspb = sk.LCP()
osnspb_d = sk.LCP()
# (4) Simulation setup with (1) (2) (3)
s = sk.TimeStepping(bouncing_ball,t, OSI, osnspb)
s_d = sk.TimeStepping(bouncing_ball_d,t_d, OSI_d, osnspb_d)
# end of model definition
#
# computation
#
# the number of time steps
nb_time_steps = int((T - t0) / h + 1)
# Get the values to be plotted
# ->saved in a matrix data
s_d.computeOneStep()
data = np.empty((nb_time_steps + 1, 5))
data_d = np.empty((nb_time_steps + 1, 5))
data[0, 0] = t0
data[0, 1] = ball.q()[0]
data[0, 2] = ball.velocity()[0]
data[0, 3] = ball.p(1)[0]
> data[0, 4] = inter.lambda_(1)
^^^^^^^^^^
E ValueError: setting an array element with a sequence.
test_bouncing_ball.py:240: ValueError
----------------------------- Captured stdout call -----------------------------
computing FExt at t= 0
=========================== short test summary info ============================
FAILED test_bouncing_ball.py::test_bouncing_ball2 - ValueError: setting an ar...
FAILED test_bouncing_ball.py::test_bouncing_ball3 - ValueError: setting an ar...
FAILED test_bouncing_ball.py::test_bouncing_ball4 - ValueError: setting an ar...
========================= 3 failed, 1 passed in 0.12s ==========================
Start 79: python_test_diode_bridge
79/93 Test #79: python_test_diode_bridge .................... Passed 0.32
sec
Start 80: python_test_dynamical_systems
80/93 Test #80: python_test_dynamical_systems ............... Passed 0.30
sec
Start 81: python_test_lagrangiands_osi
81/93 Test #81: python_test_lagrangiands_osi ................ Passed 0.57
sec
Start 82: python_test_matrix_exp
82/93 Test #82: python_test_matrix_exp ...................... Passed 0.41
sec
Start 83: python_test_modelingTools
83/93 Test #83: python_test_modelingTools ................... Passed 0.27
sec
Start 84: PIDTest
84/93 Test #84: PIDTest ..................................... Passed 0.03
sec
Start 85: SMCTest
85/93 Test #85: SMCTest ..................................... Passed 0.09
sec
Start 86: ObserverTest
86/93 Test #86: ObserverTest ................................ Passed 0.09
sec
Start 87: TwistingTest
87/93 Test #87: TwistingTest ................................ Passed 0.05
sec
Start 88: python_test_smc
88/93 Test #88: python_test_smc ............................. Passed 0.42
sec
Start 89: MultiBodyTest
89/93 Test #89: MultiBodyTest ............................... Passed 0.02
sec
Start 90: Contact2dTest
90/93 Test #90: Contact2dTest ............................... Passed 0.03
sec
Start 91: BasicTest
91/93 Test #91: BasicTest ................................... Passed 0.00
sec
Start 92: KernelTest
92/93 Test #92: KernelTest .................................. Passed 0.05
sec
Start 93: python_test_serialization
93/93 Test #93: python_test_serialization ................... Passed 0.33
sec
99% tests passed, 1 tests failed out of 93
Total Test time (real) = 7.07 sec
The following tests FAILED:
78 - python_test_bouncing_ball (Failed)
Errors while running CTest
make[2]: *** [Makefile:74: test] Error 8
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
rm -fr -- /tmp/dh-xdg-rundir-P5BuZA9_
dh_auto_test: error: cd obj-x86_64-linux-gnu && make -j1 test ARGS\+=--verbose
ARGS\+=-j1 ARGS="-E
'COLLECTION|collection|python_test_lcp|dr_iso1|ContactTest'" returned exit code
2
make[1]: *** [debian/rules:92: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:54: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
--------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
Source: siconos
Source-Version: 4.4.0+dfsg-7
Done: Nico Della Torre <[email protected]>
We believe that the bug you reported is fixed in the latest version of
siconos, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Nico Della Torre <[email protected]> (supplier of updated siconos 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 19 Nov 2026 20:44:17 +0100
Source: siconos
Architecture: source
Version: 4.4.0+dfsg-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Nico Della Torre <[email protected]>
Closes: 1136873
Changes:
siconos (4.4.0+dfsg-7) unstable; urgency=medium
.
* Team upload.
* Fix the build with NumPy 2.4: use np.isin instead of np.in1d and take
the first element of lambda in test_bouncing_ball. Thanks to Ujjwal
Sarswat (Closes: #1136873).
* Define the Python 2 compatibility macros that SWIG 4.5 no longer
provides, fixing the build of the Python bindings.
* Hide a few container iterator typedefs from SWIG, working around a
SWIG 4.5 segfault (see #1153986).
* d/watch: Move to version 5.
* d/control: Bump Standards-Version to 4.7.4, drop Priority: tag.
* d/control: Drop "Rules-Requires-Root: no": it is the default now.
* d/copyright, d/upstream/metadata: Update the upstream URLs,
gforge.inria.fr is gone.
* d/salsa-ci.yml: Replace the obsolete d/gitlab-ci.yml; skip the test
builds and allow the build to fail, since compiling the SWIG wrappers
exceeds the memory of the Salsa runners.
* d/control: Drop X-Python3-Version, all supported versions are newer.
* d/patches/python3.12.patch: Fix the Last-Update date format.
Checksums-Sha1:
6d92e9c869be86b267314dc63c38b1b4c5032a26 3001 siconos_4.4.0+dfsg-7.dsc
b39dce3ed2ad116ee5d636212466c4fe796be299 42220
siconos_4.4.0+dfsg-7.debian.tar.xz
b61c654f6b3477bd6a413bbf94aa99f6b0e76f2d 28248
siconos_4.4.0+dfsg-7_amd64.buildinfo
Checksums-Sha256:
8bbe435f825cb825759ac08819b8be973a2bf1bbf8a99cc1742a26b788978e2a 3001
siconos_4.4.0+dfsg-7.dsc
830e5619153b01bc6f810c5b229ec3965118f9299ea0af8d9aac8bf94e009548 42220
siconos_4.4.0+dfsg-7.debian.tar.xz
738a0cacd2302df95af5708e05f794c080930ba55828daf77da8a432521be530 28248
siconos_4.4.0+dfsg-7_amd64.buildinfo
Files:
cd01de2caa1d24b8b1d8230e13e58316 3001 science optional siconos_4.4.0+dfsg-7.dsc
fef1f249b92755451dcd524d467b1084 42220 science optional
siconos_4.4.0+dfsg-7.debian.tar.xz
9dbb64cda637709d44d37b3cb3a47666 28248 science optional
siconos_4.4.0+dfsg-7_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQQEVui8HcCwJ++NZqaVSTeH9vGfAwUCav9lsQAKCRCVSTeH9vGf
Azq0AQC3uLT4/zPYbNWA//0ZPkGFn7TAXwxB59fDYzT5Jk+cqAEAuTMfwLd49jow
oz7Ds6sIduGP9q/QK0gWGrvF8alOxA4=
=+QeH
-----END PGP SIGNATURE-----
pgpBP82ZD0av3.pgp
Description: PGP signature
--- End Message ---