Opened 5 months ago

Last modified 3 months ago

#69969 assigned defect

stellarium fail to build on Darwin Kernel Version 23.4.0 / Sonoma 14.4.1

Reported by: rernenwein Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version:
Keywords: sonoma Cc: Schamschula (Marius Schamschula)
Port: stellarium

Description (last modified by ryandesign (Ryan Carsten Schmidt))

i upgraded macos from ventura to sonoma then i applied procedure wiki:Migration to migrate macports

all went mostly well but at the end following packages had installation problem:

Error: Failed to build xping: command execution failed
Error: Failed to build stellarium: command execution failed
Error: Failed to configure gtk-osx-application-common-gtk3: gtk3 +quartz not installed.
Error: Failed to configure gtk-osx-application-common-gtk3: gtk3 +quartz not installed.

i then cleaned environment for stellarium and tried again without success:

imac-de-rene-1:imac-mig root# port clean stellarium
--->  Cleaning stellarium

imac-de-rene-1:imac-mig root# port install stellarium
--->  Computing dependencies for stellarium
--->  Fetching archive for stellarium
--->  Attempting to fetch stellarium-23.4_1+RemoteControl+python312.darwin_23.x86_64.tbz2 from https://packages.macports.org/stellarium
--->  Attempting to fetch stellarium-23.4_1+RemoteControl+python312.darwin_23.x86_64.tbz2 from https://mse.uk.packages.macports.org/stellarium
--->  Attempting to fetch stellarium-23.4_1+RemoteControl+python312.darwin_23.x86_64.tbz2 from https://fra.de.packages.macports.org/stellarium
--->  Fetching distfiles for stellarium
--->  Verifying checksums for stellarium
--->  Extracting stellarium
--->  Applying patches to stellarium
--->  Configuring stellarium
--->  Building stellarium                                
Error: Failed to build stellarium: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_stellarium/stellarium/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port stellarium failed

i uploaded with ticket

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_stellarium/stellarium/main.log

Attachments (1)

main.log.bz2 (51.4 KB) - added by jmroot (Joshua Root) 5 months ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 5 months ago by jmroot (Joshua Root)

Keywords: stellarium on removed
Owner: set to michaelld
Port: stellarium added
Status: newassigned
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_stellarium/stellarium/work/build/_deps/showmysky-qt5-src/common/EclipsedDoubleScatteringPrecomputer.cpp:6:
:info:build /opt/local/include/glm/gtx/transform.hpp:23:3: 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."

Changed 5 months ago by jmroot (Joshua Root)

Attachment: main.log.bz2 added

comment:2 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:3 Changed 4 months ago by rernenwein

today i downloaded the version from here

https://github.com/Stellarium/stellarium/releases/download/v24.1/Stellarium-24.1-qt6-macOS.zip

and it worked

comment:4 Changed 3 months ago by Schamschula (Marius Schamschula)

Cc: Schamschula added

comment:5 Changed 3 months ago by Schamschula (Marius Schamschula)

This requires a post-configure patch of ElipsedDoubleScatteringPrecomputer.cpp or ElipsedDoubleScatteringPrecomputer.hpp to add the line

#define GLM_ENABLE_EXPERIMENTAL

This change is included in version 24.2

Second, the stand alone installed was built with Qt6. I locally built it that way. However, I'm still testing it.

See: https://github.com/Schamschula/macports/commit/cf5133a57680be9baff26cf86477f584e24e041b

Version 0, edited 3 months ago by Schamschula (Marius Schamschula) (next)
Note: See TracTickets for help on using tickets.