emerge-delta-webrsync doesn't work when /usr/portage is a symlink to different place Reproducible: Always Steps to Reproduce: 1. run emerge-delta-webrsync Actual Results: ravlyk ~ # LC_ALL=C emerge-delta-webrsync Looking for available base versions for a delta fetching patches --09:53:54-- http://mirror.muntinternet.net/pub/gentoo///snapshots/deltas/snapshot-20071206-20071207.patch.bz2.md5sum => `/usr/portage/distfiles/snapshot-20071206-20071207.patch.bz2.md5sum' Connecting to 192.168.1.1:3128... connected. Proxy request sent, awaiting response... 404 Not Found 09:53:54 ERROR 404: Not Found. --09:53:54-- ftp://mirror.muntinternet.net/pub/gentoo///snapshots/deltas/snapshot-20071206-20071207.patch.bz2.md5sum => `/usr/portage/distfiles/snapshot-20071206-20071207.patch.bz2.md5sum' Connecting to 192.168.1.1:3128... connected. Proxy request sent, awaiting response... 404 Not Found 09:53:56 ERROR 404: Not Found. --09:53:56-- http://mirror.qubenet.net/mirror/gentoo///snapshots/deltas/snapshot-20071206-20071207.patch.bz2.md5sum => `/usr/portage/distfiles/snapshot-20071206-20071207.patch.bz2.md5sum' Connecting to 192.168.1.1:3128... connected. Proxy request sent, awaiting response... 404 Not Found 09:53:56 ERROR 404: Not Found. failed fetching snapshot-20071206-20071207.patch.bz2.md5sum verbosity level(1) patch_type=8 disabling bufferless, patch_count(1) == 1 || forced_reorder(1) size1=293335040, size2=293447680 reconstruction return=0, commands=10076 result was 10076 commands versions size is 293447680 applied 1 patches reordering commands? 1 reconstructing target file based off of dcbuff commands... collapsing processing src 0: 6193 commands. processing src 1: 3883 commands. reconstruction completed successfully verifying uncompressed md5 recompressing. (backgrounding) /tmp/delta-webrsync-v2vc79/portage-20071206.tar: beginning update to the tree Syncing local tree... apparently you have tarsync installed. using it. scanning tarball... cleansed 1 dups out of 154187 something is screwy with target dir /usr/portage ok, tarsync failed. that's teh suck :/ Expected Results: The tree should be synced with the diffs. Please don't draw your attention to 404 errors in output - they are shown because those snapshots was already downloaded. Is there any workaround for this or fix? I'm trying to use autofs for /usr/portage mounting, so /usr/portage points to /mnt/auto/portage . emerge itself works well I think.
Hmm. Just dug deeper and looks that's the tarsync fault.
Looks like that's an easy fix in main.c of tarsync online 232. But not for me :) Can somebody help me with a patch?
Instead of using a symlink, you can set PORTDIR in make.conf to be any directory that you want. (In reply to comment #2) > Looks like that's an easy fix in main.c of tarsync online 232. But not for me > :) > Can somebody help me with a patch? It may not be worth the trouble if you don't need to use a symlink anyway.
Works with PORTDIR set. actualy I knew about that setting, but I always try to use thing in 'standard' way to avoid any troubles. Anyway I think the author could fix the problem with symlink in case he get some spare time. Thanks.
I'm experiencing the same problem, but my /usr/portage isn't a symlink, its a mountpoint.
I have the same problem, any news on this?
(In reply to comment #5) > I'm experiencing the same problem, but my /usr/portage isn't a symlink, its a > mountpoint. Specifics please... this one I'm not able to replicate. Symlink is line 232 (suprised no one posted a one liner patch for this on a related note).
Any news on this?
Per comment #7 looks like maintainer cannot reproduce, is anybody still suffering this with 0.2.1-r1 and fully updated system?
(In reply to comment #9) > Per comment #7 looks like maintainer cannot reproduce, is anybody still > suffering this with 0.2.1-r1 and fully updated system?