Using a stage3 tar ball in WSL I managed to make it work, but running "emerge --sync" times out all time.
I tried different repos but all failed. Adding new packages using emerge seems to work and even websync does,
so why not "emerge --sync"?
I can't see that there are any firewall problem as theres no rules for outgoing requests.
I heard WSL had terrible IO and I guess you're using rsync so this should answer your question. I think webrsync should work fine as (to my understanding) it grabs a snapshot and the rest is done locally. Did you try using git?
First question would be WSL1 or WSL2, as those operate very differently under the hood (syscall emulation vs. full virtualization) which can have significant impact on IO performance. If using WSL2 you could use wireshark to check network traffic on the virtual network interface to maybe give you a clue what is going wrong.
Do you have /etc/resolv.conf provided?
EDIT: My bad, overlooked OP, sorry...
Thks 4 ur attention, interest & support.
Last edited by CaptainBlood on Wed Dec 13, 2023 6:37 pm, edited 1 time in total.
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Answer to Hu:
JME-SSD /etc/portage/repos.conf # LC_MESSAGES=C emerge --sync
>>> Syncing repository 'gentoo' into '/var/db/repos/gentoo'...
* Using keys from /usr/share/openpgp-keys/gentoo-release.asc
* Refreshing keys via WKD ... [ ok ]
>>> Starting rsync with rsync://rsync.se.gentoo.org...
>>> Checking server timestamp ...
timed out
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(713) [Receiver=3.2.7]
>>> Retrying...
>>> Starting retry 1 of 1 with rsync://rsync.se.gentoo.org
>>> Checking server timestamp ...
timed out
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(713) [Receiver=3.2.7]
>>> Retrying...
!!! Exhausted addresses for rsync.se.gentoo.org
>>> Syncing repository 'guru' into '/var/db/repos/guru'...
/usr/bin/git fetch origin --depth 1
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
/usr/bin/git reset --merge refs/remotes/origin/master
=== Sync completed for guru
Action: sync for repo: gentoo, returned code = 1
Action: sync for repo: guru, returned code = 0
=====================================
Answer to logrusx:
Yes I tried git too but having the same result.
========================================
Answer to CaptainBlood:
JME-SSD /etc/portage/repos.conf # cat /etc/resolv.conf
# This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf:
# [network]
# generateResolvConf = false
nameserver 8.8.8.8
nameserver 192.168.80.1
====================================
Answer to Genone:
I have it captured in a file but I'm not sure how I could post that here?
EDIT: My backbone is Europe based, despite I'm far oversea.
You may have to adapt to your environment.
Thks 4 ur attention, interest & support.
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Regarding the wireshark log, just open it and in the text field below the symbol bar (should say sth, like "Apply a display filter") enter "tcp.port == 873" (without the quotes). Then it should be relatively obvious if there is any actual rsync traffic, or just failed connection attempts. If the list is completely empty with that filter the issue is probably that portage doesn't find any actual servers for your configuration, so might be worth trying a different sync-uri setting. The output you posted kinda points into that direction.