Opened 9 years ago

Closed 9 years ago

#49224 closed defect (fixed)

rsync.macports.org server Input/output errors

Reported by: master.alff@… Owned by: admin@…
Priority: High Milestone:
Component: server/hosting Version:
Keywords: Cc: skidspam@…, ryandesign (Ryan Carsten Schmidt), neverpanic (Clemens Lang), blair (Blair Zajac), rnspayne@…, Themanwithoutaplan, mojca (Mojca Miklavec), robin.newman@…, listmeister@…, ishtar@…, macports@…, djlambert (Derek J. Lambert), cjones051073 (Chris Jones), peter.mcalpine@…, leeawalsh@…, smparkes@…, harry.weppner@…, vcultharris (L.T. Harris), alan.mock@…, francwalter@…, ryan.d.jamison@…, ghlecl (Ghyslain Leclerc), jrjsmrtn, stephenhamilton@…, petrrr, erich3@…, michaelwallis@…, p.perroud@…, hippallium-macports@…, jonasjonas (Frank Hellenkamp), alex.emergy@…, jsalort (Julien Salort), Feuermurmel (Michael Schwarz), joseph.c.slater@…, fracai, breun (Nils Breunese), davidwalton3142@…, Geoffrey@…, steve.sell@…, marco-comini (Marco Comini), rohall@…
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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?

Change History (52)

comment:1 Changed 9 years ago by skidspam@…

+1 exact same problem

Last edited 9 years ago by skidspam@… (previous) (diff)

comment:2 Changed 9 years ago by skidspam@…

Cc: skidspam@… added

Cc Me!

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… cal@… blair@… added
Component: portsserver/hosting
Description: modified (diff)
Keywords: selfupdate removed
Owner: changed from macports-tickets@… to admin@…
Priority: NormalHigh
Summary: port selfupdate can not update because broken portsrsync.macports.org server Input/output errors
Version: 2.3.4

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.

comment:4 in reply to:  3 ; Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

I have not seen this problem myself, but it has been reported on the mailing list as well.

Now I understand why I haven't seen it. My sources.conf is set to use

rsync://rsync.macports.org/release/tarballs/ports.tar

which is complete but out of date. Users with older macports installation who haven't updated their sources.conf since r79599 still use

rsync://rsync.macports.org/release/ports/

