From nobody Wed Jan 14 02:26:15 2026 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4drVNc4DQ9z6P20y for ; Wed, 14 Jan 2026 02:26:24 +0000 (UTC) (envelope-from red_M95@proton.me) Received: from mail-43167.protonmail.ch (mail-43167.protonmail.ch [185.70.43.167]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4drVNZ1WfYz3p53 for ; Wed, 14 Jan 2026 02:26:21 +0000 (UTC) (envelope-from red_M95@proton.me) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=proton.me header.s=protonmail header.b=k6Lnt1uP; dmarc=pass (policy=quarantine) header.from=proton.me; spf=pass (mx1.freebsd.org: domain of red_M95@proton.me designates 185.70.43.167 as permitted sender) smtp.mailfrom=red_M95@proton.me DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1768357578; x=1768616778; bh=f3d5lNfFXdd1DGA90TMgz/XsD/Cgdryqj2P9FmHzF1A=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=k6Lnt1uPhEgLtx3Qe72E677UBA99YL7LiNEC8YTcqBu9X2N2RfJ0kWph+vPwdNfzT DAHHGFrfoOx/XD53KhPZBpLiwYZJZItyr+eTVQNLOI18GVGynDa7JWugAJmzEPfQ8X 0s5DK54dNyvE1Sg1LdHd0h/UfkrxrZRmqsutJ65e2qMGNDyeB/CfXWALp1+g8LRUr/ zPTnQZxmXPnkHj9nYqZObEPeq/QjX/NP6eWYTUmJvBXmNWIEvIltbwkgQRcptZYvCn UQCQi5gXiVo7HgjaNX6pgTHiRrxZ8bXU56wnzLmu3NWwdNwkw9rJ8w/vQCvA19K4sb pKtTD0sVDxa8w== Date: Wed, 14 Jan 2026 02:26:15 +0000 To: freebsd-current@freebsd.org From: ruby R53 Subject: Change fetch addresses for Rust crates, Python packages and whatnot? Message-ID: Feedback-ID: 66100208:user:proton X-Pm-Message-ID: d41e714696f2b88fa415686f9605947c4a48b2d4 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.40 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; DMARC_POLICY_ALLOW(-0.50)[proton.me,quarantine]; RWL_MAILSPIKE_EXCELLENT(-0.40)[185.70.43.167:from]; R_SPF_ALLOW(-0.20)[+ip4:185.70.43.0/24]; R_DKIM_ALLOW(-0.20)[proton.me:s=protonmail]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:62371, ipnet:185.70.43.0/24, country:CH]; MISSING_XM_UA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[185.70.43.167:from]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[proton.me:+] X-Rspamd-Queue-Id: 4drVNZ1WfYz3p53 I've been trying to compile www/chromium for literal days now, all because = whenever `make` runs `fetch`, it goes to an address that's actually suppose= d to redirect to another one, but `fetch` instead keeps trying for a whole = minute until it ultimately falls back to distcache.freebsd.org, which is an= other whole minute of waiting for the file to download. The cherry on top i= s that the file is, most of the time, just hundreds of kilobytes in size. Hell, I even had to manually download part of these individual files using = that Links web browser=C2=B7=C2=B7=C2=B7 it'd do it a lot faster than `fetc= h`, all because it actually followed the redirection and didn't just keep t= rying over and over. But of course I wouldn't manually download hundreds up= on hundreds of archive files, this is the reason why such tool exists. So here's an example: currently one of the missing dependencies for www/chr= omium is GTK3, which depends on graphics/librsvg2-rust, which then depends = on cargo-c. It's now trying to fetch dunce-1.0.5.crate, which is one of the= crates required for it, from https://crates.io/api/v1/crates/dunce/1.0.5/d= ownload?dummy=3D/rust/crates/dunce-1.0.5.crate. Running `curl` on this link= does literally nothing, no files are downloaded. But running it on any web= browser instantly downloads the crate in question, all because that link a= ctually redirects to https://static.crates.io/crates/dunce/dunce-1.0.5.crat= e. Even `curl`ing that new link does give the file I want. Same applies for= Python packages. Now imagine this for all the remaining files=C2=B7=C2=B7=C2=B7 if it takes = about 2 minutes to download a single file, and there's 398 crate entries on= cargo-c's `Makefile.crates`, that means it'd take a whole 796 minutes to d= ownload everything, which is literally more than half a day (~13.6 hours) := )