Your message dated Fri, 22 Oct 2021 02:33:47 +0000
with message-id <e1mdknp-000g6l...@fasolo.debian.org>
and subject line Bug#996241: fixed in glm 0.9.9.8+ds-2
has caused the Debian Bug report #996241,
regarding glm: FTBFS with GCC-11 (test-core_func_integer)
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 ow...@bugs.debian.org
immediately.)


-- 
996241: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996241
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: glm
Version: 0.9.9.8+ds-1
Severity: serious
Tags: patch ftbfs
Justification: fails to build from source (but built successfully in the past)
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu impish ubuntu-patch
X-Debbugs-Cc: sl...@ubuntu.com

Dear Maintainer,

Unit-tests are failing if built using GCC-11.

```
99% tests passed, 2 tests failed out of 188

Total Test time (real) = 3.86 sec

The following tests FAILED:
  39 - test-core_func_integer (Child aborted)
  97 - test-ext_vector_integer (Child aborted)
```

test-ext_vector_integer seems to be flaky, while test-core_func_integer fails 
consistently.

If built with -Wall this warning shows up, which seems to be relevant:
cd /home/user/glm-gu/obj-x86_64-linux-gnu/test/core && /usr/bin/cmake -E 
cmake_link_script CMakeFiles/test-core_func_matrix.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/home/user/glm-gu=. -flto=auto 
-ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security 
-Wall -Wno-error -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions 
-flto=auto -Wl,-z,relro -rdynamic 
CMakeFiles/test-core_func_matrix.dir/core_func_matrix.cpp.o -o 
test-core_func_matrix
In function ‘bitCount::bitCount_bitfield<int>(int)int’,
    inlined from ‘bitCount::test()’ at 
/home/user/glm-gu/test/core/core_func_integer.cpp:1515:35,
    inlined from ‘main’ at 
/home/user/glm-gu/test/core/core_func_integer.cpp:1533:27:
/home/user/glm-gu/test/core/core_func_integer.cpp:1442:41: warning: 
‘<anonymous>’ may be used uninitialized [-Wmaybe-uninitialized]
 1442 | return bitCount_bitfield(glm::vec<1, genType, glm::defaultp>(x)).x;
      | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/user/glm-gu/test/core/core_func_integer.cpp: In function ‘main’:
/home/user/glm-gu/test/core/core_func_integer.cpp:1427:36: note: by argument 1 
of type ‘const struct vec &’ to ‘bitCount::bitCount_bitfield<1, int, 
(glm::qualifier)0>(glm::vec<1, int, (glm::qualifier)0> const&)glm::vec<1, int, 
(glm::qualifier)0>’ declared here
 1427 | static glm::vec<L, int, Q> bitCount_bitfield(glm::vec<L, T, Q> const& v)
      | ^~~~~~~~~~~~~~~~~
/home/user/glm-gu/test/core/core_func_integer.cpp:1442:47: note: 
‘<anonymous>’ declared here
 1442 | return bitCount_bitfield(glm::vec<1, genType, glm::defaultp>(x)).x;
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/user/glm-gu/test/core/core_func_common.cpp: In function ‘int 
test_constexpr()’:
/home/user/glm-gu/test/core/core_func_common.cpp:1306:35: warning: variable 
‘A’ set but not used [-Wunused-but-set-variable]
 1306 | constexpr glm::vec1 const A = glm::abs(glm::vec1(1.0f));
      | ^
/home/user/glm-gu/test/core/core_func_common.cpp:1307:35: warning: variable 
‘B’ set but not used [-Wunused-but-set-variable]
 1307 | constexpr glm::vec2 const B = glm::abs(glm::vec2(1.0f));
      | ^
/home/user/glm-gu/test/core/core_func_common.cpp:1308:35: warning: variable 
‘C’ set but not used [-Wunused-but-set-variable]
 1308 | constexpr glm::vec3 const C = glm::abs(glm::vec3(1.0f));
      | ^
/home/user/glm-gu/test/core/core_func_common.cpp:1309:35: warning: variable 
‘D’ set but not used [-Wunused-but-set-variable]
 1309 | constexpr glm::vec4 const D = glm::abs(glm::vec4(1.0f));
      | ^


In Ubuntu, the attached patch was applied as 
debian/patches/tests-no-optimization.patch to fix the build/unit-tests.


Thanks for considering the patch.


