[MacPorts] #36740: gettext: configure hangs (was: install hangs when installing gettext)

MacPorts noreply at macports.org
Fri Oct 26 10:57:22 PDT 2012


#36740: gettext: configure hangs
------------------------+--------------------------
  Reporter:  pstanna@…  |      Owner:  ryandesign@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.1.2
Resolution:             |   Keywords:
      Port:  gettext    |
------------------------+--------------------------
Changes (by ryandesign@…):

 * priority:  High => Normal
 * owner:  macports-tickets@… => ryandesign@…
 * port:   => gettext


Old description:

> I am trying to install various different packages but they all fail since
> it needs "gettext" and I cant seem to install it. I tried installing it
> standalone and it still fails.
>
> I wiped ports, and xcode and reinstalled fresh copies. I am running
> Mountain Lion and Xcode Version 4.5.1 (4G1004), ports is at 2.1.2
>
> My installed ports:
> The following ports are currently installed:
>   expat @2.1.0_0 (active)
>   gperf @3.0.4_2 (active)
>   libiconv @1.14_0 (active)
>   ncurses @5.9_1 (active)
>
> output for installing gettext (ive waited hours for this to complete)
>
>  sudo port -v -d install gettext
> DEBUG: Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/gettext
> DEBUG: OS darwin/12.2.0 (Mac OS X 10.8) arch i386
> DEBUG: org.macports.load registered provides 'load', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.unload registered provides 'unload', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
> existing procedure. Target override will not be provided
> DEBUG: Using group file
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
> DEBUG: Reading variant descriptions from
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
> DEBUG: Using group file
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/archcheck-1.0.tcl
> DEBUG: universal variant already exists, so not adding the default one
> DEBUG: changing euid/egid - current euid: 0 - current egid: 0
> DEBUG: egid changed to: 501
> DEBUG: euid changed to: 503
> DEBUG: Starting logging for gettext
> DEBUG: epoch: in tree: 0 installed: 0
> DEBUG: libiconv 1.14_0 exists in the ports tree
> DEBUG: libiconv 1.14_0  is the latest installed
> DEBUG: libiconv 1.14_0  is active
> DEBUG: Merging existing variants '' into variants
> DEBUG: new fully merged portvariants:
> DEBUG: Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/libiconv
> DEBUG: OS darwin/12.2.0 (Mac OS X 10.8) arch i386
> DEBUG: org.macports.load registered provides 'load', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.unload registered provides 'unload', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
> existing procedure. Target override will not be provided
> DEBUG: Using group file
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
> DEBUG: Reading variant descriptions from
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
> DEBUG: universal variant already exists, so not adding the default one
> DEBUG: No need to upgrade! libiconv 1.14_0 >= libiconv 1.14_0
> DEBUG: epoch: in tree: 0 installed: 0
> DEBUG: ncurses 5.9_1 exists in the ports tree
> DEBUG: ncurses 5.9_1  is the latest installed
> DEBUG: ncurses 5.9_1  is active
> DEBUG: Merging existing variants '' into variants
> DEBUG: new fully merged portvariants:
> DEBUG: Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/ncurses
> DEBUG: OS darwin/12.2.0 (Mac OS X 10.8) arch i386
> DEBUG: org.macports.load registered provides 'load', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.unload registered provides 'unload', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
> existing procedure. Target override will not be provided
> DEBUG: adding the default universal variant
> DEBUG: Reading variant descriptions from
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
> DEBUG: No need to upgrade! ncurses 5.9_1 >= ncurses 5.9_1
> DEBUG: epoch: in tree: 0 installed: 0
> DEBUG: expat 2.1.0_0 exists in the ports tree
> DEBUG: expat 2.1.0_0  is the latest installed
> DEBUG: expat 2.1.0_0  is active
> DEBUG: Merging existing variants '' into variants
> DEBUG: new fully merged portvariants:
> DEBUG: Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/expat
> DEBUG: OS darwin/12.2.0 (Mac OS X 10.8) arch i386
> DEBUG: org.macports.load registered provides 'load', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.unload registered provides 'unload', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
> existing procedure. Target override will not be provided
> DEBUG: adding the default universal variant
> DEBUG: Reading variant descriptions from
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
> DEBUG: No need to upgrade! expat 2.1.0_0 >= expat 2.1.0_0
> --->  Computing dependencies for gettext
> DEBUG: gettext has no conflicts
> DEBUG: Searching for dependency: libiconv
> DEBUG: Found Dependency: receipt exists for libiconv
> DEBUG: Searching for dependency: ncurses
> DEBUG: Found Dependency: receipt exists for ncurses
> DEBUG: Searching for dependency: expat
> DEBUG: Found Dependency: receipt exists for expat
> DEBUG: Executing org.macports.main (gettext)
> DEBUG: changing euid/egid - current euid: 0 - current egid: 0
> DEBUG: egid changed to: 501
> DEBUG: euid changed to: 503
> DEBUG: Skipping completed org.macports.archivefetch (gettext)
> DEBUG: Privilege de-escalation not attempted as not running as root.
> DEBUG: Skipping completed org.macports.fetch (gettext)
> DEBUG: Privilege de-escalation not attempted as not running as root.
> DEBUG: Skipping completed org.macports.checksum (gettext)
> DEBUG: Privilege de-escalation not attempted as not running as root.
> DEBUG: Skipping completed org.macports.extract (gettext)
> DEBUG: Privilege de-escalation not attempted as not running as root.
> DEBUG: Skipping completed org.macports.patch (gettext)
> DEBUG: Privilege de-escalation not attempted as not running as root.
> DEBUG: configure phase started at Fri Oct 26 00:06:27 EDT 2012
> --->  Configuring gettext
> DEBUG: Using compiler 'Mac OS X clang'
> DEBUG: Executing proc-pre-org.macports.configure-configure-0
> DEBUG: Executing org.macports.configure (gettext)
> DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch
> x86_64' CPPFLAGS='-no-cpp-precomp' CXXFLAGS='-pipe -O2 -arch x86_64'
> LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.8'
> CXX='/usr/bin/clang++'
> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/work/.CC_PRINT_OPTIONS'
> F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64'
> OBJC='/usr/bin/clang' FCFLAGS='-pipe -O2 -m64' INSTALL='/usr/bin/install
> -c' OBJCFLAGS='-pipe -O2 -arch x86_64' FFLAGS='-pipe -O2 -m64'
> CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang'
> DEBUG: Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/work/gettext-0.18.1.1"
> && ./configure --prefix=/opt/local ac_cv_prog_AWK=/usr/bin/awk
> ac_cv_path_GREP=/usr/bin/grep ac_cv_path_SED=/usr/bin/sed --disable-
> csharp --disable-native-java --without-emacs --with-included-gettext
> --with-included-glib --with-included-libcroco --with-included-libxml
> --without-git --without-cvs'
> DEBUG: Executing command line:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/work/gettext-0.18.1.1"
> && ./configure --prefix=/opt/local ac_cv_prog_AWK=/usr/bin/awk
> ac_cv_path_GREP=/usr/bin/grep ac_cv_path_SED=/usr/bin/sed --disable-
> csharp --disable-native-java --without-emacs --with-included-gettext
> --with-included-glib --with-included-libcroco --with-included-libxml
> --without-git --without-cvs
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
> checking for gawk... (cached) /usr/bin/awk
> checking whether make sets $(MAKE)... yes
> checking build system type... x86_64-apple-darwin12.2.0
> checking host system type... x86_64-apple-darwin12.2.0
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating gnulib-local/Makefile
> === configuring in gettext-runtime
> (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/work/gettext-0.18.1.1
> /gettext-runtime)
> configure: running /bin/sh ./configure --disable-option-checking '--
> prefix=/opt/local'  'ac_cv_prog_AWK=/usr/bin/awk'
> 'ac_cv_path_GREP=/usr/bin/grep' 'ac_cv_path_SED=/usr/bin/sed' '--disable-
> csharp' '--disable-native-java' '--without-emacs' '--with-included-
> gettext' '--with-included-glib' '--with-included-libcroco' '--with-
> included-libxml' '--without-git' '--without-cvs' 'CC=/usr/bin/clang'
> 'CFLAGS=-pipe -O2 -arch x86_64' 'LDFLAGS=-L/opt/local/lib -arch x86_64'
> 'CPPFLAGS=-no-cpp-precomp' 'CXX=/usr/bin/clang++' 'CXXFLAGS=-pipe -O2
> -arch x86_64' --cache-file=/dev/null --srcdir=.
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... ../build-aux/install-sh -c -d
> checking for gawk... (cached) /usr/bin/awk
> checking whether make sets $(MAKE)... yes
> checking for gcc... /usr/bin/clang
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether /usr/bin/clang accepts -g... yes
> checking for /usr/bin/clang option to accept ISO C89... none needed
> checking for style of include used by make... GNU
> checking dependency style of /usr/bin/clang... gcc3
> checking for bison... bison -y
> checking whether to use Java... yes
> checking how to run the C preprocessor... /usr/bin/clang -E
> checking for grep that handles long lines and -e... (cached)
> /usr/bin/grep
> checking for egrep... /usr/bin/grep -E

