[MacPorts] #71644: fpm install fails

MacPorts noreply at macports.org
Fri Dec 27 03:58:18 UTC 2024


#71644: fpm install fails
----------------------------------+--------------------------
  Reporter:  blueforceconsulting  |      Owner:  barracuda156
      Type:  defect               |     Status:  assigned
  Priority:  Normal               |  Milestone:
 Component:  ports                |    Version:
Resolution:                       |   Keywords:
      Port:  fpm                  |
----------------------------------+--------------------------

Comment (by barracuda156):

 Replying to [comment:15 blueforceconsulting]:
 > That would be incredible! Thank you so much for your help.

 Unfortunately, contrary to the upstream statement in the ticket, it is
 still broken. I though to make `fpm-devel` subport for you from the latest
 commit, but it also fails:
 {{{
  * tag               1.0.1      -> FETCH_HEAD
 [  0%]         filesystem_utilities.c
 [  1%]         filesystem_utilities.c  done.
 [  1%]        fpm_backend_console.f90
 [  2%]        fpm_backend_console.f90  done.
 [  2%]                       fpm_os.c
 [  3%]                       fpm_os.c  done.
 [  3%]                fpm_strings.f90
 [  4%]                fpm_strings.f90  done.
 [  4%]                       isatty.c
 [  5%]                       isatty.c  done.
 [  5%]                     iscygpty.c
 [  6%]                     iscygpty.c  done.
 [  6%]                  constants.f90
 [  7%]                  constants.f90  done.
 [  7%]                    version.f90
 [  8%]                    version.f90  done.
 [  8%]                      token.f90
 [  9%]                      token.f90  done.
 [  9%]                     M_CLI2.F90
 [ 10%]                     M_CLI2.F90  done.
 [ 10%]                      regex.f90
 [ 12%]                      regex.f90  done.
 [ 12%]                    version.f90
 [ 13%]                    version.f90  done.
 [ 13%]               shlex_module.f90
 [ 14%]               shlex_module.f90  done.
 [ 14%]                      error.f90
 [ 15%]                      error.f90  done.
 [ 15%]                   datetime.f90
 [ 16%]                   datetime.f90  done.
 [ 16%]                      error.f90
 [ 17%]                      error.f90  done.
 [ 17%]                         io.f90
 [ 18%]                         io.f90  done.
 [ 18%]            fpm_environment.f90
 [ 19%]            fpm_environment.f90  done.
 [ 19%]                 versioning.f90
 [ 20%]                 versioning.f90  done.
 [ 20%]                      utils.f90
 [ 21%]                      utils.f90  done.
 [ 21%]                        abc.f90
 [ 23%]                        abc.f90  done.
 [ 23%]             fpm_filesystem.F90
 [ 24%]             fpm_filesystem.F90  done.
 [ 24%]                fpm_release.F90
 [ 25%]                fpm_release.F90  done.
 [ 25%]                   terminal.f90
 [ 26%]                   terminal.f90  done.
 [ 26%]                      value.f90
 [ 27%]                      value.f90  done.
 [ 27%]                      lexer.f90
 [ 28%]                      lexer.f90  done.
 [ 28%]                     fpm_os.F90
 [ 29%]                     fpm_os.F90  done.
 [ 29%]                  installer.f90
 [ 30%]                  installer.f90  done.
 [ 30%]                 diagnostic.f90
 [ 31%]                 diagnostic.f90  done.
 [ 31%]                       list.f90
 [ 32%]                       list.f90  done.
 [ 32%]                        map.f90
 [ 34%]                        map.f90  done.
 [ 34%]                       node.f90
 [ 35%]                       node.f90  done.
 [ 35%]                     keyval.f90
 [ 36%]                     keyval.f90  done.
 [ 36%]                       sort.f90
 [ 37%]                       sort.f90  done.
 [ 37%]           fpm_command_line.f90
 [ 38%]           fpm_command_line.f90  done.
 [ 38%]                    context.f90
 [ 39%]                    context.f90  done.
 [ 39%]                 array_list.f90
 [ 40%]                 array_list.f90  done.
 [ 40%]                ordered_map.f90
 [ 41%]                ordered_map.f90  done.
 [ 41%]                  structure.f90
 [ 42%]                  structure.f90  done.
 [ 42%]                      lexer.f90
 [ 43%]                      lexer.f90  done.
 [ 43%]                      array.f90
 [ 45%]                      array.f90  done.
 [ 45%]                      table.f90
 [ 46%]                      table.f90  done.
 [ 46%]                       type.f90
 [ 47%]                       type.f90  done.
 [ 47%]                        ser.f90
 [ 48%]                        ser.f90  done.
 [ 48%]                     keyval.f90
 [ 49%]                     keyval.f90  done.
 [ 49%]                      merge.f90
 [ 50%]                      merge.f90  done.
 [ 50%]                     parser.f90
 [ 51%]                     parser.f90  done.
 [ 51%]                        ser.f90
 [ 52%]                        ser.f90  done.
 [ 52%]                         de.f90
 [ 53%]                         de.f90  done.
 [ 53%]                      array.f90
 [ 54%]                      array.f90  done.
 [ 54%]                      table.f90
 [ 56%]                      table.f90  done.
 [ 56%]                       path.f90
 [ 57%]                       path.f90  done.
 [ 57%]                      build.f90
 [ 58%]                      build.f90  done.
 [ 58%]                      tomlf.f90
 [ 59%]                      tomlf.f90  done.
 [ 59%]                     parser.f90
 [ 60%]                     parser.f90  done.
 [ 60%]                    jonquil.f90
 [ 61%]                    jonquil.f90  done.
 [ 61%]                 downloader.f90
 [ 62%]                 downloader.f90  done.
 [ 62%]                       toml.f90
 [ 63%]                       toml.f90  done.
 [ 63%]               fpm_settings.f90
 [ 64%]               fpm_settings.f90  done.
 [ 64%]                        git.f90
 [ 65%]                        git.f90  done.

 ././src/fpm/git.f90:357:101:

   357 |         call set_string(table, "descriptor",
 descriptor_name(self%descriptor), error, 'git_target_t')
       |
 1
 Error: There is no specific subroutine for the generic 'set_string' at (1)
 <ERROR> Compilation failed for object " src_fpm_git.f90.o "
 <ERROR> stopping due to failed compilation
 STOP 1
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_devel_fpm/fpm-
 devel/work/fpm-current" && FPM_CFLAGS="-Os -arch arm64"
 FPM_LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names -arch
 arm64" /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_devel_fpm
 /fpm-devel/work/fpm-current/install.sh
 Exit code: 1
 Error: Failed to build fpm-devel: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_svacchanda_SonomaPorts_devel_fpm/fpm-
 devel/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there
 is a bug.
 Error: Processing of port fpm-devel failed
 }}}

 I have replied in the issue now.

 However, why don’t you try using gcc13, which seems to build on Sequoia:
 https://ports.macports.org/port/gcc13/details
 On Sonoma this works for me:
 {{{
 svacchanda at Sergeys-Air bin % port -v installed fpm
 The following ports are currently installed:
   fpm @0.10.1_0+gcc13 (active) requested_variants='+gcc13'
 platform='darwin 23' archs='arm64' date='2024-12-27T11:49:57+0800'
 }}}

 MacPorts does not respect compiler blacklist here, so what you should do
 instead is:
 {{{
 sudo port clean fpm
 sudo port install fpm +gcc13
 }}}

 And then install `fortran-csv-module` normally.

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


More information about the macports-tickets mailing list