[MacPorts] #26545: I/O error on boost 1.44 installation
#26545: I/O error on boost 1.44 installation -------------------------------------+-------------------------------------- Reporter: nicola.degara@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: -------------------------------------+-------------------------------------- Dear all, I was trying to install Kde4 on my wife's mac and during the installation I met this error on boost 1.44 package... I started the batch in "sudo" mode (sudo port install boost) and this is what I got after a while: DEBUG: installing file: /opt/local/var/macports/software/boost/1.44.0_0/opt/local/lib/libboost_graph.a Error: Target org.macports.install returned: error copying "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/destroot/opt/local/lib/libboost_graph.a" to "/opt/local/var/macports/software/boost/1.44.0_0/opt/local/lib/libboost_graph.a": I/O error DEBUG: Backtrace: error copying "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/destroot/opt/local/lib/libboost_graph.a" to "/opt/local/var/macports/software/boost/1.44.0_0/opt/local/lib/libboost_graph.a": I/O error while executing "file copy -force $src_element $dst_element" (procedure "install_element" line 6) invoked from within "install_element $src_element $dst_element" (procedure "directory_dig" line 24) invoked from within "directory_dig $rootdir $name $imagedir [file join $cwd $name] $prepend" (procedure "directory_dig" line 35) invoked from within "directory_dig $rootdir $name $imagedir [file join $cwd $name] $prepend" (procedure "directory_dig" line 35) invoked from within "directory_dig $rootdir $name $imagedir [file join $cwd $name] $prepend" (procedure "directory_dig" line 35) invoked from within "directory_dig ${destroot} ${destroot} ${imagedir} "" 0" invoked from within "registry::write { set regref [registry::entry create $name $version $revision $portvariants $epoch] $regref requested $user_..." (procedure "portinstall::install_main" line 20) invoked from within "$procedure $targetname" I do not know whether is a package problem, an environment problem or a macport issue. I ran in DEBUG mode and there is no previous error listed... Thank you -- Ticket URL: <https://trac.macports.org/ticket/26545> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26545: I/O error on boost 1.44 installation -------------------------------------+-------------------------------------- Reporter: nicola.degara@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: boost -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * cc: nicola.degara@… (removed) * port: => boost Old description:
Dear all, I was trying to install Kde4 on my wife's mac and during the installation I met this error on boost 1.44 package... I started the batch in "sudo" mode (sudo port install boost) and this is what I got after a while:
DEBUG: installing file: /opt/local/var/macports/software/boost/1.44.0_0/opt/local/lib/libboost_graph.a Error: Target org.macports.install returned: error copying "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/destroot/opt/local/lib/libboost_graph.a" to "/opt/local/var/macports/software/boost/1.44.0_0/opt/local/lib/libboost_graph.a": I/O error DEBUG: Backtrace: error copying "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/destroot/opt/local/lib/libboost_graph.a" to "/opt/local/var/macports/software/boost/1.44.0_0/opt/local/lib/libboost_graph.a": I/O error while executing "file copy -force $src_element $dst_element" (procedure "install_element" line 6) invoked from within "install_element $src_element $dst_element" (procedure "directory_dig" line 24) invoked from within "directory_dig $rootdir $name $imagedir [file join $cwd $name] $prepend" (procedure "directory_dig" line 35) invoked from within "directory_dig $rootdir $name $imagedir [file join $cwd $name] $prepend" (procedure "directory_dig" line 35) invoked from within "directory_dig $rootdir $name $imagedir [file join $cwd $name] $prepend" (procedure "directory_dig" line 35) invoked from within "directory_dig ${destroot} ${destroot} ${imagedir} "" 0" invoked from within "registry::write {
set regref [registry::entry create $name $version $revision $portvariants $epoch]
$regref requested $user_..." (procedure "portinstall::install_main" line 20) invoked from within "$procedure $targetname"
I do not know whether is a package problem, an environment problem or a macport issue. I ran in DEBUG mode and there is no previous error listed...
Thank you
New description: Dear all, I was trying to install Kde4 on my wife's mac and during the installation I met this error on boost 1.44 package... I started the batch in "sudo" mode (sudo port install boost) and this is what I got after a while: {{{ DEBUG: installing file: /opt/local/var/macports/software/boost/1.44.0_0/opt/local/lib/libboost_graph.a Error: Target org.macports.install returned: error copying "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/destroot/opt/local/lib/libboost_graph.a" to "/opt/local/var/macports/software/boost/1.44.0_0/opt/local/lib/libboost_graph.a": I/O error DEBUG: Backtrace: error copying "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/destroot/opt/local/lib/libboost_graph.a" to "/opt/local/var/macports/software/boost/1.44.0_0/opt/local/lib/libboost_graph.a": I/O error while executing "file copy -force $src_element $dst_element" (procedure "install_element" line 6) invoked from within "install_element $src_element $dst_element" (procedure "directory_dig" line 24) invoked from within "directory_dig $rootdir $name $imagedir [file join $cwd $name] $prepend" (procedure "directory_dig" line 35) invoked from within "directory_dig $rootdir $name $imagedir [file join $cwd $name] $prepend" (procedure "directory_dig" line 35) invoked from within "directory_dig $rootdir $name $imagedir [file join $cwd $name] $prepend" (procedure "directory_dig" line 35) invoked from within "directory_dig ${destroot} ${destroot} ${imagedir} "" 0" invoked from within "registry::write { set regref [registry::entry create $name $version $revision $portvariants $epoch] $regref requested $user_..." (procedure "portinstall::install_main" line 20) invoked from within "$procedure $targetname" }}} I do not know whether is a package problem, an environment problem or a macport issue. I ran in DEBUG mode and there is no previous error listed... Thank you -- Comment: I/O error often means a problem with your hard disk. Can you verify the disk using Disk Utility? -- Ticket URL: <https://trac.macports.org/ticket/26545#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26545: I/O error on boost 1.44 installation -------------------------------------+-------------------------------------- Reporter: nicola.degara@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: boost -------------------------------------+-------------------------------------- Changes (by jmr@…): * cc: adfernandes@… (added) -- Ticket URL: <https://trac.macports.org/ticket/26545#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26545: I/O error on boost 1.44 installation --------------------------------------+------------------------------------- Reporter: nicola.degara@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: invalid | Keywords: Port: boost | --------------------------------------+------------------------------------- Changes (by adfernandes@…): * status: new => closed * resolution: => invalid Comment: I agree with `ryandesign`. My advice to you would be to: * Make sure you have everything backed up! * Boot the mac in [http://support.apple.com/kb/ht1455 safe mode]. This will force a filesystem check. (I've had errors like this before, very very rarely, where all the hard-linking that MacPorts does messes up the link structure of the HFS+ volume). * Verify the SMART status of the drive. There is a SMART report utility in MacPorts. Alternatively, there is [http://www.corecode.at/smartreporter/ SMARTreporter] (free) and [http://www.volitans-software.com/ SMART Utility] (payware). The latter gives you more information, I think. If the SMART error log on the disk (you need to really look in the SMART logs on the disk to find them; they often don't show up with the simple 'red-light/green-light' utilities) then the disk definitely needs replacement. Really, I can think of lots of things that make a port fail to install, but ''not'' with an `I/O error`. -- Ticket URL: <https://trac.macports.org/ticket/26545#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26545: I/O error on boost 1.44 installation --------------------------------------+------------------------------------- Reporter: nicola.degara@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: invalid | Keywords: Port: boost | --------------------------------------+------------------------------------- Comment(by nicola.degara@…): Dear all, thank you very much!!! I have followed your suggestion but unfortunately (or fortunately!) the disk seems healthy.. this is the log generated by SMART Reporter: 2010-09-21 17:52:44.978 SMARTReporter[148:207] Drive: 'ST9120822AS (Macintosh HD | 5RM0L5PX | disk0)' Status: SMARTOK (S.M.A.R.T. condition not exceeded, drive OK) 2010-09-21 17:54:00.397 SMARTReporter[155:207] Drive: 'ST9120822AS (Macintosh HD | 5RM0L5PX | disk0)' Status: SMARTOK (S.M.A.R.T. condition not exceeded, drive OK) 2010-09-21 17:54:35.153 SMARTReporter[155:207] Drive: 'ST9120822AS (Macintosh HD | 5RM0L5PX | disk0)' Status: SMARTOK (S.M.A.R.T. condition not exceeded, drive OK) 2010-09-21 17:57:47.437 SMARTReporter[121:207] Drive: 'ST9120822AS (Macintosh HD | 5RM0L5PX | disk0)' Status: SMARTOK (S.M.A.R.T. condition not exceeded, drive OK) 2010-09-21 17:58:59.014 SMARTReporter[121:207] Drive: 'ST9120822AS (Macintosh HD | 5RM0L5PX | disk0)' Status: SMARTOK (S.M.A.R.T. condition not exceeded, drive OK) and as far as I can understand it sounds negative about errors. Right? I forgot to say that the Mac has been newly re-installed three days ago because we upgraded to Snow leopard and we took the occasion for some "season cleaning"... If you have any further suggestion I will be happy to try it.. Thx Nicola -- Ticket URL: <https://trac.macports.org/ticket/26545#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26545: I/O error on boost 1.44 installation --------------------------------------+------------------------------------- Reporter: nicola.degara@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: invalid | Keywords: Port: boost | --------------------------------------+------------------------------------- Comment(by adfernandes@…): SMART is a funny thing. The SMART "conditions" are often not exceeded, even when the drive is failing. Try installing the `smartmontools` port, and using the `smartctl -a [disk]` command. Look carefully at the disk's internal error log. Frequently, drives record media errors but then do '''not''' report SMART problems. That's happened to me twice. Cheers, -Andrew. -- Ticket URL: <https://trac.macports.org/ticket/26545#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26545: I/O error on boost 1.44 installation --------------------------------------+------------------------------------- Reporter: nicola.degara@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: invalid | Keywords: Port: boost | --------------------------------------+------------------------------------- Comment(by nicola.degara@…): Dear all, Finally I got the smart POP up. You were right.. unfortunately my disk has I/O errors. Tomorrow I will buy a new disk... Thank you all for the great, quick, professional and reliable support. ... and, as a kde daily user I will try again to install kde4 on MAC. Nicola -- Ticket URL: <https://trac.macports.org/ticket/26545#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26545: I/O error on boost 1.44 installation --------------------------------------+------------------------------------- Reporter: nicola.degara@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: invalid | Keywords: Port: boost | --------------------------------------+------------------------------------- Comment(by nicola.degara@…): Now. With a new disk I can compile !!! Thank you -- Ticket URL: <https://trac.macports.org/ticket/26545#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts