[MacPorts] #47735: configure for gmp hangs

MacPorts noreply at macports.org
Sat May 26 00:46:40 UTC 2018


#47735: configure for gmp hangs
-----------------------+---------------------------------
  Reporter:  kaplan@…  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect    |     Status:  reopened
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.3
Resolution:            |   Keywords:
      Port:  gmp       |
-----------------------+---------------------------------

Comment (by antonvoo):

 I have the same problem. My gcc8 install fails on configure gmp. The clean
 install of gmp also fails.
 Manually the configure script works.

 OS is High Sierra with all patches installed and latest XCode .

 Replying to [ticket:47735 kaplan@…]:
 > New computer running Yosemite (10.10.3)
 >
 > Installed updated Xcode (6.3.1), macports (2.3.3), installed many ports.
 All was working.
 >
 > I tried to upgrade some ports.  The upgrade hung in the configure step
 (waited several hours with no progress).
 >
 > This happens with a number of ports, but I've tracked at least some of
 the problems down to installing gmp.
 >
 > I just did a fresh reinstall of macports (from pkg installer).  Same
 results.
 >
 > If I go into the gmp build directory and execute the configure command
 manually it works fine.  But from within macports it hangs indefinitely.
 >
 > I believe I am using the correct Xcode etc.  Let me know if there are
 other items to check:
 >
 > {{{
 > plock[~]% xcode-select --install
 > xcode-select: error: command line tools are already installed, use
 "Software Update" to install updates
 > plock[~]% xcode-select --print-path
 > /Applications/Xcode.app/Contents/Developer
 >
 > plock[~]% sudo port clean gmp
 > --->  Cleaning gmp
 > plock[~]% sudo port -d install gmp
 > DEBUG: Copying /Users/dlk/Library/Preferences/com.apple.dt.Xcode.plist
 to /opt/local/var/macports/home/Library/Preferences
 > DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/gmp
 > DEBUG: OS darwin/14.3.0 (Mac OS X 10.10) arch i386
 > DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
 > DEBUG: Sourcing PortGroup muniversal 1.0 from
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
 > DEBUG: universal variant already exists, so not adding the default one
 > DEBUG: Running callback
 portconfigure::add_automatic_compiler_dependencies
 > DEBUG: Finished running callback
 portconfigure::add_automatic_compiler_dependencies
 > DEBUG: Running callback
 portbuild::add_automatic_buildsystem_dependencies
 > DEBUG: Finished running callback
 portbuild::add_automatic_buildsystem_dependencies
 > DEBUG: Attempting ln -sf
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/gmp/work
 > DEBUG: changing euid/egid - current euid: 0 - current egid: 0
 > DEBUG: egid changed to: 501
 > DEBUG: euid changed to: 502
 > DEBUG: Starting logging for gmp
 > DEBUG: gmp has no conflicts
 > DEBUG: Executing org.macports.main (gmp)
 > DEBUG: changing euid/egid - current euid: 0 - current egid: 0
 > DEBUG: egid changed to: 501
 > DEBUG: euid changed to: 502
 > DEBUG: archivefetch phase started at Fri May 15 10:20:29 CDT 2015
 > DEBUG: Executing org.macports.archivefetch (gmp)
 > DEBUG: Privilege de-escalation not attempted as not running as root.
 > DEBUG: fetch phase started at Fri May 15 10:20:29 CDT 2015
 > --->  Fetching distfiles for gmp
 > DEBUG: Executing org.macports.fetch (gmp)
 > DEBUG: Privilege de-escalation not attempted as not running as root.
 > DEBUG: checksum phase started at Fri May 15 10:20:29 CDT 2015
 > --->  Verifying checksums for gmp
 > DEBUG: Executing org.macports.checksum (gmp)
 > --->  Checksumming gmp-6.0.0a.tar.bz2
 > DEBUG: Calculated (rmd160) is 2322e21e2042c974dcfaca2da18ae22d43a23ec4
 > DEBUG: Correct (rmd160) checksum for gmp-6.0.0a.tar.bz2
 > DEBUG: Calculated (sha256) is
 7f8e9a804b9c6d07164cf754207be838ece1219425d64e28cfa3e70d5c759aaf
 > DEBUG: Correct (sha256) checksum for gmp-6.0.0a.tar.bz2
 > DEBUG: Privilege de-escalation not attempted as not running as root.
 > DEBUG: extract phase started at Fri May 15 10:20:29 CDT 2015
 > --->  Extracting gmp
 > DEBUG: setting option extract.cmd to /usr/bin/bzip2
 > DEBUG: Executing org.macports.extract (gmp)
 > --->  Extracting gmp-6.0.0a.tar.bz2
 > DEBUG: setting option extract.args to
 '/opt/local/var/macports/distfiles/gmp/gmp-6.0.0a.tar.bz2'
 > DEBUG: Environment:
 > CC_PRINT_OPTIONS='YES'
 >
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/.CC_PRINT_OPTIONS'
 > CPATH='/opt/local/include'
 > LIBRARY_PATH='/opt/local/lib'
 > MACOSX_DEPLOYMENT_TARGET='10.10'
 > DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work"
 && /usr/bin/bzip2 -dc
 '/opt/local/var/macports/distfiles/gmp/gmp-6.0.0a.tar.bz2' | /usr/bin/tar
 -xf -'
 > DEBUG: Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work"
 && /usr/bin/bzip2 -dc
 '/opt/local/var/macports/distfiles/gmp/gmp-6.0.0a.tar.bz2' | /usr/bin/tar
 -xf -
 > DEBUG: euid/egid changed to: 0/0
 > DEBUG: chowned
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work
 to macports
 > DEBUG: euid/egid changed to: 502/501
 > DEBUG: Privilege de-escalation not attempted as not running as root.
 > DEBUG: patch phase started at Fri May 15 10:20:30 CDT 2015
 > DEBUG: Executing org.macports.patch (gmp)
 > --->  Applying patches to gmp
 > --->  Applying yosemite-libtool.patch
 > DEBUG: Environment:
 > CC_PRINT_OPTIONS='YES'
 >
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/.CC_PRINT_OPTIONS'
 > CPATH='/opt/local/include'
 > LIBRARY_PATH='/opt/local/lib'
 > MACOSX_DEPLOYMENT_TARGET='10.10'
 > DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0"
 && /usr/bin/patch -p0'
 > DEBUG: Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0"
 && /usr/bin/patch -p0 <
 '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/gmp/files
 /yosemite-libtool.patch'
 > patching file aclocal.m4
 > patching file configure
 > DEBUG: Privilege de-escalation not attempted as not running as root.
 > DEBUG: configure phase started at Fri May 15 10:20:30 CDT 2015
 > --->  Configuring gmp
 > DEBUG: Using compiler 'Xcode Clang'
 > DEBUG: Executing proc-pre-org.macports.configure-configure-0
 > DEBUG: Executing org.macports.configure (gmp)
 > DEBUG: Environment:
 > ABI='64'
 > AWK='/usr/bin/awk'
 > CC='/usr/bin/clang'
 > CC_PRINT_OPTIONS='YES'
 >
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/.CC_PRINT_OPTIONS'
 > CPATH='/opt/local/include'
 > CPPFLAGS='-I/opt/local/include'
 > CXX='/usr/bin/clang++ -stdlib=libc++'
 > F77FLAGS='-m64'
 > F90FLAGS='-Os -m64'
 > FCFLAGS='-Os -m64'
 > FFLAGS='-Os'
 > INSTALL='/usr/bin/install -c'
 > LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names'
 > LIBRARY_PATH='/opt/local/lib'
 > MACOSX_DEPLOYMENT_TARGET='10.10'
 > OBJC='/usr/bin/clang'
 > OBJCFLAGS='-Os -arch x86_64'
 > OBJCXX='/usr/bin/clang++'
 > OBJCXXFLAGS='-Os -arch x86_64'
 > DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0"
 && ./configure --prefix=/opt/local --enable-cxx'
 > DEBUG: Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0"
 && ./configure --prefix=/opt/local --enable-cxx
 > }}}
 >
 > From looking at the config log, it seems to be stuck at the stage:
 > {{{
 > ## ----------- ##
 > ## Core tests. ##
 > ## ----------- ##
 >
 > configure:3040: checking build system type
 > }}}
 >
 >
 > (note that after a Ctrl-C, the config log has new output resulting from
 that).
 >
 > I attach the main.log, config.log (from before Ctrl-C), and config.log
 (after Ctrl-C).
 >
 > Please let me know if there is anything else in my system that I need to
 upgrade etc.  As far as I know all Xcode stuff is working fine, and all
 licenses have been agreed to.  I was using macports successfully on this
 system for about 2 weeks before I decided to upgrade and ran into this
 problem.
 >
 > Thanks

-- 
Ticket URL: <https://trac.macports.org/ticket/47735#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list