Your message dated Fri, 24 Jul 2026 16:55:16 +0200
with message-id <amN81O-1K0LimOe3@nuc>
and subject line Re: Bug#1136918: gtsam: FTBFS: TypeError:
setInlierCostThresholds(): incompatible function arguments.
has caused the Debian Bug report #1136918,
regarding gtsam: FTBFS: TypeError: setInlierCostThresholds(): incompatible
function arguments.
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.)
--
1136918: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1136918
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:gtsam
Version: 4.2.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:gtsam, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=cmake
dh_auto_clean -O--buildsystem=cmake
dh_autoreconf_clean -O--buildsystem=cmake
dh_clean -O--buildsystem=cmake
debian/rules binary
dh binary --buildsystem=cmake
dh_update_autotools_config -O--buildsystem=cmake
dh_autoreconf -O--buildsystem=cmake
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DGTSAM_BUILD_WITH_MARCH_NATIVE=OFF \
-DGTSAM_BUILD_TYPE_POSTFIXES=OFF \
[... snipped ...]
test_evaluate
(test_HybridFactorGraph.TestHybridGaussianFactorGraph.test_evaluate)
Test evaluate with two different prior noise models. ... ok
test_optimize
(test_HybridFactorGraph.TestHybridGaussianFactorGraph.test_optimize)
Test construction of hybrid factor graph. ... ok
test_ratio (test_HybridFactorGraph.TestHybridGaussianFactorGraph.test_ratio)
Given a tiny two variable hybrid model, with 2 measurements, test the ... ok
test_tiny (test_HybridFactorGraph.TestHybridGaussianFactorGraph.test_tiny)
Test a tiny two variable hybrid model. ... ok
test_nonlinear_hybrid
(test_HybridNonlinearFactorGraph.TestHybridGaussianFactorGraph.test_nonlinear_hybrid)
... ok
test_basic (test_HybridValues.TestHybridValues.test_basic)
Test construction and basic methods of hybrid values. ... ok
test_eliminate (test_JacobianFactor.TestJacobianFactor.test_eliminate) ... ok
test_KalmanFilter (test_KalmanFilter.TestKalmanFilter.test_KalmanFilter)
Kalman Filter Definitions: ... ok
test_factor (test_KarcherMeanFactor.TestKarcherMean.test_factor)
Check that the InnerConstraint factor leaves the mean unchanged. ... ok
test_find (test_KarcherMeanFactor.TestKarcherMean.test_find) ... ok
test_find_karcher_mean_identity
(test_KarcherMeanFactor.TestKarcherMean.test_find_karcher_mean_identity)
Averaging 3 identity rotations should yield the identity. ... ok
test_LocalizationExample
(test_LocalizationExample.TestLocalizationExample.test_LocalizationExample) ...
ok
test_dogleg (test_NonlinearOptimizer.TestScenario.test_dogleg) ... ok
test_gauss_newton (test_NonlinearOptimizer.TestScenario.test_gauss_newton) ...
ok
test_gnc_params (test_NonlinearOptimizer.TestScenario.test_gnc_params) ...
setMaxIterations: changing the max nr of iters might lead to less accurate
solutions and is not recommended!
setMaxIterations: changing the max nr of iters might lead to less accurate
solutions and is not recommended!
setMaxIterations: changing the max nr of iters might lead to less accurate
solutions and is not recommended!
ERROR
test_graduated_non_convexity
(test_NonlinearOptimizer.TestScenario.test_graduated_non_convexity) ... ok
test_iteration_hook (test_NonlinearOptimizer.TestScenario.test_iteration_hook)
... ok
test_levenberg_marquardt
(test_NonlinearOptimizer.TestScenario.test_levenberg_marquardt) ... ok
test_levenberg_marquardt_pcg
(test_NonlinearOptimizer.TestScenario.test_levenberg_marquardt_pcg) ... ok
test_OdometryExample
(test_OdometryExample.TestOdometryExample.test_OdometryExample) ... ok
test_jacobian (test_PinholeCamera.TestPinholeCamera.test_jacobian) ... ok
test_PlanarSLAM (test_PlanarSLAMExample.TestPlanarSLAM.test_PlanarSLAM) ... ok
test_constructors (test_Point2.TestPoint2.test_constructors)
Test constructors from doubles and vectors. ... ok
test_constructors (test_Point3.TestPoint3.test_constructors)
Test constructors from doubles and vectors. ... ok
test_adjoint (test_Pose2.TestPose2.test_adjoint)
Test adjoint method. ... ok
test_align (test_Pose2.TestPose2.test_align)
Ensure estimation of the Pose2 element to align two 2d point clouds succeeds.
... ok
test_transformFrom (test_Pose2.TestPose2.test_transformFrom)
Test transformFrom method. ... ok
test_transformTo (test_Pose2.TestPose2.test_transformTo)
Test transformTo method. ... ok
test_Pose2SLAMExample
(test_Pose2SLAMExample.TestPose2SLAMExample.test_Pose2SLAMExample) ... ok
test_adjoint (test_Pose3.TestPose3.test_adjoint)
Test adjoint methods. ... ok
test_align_squares (test_Pose3.TestPose3.test_align_squares)
Test if Align method can align 2 squares. ... ok
test_between (test_Pose3.TestPose3.test_between)
Test between method. ... ok
test_inverse (test_Pose3.TestPose3.test_inverse)
Test between method. ... ok
test_range (test_Pose3.TestPose3.test_range)
Test range method. ... ok
test_serialization (test_Pose3.TestPose3.test_serialization)
Test if serialization is working normally ... ok
test_slerp (test_Pose3.TestPose3.test_slerp)
Test slerp method. ... ok
test_transformFrom (test_Pose3.TestPose3.test_transformFrom)
Test transformFrom method. ... ok
test_transformTo (test_Pose3.TestPose3.test_transformTo)
Test transformTo method. ... ok
test_Pose3SLAMExample
(test_Pose3SLAMExample.TestPose3SLAMExample.test_Pose3SLAMExample) ... ok
test_AddPrior (test_PriorFactor.TestPriorFactor.test_AddPrior)
Test adding prior factors directly to factor graph via the .addPrior method.
... ok
test_PriorFactor (test_PriorFactor.TestPriorFactor.test_PriorFactor) ... ok
test_axis_angle_stress_test (test_Rot3.TestRot3.test_axis_angle_stress_test)
Test that .axisAngle() yields angles less than 180 degrees for specific inputs.
... ok
test_axisangle (test_Rot3.TestRot3.test_axisangle)
Test .axisAngle() method. ... ok
test_rotate (test_Rot3.TestRot3.test_rotate)
Test that rotate() works for both Point3 and Unit3. ... ok
test_unrotate (test_Rot3.TestRot3.test_unrotate)
Test that unrotate() after rotate() yields original Point3/Unit3. ... ok
test_SFMExample (test_SFMExample.TestSFMExample.test_SFMExample) ... ok
test_compose (test_SO4.TestSO4.test_compose)
Check compose works in subgroup. ... ok
test_constructor (test_SO4.TestSO4.test_constructor)
Construct from matrix. ... ok
test_local (test_SO4.TestSO4.test_local)
Check localCoordinates for trivial case. ... ok
test_retract (test_SO4.TestSO4.test_retract)
Test retraction to manifold. ... ok
test_vec (test_SO4.TestSO4.test_vec)
Check wrapping of vec. ... ok
test_compose (test_SOn.TestSO4.test_compose)
Check compose works in subgroup. ... ok
test_constructor (test_SOn.TestSO4.test_constructor)
Construct from matrix. ... ok
test_local (test_SOn.TestSO4.test_local)
Check localCoordinates for trivial case. ... ok
test_retract (test_SOn.TestSO4.test_retract)
Test retraction to manifold. ... ok
test_vec (test_SOn.TestSO4.test_vec)
Check wrapping of vec. ... ok
test_loop (test_Scenario.TestScenario.test_loop) ... ok
test_Balbianello (test_SfmData.TestSfmData.test_Balbianello)
Check that we can successfully read a bundler file and create a ... ok
test_data (test_SfmData.TestSfmData.test_data)
Test functions in SfmData ... ok
test_tracks (test_SfmData.TestSfmData.test_tracks)
Test functions in SfmTrack ... ok
test_PriorWeights (test_ShonanAveraging.TestShonanAveraging.test_PriorWeights)
... ok
test_buildGraphAt (test_ShonanAveraging.TestShonanAveraging.test_buildGraphAt)
... ok
test_checkConstructor
(test_ShonanAveraging.TestShonanAveraging.test_checkConstructor) ... ok
test_checkOptimality
(test_ShonanAveraging.TestShonanAveraging.test_checkOptimality) ... ok
test_constructorBetweenFactorPose2s
(test_ShonanAveraging.TestShonanAveraging.test_constructorBetweenFactorPose2s)
Check if ShonanAveraging2 constructor works when not initialized from g2o file.
... ok
test_initializeWithDescent
(test_ShonanAveraging.TestShonanAveraging.test_initializeWithDescent) ... ok
test_run (test_ShonanAveraging.TestShonanAveraging.test_run) ... ok
test_runKlausKarcher
(test_ShonanAveraging.TestShonanAveraging.test_runKlausKarcher) ... ok
test_tryOptimizingAt3
(test_ShonanAveraging.TestShonanAveraging.test_tryOptimizingAt3) ... ok
test_tryOptimizingAt4
(test_ShonanAveraging.TestShonanAveraging.test_tryOptimizingAt4) ... ok
test_align_poses_along_straight_line
(test_Sim2.TestSim2.test_align_poses_along_straight_line)
Test Align Pose2Pairs method. ... ok
test_align_poses_along_straight_line_gauge
(test_Sim2.TestSim2.test_align_poses_along_straight_line_gauge)
Test if Align Pose3Pairs method can account for gauge ambiguity. ... ok
test_align_poses_scaled_squares
(test_Sim2.TestSim2.test_align_poses_scaled_squares)
Test if Align Pose2Pairs method can account for gauge ambiguity. ... ok
test_constructor (test_Sim2.TestSim2.test_constructor)
Sim(2) to perform p_b = bSa * p_a ... ok
test_is_eq (test_Sim2.TestSim2.test_is_eq)
Ensure object equality works properly (are equal). ... ok
test_not_eq_rotation (test_Sim2.TestSim2.test_not_eq_rotation)
Ensure object equality works properly (not equal rotation). ... ok
test_not_eq_scale (test_Sim2.TestSim2.test_not_eq_scale)
Ensure object equality works properly (not equal scale). ... ok
test_not_eq_translation (test_Sim2.TestSim2.test_not_eq_translation)
Ensure object equality works properly (not equal translation). ... ok
test_rotation (test_Sim2.TestSim2.test_rotation)
Ensure rotation component is returned properly. ... ok
test_scale (test_Sim2.TestSim2.test_scale)
Ensure the scale factor is returned properly. ... ok
test_translation (test_Sim2.TestSim2.test_translation)
Ensure translation component is returned properly. ... ok
test_align_poses_along_straight_line
(test_Sim3.TestSim3.test_align_poses_along_straight_line)
Test Align Pose3Pairs method. ... ok
test_align_poses_along_straight_line_gauge
(test_Sim3.TestSim3.test_align_poses_along_straight_line_gauge)
Test if Align Pose3Pairs method can account for gauge ambiguity. ... ok
test_align_poses_scaled_squares
(test_Sim3.TestSim3.test_align_poses_scaled_squares)
Test if Align Pose3Pairs method can account for gauge ambiguity. ... ok
test_align_via_Sim3_to_poses_skydio32
(test_Sim3.TestSim3.test_align_via_Sim3_to_poses_skydio32)
Ensure scale estimate of Sim(3) object is non-negative. ... ok
test_constructor (test_SimpleCamera.TestSimpleCamera.test_constructor) ... ok
test_level2 (test_SimpleCamera.TestSimpleCamera.test_level2) ... ok
test_StereoVOExample
(test_StereoVOExample.TestStereoVOExample.test_StereoVOExample) ... ok
test_constructor
(test_TranslationRecovery.TestTranslationRecovery.test_constructor)
Construct from binary measurements. ... ok
test_run (test_TranslationRecovery.TestTranslationRecovery.test_run) ... ok
test_TriangulationExample
(test_Triangulation.TestTriangulationExample.test_TriangulationExample)
Tests triangulation with shared Cal3_S2 calibration ... ok
test_distinct_Ks (test_Triangulation.TestTriangulationExample.test_distinct_Ks)
Tests triangulation with individual Cal3_S2 calibrations ... ok
test_distinct_Ks_Bundler
(test_Triangulation.TestTriangulationExample.test_distinct_Ks_Bundler)
Tests triangulation with individual Cal3Bundler calibrations ... ok
test_outliers_and_far_landmarks
(test_Triangulation.TestTriangulationExample.test_outliers_and_far_landmarks)
Check safe triangulation function. ... ok
test_triangulation_robust_three_poses
(test_Triangulation.TestTriangulationExample.test_triangulation_robust_three_poses)
Ensure triangulation with a robust model works. ... ok
test_allPose2s (test_Utilities.TestUtilites.test_allPose2s)
Test allPose2s. ... ok
test_allPose3s (test_Utilities.TestUtilites.test_allPose3s)
Test allPose3s. ... ok
test_createKeyList (test_Utilities.TestUtilites.test_createKeyList)
Test createKeyList. ... ok
test_createKeySet (test_Utilities.TestUtilites.test_createKeySet)
Test createKeySet. ... ok
test_createKeyVector (test_Utilities.TestUtilites.test_createKeyVector)
Test createKeyVector. ... ok
test_extractPoint2 (test_Utilities.TestUtilites.test_extractPoint2)
Test extractPoint2. ... ok
test_extractPoint3 (test_Utilities.TestUtilites.test_extractPoint3)
Test extractPoint3. ... ok
test_extractPose2 (test_Utilities.TestUtilites.test_extractPose2)
Test extractPose2. ... ok
test_extractPose3 (test_Utilities.TestUtilites.test_extractPose3)
Test extractPose3. ... ok
test_insertBackprojections
(test_Utilities.TestUtilites.test_insertBackprojections)
Test insertBackprojections. ... ok
test_insertProjectionFactors
(test_Utilities.TestUtilites.test_insertProjectionFactors)
Test insertProjectionFactors. ... ok
test_localToWorld (test_Utilities.TestUtilites.test_localToWorld)
Test localToWorld. ... ok
test_perturbPoint2 (test_Utilities.TestUtilites.test_perturbPoint2)
Test perturbPoint2. ... ok
test_perturbPoint3 (test_Utilities.TestUtilites.test_perturbPoint3)
Test perturbPoint3. ... ok
test_perturbPose2 (test_Utilities.TestUtilites.test_perturbPose2)
Test perturbPose2. ... ok
test_reprojectionErrors (test_Utilities.TestUtilites.test_reprojectionErrors)
Test reprojectionErrors. ... ok
test_values (test_Values.TestValues.test_values) ... ok
test_VisualISAMExample
(test_VisualISAMExample.TestVisualISAMExample.test_VisualISAMExample)
Test to see if ISAM works as expected for a simple visual SLAM example. ... ok
test_fit_basis_chebyshev1basis
(test_basis.TestBasis.test_fit_basis_chebyshev1basis)
Fit a Chebyshev1 basis. ... ok
test_fit_basis_chebyshev2 (test_basis.TestBasis.test_fit_basis_chebyshev2)
Fit a Chebyshev2 pseudospectral basis. ... ok
test_fit_basis_chebyshev2basis
(test_basis.TestBasis.test_fit_basis_chebyshev2basis)
Fit a Chebyshev2 basis. ... ok
test_fit_basis_fourier (test_basis.TestBasis.test_fit_basis_fourier)
Fit a Fourier basis. ... ok
test_call (test_custom_factor.TestCustomFactor.test_call)
Test if calling the factor works (only error) ... ok
test_jacobian (test_custom_factor.TestCustomFactor.test_jacobian)
Tests if the factor result matches the GTSAM Pose2 unit test ... ok
test_new (test_custom_factor.TestCustomFactor.test_new)
Test the creation of a new CustomFactor ... ok
test_new_keylist (test_custom_factor.TestCustomFactor.test_new_keylist)
Test the creation of a new CustomFactor ... ok
test_no_jacobian (test_custom_factor.TestCustomFactor.test_no_jacobian)
Tests that we will not calculate the Jacobian if not requested ... ok
test_optimization (test_custom_factor.TestCustomFactor.test_optimization)
Tests if a factor graph with a CustomFactor can be properly optimized ... ok
test_printing (test_custom_factor.TestCustomFactor.test_printing)
Tests if the factor result matches the GTSAM Pose2 unit test ... ok
test_parse3Dfactors (test_dataset.TestDataset.test_parse3Dfactors)
Test parsing into data structure. ... ok
test_readG2o3D (test_dataset.TestDataset.test_readG2o3D)
Test reading directly into factor graph. ... ok
test_buildPose3graph (test_initialize_pose3.TestValues.test_buildPose3graph)
... ok
test_initializePoses (test_initialize_pose3.TestValues.test_initializePoses)
... ok
test_orientations (test_initialize_pose3.TestValues.test_orientations) ... ok
test_initialize (test_lago.TestLago.test_initialize)
Smokescreen to ensure LAGO can be imported and run on toy data stored in a g2o
file. ... ok
test_comet (test_logging_optimizer.TestOptimizeComet.test_comet)
Test with a comet hook. ... skipped 'Not a test we want run every time, as
needs comet.ml account'
test_lm_simple_printing
(test_logging_optimizer.TestOptimizeComet.test_lm_simple_printing)
Make sure we are properly terminating LM ... ok
test_simple_printing
(test_logging_optimizer.TestOptimizeComet.test_simple_printing)
Test with a simple hook. ... ok
test_cal3Bundler_roundtrip (test_pickle.TestPickle.test_cal3Bundler_roundtrip)
... ok
test_pinholeCameraCal3Bundler_roundtrip
(test_pickle.TestPickle.test_pinholeCameraCal3Bundler_roundtrip) ... ok
test_pose3_roundtrip (test_pickle.TestPickle.test_pose3_roundtrip) ... ok
test_rot3_roundtrip (test_pickle.TestPickle.test_rot3_roundtrip) ... ok
test_sfmTrack_roundtrip (test_pickle.TestPickle.test_sfmTrack_roundtrip) ... ok
test_unit3_roundtrip (test_pickle.TestPickle.test_unit3_roundtrip) ... ok
test_BearingFactor2D (test_sam.TestSam.test_BearingFactor2D)
Test that `measured` works as expected for BearingFactor2D. ... ok
test_BearingRangeFactor2D (test_sam.TestSam.test_BearingRangeFactor2D)
Test that `measured` works as expected for BearingRangeFactor2D. ... ok
test_BearingRangeFactor3D (test_sam.TestSam.test_BearingRangeFactor3D)
Test that `measured` works as expected for BearingRangeFactor3D. ... ok
test_BearingRangeFactorPose3 (test_sam.TestSam.test_BearingRangeFactorPose3)
Test that `measured` works as expected for BearingRangeFactorPose3. ... ok
test_RangeFactor2D (test_sam.TestSam.test_RangeFactor2D)
Test that `measured` works as expected for RangeFactor2D. ... ok
======================================================================
ERROR: test_gnc_params (test_NonlinearOptimizer.TestScenario.test_gnc_params)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python/gtsam/tests/test_NonlinearOptimizer.py",
line 140, in test_gnc_params
optimizer.setInlierCostThresholds(new_ict)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
TypeError: setInlierCostThresholds(): incompatible function arguments. The
following argument types are supported:
1. (self: gtsam.gtsam.GncLMOptimizer, inth: typing.SupportsFloat) -> None
Invoked with: <gtsam.gtsam.GncLMOptimizer object at 0x7f851cf31430>,
array([4.14465317])
----------------------------------------------------------------------
Ran 215 tests in 0.854s
FAILED (errors=1, skipped=4)
make[5]: *** [python/CMakeFiles/python-test.dir/build.make:133:
python/CMakeFiles/python-test] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[4]: *** [CMakeFiles/Makefile2:30987:
python/CMakeFiles/python-test.dir/all] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:30994:
python/CMakeFiles/python-test.dir/rule] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:249: python/CMakeFiles/python-test.dir/rule] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python'
make[1]: *** [debian/rules:102: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:48: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
--------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
Version: 4.2.2+dfsg-3
On Fri, Jul 24, 2026 at 07:26:05AM -0700, Dima Kogan wrote:
> Hi. Thanks for the report. I just uploaded a new upstream version
> (4.2.2), and I don't see this FTBFS problem:
>
> https://buildd.debian.org/status/package.php?p=gtsam
>
> It MIGHT still be an issue. These kind of failures have popped up
> periodically (and were fixed) in this project earlier. And the same
> things are happening today with the failing 32-bit builds:
>
>
> https://buildd.debian.org/status/fetch.php?pkg=gtsam&arch=armhf&ver=4.2.2%2Bdfsg-3&stamp=1784867632&raw=0
>
>
> https://buildd.debian.org/status/fetch.php?pkg=gtsam&arch=i386&ver=4.2.2%2Bdfsg-3&stamp=1784867950&raw=0
>
> Upstream knows about the 32-bit failures, and hopefully they'll fix them
> (and hopefully other similar things) in a new upstream release. I'd like
> to close THIS bug until we can clearly reproduce it. Sounds reasonable?
The bug I reported was not random, I could reproduce it 100% of the time.
This morning, however, the package builds ok. I don't know if this is due to
some
change that you did, or maybe some build-dependency which is not the same
as before. In either case, yes, it seems fair to me that we close the bug
with the current version (so I'm doing that as above).
[ If you still suspect of some build-dependency, there is the
debbisect tool, but I guess it does not worth the effort ].
Thanks.
--- End Message ---