[MacPorts] #63575: stellarium @0.21.2 +RemoteControl+debug+python39: DEBUG being defined leads to: error: expected identifier

MacPorts noreply at macports.org
Mon Oct 4 15:27:32 UTC 2021


#63575: stellarium @0.21.2 +RemoteControl+debug+python39: DEBUG being defined leads
to: error: expected identifier
-------------------------+------------------------
 Reporter:  cooljeanius  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.7.1
 Keywords:               |       Port:  stellarium
-------------------------+------------------------
 Upgrading stellarium from 0.21.1_0 +debug to 0.21.2_0
 +RemoteControl+debug+python39 leads to this error:
 {{{
 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/plugins/Scenery3d/src
 /Scenery3d-static_autogen/mocs_compilation.cpp:3:
 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/plugins/Scenery3d/src
 /Scenery3d-static_autogen/EWIEGA46WW/moc_S3DRenderer.cpp:10:
 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/plugins/Scenery3d/src
 /Scenery3d-
 static_autogen/EWIEGA46WW/../../../../../../stellarium-0.21.2/plugins/Scenery3d/src/S3DRenderer.hpp:37:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_stellarium/stellarium/work/stellarium-0.21.2/plugins/Scenery3d/src/ShaderManager.hpp:184:3:
 error: expected identifier
                 DEBUG           = (1<<16),
                 ^
 <command line>:28:15: note: expanded from here
 #define DEBUG 1
               ^
 }}}
 I'm guessing `DEBUG` is only defined for the `+debug` variant. I'm on Big
 Sur with Xcode 13, for reference.

-- 
Ticket URL: <https://trac.macports.org/ticket/63575>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list