[MacPorts] #69564: gildas @202403a: Error in path to executables; Intel macos 10.13.6

MacPorts noreply at macports.org
Fri Mar 22 00:13:43 UTC 2024


#69564: gildas @202403a: Error in path to executables; Intel macos 10.13.6
--------------------------+--------------------
 Reporter:  simonradford  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.9.1
 Keywords:                |       Port:  gildas
--------------------------+--------------------
 While upgrading gildas (202311a -> 202403a), I encountered a build error.
 It appears there is an error (typo) in the path where the executables are
 installed. A workaround is to create a symlink. This allows the programs
 to function correctly.

 The executables are installed in: /opt/local/lib/gildas/x86_64-macosx-
 gfortran/bin \\
 But the lanuch scripts (in /opt/loca/bin) expect the executables in:
 /opt/local/lib/gildas/x86_64-macos-gfortran/bin  \\
 Notice the difference, "macosx" vs. "macos" \\

 Workaround: Create a symlink
 {{{
 cd /opt/local/lib/gildas/
 sudo ln -s x86_64-macosx-gfortran x86_64-macos-gfortran/
 }}}

 ----
 MacPorts build errors:

 {{{
 --->  Activating gildas @202403a_0+gcc12+openmp
 --->  Cleaning gildas
 --->  Scanning binaries for linking errors
 --->  Found 3 broken files, matching files to ports
 Error: Port gildas is still broken after rebuilding it more than 3 times.
 Error: rev-upgrade failed: Port gildas still broken after rebuilding 3
 times
 }}}
 ----

 System: Intel Macos 10.13.6\\
 (Installation on ARM is ok.)

 ----
 # definitions in launch script

 cat /opt/local/bin/greg

 {{{



 #!/bin/sh -e

 export GAG_GAG="${HOME}/.gag"
 export GAG_ROOT_DIR="/opt/local/lib/gildas"
 export GAG_PATH="${GAG_ROOT_DIR}/etc"
 export GAG_EXEC_SYSTEM="x86_64-macos-gfortran"
 ...
 exec ${GAG_ROOT_DIR}/${GAG_EXEC_SYSTEM}/bin/greg ${*}

 }}}

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


More information about the macports-tickets mailing list