[MacPorts] #47735: configure for gmp hangs

MacPorts noreply at macports.org
Tue Apr 3 19:24:40 UTC 2018


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

Comment (by pkoshevoy):

 I'm having the same problem, gmp won't install, gets stuck configuring.
 {{{
 $ sudo port -d install gmp gnutls nasm mc libass htop -x11
 DEBUG: Copying /Users/pavel/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/macports/release/tarballs/ports/devel/gmp
 DEBUG: OS darwin/17.5.0 (Mac OS X 10.13) arch i386
 DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
 DEBUG: Sourcing PortGroup muniversal 1.0 from
 /opt/local/var/macports/sources/rsync.macports.org/macports/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: dropping privileges: euid changed to 501, egid changed to 20.
 DEBUG: Starting logging for gmp
 DEBUG: gmp has no conflicts
 DEBUG: Executing org.macports.main (gmp)
 DEBUG: dropping privileges: euid changed to 501, egid changed to 20.
 DEBUG: Skipping completed org.macports.archivefetch (gmp)
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: Skipping completed org.macports.fetch (gmp)
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: Skipping completed org.macports.checksum (gmp)
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: Skipping completed org.macports.extract (gmp)
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: Skipping completed org.macports.patch (gmp)
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: configure phase started at Tue Apr  3 13:19:01 MDT 2018
 --->  Configuring gmp
 DEBUG: Preferred compilers: clang
 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_macports_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.13'
 OBJC='/usr/bin/clang'
 OBJCFLAGS='-Os -arch x86_64'
 OBJCXX='/usr/bin/clang++'
 OBJCXXFLAGS='-arch x86_64'
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.1.2"
 && ./configure --prefix=/opt/local --enable-cxx
 DEBUG: system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.1.2"
 && ./configure --prefix=/opt/local --enable-cxx

 }}}

 I suspect that the problem is here:
 {{{
 DEBUG: dropping privileges: euid changed to 501, egid changed to 20.
 DEBUG: Starting logging for gmp
 DEBUG: gmp has no conflicts
 DEBUG: Executing org.macports.main (gmp)
 DEBUG: dropping privileges: euid changed to 501, egid changed to 20.
 }}}

 my user id is not 501.

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


More information about the macports-tickets mailing list