[MacPorts] #69477: gettext-runtime @0.22.5_0 activation failure

MacPorts noreply at macports.org
Mon Mar 11 16:58:36 UTC 2024


#69477: gettext-runtime @0.22.5_0 activation failure
---------------------+-----------------------------
 Reporter:  Gandoon  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.9.1
 Keywords:           |       Port:  gettext-runtime
---------------------+-----------------------------
 This is a weird one, and it bricks a lot of tools and requires reversion
 to the previous `gettext-runtime @0.22.4_0` for me. The error occurs just
 after the deactivation of the currently active port version, during the
 activation of the freshly built new version.

 Attached is the log and below is the output when the error occurs. Note
 that the `/opt/local/lib/libintl.8.dylib` that is first complained about
 seems to have been successfully built. I am unsure what is the deal with
 `envsubst`, does the lstat fail because of a previous fault or is this the
 actual problem?

 Any ideas?

 {{{
 a ./opt/local/lib/libintl.dylib
 a ./opt/local/lib/libintl.8.dylib
 a ./opt/local/lib/libintl.a
 a ./opt/local/include/libintl.h
 a ./opt/local/bin/envsubst
 a ./opt/local/bin/gettext
 a ./opt/local/bin/gettext.sh
 a ./opt/local/bin/ngettext
 --->  Deactivating gettext-runtime @0.22.4_0
 --->  Cleaning gettext-runtime
 --->  Removing work directory for gettext-runtime
 --->  Activating gettext-runtime @0.22.5_0
 dyld: Library not loaded: /opt/local/lib/libintl.8.dylib
   Referenced from: /opt/local/bin/xz
   Reason: image not found
 Error: Failed to activate gettext-runtime: Image error: Source file
 /opt/local/var/macports/software/gettext-
 runtime/mpextracttjpKsmWw/opt/local/bin/envsubst does not appear to exist
 (cannot lstat it).  Unable to activate port gettext-runtime.
     while executing
 "throw registry::image-error "Image error: Source file $srcfile does not
 appear to exist (cannot lstat it).  Unable to activate port [$port
 name].""
     ("foreach" body line 8)
     invoked from within
 "foreach file $imagefiles {
                 set srcfile "${extracted_dir}${file}"

                 # To be able to install links, we test if we can lst..."
     invoked from within
 "registry::write {
             foreach file $imagefiles {
                 set srcfile "${extracted_dir}${file}"

                 # To be able to instal..."
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext
 /gettext-runtime/main.log for details.
 Error: Couldn't activate gettext-runtime 0.22.5_0: 1
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 }}}

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


More information about the macports-tickets mailing list