[MacPorts] #44253: gtk2 @2.24.23 stuck during install
David Evans
devans at macports.org
Sun Jul 6 08:06:31 PDT 2014
On 7/6/14 7:38 AM, MacPorts wrote:
> #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)
> >
> }}}
>
Based on this, I would run
sudo port -d rev-upgrade
to see why it considers gtk2 and the others to be broken and then
address those issues directly.
More information about the macports-dev
mailing list