[MacPorts] #44253: gtk2 @2.24.23 stuck during install

MacPorts noreply at macports.org
Sun Jul 6 07:38:34 PDT 2014


#44253: gtk2 @2.24.23 stuck during install
-------------------------------+--------------------------------
  Reporter:  frederic.stark@…  |      Owner:  macports-tickets@…
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.2.1
Resolution:                    |   Keywords:
      Port:  gtk2              |
-------------------------------+--------------------------------

Comment (by frederic.stark@…):

 Sure! Snoop gives nothing (after a couple of minutes)

 {{{
 > sudo opensnoop -p 43014
   UID    PID COMM          FD PATH
 ^C
 >
 }}}


 dtruss spawn thousands of those:
 {{{
 > sudo dtruss -p 43014
 dtrace: 342049 dynamic variable drops with non-empty dirty list
 SYSCALL(args)            = return
 ioctl(0xD, 0x4004667A, 0x7FFF5785E6C4)           = -1 Err#25
 ioctl(0xD, 0x40487413, 0x7FFF5785E678)           = -1 Err#25
 ioctl(0xD, 0x4004667A, 0x7FFF5785E6C4)           = -1 Err#25
 ioctl(0xD, 0x40487413, 0x7FFF5785E678)           = -1 Err#25
 ioctl(0xD, 0x4004667A, 0x7FFF5785E6C4)           = -1 Err#25
 ioctl(0xD, 0x40487413, 0x7FFF5785E678)           = -1 Err#25
 ioctl(0xD, 0x4004667A, 0x7FFF5785E6C4)           = -1 Err#25
 ioctl(0xD, 0x40487413, 0x7FFF5785E678)           = -1 Err#25
 ^C
 >
 }}}

 Err 25 is ENOTTY, and according to man pages:

      [ENOTTY]           fildes is not associated with a character special
 device.

      [ENOTTY]           The specified request does not apply to the kind
 of object that the descriptor fildes references.


 On the binary side of the stuff, I put the '-b' at the wrong place in the
 command line. When I do it correctly, I get the following:

 {{{
 > sudo port -b install gtk2
 Password:
 --->  Computing dependencies for gtk2
 --->  Cleaning gtk2
 --->  Scanning binaries for linking errors: 100.0%
 --->  Found 30 broken file(s), matching files to ports
 --->  Found 3 broken port(s), determining rebuild order
 --->  Rebuilding in order
      gtk2 @2.24.23 +x11
      harfbuzz-icu @0.9.27
      texlive-bin @2013 +x11
 --->  Computing dependencies for gtk2
 --->  Cleaning gtk2
 --->  Computing dependencies for harfbuzz-icu
 --->  Cleaning harfbuzz-icu
 --->  Computing dependencies for texlive-bin
 --->  Cleaning texlive-bin
 --->  Scanning binaries for linking errors: 100.0%
 --->  Found 30 broken file(s), matching files to ports
 Port gtk2 still broken after reinstalling -- can't rebuild due to binary-
 only mode
     while executing
 "error "Port $portname still broken after reinstalling -- can't rebuild
 due to binary-only mode""
     (procedure "revupgrade_scanandrebuild" line 270)
     invoked from within
 "revupgrade_scanandrebuild broken_port_counts $opts"
     (procedure "macports::revupgrade" line 5)
     invoked from within
 "macports::revupgrade $opts"
     (procedure "action_revupgrade" line 2)
     invoked from within
 "action_revupgrade $action $portlist $opts"
     (procedure "action_target" line 96)
     invoked from within
 "$action_proc $action $portlist [array get global_options]"
     (procedure "process_cmd" line 93)
     invoked from within
 "process_cmd $remaining_args"
     invoked from within
 "if { [llength $remaining_args] > 0 } {

     # If there are remaining arguments, process those as a command
     set exit_status [process_cmd $remaining..."
     (file "/opt/local/bin/port" line 4857)
 >
 }}}

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


More information about the macports-tickets mailing list