Your message dated Wed, 04 Oct 2023 06:07:14 +0000
with message-id <[email protected]>
and subject line Bug#1051848: fixed in mrpt 1:2.10.1+ds-3
has caused the Debian Bug report #1051848,
regarding mrpt: FTBFS on riscv64 due to test failed
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.)
--
1051848: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1051848
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: mrpt
Version: 1:2.10.0+ds-3
Severity: important
Tags: patch ftbfs
User: [email protected]
Usertags: riscv64
X-Debbugs-Cc: [email protected]
Dear Maintainer,
mrpt fails to build from source on riscv64 due to:
```
make[5]: Leaving directory '/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu'
make -f tests/CMakeFiles/test_mrpt_ros1bridge.dir/build.make
tests/CMakeFiles/test_mrpt_ros1bridge.dir/build
Dependencies file
"tests/CMakeFiles/test_mrpt_slam.dir/__/libs/slam/src/slam/CICP_unittest.cpp.o.d"
is newer than depends file
"/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/tests/CMakeFiles/test_mrpt_slam.dir/compiler_depend.internal".
[ 90%] Built target test_mrpt_maps
unknown file: Failure
C++ exception with description "==== MRPT exception ====
Message: Assert condition failed: m_eglContext != EGL_NO_CONTEXT
Location: ./libs/opengl/src/CFBORender.cpp:177:
[mrpt::opengl::CFBORender::CFBORender(const Parameters&)
Call stack backtrace:
[0 ] (unknown file)
mrpt::opengl::CFBORender::CFBORender(mrpt::opengl::CFBORender::Parameters
const&)
[1 ] 0x2ab26bf540
[2 ] (unknown file) void
testing::internal::HandleExceptionsInMethodIfSupported<testing::Test,
void>(testing::Test*, void (testing::Test::*)(), char const*)
[3 ] 0x2ab26e24de
[4 ] 0x2ab26e2608
[5 ] 0x2ab26e2812
[6 ] (unknown file) testing::internal::UnitTestImpl::RunAllTests()
[7 ] (unknown file) bool
testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,
bool>(testing::internal::UnitTestImpl*, bool
(testing::internal::UnitTestImpl::*)(), char const*)
[8 ] 0x2ab26e28cc
[9 ] (unknown file) main
[10] 0x3fbcc731d4
[11] (unknown file) __libc_start_main
[12] 0x2ab26bdd00
" thrown in the test body.
[ FAILED ] OpenGL.CFBORender_camera_intrinsics (1242 ms)
[ RUN ] OpenGL.CFBORender_camera_fov
make -f tests/CMakeFiles/run_tests_mrpt_topography.dir/build.make
tests/CMakeFiles/run_tests_mrpt_topography.dir/depend
Dependencies file
"tests/CMakeFiles/test_mrpt_slam.dir/__/libs/slam/src/slam/CIncrementalMapPartitioner_unittest.cpp.o.d"
is newer than depends file
"/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/tests/CMakeFiles/test_mrpt_slam.dir/compiler_depend.internal".
Dependencies file
"tests/CMakeFiles/test_mrpt_slam.dir/__/libs/slam/src/slam/CMonteCarloLocalization2D_unittest.cpp.o.d"
is newer than depends file
"/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/tests/CMakeFiles/test_mrpt_slam.dir/compiler_depend.internal".
unknown file: Failure
C++ exception with description "==== MRPT exception ====
Message: Assert condition failed: m_eglContext != EGL_NO_CONTEXT
Location: ./libs/opengl/src/CFBORender.cpp:177:
[mrpt::opengl::CFBORender::CFBORender(const Parameters&)
Call stack backtrace:
[0 ] (unknown file)
mrpt::opengl::CFBORender::CFBORender(mrpt::opengl::CFBORender::Parameters
const&)
[1 ] 0x2ab26bf540
[2 ] (unknown file) void
testing::internal::HandleExceptionsInMethodIfSupported<testing::Test,
void>(testing::Test*, void (testing::Test::*)(), char const*)
[3 ] 0x2ab26e24de
[4 ] 0x2ab26e2608
[5 ] 0x2ab26e2812
[6 ] (unknown file) testing::internal::UnitTestImpl::RunAllTests()
[7 ] (unknown file) bool
testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,
bool>(testing::internal::UnitTestImpl*, bool
(testing::internal::UnitTestImpl::*)(), char const*)
[8 ] 0x2ab26e28cc
[9 ] (unknown file) main
[10] 0x3fbcc731d4
[11] (unknown file) __libc_start_main
[12] 0x2ab26bdd00
" thrown in the test body.
[ FAILED ] OpenGL.CFBORender_camera_fov (12 ms)
...
```
I reproduce the opengl instance on my local Unmatched and it got
```
Failed to create EGL context. Error code: 12291
```
It seems the opengl has issue to be supported on riscv64. I have
reported the issue to mrpt upstream:
https://github.com/MRPT/mrpt/issues/1287
The patch is simple to skip these test on riscv given hat there is not a
good solution.
Could you apply it on next upload?
--
Regards,
--
Bo YU
diff -Nru mrpt-2.10.0+ds/debian/changelog mrpt-2.10.0+ds/debian/changelog
--- mrpt-2.10.0+ds/debian/changelog 2023-07-18 17:49:00.000000000 +0000
+++ mrpt-2.10.0+ds/debian/changelog 2023-09-13 04:25:30.000000000 +0000
@@ -1,3 +1,10 @@
+mrpt (1:2.10.0+ds-3.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Skip CFBORender tests on riscv. (Closes: #-1)
+
+ -- Bo YU <[email protected]> Wed, 13 Sep 2023 04:25:30 +0000
+
mrpt (1:2.10.0+ds-3) unstable; urgency=medium
* Add a patch to fix FTBFS if bfd is present but iberty-dev is not
diff -Nru mrpt-2.10.0+ds/debian/patches/disable-CFBORender-on-riscv.patch
mrpt-2.10.0+ds/debian/patches/disable-CFBORender-on-riscv.patch
--- mrpt-2.10.0+ds/debian/patches/disable-CFBORender-on-riscv.patch
1970-01-01 00:00:00.000000000 +0000
+++ mrpt-2.10.0+ds/debian/patches/disable-CFBORender-on-riscv.patch
2023-09-13 04:25:18.000000000 +0000
@@ -0,0 +1,21 @@
+Description: skip CFBORender test on riscv
+Author: Bo YU <[email protected]>
+Bug: https://github.com/MRPT/mrpt/issues/1287
+Bug-<Vendor>: <URL to the vendor bug report if any, optional>
+Last-Update: 2023-09-13
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/libs/opengl/src/CFBORender_unittest.cpp
++++ b/libs/opengl/src/CFBORender_unittest.cpp
+@@ -42,6 +42,11 @@
+ #if defined(__arm__) && MRPT_WORD_SIZE == 32
+ #undef RUN_OFFSCREEN_RENDER_TESTS
+ #endif
++// In RISCV, these tests crash in autobuilders, skip them:
++// see: https://github.com/MRPT/mrpt/issues/1287
++#if defined(__riscv)
++#undef RUN_OFFSCREEN_RENDER_TESTS
++#endif
+
+ static float imageDiff(
+ const mrpt::img::CImage& im1, const mrpt::img::CImage& im2)
diff -Nru mrpt-2.10.0+ds/debian/patches/series
mrpt-2.10.0+ds/debian/patches/series
--- mrpt-2.10.0+ds/debian/patches/series 2023-07-18 17:49:00.000000000
+0000
+++ mrpt-2.10.0+ds/debian/patches/series 2023-09-13 04:20:15.000000000
+0000
@@ -1,2 +1,3 @@
fix-no-iberty-dev.diff
no-lto-option.diff
+disable-CFBORender-on-riscv.patch
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: mrpt
Source-Version: 1:2.10.1+ds-3
Done: Jose Luis Blanco Claraco <[email protected]>
We believe that the bug you reported is fixed in the latest version of
mrpt, 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.
Jose Luis Blanco Claraco <[email protected]> (supplier of updated mrpt
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: Sun, 01 Oct 2023 23:43:53 +0200
Source: mrpt
Architecture: source
Version: 1:2.10.1+ds-3
Distribution: unstable
Urgency: medium
Maintainer: Jose Luis Blanco Claraco <[email protected]>
Changed-By: Jose Luis Blanco Claraco <[email protected]>
Closes: 1051848
Changes:
mrpt (1:2.10.1+ds-3) unstable; urgency=medium
.
* Skip CFBORender tests on riscv. (Closes: #1051848)
* d/rules: Fix tests not being invoked.
Checksums-Sha1:
c6d512e6c285c80fc07e36c1f33928115f5fe3a2 8006 mrpt_2.10.1+ds-3.dsc
eed0679d4a8c303ee56b9cc74b060952b98087a3 32244 mrpt_2.10.1+ds-3.debian.tar.xz
17e875ac410c8eecb774b68a77676258d336e8b3 10422
mrpt_2.10.1+ds-3_source.buildinfo
Checksums-Sha256:
f6a6944dbf58b40a6157776a7377ff2c643c430aba70e31b9199f4c04ddea86d 8006
mrpt_2.10.1+ds-3.dsc
83e5860a50fde4e1981d7dafe810df9c258e4494ae4afa1c9b44ff78f4cc9c3b 32244
mrpt_2.10.1+ds-3.debian.tar.xz
0a3f2145c2ce09d4468dcbd1e43a0c64ddaaafff521b40d97129f86bbd50467d 10422
mrpt_2.10.1+ds-3_source.buildinfo
Files:
2215170972377152bab1d74359225bce 8006 science optional mrpt_2.10.1+ds-3.dsc
de14938db489f8508d48550647fa9481 32244 science optional
mrpt_2.10.1+ds-3.debian.tar.xz
d60ccfeb87e2c65b38b04e97955af0fe 10422 science optional
mrpt_2.10.1+ds-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAmUc/08ACgkQW//cwljm
lDNq1A//T/Wu+CwPr/N6nEcPKg7/tR8bAb+yWaSdFgeElfL4Gcc67N7JevIec3tk
aZMLtw1RoiiLejoRQD1QCAplw4HlzW27s9G3TfgbAn5vFdJRwK86AKjGIksHaS9s
U7O/+f0knwGqSnlhSMyqOObnuA4b7fXIaAqLtzM8h8Z2p9i986HCU5qECFEnD//W
YK6MmGU2OfYJjgEVEFT2kFbTQ2uebop8ATEdbHC5n9ZRUFJdHaVeYIXeYdXlYcn8
QFF65thwQO4XY5iJs8fM9f9k+mfgsNYXK2iVbLEnnJyAVpKAj4FKKI0Af6SCzZJP
ZpGIfYDK+/xGbK1ujqVTIzEvXAXrjCzkEV0MgbD2DYifa7a3LFjBOqeRw/GUcjnD
01jhRJ7OXNxu5lzTmsZKa1KN7bwIbElXxKrO9v2V3o/fMhjDpS7e+wnNC2P8c7KE
QJzqOnyPs5cYbNxUkHZOfr6JDPThXUQ+IS6XocQEx59t/vuv9Z1UmIBof69tumuO
V/r4CM8EAYHyiuf8jMFcRUoRKOTEqVycpmlh1ueIbVBpgtLMeB6UpTH7wRNyGKwl
tW70Wd2wO5E8sFL0wE7BL0esid+nUWlnFdpWDkLvaa7UUimPD3FOASjbxncej9w8
bzqN/OM6tEO0ePFnmvM1rTNuGxl3d6og4LD2e9e1C4QWg5QtFxA=
=1cN6
-----END PGP SIGNATURE-----
--- End Message ---