Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#45680 closed defect (invalid)

gettext @0.19.3_0 deleted /opt/local/lib/libintl.8.dylib

Reported by: geoffd2 Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), paranoysya@…
Port:

Description

Auto-update of gettext failed, now /opt/local/lib/libintl.8.dylib is missing and various other software is broken. Tried to revert to old version, that fails also now.

version:1
:msg:main --->  Computing dependencies for gettext:info:main .:debug:main gettext has no conflicts
:debug:main Searching for dependency: expat
:debug:main Found Dependency: receipt exists for expat
:debug:main Searching for dependency: libiconv
:debug:main Found Dependency: receipt exists for libiconv
:debug:main Searching for dependency: ncurses
:debug:main Found Dependency: receipt exists for ncurses
:msg:main 
:debug:activate activate phase started at Wed Oct 29 13:19:27 GMT 2014
:debug:activate Executing org.macports.activate (gettext)
:msg:activate --->  Activating gettext @0.19.2_0
:debug:activate Using /usr/bin/tar
:debug:activate Using /usr/bin/bzip2
:info:activate dyld: Library not loaded: /opt/local/lib/libintl.8.dylib
:info:activate   Referenced from: /bin/sh
:info:activate   Reason: image not found
:error:activate org.macports.activate for port gettext returned: 
:debug:activate Error code: NONE
:debug:activate Backtrace: 
    while executing
"system $cmdstring"
    invoked from within
"try {
        if {[catch {cd $extractdir} err]} {
            throw MACPORTS $err
        }
    
        # clagged straight from unarchive... this rea..."
    (procedure "extract_archive_to_tmpdir" line 6)
    invoked from within
"extract_archive_to_tmpdir $location"
    (procedure "_activate_contents" line 10)
    invoked from within
"_activate_contents $requested"
    (procedure "portimage::activate" line 57)
    invoked from within
"registry_activate $subport $version $revision $portvariants [array get user_options]"
    (procedure "portactivate::activate_main" line 4)
    invoked from within
"portactivate::activate_main org.macports.activate"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"

Change History (3)

comment:1 in reply to:  description ; Changed 10 years ago by larryv (Lawrence Velázquez)

Keywords: Tiger removed
Port: gettext removed
Resolution: invalid
Status: newclosed

Replying to geoffdown@…:

:msg:activate --->  Activating gettext @0.19.2_0
:debug:activate Using /usr/bin/tar
:debug:activate Using /usr/bin/bzip2
:info:activate dyld: Library not loaded: /opt/local/lib/libintl.8.dylib
:info:activate   Referenced from: /bin/sh
:info:activate   Reason: image not found
  1. You replaced /bin/sh with MacPorts’ bash, presumably to counter Shellshock.
  2. MacPorts’ bash links against libintl.8.dylib, which is part of the gettext port.
  3. During the upgrade process, MacPorts deactivated the old gettext, thus removing libintl.8.dylib and breaking your new /bin/sh.
  4. Now MacPorts cannot do anything because /bin/sh is broken.

You need to replace /bin/sh and /bin/bash with working binaries. Restore them from backups or from your OS X installation media.

If you want to re-harden your system afterwards, ask for advice on macports-users.

comment:2 in reply to:  1 Changed 10 years ago by geoffd2

Replying to larryv@…:

Replying to geoffdown@…:

:msg:activate --->  Activating gettext @0.19.2_0
:debug:activate Using /usr/bin/tar
:debug:activate Using /usr/bin/bzip2
:info:activate dyld: Library not loaded: /opt/local/lib/libintl.8.dylib
:info:activate   Referenced from: /bin/sh
:info:activate   Reason: image not found
  1. You replaced /bin/sh with MacPorts’ bash, presumably to counter Shellshock.
  2. MacPorts’ bash links against libintl.8.dylib, which is part of the gettext port.
  3. During the upgrade process, MacPorts deactivated the old gettext, thus removing libintl.8.dylib and breaking your new /bin/sh.
  4. Now MacPorts cannot do anything because /bin/sh is broken.

You need to replace /bin/sh and /bin/bash with working binaries. Restore them from backups or from your OS X installation media.

If you want to re-harden your system afterwards, ask for advice on macports-users.

Correct on all counts. I had backed them up, fortunately. Thank you sir.

comment:3 Changed 9 years ago by larryv (Lawrence Velázquez)

Cc: paranoysya@… added

Has duplicate #46420.

Note: See TracTickets for help on using tickets.