[MacPorts] #49224: port selfupdate can not update because broken ports
#49224: port selfupdate can not update because broken ports ---------------------------+-------------------------------- Reporter: master.alff@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: selfupdate | Port: ---------------------------+-------------------------------- 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? -- Ticket URL: <https://trac.macports.org/ticket/49224> MacPorts <https://www.macports.org/> Ports system for OS X
#49224: port selfupdate can not update because broken ports ----------------------------+-------------------------------- Reporter: master.alff@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: selfupdate Port: | ----------------------------+-------------------------------- Comment (by skidspam@…): +1 exactly same problem -- Ticket URL: <https://trac.macports.org/ticket/49224#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#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
#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: | -----------------------------+--------------------- Comment (by ryandesign@…): Replying to [comment:3 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). -- Ticket URL: <https://trac.macports.org/ticket/49224#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#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: | -----------------------------+--------------------- Comment (by ryandesign@…): Users can either wait until the server is fixed, or else switch to a different syncing method, such as [wiki:howto/SyncingWithSVN an svn working copy] or [wiki:howto/PortTreeTarball a tarball via https]. -- Ticket URL: <https://trac.macports.org/ticket/49224#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#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: | -----------------------------+--------------------- Comment (by michaelwallis@…): Replying to [comment:4 ryandesign@…]:
Replying to [comment:3 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. -- Ticket URL: <https://trac.macports.org/ticket/49224#comment:30> MacPorts <https://www.macports.org/> Ports system for OS X
#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: michaelwallis@… (added) Comment: Replying to [comment:30 michaelwallis@…]:
So what should we be using? And what's the next step, as all my machines are down and failing.
See comment:5. -- Ticket URL: <https://trac.macports.org/ticket/49224#comment:31> MacPorts <https://www.macports.org/> Ports system for OS X
#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: | -----------------------------+--------------------- Comment (by Geoffrey@…): Replying to [comment:41 davidwalton3142@…]:
Cc Me!
-- Ticket URL: <https://trac.macports.org/ticket/49224#comment:42> MacPorts <https://www.macports.org/> Ports system for OS X
#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: | -----------------------------+--------------------- Comment (by steve.sell@…): I'm trying to do a new install - is there a way to get base updated? -- Ticket URL: <https://trac.macports.org/ticket/49224#comment:45> MacPorts <https://www.macports.org/> Ports system for OS X
#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: | -----------------------------+--------------------- Comment (by ryandesign@…): 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 [wiki:howto/SyncingWithSVN syncing with svn] instead of rsync. -- Ticket URL: <https://trac.macports.org/ticket/49224#comment:47> MacPorts <https://www.macports.org/> Ports system for OS X
#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: | -----------------------------+--------------------- Comment (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. -- Ticket URL: <https://trac.macports.org/ticket/49224#comment:48> MacPorts <https://www.macports.org/> Ports system for OS X
#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: | -----------------------------+--------------------- Comment (by francwalter@…): Replying to [comment:48 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?
-- Ticket URL: <https://trac.macports.org/ticket/49224#comment:49> MacPorts <https://www.macports.org/> Ports system for OS X
#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: | -----------------------------+--------------------- Comment (by jonesc@…): Replying to [comment:49 francwalter@…]:
Replying to [comment:48 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 ... https://trac.macports.org/ticket/49288 -- Ticket URL: <https://trac.macports.org/ticket/49224#comment:50> MacPorts <https://www.macports.org/> Ports system for OS X
#49224: rsync.macports.org server Input/output errors -----------------------------+--------------------- Reporter: master.alff@… | Owner: admin@… Type: defect | Status: closed Priority: High | Milestone: Component: server/hosting | Version: Resolution: fixed | Keywords: Port: | -----------------------------+--------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Replying to [comment:48 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... -- Ticket URL: <https://trac.macports.org/ticket/49224#comment:52> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts