[MacPorts] #49224: rsync.macports.org server Input/output errors (was: port selfupdate can not update because broken ports)
MacPorts
noreply at macports.org
Mon Oct 12 09:00:36 PDT 2015
#49224: rsync.macports.org server Input/output errors
-----------------------------+---------------------
Reporter: master.alff@… | Owner: admin@…
Type: defect | Status: new
Priority: High | Milestone:
Component: server/hosting | Version:
Resolution: | Keywords:
Port: |
-----------------------------+---------------------
Changes (by ryandesign@…):
* cc: ryandesign@…, cal@…, blair@… (added)
* component: ports => server/hosting
* priority: Normal => High
* owner: macports-tickets@… => admin@…
* version: 2.3.4 =>
* keywords: selfupdate =>
Old description:
> I've installed latest one MacPorts 2.3.4. And i then i tried to update
> port tree by 'selfupdate' action and i've got this exception:
>
> ''$sudo port -fv selfupdate
> ---> Updating MacPorts base sources using rsync
> receiving file list ... done
>
> sent 36 bytes received 69 bytes 42.00 bytes/sec
> total size is 27013120 speedup is 257267.81
> receiving file list ... done
>
> sent 36 bytes received 76 bytes 32.00 bytes/sec
> total size is 512 speedup is 4.57
> MacPorts base version 2.3.4 installed,
> MacPorts base version 2.3.4 downloaded.
> ---> Updating the ports tree
> Synchronizing local ports tree from
> rsync://rsync.macports.org/release/ports/
> receiving file list ... rsync: readlink_stat("/ports/kde/kde-l10n-
> eu/files/patch-CMakeLists.txt.diff" (in release)) failed: Input/output
> error (5)
> rsync: readlink_stat("/ports/science/viking/files/autogen.sh" (in
> release)) failed: Input/output error (5)
> rsync: readlink_stat("/ports/science/ghemical/files/patch-
> autogen.sh.diff" (in release)) failed: Input/output error (5)
> rsync: readlink_stat("/ports/science/bedtools/Portfile" (in release))
> failed: Input/output error (5)
> rsync: readlink_stat("/ports/science/swarm/files/patch-libpng-1.5.diff"
> (in release)) failed: Input/output error (5)
> rsync: readlink_stat("/ports/science/ldas-tools/files/patch-libraries-
> ldastoolsal-src-AtExit.cc.diff" (in release)) failed: Input/output error
> (5)
> rsync: readlink_stat("/ports/audio/sptk/Portfile" (in release)) failed:
> Input/output error (5)
> rsync: readlink_stat("/ports/textproc/unicode/Portfile" (in release))
> failed: Input/output error (5)
> rsync: readlink_stat("/ports/sysutils/augeas/files/yosemite-
> libtool.patch" (in release)) failed: Input/output error (5)
> rsync: readlink_stat("/ports/sysutils/libfaketime/Portfile" (in release))
> failed: Input/output error (5)
> rsync: readlink_stat("/ports/tex/blahtexml/files/patch-main.cpp.diff" (in
> release)) failed: Input/output error (5)
> rsync: readlink_stat("/ports/x11/xtide/files/patch-configure.ac.diff" (in
> release)) failed: Input/output error (5)
> done
> IO error encountered -- skipping file deletion
>
> sent 53 bytes received 815768 bytes 148331.09 bytes/sec
> total size is 42073152 speedup is 51.57
> rsync error: some files could not be transferred (code 23) at
> /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-47/rsync/main.c(1400)
> [generator=2.6.9]
> Command failed: /usr/bin/rsync -rtzv --delete-after '--
> exclude=/PortIndex*' rsync://rsync.macports.org/release/ports/
> /opt/local/var/macports/sources/rsync.macports.org/release/ports
> Exit code: 23
> Error: Synchronization of the local ports tree failed doing rsync
> Error: Couldn't sync the ports tree: Synchronization of 1 source(s)
> failed
> To report a bug, follow the instructions in the guide:
> http://guide.macports.org/#project.tickets
> Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the
> ports tree: Synchronization of 1 source(s) failed''
>
>
> After that i couple of times tried to delete port tree, reinstall again
> and tried to download failed ports manually:
>
> ''$ rsync -rtvz rsync://rsync.macports.org/release/ports/kde/kde-l10n-eu
> ./
> receiving file list ... rsync: readlink_stat("/ports/kde/kde-l10n-
> eu/files/patch-CMakeLists.txt.diff" (in release)) failed: Input/output
> error (5)
> done
> kde-l10n-eu/
> kde-l10n-eu/Portfile
> kde-l10n-eu/files/
>
> sent 70 bytes received 958 bytes 293.71 bytes/sec
> total size is 1125 speedup is 1.09
> rsync error: some files could not be transferred (code 23) at
> /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-47/rsync/main.c(1400)
> [generator=2.6.9]''
>
> So it seems something broken on server side?
New description:
I've installed latest one MacPorts 2.3.4. And i then i tried to update
port tree by 'selfupdate' action and i've got this exception:
{{{
$sudo port -fv selfupdate
---> Updating MacPorts base sources using rsync
receiving file list ... done
sent 36 bytes received 69 bytes 42.00 bytes/sec
total size is 27013120 speedup is 257267.81
receiving file list ... done
sent 36 bytes received 76 bytes 32.00 bytes/sec
total size is 512 speedup is 4.57
MacPorts base version 2.3.4 installed,
MacPorts base version 2.3.4 downloaded.
---> Updating the ports tree
Synchronizing local ports tree from
rsync://rsync.macports.org/release/ports/
receiving file list ... rsync: readlink_stat("/ports/kde/kde-l10n-eu/files
/patch-CMakeLists.txt.diff" (in release)) failed: Input/output error (5)
rsync: readlink_stat("/ports/science/viking/files/autogen.sh" (in
release)) failed: Input/output error (5)
rsync: readlink_stat("/ports/science/ghemical/files/patch-autogen.sh.diff"
(in release)) failed: Input/output error (5)
rsync: readlink_stat("/ports/science/bedtools/Portfile" (in release))
failed: Input/output error (5)
rsync: readlink_stat("/ports/science/swarm/files/patch-libpng-1.5.diff"
(in release)) failed: Input/output error (5)
rsync: readlink_stat("/ports/science/ldas-tools/files/patch-libraries-
ldastoolsal-src-AtExit.cc.diff" (in release)) failed: Input/output error
(5)
rsync: readlink_stat("/ports/audio/sptk/Portfile" (in release)) failed:
Input/output error (5)
rsync: readlink_stat("/ports/textproc/unicode/Portfile" (in release))
failed: Input/output error (5)
rsync: readlink_stat("/ports/sysutils/augeas/files/yosemite-libtool.patch"
(in release)) failed: Input/output error (5)
rsync: readlink_stat("/ports/sysutils/libfaketime/Portfile" (in release))
failed: Input/output error (5)
rsync: readlink_stat("/ports/tex/blahtexml/files/patch-main.cpp.diff" (in
release)) failed: Input/output error (5)
rsync: readlink_stat("/ports/x11/xtide/files/patch-configure.ac.diff" (in
release)) failed: Input/output error (5)
done
IO error encountered -- skipping file deletion
sent 53 bytes received 815768 bytes 148331.09 bytes/sec
total size is 42073152 speedup is 51.57
rsync error: some files could not be transferred (code 23) at
/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-47/rsync/main.c(1400)
[generator=2.6.9]
Command failed: /usr/bin/rsync -rtzv --delete-after '--
exclude=/PortIndex*' rsync://rsync.macports.org/release/ports/
/opt/local/var/macports/sources/rsync.macports.org/release/ports
Exit code: 23
Error: Synchronization of the local ports tree failed doing rsync
Error: Couldn't sync the ports tree: Synchronization of 1 source(s) failed
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the
ports tree: Synchronization of 1 source(s) failed
}}}
After that i couple of times tried to delete port tree, reinstall again
and tried to download failed ports manually:
{{{
$ rsync -rtvz rsync://rsync.macports.org/release/ports/kde/kde-l10n-eu ./
receiving file list ... rsync: readlink_stat("/ports/kde/kde-l10n-eu/files
/patch-CMakeLists.txt.diff" (in release)) failed: Input/output error (5)
done
kde-l10n-eu/
kde-l10n-eu/Portfile
kde-l10n-eu/files/
sent 70 bytes received 958 bytes 293.71 bytes/sec
total size is 1125 speedup is 1.09
rsync error: some files could not be transferred (code 23) at
/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-47/rsync/main.c(1400)
[generator=2.6.9]
}}}
So it seems something broken on server side?
--
Comment:
I have not seen this problem myself, but it has been reported on the
mailing list as well.
Keith, can you please check the rsync server? Has its disk failed?
The rsync server is critical to MacPorts. Without it, users cannot get any
updates.
--
Ticket URL: <https://trac.macports.org/ticket/49224#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list