-- System Information:
Debian Release: 11.0
  APT prefers impish
  APT policy: (500, 'impish')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.13.0-16-generic (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE:en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru glm-0.9.9.8+ds/debian/patches/series 
glm-0.9.9.8+ds/debian/patches/series
--- glm-0.9.9.8+ds/debian/patches/series        1970-01-01 01:00:00.000000000 
+0100
+++ glm-0.9.9.8+ds/debian/patches/series        2021-10-12 14:35:17.000000000 
+0200
@@ -0,0 +1 @@
+tests-no-optimization.patch
diff -Nru glm-0.9.9.8+ds/debian/patches/tests-no-optimization.patch 
glm-0.9.9.8+ds/debian/patches/tests-no-optimization.patch
--- glm-0.9.9.8+ds/debian/patches/tests-no-optimization.patch   1970-01-01 
01:00:00.000000000 +0100
+++ glm-0.9.9.8+ds/debian/patches/tests-no-optimization.patch   2021-10-12 
14:52:16.000000000 +0200
@@ -0,0 +1,19 @@
+Description: Fix FTBFS (unit-tests) with GCC-11
+Author: Lukas Märdian <sl...@ubuntu.com>
+Origin: vendor, Ubuntu
+Bug: https://github.com/g-truc/glm/pull/1087
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/glm/+bug/1946750
+Forwarded: https://github.com/g-truc/glm/pull/1087
+Last-Update: 2021-10-12
+
+--- glm-0.9.9.8+ds.orig/test/CMakeLists.txt
++++ glm-0.9.9.8+ds/test/CMakeLists.txt
+@@ -206,7 +206,7 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "GN
+               message("GLM: GCC - ${CMAKE_CXX_COMPILER_ID} compiler")
+       endif()
+ 
+-      add_compile_options(-O2)
++      add_compile_options(-O0)
+       add_compile_options(-Wno-long-long)
+ 
+ elseif(CMAKE_CXX_COMPILER_ID MATCHES "Intel")

--- End Message ---
--- Begin Message ---
Source: glm
Source-Version: 0.9.9.8+ds-2
Done: Boyuan Yang <by...@debian.org>

We believe that the bug you reported is fixed in the latest version of
glm, 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 996...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Boyuan Yang <by...@debian.org> (supplier of updated glm 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 21 Oct 2021 21:54:25 -0400
Source: glm
Architecture: source
Version: 0.9.9.8+ds-2
Distribution: unstable
Urgency: high
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Boyuan Yang <by...@debian.org>
Closes: 996241
Changes:
 glm (0.9.9.8+ds-2) unstable; urgency=high
 .
   * Team upload.
   * Orphan the package; drop Guus Sliepen from uploaders
     list. (See #963501)
 .
   [ Leandro Cunha ]
   * Add debian/salsa-ci.yml.
   * Add debian/upstream/metadata.
   * debian/control:
     - Update debhelper-compat old 12 to 13.
     - Bump Standards-Version 4.6.0.
 .
   [ Lukas Märdian ]
   * Add d/p/00-tests-no-optimization.patch to fix FTBFS with
     GCC-11. (LP: #1946750, Closes: #996241)
Checksums-Sha1:
 29297342ae6d332c66c654d3cf29e410002f08e8 2003 glm_0.9.9.8+ds-2.dsc
 38aeae4cc9edd02eb7a410d54a12651171d70dab 2957152 glm_0.9.9.8+ds.orig.tar.xz
 81d1a250d98e23177d59ff59ab6e2bbb8ebf2a0c 6500 glm_0.9.9.8+ds-2.debian.tar.xz
 49e98e80d9bed4115f40e9499c15a1e90d5d21e5 7114 glm_0.9.9.8+ds-2_amd64.buildinfo
Checksums-Sha256:
 f8c64372b948c2d88b4a8291d5209fdf70ade002714b4ecd0d70e963a3197c13 2003 
glm_0.9.9.8+ds-2.dsc
 0e678af38374a9d49dbd19f206bbc31564ddcd91449fe48ea8967a51ab3ccd69 2957152 
glm_0.9.9.8+ds.orig.tar.xz
 05244ca2e845680a6cacf673354403e6ac298c48ffaeff6b49e8cded4a511da4 6500 
glm_0.9.9.8+ds-2.debian.tar.xz
 4643a8d8984052370b463adb084650955bd42b8391abfe8a87410bb73b036fe9 7114 
glm_0.9.9.8+ds-2_amd64.buildinfo
Files:
 19aaacdce25e2278a26200e24da2fc8b 2003 libs optional glm_0.9.9.8+ds-2.dsc
 55f524b4da5a1b3da5942e9587b668b7 2957152 libs optional 
glm_0.9.9.8+ds.orig.tar.xz
 8c437a57c19726ae33c7f537c2c44ef3 6500 libs optional 
glm_0.9.9.8+ds-2.debian.tar.xz
 0658c3c6577183e5874721e51500fd25 7114 libs optional 
glm_0.9.9.8+ds-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmFyGtMACgkQwpPntGGC
Ws5YDA/+IrdFvpCC+G7iqEnnhX7ztATQKCS5m5p82ndHwBPwwyJfxOtLSDVmPCSz
WFz8cp+SkIeWiCqjTo6qCcF9o25Yr9RDC8Oy/YYUwhMMAKhk5am+RIfXATVEWjSr
5GpjWIj0QgeO5Du8HMNlZkSeMZz9FGuin7sN2WByCLeauJPA0wxqIQf+7TE84JWd
+fsDBaUiUrIoI1012SAtJgZ5arU2kMwbPL/jH5wMUN5uvg7KtZZVoIJKRgROFMUN
pnRuSf0n9d4GGXu508w/ujt7tlus4C+KyRu1KDLJf7RJamBNjPFidjYbtHNHebLN
Ulpow0jAoq4H2Sg1bAIC+XD45fG/1uAI/auBgyGv9j0qgT05UB8MdRp95D57YjPf
MVCxn8J8dUJ2CZ2MoPI9ETMGAY79hnFlTh+nFXU0sDyE98kYUlWUy18lHf0WvHRg
rRenTPAUHNpEzqxdT9ps2/VmQwlp3O/bet6WWnQUYLz07BYcY0uTWhusf7Ctzy8s
C4dUI4VvGN3g0NHTceY6Oi9t462+TwaSCxe9XXyDhtIB+R4nKCiPapI6t27hLENS
sqo6TqAyIYLs/ow1ra/FnG9OSeRGJYmELZP4YPK1kH2IRQba7nIwEmAwU5NUmV2i
ZhsDDpO+6sKxd3S31QifRVRkKr2vvK6JiYWAov2YaSoXNGUI/xQ=
=4jvG
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to