[MacPorts] #69791: geany @2.0 Fails to Build on High Sierra - default member initializer for 'character' needed within definition of enclosing class

MacPorts noreply at macports.org
Sat Apr 20 20:29:47 UTC 2024


#69791: geany @2.0 Fails to Build on High Sierra - default member initializer for
'character' needed within definition of enclosing class
---------------------+------------------------
  Reporter:  RobK88  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.9.3
Resolution:          |   Keywords:  highsierra
      Port:  geany   |
---------------------+------------------------
Description changed by RobK88:

Old description:

> geany @2.0 Fails to Build on High Sierra
>

> {{{
> src/CaseConvert.cxx:593:3: error: default member initializer for
> 'character' needed within definition of enclosing class 'CaseConverter'
> outside of member functions
>                 CharacterConversion() noexcept = default;
>                 ^
> src/CaseConvert.cxx:590:7: note: default member initializer declared here
>                 int character = 0;
>                     ^
> 1 error generated.
> make[2]: *** [src/libscintilla_la-CaseConvert.lo] Error 1
> make[2]: *** Waiting for unfinished jobs....
> mv -f src/.deps/libscintilla_la-CaseFolder.Tpo src/.deps/libscintilla_la-
> CaseFolder.Plo
> make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_geany/geany/work/geany-2.0/scintilla'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_geany/geany/work/geany-2.0'
> make: *** [all] Error 2
> make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_geany/geany/work/geany-2.0'
> Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_geany/geany/work/geany-2.0"
> && /usr/bin/make -j2 -w all
> Exit code: 2
> Error: Failed to build geany: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_geany/geany/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> }}}
>
> See main.log

New description:

 geany @2.0 Fails to Build on High Sierra


 {{{
 src/CaseConvert.cxx:593:3: error: default member initializer for
 'character' needed within definition of enclosing class 'CaseConverter'
 outside of member functions
                 CharacterConversion() noexcept = default;
                 ^
 src/CaseConvert.cxx:590:7: note: default member initializer declared here
                 int character = 0;
                     ^
 1 error generated.
 make[2]: *** [src/libscintilla_la-CaseConvert.lo] Error 1
 make[2]: *** Waiting for unfinished jobs....
 mv -f src/.deps/libscintilla_la-CaseFolder.Tpo src/.deps/libscintilla_la-
 CaseFolder.Plo
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_geany/geany/work/geany-2.0/scintilla'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_geany/geany/work/geany-2.0'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_geany/geany/work/geany-2.0'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_geany/geany/work/geany-2.0"
 && /usr/bin/make -j2 -w all
 Exit code: 2
 Error: Failed to build geany: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_geany/geany/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 }}}

 See main.log

 P.S.  I suspect `clang-16` is too strict.  I will try to build with an
 older clang compiler.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/69791#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list