[MacPorts] #32877: "sudo port install gimp" hangs forever on "Building sane-backends"
#32877: "sudo port install gimp" hangs forever on "Building sane-backends" ------------------------------------+--------------------------------------- Reporter: dylanarena@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: ------------------------------------+--------------------------------------- I have a brand-new MacBook Pro running 10.7.2. I wanted to install GIMP, so I installed MacPorts from the AppStore and then called "sudo port install gimp" from Terminal. I saw a huge list of dependencies, which MacPorts diligently chipped away at for hours. But it seemed to have hung up at the following point in the process: ---> Fetching archive for sane-backends ---> Attempting to fetch sane-backends-1.0.22_1.darwin_11.x86_64.tbz2 from http://packages.macports.org/sane-backends ---> Fetching sane-backends ---> Attempting to fetch sane-backends-1.0.22.tar.gz from http://distfiles.macports.org/sane-backends ---> Verifying checksum(s) for sane-backends ---> Extracting sane-backends ---> Applying patches to sane-backends ---> Configuring sane-backends ---> Building sane-backends It had been a few hours, so I hit control-C and then called "sudo port install gimp" again. Happily, this time the list of dependencies was very short: ---> Dependencies to be installed: xsane sane-backends So I left the computer to run overnight. But when I returned to my computer this morning I saw that it had been hanging at the following line for at least ten hours: ---> Computing dependencies for gimp ---> Dependencies to be installed: xsane sane-backends ---> Building sane-backends Can anyone help me diagnose the problem? Thanks very much for your time, Dylan -- Ticket URL: <https://trac.macports.org/ticket/32877> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32877: "sudo port install gimp" hangs forever on "Building sane-backends" ------------------------------------+--------------------------------------- Reporter: dylanarena@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: sane-backends ------------------------------------+--------------------------------------- Changes (by cal@…): * cc: aguynamedryan+sane@…, cal@… (added) * port: => sane-backends Old description:
I have a brand-new MacBook Pro running 10.7.2. I wanted to install GIMP, so I installed MacPorts from the AppStore and then called "sudo port install gimp" from Terminal. I saw a huge list of dependencies, which MacPorts diligently chipped away at for hours. But it seemed to have hung up at the following point in the process:
---> Fetching archive for sane-backends ---> Attempting to fetch sane-backends-1.0.22_1.darwin_11.x86_64.tbz2 from http://packages.macports.org/sane-backends ---> Fetching sane-backends ---> Attempting to fetch sane-backends-1.0.22.tar.gz from http://distfiles.macports.org/sane-backends ---> Verifying checksum(s) for sane-backends ---> Extracting sane-backends ---> Applying patches to sane-backends ---> Configuring sane-backends ---> Building sane-backends
It had been a few hours, so I hit control-C and then called "sudo port install gimp" again. Happily, this time the list of dependencies was very short:
---> Dependencies to be installed: xsane sane-backends
So I left the computer to run overnight. But when I returned to my computer this morning I saw that it had been hanging at the following line for at least ten hours:
---> Computing dependencies for gimp ---> Dependencies to be installed: xsane sane-backends ---> Building sane-backends
Can anyone help me diagnose the problem?
Thanks very much for your time, Dylan
New description: I have a brand-new MacBook Pro running 10.7.2. I wanted to install GIMP, so I installed MacPorts from the AppStore and then called "sudo port install gimp" from Terminal. I saw a huge list of dependencies, which MacPorts diligently chipped away at for hours. But it seemed to have hung up at the following point in the process: {{{ ---> Fetching archive for sane-backends ---> Attempting to fetch sane-backends-1.0.22_1.darwin_11.x86_64.tbz2 from http://packages.macports.org/sane-backends ---> Fetching sane-backends ---> Attempting to fetch sane-backends-1.0.22.tar.gz from http://distfiles.macports.org/sane-backends ---> Verifying checksum(s) for sane-backends ---> Extracting sane-backends ---> Applying patches to sane-backends ---> Configuring sane-backends ---> Building sane-backends }}} It had been a few hours, so I hit control-C and then called "sudo port install gimp" again. Happily, this time the list of dependencies was very short: {{{ ---> Dependencies to be installed: xsane sane-backends }}} So I left the computer to run overnight. But when I returned to my computer this morning I saw that it had been hanging at the following line for at least ten hours: {{{ ---> Computing dependencies for gimp ---> Dependencies to be installed: xsane sane-backends ---> Building sane-backends }}} Can anyone help me diagnose the problem? Thanks very much for your time, Dylan -- Comment: Please remember to use WikiFormatting for shell output, set the port field and Cc the maintainer. Can you attach the logfile pointed to by `port log sane-backends`? Also, do you see extensive memory usage while the process runs and does everything get very slow? -- Ticket URL: <https://trac.macports.org/ticket/32877#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32877: sane-backends: build takes forever ------------------------------------+--------------------------------------- Reporter: dylanarena@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: sane-backends ------------------------------------+--------------------------------------- Comment(by ryandesign@…): Replying to [comment:1 cal@…]:
Can you attach the logfile pointed to by `port log sane-backends`?
`port log sane-backends` prints the contents of the logfile. If you want the location of the logfile, use `port logfile sane-backends`. -- Ticket URL: <https://trac.macports.org/ticket/32877#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32877: sane-backends: build takes forever ------------------------------------+--------------------------------------- Reporter: dylanarena@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: sane-backends ------------------------------------+--------------------------------------- Comment(by albanx99@…): I can confirm this. My logfile is attached. Same deal: port install gimp ... Building sane-backends takes forever. -- Ticket URL: <https://trac.macports.org/ticket/32877#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32877: sane-backends: build takes forever ------------------------------------+--------------------------------------- Reporter: dylanarena@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: sane-backends ------------------------------------+--------------------------------------- Comment(by mowerm@…): Same problem for me. Log attached, seems that build gets hung at {{{ :info:build libtool: link: Waiting for /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_graphics_sane-backends/sane-backends/work /sane-backends-1.0.22/backend/../lib/.libs/liblib.a.lock to be removed }}} -- Ticket URL: <https://trac.macports.org/ticket/32877#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32877: sane-backends: build takes forever ------------------------------------+--------------------------------------- Reporter: dylanarena@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: sane-backends ------------------------------------+--------------------------------------- Comment(by aguynamedryan+macports@…): Bummer. The only thing I can think of is that maybe there's a deadlock situation arising from building in parallel. Some googling reveals that libtool might be upset since the phrase "Waiting for $lockfile to be removed" appears [http://www.videolan.org/developers/libdvdcss/libtool here] and right below it suggests not doing a parallel build. I've removed parallel building from the Portfile. I couldn't recreate the problem on my end, so I can't verify my proposed patch. -- Ticket URL: <https://trac.macports.org/ticket/32877#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32877: sane-backends: build takes forever ------------------------------------+--------------------------------------- Reporter: dylanarena@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: sane-backends ------------------------------------+--------------------------------------- Comment(by mowerm@…): Concerning your patch, when I removed the line for "use_parallel_build", I still ened up at "Waiting for $lockfile to be removed". When I changed the line to {{{ use_parallel_build no }}} the build succeeded, and gimp was subsequently installed. -- Ticket URL: <https://trac.macports.org/ticket/32877#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32877: sane-backends: build takes forever ------------------------------------+--------------------------------------- Reporter: dylanarena@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: sane-backends ------------------------------------+--------------------------------------- Comment(by aguynamedryan+macports@…): Is there anything else I need to do to get the patch committed and this ticket closed? Thanks! -- Ticket URL: <https://trac.macports.org/ticket/32877#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32877: sane-backends: build takes forever -------------------------------------+-------------------------------------- Reporter: dylanarena@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: sane-backends | -------------------------------------+-------------------------------------- Changes (by cal@…): * status: new => closed * resolution: => fixed Comment: Sorry for the delay, r94676. A revision bump was not needed, because the list of installed files didn't change and it you were hit by this bug you can't have a sucessfully installed sane-backends port and thus don't need a rebuild. -- Ticket URL: <https://trac.macports.org/ticket/32877#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts