#38309: Compiling gettext @0.18.2.1 (devel) loops -----------------------+-------------------------- Reporter: kotedo@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: invalid | Keywords: Port: gettext | -----------------------+-------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: Replying to [comment:10 kotedo@…]:
{{{ MK324SDKQ4:~ kai$ time sudo port install gettext ---> Computing dependencies for gettext ---> Cleaning gettext }}}
This shows gettext was already installed. After you install or update any port, MacPorts then checks if there are any linking errors in any of the ports that are installed:
{{{ ---> Scanning binaries for linking errors: 100.0% ---> Found 1 broken file(s), matching files to ports ---> Found 1 broken port(s), determining rebuild order ---> Rebuilding in order clisp @2.49 }}}
MacPorts found that clisp had linking errors and needed to be rebuilt.
{{{ ---> Computing dependencies for clisp ---> Dependencies to be installed: gettext ---> Fetching archive for gettext ---> Attempting to fetch gettext-0.18.2.1_0+universal.darwin_12.i386-x86_64.tbz2 from http://packages.macports.org/gettext ---> Attempting to fetch gettext-0.18.2.1_0+universal.darwin_12.i386-x86_64.tbz2 from http://lil.fr.packages.macports.org/gettext ---> Attempting to fetch gettext-0.18.2.1_0+universal.darwin_12.i386-x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gettext ---> Fetching distfiles for gettext ---> Verifying checksum(s) for gettext ---> Extracting gettext ---> Applying patches to gettext ---> Configuring gettext ---> Building gettext ---> Staging gettext into destroot ---> Installing gettext @0.18.2.1_0+universal ---> Deactivating gettext @0.18.2.1_0 ---> Cleaning gettext ---> Activating gettext @0.18.2.1_0+universal ---> Cleaning gettext }}}
MacPorts reinstalled gettext, this time with the universal variant. This is because clisp is not available in a 64-bit version. This was in fact probably the only linking error: clisp was trying to link with the non- existent 32-bit version of gettext. clisp would probably have worked fine if you interrupted the install here.
{{{ ---> Fetching archive for clisp ---> Attempting to fetch clisp-2.49_2.darwin_12.i386.tbz2 from http://packages.macports.org/clisp ---> Attempting to fetch clisp-2.49_2.darwin_12.i386.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/clisp ---> Attempting to fetch clisp-2.49_2.darwin_12.i386.tbz2 from http://lil.fr.packages.macports.org/clisp ---> Fetching distfiles for clisp ---> Verifying checksum(s) for clisp ---> Extracting clisp ---> Applying patches to clisp ---> Configuring clisp ---> Building clisp ---> Staging clisp into destroot ---> Installing clisp @2.49_2 ---> Cleaning clisp ---> Computing dependencies for clisp ---> Deactivating clisp @2.49_1 ---> Cleaning clisp ---> Activating clisp @2.49_2 ---> Cleaning clisp ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> No broken files found.
real 60m25.429s user 6m42.738s sys 3m46.112s }}}
MacPorts rebuilt clisp and found it now works fine. So your 60m25s build time includes not only gettext but also clisp, which I haven't tested. In any case it doesn't look like there is a problem building gettext or clisp. -- Ticket URL: <https://trac.macports.org/ticket/38309#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X