where the input/output errors can be seen (and are likely what's causing the server-side process that repackages the tarball to be interrupted as well).

comment:5 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Users can either wait until the server is fixed, or else switch to a different syncing method, such as an svn working copy or a tarball via https.

Edit: the https tarball isn't being updated either.

Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:6 Changed 9 years ago by rnspayne@…

Cc: rnspayne@… added

Cc Me!

comment:7 Changed 9 years ago by Themanwithoutaplan

Cc: charlie.clark@… added

Cc Me!

comment:8 Changed 9 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added

Cc Me!

comment:9 Changed 9 years ago by robin.newman@…

Cc: robin.newman@… added

Cc Me!

comment:10 Changed 9 years ago by listmeister@…

Cc: listmeister@… added

Cc Me!

comment:11 Changed 9 years ago by ishtar@…

Cc: ishtar@… added

Cc Me!

comment:12 Changed 9 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:13 Changed 9 years ago by djlambert (Derek J. Lambert)

Cc: dlambert@… added

Cc Me!

comment:14 Changed 9 years ago by cjones051073 (Chris Jones)

Cc: jonesc@… added

Cc Me!

comment:15 Changed 9 years ago by peter.mcalpine@…

Cc: peter.mcalpine@… added

Cc Me!

comment:16 Changed 9 years ago by leeawalsh@…

Cc: leeawalsh@… added

Cc Me!

comment:17 Changed 9 years ago by smparkes@…

Cc: smparkes@… added

Cc Me!

comment:18 Changed 9 years ago by harry.weppner@…

Cc: harry.weppner@… added

Cc Me!

comment:19 Changed 9 years ago by vcultharris (L.T. Harris)

Cc: ltharris@… added

Cc Me!

comment:20 Changed 9 years ago by alan.mock@…

Cc: alan.mock@… added

Cc Me!

comment:21 Changed 9 years ago by francwalter@…

Cc: francwalter@… added

Cc Me!

comment:22 Changed 9 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:23 Changed 9 years ago by ryan.d.jamison@…

Cc: ryan.d.jamison@… added

Cc Me!

comment:24 Changed 9 years ago by ghlecl (Ghyslain Leclerc)

Cc: ghleclerc@… added

Cc Me!

comment:25 Changed 9 years ago by jrjsmrtn

Cc: jrjsmrtn@… added

Cc Me!

comment:26 Changed 9 years ago by stephenhamilton@…

Cc: stephenhamilton@… added

Cc Me!

comment:27 Changed 9 years ago by petrrr

Cc: petr@… removed

Cc Me!

comment:28 Changed 9 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:29 Changed 9 years ago by erich3@…

Cc: erich3@… added

Cc Me!

comment:30 in reply to:  4 ; Changed 9 years ago by michaelwallis@…

Replying to ryandesign@…:

Replying to ryandesign@…:

I have not seen this problem myself, but it has been reported on the mailing list as well.

Now I understand why I haven't seen it. My sources.conf is set to use

rsync://rsync.macports.org/release/tarballs/ports.tar

which is complete but out of date. Users with older macports installation who haven't updated their sources.conf since r79599 still use

rsync://rsync.macports.org/release/ports/

where the input/output errors can be seen (and are likely what's causing the server-side process that repackages the tarball to be interrupted as well).

So what should we be using? And what's the next step, as all my machines are down and failing.

comment:31 in reply to:  30 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: michaelwallis@… added

Replying to michaelwallis@…:

So what should we be using? And what's the next step, as all my machines are down and failing.

See comment:5.

comment:32 Changed 9 years ago by p.perroud@…

Cc: p.perroud@… added

Cc Me!

comment:33 Changed 9 years ago by hippallium-macports@…

Cc: hippallium-macports@… added

Cc Me!

comment:34 Changed 9 years ago by jonasjonas (Frank Hellenkamp)

Cc: jonas@… added

Cc Me!

comment:35 Changed 9 years ago by alex.emergy@…

Cc: alex.emergy@… added

Cc Me!

comment:36 Changed 9 years ago by jsalort (Julien Salort)

Cc: lists@… added

Cc Me!

comment:37 Changed 9 years ago by Feuermurmel (Michael Schwarz)

Cc: michi.schwarz@… added

Cc Me!

comment:38 Changed 9 years ago by joseph.c.slater@…

Cc: joseph.c.slater@… added

Cc Me!

comment:39 Changed 9 years ago by fracai

Cc: arno@… added

Cc Me!

comment:40 Changed 9 years ago by breun (Nils Breunese)

Cc: nils@… added

Cc Me!

comment:41 Changed 9 years ago by davidwalton3142@…

Cc: davidwalton3142@… added

Cc Me!

comment:42 in reply to:  41 Changed 9 years ago by Geoffrey@…

Oops!

Cc Me!

Last edited 9 years ago by Geoffrey@… (previous) (diff)

comment:43 Changed 9 years ago by Geoffrey@…

Cc: Geoffrey@… added

Cc Me!

comment:44 Changed 9 years ago by steve.sell@…

Cc: steve.sell@… added

Cc Me!

comment:45 Changed 9 years ago by steve.sell@…

I'm trying to do a new install - is there a way to get base updated?

comment:46 Changed 9 years ago by marco-comini (Marco Comini)

Cc: marco.comini@… added

Cc Me!

comment:47 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

If you're doing a new install, you already have the latest base. If your base is not the latest (i.e. is earlier than 2.3.4) you can update to 2.3.4 by downloading the MacPorts installer from the web site. To update ports, switch to syncing with svn instead of rsync.

comment:48 Changed 9 years ago by keith_dart@…

The disk on that machine (a virtual disk) had a lot of file system corruption. Not sure how that happened, but it had been recently migrated to a new host. The file system is now repaired but I can't tell what files have been lost. There is nothing in /lost+found.

comment:49 in reply to:  48 ; Changed 9 years ago by francwalter@…

Replying to keith_dart@…:

The disk on that machine (a virtual disk) had a lot of file system corruption. Not sure how that happened, but it had been recently migrated to a new host. The file system is now repaired but I can't tell what files have been lost.

Does that definetly mean the best is to switch to syncing with svn now?

comment:50 in reply to:  49 Changed 9 years ago by cjones051073 (Chris Jones)

Replying to francwalter@…:

Replying to keith_dart@…:

The disk on that machine (a virtual disk) had a lot of file system corruption. Not sure how that happened, but it had been recently migrated to a new host. The file system is now repaired but I can't tell what files have been lost.

Does that definetly mean the best is to switch to syncing with svn now?

Currently, no, due to yet another issue ...

#49288

Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:51 Changed 9 years ago by rohall@…

Cc: rohall@… added

Cc Me!

comment:52 in reply to:  48 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Replying to keith_dart@…:

The disk on that machine (a virtual disk) had a lot of file system corruption. Not sure how that happened, but it had been recently migrated to a new host. The file system is now repaired but I can't tell what files have been lost. There is nothing in /lost+found.

Thanks. Hopefully that means nothing has been lost...

Note: See TracTickets for help on using tickets.