New description:

 I am trying to install various different packages but they all fail since
 it needs "gettext" and I cant seem to install it. I tried installing it
 standalone and it still fails.

 I wiped ports, and xcode and reinstalled fresh copies. I am running
 Mountain Lion and Xcode Version 4.5.1 (4G1004), ports is at 2.1.2

 My installed ports:
 {{{
 The following ports are currently installed:
   expat @2.1.0_0 (active)
   gperf @3.0.4_2 (active)
   libiconv @1.14_0 (active)
   ncurses @5.9_1 (active)
 }}}

 output for installing gettext (ive waited hours for this to complete)

 {{{
  sudo port -v -d install gettext
 }}}

 (log removed by admin; see attachment)

--

Comment:

 Remember to use WikiFormatting.

 Your log ends with:

 {{{
 checking for grep that handles long lines and -e... (cached) /usr/bin/grep
 checking for egrep... /usr/bin/grep -E
 }}}

 From my system, the next lines should be:

 {{{
 checking for Java virtual machine... java
 checking for Java compiler... javac -source 1.3
 }}}

 So this sounds like a duplicate of #34221, except that you show you're
 running MacPorts with `sudo`, which is how we want you to run it; in
 #34221 people were running MacPorts with `su` which we believe lead to the
 problem.

 When this is happening, can you check in Activity Monitor whether there is
 a `sw_vers` process running? Also can you attach the config.log file,
 which should be somewhere inside the directory identified by the command
 `port work gettext`? Thanks.

-- 
Ticket URL: <https://trac.macports.org/ticket/36740#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list