[MacPorts] #45684: Builds hang post upgrading to Yosemite

MacPorts noreply at macports.org
Thu Oct 30 15:49:03 PDT 2014


#45684: Builds hang post upgrading to Yosemite
---------------------+--------------------------------
  Reporter:  j@…     |      Owner:  macports-tickets@…
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  base    |    Version:  2.3.2
Resolution:          |   Keywords:
      Port:          |
---------------------+--------------------------------

Comment (by j@…):

 The command that hangs (from the original post to this ticket right before
 ctrl-c) is:

 {{{
 DEBUG: Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_unrar/unrar/work/unrar"
 && /usr/bin/make -j4 -w all -f makefile.unix CXX="/usr/bin/clang++"
 DESTDIR=/opt/local CXXFLAGS="-Os -arch x86_64 -stdlib=libc++"
 LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64
 -stdlib=libc++"
 }}}


 I've attached the process sample for `make` to the ticket.

 Not sure how to use dtruss. This is what I did:
 {{{
 jon$ sudo dtruss -p 44392
 Password:
 SYSCALL(args)            = return

 }}}

 Just to clarify - I ran into the same issue using both "sudo su \n port
 install", and "sudo port install" invocations.

 Now, I just tried to run the command on the last debug line as my user,
 and it also worked when I add sudo before the make command.


 Command:
 {{{
 cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_unrar/unrar/work/unrar"
 && sudo /usr/bin/make -j4 -w all -f makefile.unix CXX="/usr/bin/clang++"
 DESTDIR=/opt/local CXXFLAGS="-Os -arch x86_64 -stdlib=libc++"
 LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64
 -stdlib=libc++"
 }}}

 Output:
 {{{
 /usr/bin/clang++ -o unrar -L/opt/local/lib
 -Wl,-headerpad_max_install_names -arch x86_64 -stdlib=libc++ rar.o
 strlist.o strfn.o pathfn.o savepos.o smallfn.o global.o file.o filefn.o
 filcreat.o archive.o arcread.o unicode.o system.o isnt.o crypt.o crc.o
 rawread.o encname.o resource.o match.o timefn.o rdwrfn.o consio.o
 options.o ulinks.o errhnd.o rarvm.o secpassword.o rijndael.o getbits.o
 sha1.o extinfo.o extract.o volume.o list.o find.o unpack.o cmddata.o
 filestr.o recvol.o rs.o scantree.o
 strip unrar
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_unrar/unrar/work/unrar'
 }}}

 Which seems to indicate there is something amiss when port invokes the
 make command.

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


More information about the macports-tickets mailing list