Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923036 - sci-astronomy/calcmysky-0.3.1 - /.../transform.hpp: error: #error GLM: GLM_GTX_transform is an experimental extension and may change in the future. Us
Summary: sci-astronomy/calcmysky-0.3.1 - /.../transform.hpp: error: #error GLM: GLM_GT...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexey
URL:
Whiteboard:
Keywords: PullRequest
Depends on: 927790
Blocks: 926345
  Show dependency tree
 
Reported: 2024-01-27 15:35 UTC by Toralf Förster
Modified: 2024-03-25 11:28 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,21.54 KB, text/plain)
2024-01-27 15:35 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,59.86 KB, application/x-xz)
2024-01-27 15:35 UTC, Toralf Förster
Details
environment (environment,104.72 KB, text/plain)
2024-01-27 15:35 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,968 bytes, application/x-xz)
2024-01-27 15:35 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,27.50 KB, application/x-xz)
2024-01-27 15:35 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,64.78 KB, application/x-xz)
2024-01-27 15:35 UTC, Toralf Förster
Details
sci-astronomy:calcmysky-0.3.1:20240127-153416.log (sci-astronomy:calcmysky-0.3.1:20240127-153416.log,30.37 KB, text/plain)
2024-01-27 15:35 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,27.20 KB, application/x-xz)
2024-01-27 15:35 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-01-27 15:35:16 UTC
too long lines were shrinked:

[26/61] /usr/bin/x86_64-pc-linux-gnu-g++ -DLIBRARY_FILE_PATH=\"/var/tmp/portage/sci-astronomy/calcmysky-0.3.1/work/CalcMySky-0.3.1_build-qt5/ShowMySky/libShowMySky-Qt5.so.15.0.0\" -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -I/var/tmp/portage/sci-astronomy/calcmysky-0.3
[27/61] : && /usr/bin/x86_64-pc-linux-gnu-g++ -Werror=return-type -Wall -Wextra -fvisibility=hidden -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 tests/CMakeFiles/test-exception-catch.dir/test-exception-catch_autogen/mocs_compilation.c
[28/61] /usr/bin/x86_64-pc-linux-gnu-g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -I/var/tmp/portage/sci-astronomy/calcmysky-0.3.1/work/CalcMySky-0.3.1_build-qt5/common_autogen/include -I/var/tmp/portage/sci-astronomy/calcmysky-0.3.1/work/CalcMySky-0.3.1_build-qt5 -i
FAILED: CMakeFiles/common.dir/common/EclipsedDoubleScatteringPrecomputer.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -I/var/tmp/portage/sci-astronomy/calcmysky-0.3.1/work/CalcMySky-0.3.1_build-qt5/common_autogen/include -I/var/tmp/portage/sci-astronomy/calcmysky-0.3.1/work/CalcMySky-0.3.1_build-qt5 -isystem /
In file included from /var/tmp/portage/sci-astronomy/calcmysky-0.3.1/work/CalcMySky-0.3.1/common/EclipsedDoubleScatteringPrecomputer.cpp:6:
/usr/include/glm/gtx/transform.hpp:23:9: error: #error "GLM: GLM_GTX_transform is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
   23 | #       error "GLM: GLM_GTX_transform is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
      |         ^~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-20240124-092003

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.6 linux/amd64

  HEAD of ::gentoo
commit 23f4c0b003dde1eb3ae6d178cec18397c0d2f71a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jan 27 15:03:14 2024 +0000

    2024-01-27 15:03:13 UTC

emerge -qpvO sci-astronomy/calcmysky
[ebuild  N    ] sci-astronomy/calcmysky-0.3.1  USE="qt5 -qt6"
Comment 1 Toralf Förster gentoo-dev 2024-01-27 15:35:17 UTC
Created attachment 883294 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-27 15:35:18 UTC
Created attachment 883295 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-01-27 15:35:19 UTC
Created attachment 883296 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-01-27 15:35:20 UTC
Created attachment 883297 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-01-27 15:35:21 UTC
Created attachment 883298 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-27 15:35:22 UTC
Created attachment 883299 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2024-01-27 15:35:23 UTC
Created attachment 883300 [details]
sci-astronomy:calcmysky-0.3.1:20240127-153416.log
Comment 8 Toralf Förster gentoo-dev 2024-01-27 15:35:24 UTC
Created attachment 883301 [details]
temp.tar.xz
Comment 9 Karl Ernst Brunk 2024-03-24 01:17:24 UTC
Hi,
today i changed my profile to 23 and was hit by the same error message while emerge world.
I did also see Toralf's bug report at the calcmysky project.
calcmysky-0.3.2 does solve this. Changing our ebuild-version number does the job.
cheers
Karl
Comment 10 Ștefan Talpalaru 2024-03-24 01:32:02 UTC
calcmysky-0.3.2 is available in my overlay: https://github.com/stefantalpalaru/gentoo-overlay
Comment 11 Jaak Ristioja 2024-03-25 10:24:25 UTC
I also encountered this error during `emerge -e @world` during profile change.

Looking at the `qlop -v calcmysky glm` output I suspect it might instead be caused by the upgrade of media-libs/glm from 0.9.9.8-r1 to 1.0.1. More specifically the upstream commit https://github.com/g-truc/glm/commit/f86092a658ad19bdc3e5a121d18785a582c9a56f might be to blame.

Either way, downgrading media-libs/glm from 1.0.1 to 0.9.9.8-r1 seems to fix compilation of calcmysky-0.3.1, so it might also be possible to fix this by adjusting the DEPEND variable of the ebuild.

Filed pull request: https://github.com/gentoo/gentoo/pull/35908
Comment 12 Alexey 2024-03-25 11:18:48 UTC
There's already a PR to fix this: https://github.com/gentoo/gentoo/pull/35408 which I opened more than month ago.

Your PR also makes sense, but considering the delay of merging them, I don't know how useful it will be by that time. I plan to stabilize 0.3.2 as soon as it's merged, hope that's ok
Comment 13 Larry the Git Cow gentoo-dev 2024-03-25 11:22:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=848f212de6b87eb40d6423b90d3dd61125c7a65f

commit 848f212de6b87eb40d6423b90d3dd61125c7a65f
Author:     Alexey Sokolov <alexey+gentoo@asokolov.org>
AuthorDate: 2024-03-12 21:23:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-25 11:21:41 +0000

    sci-astronomy/calcmysky: add 0.3.2
    
    Closes: https://bugs.gentoo.org/923036
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Closes: https://github.com/gentoo/gentoo/pull/35408
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-astronomy/calcmysky/Manifest               |  1 +
 sci-astronomy/calcmysky/calcmysky-0.3.2.ebuild | 65 ++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)