Bug#996278: open3d: autopkgtest needs update for new version of gcc-defaults: output on stderr

Paul Gevers elbrus at debian.org
Tue Oct 12 21:01:18 BST 2021


Source: open3d
Version: 0.9.0+ds-6
Severity: serious
Tags: sid bookworm
User: debian-ci at lists.debian.org
Usertags: needs-update
Control: affects -1 src:gcc-defaults

[X-Debbugs-CC: debian-ci at lists.debian.org, gcc-defaults at packages.debian.org]

Dear maintainer(s),

With a recent upload of gcc-defaults the autopkgtest of open3d fails in
testing on arm64, armhf and ppc64el when that autopkgtest is run with
the binary packages of gcc-defaults from unstable. It passes when run
with only packages from testing. In tabular form:

                       pass            fail
gcc-defaults           from testing    1.194
open3d                 from testing    0.9.0+ds-6
all others             from testing    from testing

I copied some of the output at the bottom of this report. The failure is
due to output on stderr. Output to stderr is by default considered by
autopkgtest as a failure of the test. If you want to have test fail on
output to stderr, please fix the reason of the output. If you don't care
you can add the allow-stderr restriction to have autopkgtest ignore the
output.

Currently this regression is blocking the migration of gcc-defaults to
testing [1]. Of course, gcc-defaults shouldn't just break your
autopkgtest (or even worse, your package), but it seems to me that the
change in gcc-defaults was intended and your package needs to update to
the new situation.

If this is a real problem in your package (and not only in your
autopkgtest), the right binary package(s) from gcc-defaults should
really add a versioned Breaks on the unfixed version of (one of your)
package(s). Note: the Breaks is nice even if the issue is only in the
autopkgtest as it helps the migration software to figure out the right
versions to combine in the tests.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=gcc-defaults

https://ci.debian.net/data/autopkgtest/testing/arm64/o/open3d/15926028/log.gz

autopkgtest [01:10:43]: test test-cpp: [-----------------------
$ cmake .
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found GLEW: /usr/include (found version "2.2.0")
-- Found Open3D:
/usr/lib/aarch64-linux-gnu/cmake/Open3D/Open3DConfig.cmake (found
version "0.9.0")
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/tmp.HsneE5NHLQ
$ make VERBOSE=ON
/usr/bin/cmake -S/tmp/tmp.HsneE5NHLQ -B/tmp/tmp.HsneE5NHLQ
--check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /tmp/tmp.HsneE5NHLQ/CMakeFiles
/tmp/tmp.HsneE5NHLQ//CMakeFiles/progress.marks
make  -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/tmp/tmp.HsneE5NHLQ'
make  -f CMakeFiles/open3d_test.dir/build.make
CMakeFiles/open3d_test.dir/depend
make[2]: Entering directory '/tmp/tmp.HsneE5NHLQ'
cd /tmp/tmp.HsneE5NHLQ && /usr/bin/cmake -E cmake_depends "Unix
Makefiles" /tmp/tmp.HsneE5NHLQ /tmp/tmp.HsneE5NHLQ /tmp/tmp.HsneE5NHLQ
/tmp/tmp.HsneE5NHLQ
/tmp/tmp.HsneE5NHLQ/CMakeFiles/open3d_test.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/tmp/tmp.HsneE5NHLQ'
make  -f CMakeFiles/open3d_test.dir/build.make
CMakeFiles/open3d_test.dir/build
make[2]: Entering directory '/tmp/tmp.HsneE5NHLQ'
[ 50%] Building CXX object CMakeFiles/open3d_test.dir/open3d_test.cpp.o
/usr/bin/c++ -DFMT_LOCALE -DFMT_SHARED -isystem /usr/include/eigen3  -MD
-MT CMakeFiles/open3d_test.dir/open3d_test.cpp.o -MF
CMakeFiles/open3d_test.dir/open3d_test.cpp.o.d -o
CMakeFiles/open3d_test.dir/open3d_test.cpp.o -c
/tmp/tmp.HsneE5NHLQ/open3d_test.cpp
In file included from /usr/include/Open3D/Open3D.h:30,
                 from /tmp/tmp.HsneE5NHLQ/open3d_test.cpp:1:
/usr/include/Open3D/Camera/PinholeCameraIntrinsic.h: In member function
‘std::pair<double, double>
open3d::camera::PinholeCameraIntrinsic::GetFocalLength() const’:
/usr/include/Open3D/Camera/PinholeCameraIntrinsic.h:93:54: note:
parameter passing for argument of type ‘std::pair<double, double>’ when
C++17 is enabled changed to match C++14 in GCC 10.1
   93 |     std::pair<double, double> GetFocalLength() const {
      |                                                      ^
[100%] Linking CXX executable open3d_test
/usr/bin/cmake -E cmake_link_script CMakeFiles/open3d_test.dir/link.txt
--verbose=ON
/usr/bin/c++ CMakeFiles/open3d_test.dir/open3d_test.cpp.o -o open3d_test
 /usr/lib/aarch64-linux-gnu/libOpen3D.so.0d
make[2]: Leaving directory '/tmp/tmp.HsneE5NHLQ'
[100%] Built target open3d_test
make[1]: Leaving directory '/tmp/tmp.HsneE5NHLQ'
/usr/bin/cmake -E cmake_progress_start /tmp/tmp.HsneE5NHLQ/CMakeFiles 0
$ ./open3d_test cloud.xyz
OK
autopkgtest [01:10:48]: test test-cpp: -----------------------]
autopkgtest [01:10:48]: test test-cpp:  - - - - - - - - - - results - -
- - - - - - - -
test-cpp             FAIL stderr: In file included from
/usr/include/Open3D/Open3D.h:30,
autopkgtest [01:10:48]: test test-cpp:  - - - - - - - - - - stderr - - -
- - - - - - -
In file included from /usr/include/Open3D/Open3D.h:30,
                 from /tmp/tmp.HsneE5NHLQ/open3d_test.cpp:1:
/usr/include/Open3D/Camera/PinholeCameraIntrinsic.h: In member function
‘std::pair<double, double>
open3d::camera::PinholeCameraIntrinsic::GetFocalLength() const’:
/usr/include/Open3D/Camera/PinholeCameraIntrinsic.h:93:54: note:
parameter passing for argument of type ‘std::pair<double, double>’ when
C++17 is enabled changed to match C++14 in GCC 10.1
   93 |     std::pair<double, double> GetFocalLength() const {
      |                                                      ^

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20211012/36553d90/attachment.sig>


More information about the debian-science-maintainers mailing list