Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895552 - net-misc/openssh: x509 patch URI no longer online. Alternative?
Summary: net-misc/openssh: x509 patch URI no longer online. Alternative?
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-20 15:42 UTC by Progenyx
Modified: 2023-02-25 17:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Progenyx 2023-02-20 15:42:17 UTC
The server down at https://roumenpetrov.info/ can no longer be accessed for several months, which makes retrieving the patches when USE=+X509 impossible.

Even if USE=-X509 (as is my case), maintaining a local version of the package is troublesome, as pkgcore always fails to generate the manifest and one is required to update the manifest file manually.

Reproducible: Always

Steps to Reproduce:
1. cd $PORTDIR/net-misc/openssh
2. sudo pkgdev manifest -f
3.
Comment 1 Mike Gilbert gentoo-dev 2023-02-21 20:21:52 UTC
The patches should be available on Gentoo mirrors.

It sounds like you have misconfigured GENTOO_MIRRORS with either an invalid value or a bad/stale mirror.
Comment 2 Progenyx 2023-02-24 16:37:09 UTC
These are my configured mirrors:

GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://mirrors.aliyun.com/gentoo/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://ftp.fau.de/gentoo"

I'll try and see if I can improve on them.

Thanks for the suggestion!
Comment 3 Mike Gilbert gentoo-dev 2023-02-24 16:53:16 UTC
The files are available on distfiles.gentoo.org, which is the default value for GENTOO_MIRRORS.

> % USE=X509 ebuild openssh-9.2_p1-r2.ebuild clean fetch
>  * openssh-9.2p1.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
> >>> Downloading 'http://distfiles.gentoo.org/distfiles/dd/openssh-9.2p1%2Bx509-14.1.diff.gz'
>  * openssh-9.2p1+x509-14.1.diff.gz BLAKE2B SHA512 size ;-) ... [ ok ]
> >>> Downloading 'http://distfiles.gentoo.org/distfiles/56/openssh-9.2_p1-X509-glue-14.1.patch.xz'
>  * openssh-9.2_p1-X509-glue-14.1.patch.xz BLAKE2B SHA512 size ;-) ... [ ok ]
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2023-02-24 17:40:00 UTC
Progenyx:

that's weird, while one of the mirrors you showed is broken, the others are online.
Can you capture the actual error when you try to fetch that distfiles from the mirrors?

You can explore mirror status here:
https://mirrorstats.gentoo.org/


good:
leaseweb
mirror.eu.oneandone.net
fau.de

broken:
aliyun - online but out-of-date


In generally, just keeping GENTOO_MIRRORS='https://distfiles.gentoo.org/' is probably the best option, it's on a CDN these days.
Comment 5 Patrick McLean gentoo-dev 2023-02-24 18:54:06 UTC
All of https://roumenpetrov.info/ is working fine for me, and I have not noticed any down time.
Comment 6 Progenyx 2023-02-24 23:57:17 UTC
(In reply to Patrick McLean from comment #5)
> All of https://roumenpetrov.info/ is working fine for me, and I have not
> noticed any down time.

That's weird, because my FF takes a while before timing out and ping always returns 100% packet loss.
Comment 7 Progenyx 2023-02-25 00:20:13 UTC
(In reply to Robin Johnson from comment #4)
> Progenyx:
> 
> that's weird, while one of the mirrors you showed is broken, the others are
> online.
> Can you capture the actual error when you try to fetch that distfiles from
> the mirrors?
> 
> You can explore mirror status here:
> https://mirrorstats.gentoo.org/
> 
> 
> good:
> leaseweb
> mirror.eu.oneandone.net
> fau.de
> 
> broken:
> aliyun - online but out-of-date
> 
> 
> In generally, just keeping GENTOO_MIRRORS='https://distfiles.gentoo.org/' is
> probably the best option, it's on a CDN these days.

As per your suggestion I removed everything and left only https://distfiles.gentoo.org as my mirror, and this is the result:

--2023-02-25 02:09:27--  https://fastly.cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-9.1p1.tar.gz
Resolving fastly.cdn.openbsd.org... 146.75.2.217, 2a04:4e42:70::729
Connecting to fastly.cdn.openbsd.org|146.75.2.217|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1838747 (1.8M) [application/octet-stream]
Saving to: '/var/cache/distfiles/openssh-9.1p1.tar.gz'

/var/cache/distfile 100%[===================>]   1.75M  2.67MB/s    in 0.7s    

2023-02-25 02:09:29 (2.67 MB/s) - '/var/cache/distfiles/openssh-9.1p1.tar.gz' saved [1838747/1838747]

--2023-02-25 02:09:29--  https://dev.gentoo.org/~chutzpah/dist/openssh/openssh-9.1p1-sctp-1.2.patch.xz
Resolving dev.gentoo.org... 140.211.166.183, 2001:470:ea4a:1:5054:ff:fec7:86e4
Connecting to dev.gentoo.org|140.211.166.183|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6772 (6.6K) [application/x-xz]
Saving to: '/var/cache/distfiles/openssh-9.1p1-sctp-1.2.patch.xz'

/var/cache/distfile 100%[===================>]   6.61K  --.-KB/s    in 0s      

2023-02-25 02:09:30 (3.35 GB/s) - '/var/cache/distfiles/openssh-9.1p1-sctp-1.2.patch.xz' saved [6772/6772]

--2023-02-25 02:09:30--  https://dev.gentoo.org/~chutzpah/dist/openssh/openssh-9.1_p1-hpn-15.2-glue.patch.xz
Resolving dev.gentoo.org... 140.211.166.183, 2001:470:ea4a:1:5054:ff:fec7:86e4
Connecting to dev.gentoo.org|140.211.166.183|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3840 (3.8K) [application/x-xz]
Saving to: '/var/cache/distfiles/openssh-9.1_p1-hpn-15.2-glue.patch.xz'

/var/cache/distfile 100%[===================>]   3.75K  --.-KB/s    in 0s      

2023-02-25 02:09:31 (1.63 GB/s) - '/var/cache/distfiles/openssh-9.1_p1-hpn-15.2-glue.patch.xz' saved [3840/3840]

--2023-02-25 02:09:31--  https://roumenpetrov.info/openssh/x509-14.0.1/openssh-9.1p1+x509-14.0.1.diff.gz
Resolving roumenpetrov.info... 91.196.124.23
Connecting to roumenpetrov.info|91.196.124.23|:443... failed: Operation timed out.
Retrying.

--2023-02-25 02:10:32--  (try: 2)  https://roumenpetrov.info/openssh/x509-14.0.1/openssh-9.1p1+x509-14.0.1.diff.gz
Connecting to roumenpetrov.info|91.196.124.23|:443... failed: Operation timed out.
Retrying.

--2023-02-25 02:11:34--  (try: 3)  https://roumenpetrov.info/openssh/x509-14.0.1/openssh-9.1p1+x509-14.0.1.diff.gz
Connecting to roumenpetrov.info|91.196.124.23|:443... failed: Operation timed out.
Giving up.

--2023-02-25 02:12:34--  https://dev.gentoo.org/~chutzpah/dist/openssh/openssh-9.1_p1-X509-glue-14.0.1.patch.xz
Resolving dev.gentoo.org... 140.211.166.183, 2001:470:ea4a:1:5054:ff:fec7:86e4
Connecting to dev.gentoo.org|140.211.166.183|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1096 (1.1K) [application/x-xz]
Saving to: '/var/cache/distfiles/openssh-9.1_p1-X509-glue-14.0.1.patch.xz'

/var/cache/distfile 100%[===================>]   1.07K  --.-KB/s    in 0s      

2023-02-25 02:12:36 (1.11 GB/s) - '/var/cache/distfiles/openssh-9.1_p1-X509-glue-14.0.1.patch.xz' saved [1096/1096]

--2023-02-25 02:12:36--  https://dev.gentoo.org/~chutzpah/dist/openssh/openssh-9.1_p1-hpn-15.2-X509-14.0.1-glue.patch.xz
Resolving dev.gentoo.org... 140.211.166.183, 2001:470:ea4a:1:5054:ff:fec7:86e4
Connecting to dev.gentoo.org|140.211.166.183|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5536 (5.4K) [application/x-xz]
Saving to: '/var/cache/distfiles/openssh-9.1_p1-hpn-15.2-X509-14.0.1-glue.patch.xz'

/var/cache/distfile 100%[===================>]   5.41K  --.-KB/s    in 0s      

2023-02-25 02:12:37 (1.99 GB/s) - '/var/cache/distfiles/openssh-9.1_p1-hpn-15.2-X509-14.0.1-glue.patch.xz' saved [5536/5536]

--2023-02-25 02:12:37--  https://fastly.cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-9.1p1.tar.gz.asc
Resolving fastly.cdn.openbsd.org... 146.75.2.217, 2a04:4e42:70::729
Connecting to fastly.cdn.openbsd.org|146.75.2.217|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 833 [text/plain]
Saving to: '/var/cache/distfiles/openssh-9.1p1.tar.gz.asc'

/var/cache/distfile 100%[===================>]     833  --.-KB/s    in 0s      

2023-02-25 02:12:38 (63.3 MB/s) - '/var/cache/distfiles/openssh-9.1p1.tar.gz.asc' saved [833/833]

--2023-02-25 02:12:38--  https://github.com/openssh/openssh-portable/commit/da6038bd5cd55eb212eb2aec1fc8ae79bbf76156.patch
Resolving github.com... 140.82.121.4
Connecting to github.com|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2818 (2.8K) [text/plain]
Saving to: '/var/cache/distfiles/openssh-9.1_p1-getentropy.patch'

/var/cache/distfile 100%[===================>]   2.75K  --.-KB/s    in 0.001s  

2023-02-25 02:12:39 (2.44 MB/s) - '/var/cache/distfiles/openssh-9.1_p1-getentropy.patch' saved [2818/2818]

--2023-02-25 02:12:39--  https://github.com/openssh/openssh-portable/commit/6283f4bd83eee714d0f5fc55802eff836b06fea8.patch
Resolving github.com... 140.82.121.4
Connecting to github.com|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 819 [text/plain]
Saving to: '/var/cache/distfiles/openssh-9.1_p1-sandbox-writev.patch'

/var/cache/distfile 100%[===================>]     819  --.-KB/s    in 0s      

2023-02-25 02:12:40 (6.83 MB/s) - '/var/cache/distfiles/openssh-9.1_p1-sandbox-writev.patch' saved [819/819]

--2023-02-25 02:12:40--  https://dev.gentoo.org/~chutzpah/dist/openssh/openssh-9.2_p1-hpn-15.2-glue.patch.xz
Resolving dev.gentoo.org... 140.211.166.183, 2001:470:ea4a:1:5054:ff:fec7:86e4
Connecting to dev.gentoo.org|140.211.166.183|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4172 (4.1K) [application/x-xz]
Saving to: '/var/cache/distfiles/openssh-9.2_p1-hpn-15.2-glue.patch.xz'

/var/cache/distfile 100%[===================>]   4.07K  --.-KB/s    in 0s      

2023-02-25 02:12:41 (1.75 GB/s) - '/var/cache/distfiles/openssh-9.2_p1-hpn-15.2-glue.patch.xz' saved [4172/4172]

--2023-02-25 02:12:41--  https://roumenpetrov.info/openssh/x509-14.1/openssh-9.2p1+x509-14.1.diff.gz
Resolving roumenpetrov.info... 91.196.124.23
Connecting to roumenpetrov.info|91.196.124.23|:443... failed: Operation timed out.
Retrying.

--2023-02-25 02:13:42--  (try: 2)  https://roumenpetrov.info/openssh/x509-14.1/openssh-9.2p1+x509-14.1.diff.gz
Connecting to roumenpetrov.info|91.196.124.23|:443... failed: Operation timed out.
Retrying.

--2023-02-25 02:14:44--  (try: 3)  https://roumenpetrov.info/openssh/x509-14.1/openssh-9.2p1+x509-14.1.diff.gz
Connecting to roumenpetrov.info|91.196.124.23|:443... failed: Operation timed out.
Giving up.

--2023-02-25 02:15:44--  https://dev.gentoo.org/~chutzpah/dist/openssh/openssh-9.2_p1-X509-glue-14.1.patch.xz
Resolving dev.gentoo.org... 140.211.166.183, 2001:470:ea4a:1:5054:ff:fec7:86e4
Connecting to dev.gentoo.org|140.211.166.183|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 900 [application/x-xz]
Saving to: '/var/cache/distfiles/openssh-9.2_p1-X509-glue-14.1.patch.xz'

/var/cache/distfile 100%[===================>]     900  --.-KB/s    in 0s      

2023-02-25 02:15:45 (1.21 GB/s) - '/var/cache/distfiles/openssh-9.2_p1-X509-glue-14.1.patch.xz' saved [900/900]

--2023-02-25 02:15:45--  https://dev.gentoo.org/~chutzpah/dist/openssh/openssh-9.2_p1-hpn-15.2-X509-14.1-glue.patch.xz
Resolving dev.gentoo.org... 140.211.166.183, 2001:470:ea4a:1:5054:ff:fec7:86e4
Connecting to dev.gentoo.org|140.211.166.183|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6040 (5.9K) [application/x-xz]
Saving to: '/var/cache/distfiles/openssh-9.2_p1-hpn-15.2-X509-14.1-glue.patch.xz'

/var/cache/distfile 100%[===================>]   5.90K  --.-KB/s    in 0s      

2023-02-25 02:15:46 (1.83 GB/s) - '/var/cache/distfiles/openssh-9.2_p1-hpn-15.2-X509-14.1-glue.patch.xz' saved [6040/6040]

 * failed fetching file: openssh-9.1p1+x509-14.0.1.diff.gz, uri: https://roumenpetrov.info/openssh/x509-14.0.1/openssh-9.1p1+x509-14.0.1.diff.gz
 * failed fetching file: openssh-9.2p1+x509-14.1.diff.gz, uri: https://roumenpetrov.info/openssh/x509-14.1/openssh-9.2p1+x509-14.1.diff.gz
 * failed fetching files for package net-misc/openssh::local
pkgdev manifest: error: failed fetching required distfiles
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2023-02-25 00:40:41 UTC
(In reply to Progenyx from comment #7)
> (In reply to Robin Johnson from comment #4)
> > Progenyx:
> > 
> > that's weird, while one of the mirrors you showed is broken, the others are
> > online.
> > Can you capture the actual error when you try to fetch that distfiles from
> > the mirrors?
> > 
> > You can explore mirror status here:
> > https://mirrorstats.gentoo.org/
> > 
> > 
> > good:
> > leaseweb
> > mirror.eu.oneandone.net
> > fau.de
> > 
> > broken:
> > aliyun - online but out-of-date
> > 
> > 
> > In generally, just keeping GENTOO_MIRRORS='https://distfiles.gentoo.org/' is
> > probably the best option, it's on a CDN these days.
> 
> As per your suggestion I removed everything and left only
> https://distfiles.gentoo.org as my mirror, and this is the result:
> 
> --2023-02-25 02:09:27-- 
> https://fastly.cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-9.1p1.
> tar.gz
> Resolving fastly.cdn.openbsd.org... 146.75.2.217, 2a04:4e42:70::729
> Connecting to fastly.cdn.openbsd.org|146.75.2.217|:443... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 1838747 (1.8M) [application/octet-stream]
> Saving to: '/var/cache/distfiles/openssh-9.1p1.tar.gz'
(snip)

This shows your client fetching from SRC_URI, and *NOT* any of the mirrors.

Do you have FEATURES=mirror enabled? That would cause Portage to fetch only from SRC_URI, and not GENTOO_MIRRORS.

Wherever you are, you're being blocked at some level from reaching the Bulgarian server for roumenpetrov.info, on 91.196.124.23.

Maybe mtr/traceroute would help you figure out why that is, but that's seperate from your misconfiguration of portage in using FEATURES=mirror
Comment 9 Progenyx 2023-02-25 16:06:15 UTC
I'm so sorry, I should've posted this from the begining, I don't know what I was thinking. To answer your question, no, I haven't altered the profile set FEATURES envvar, as you can see below.

It's a mistery to me why pkgdev does this, I'm starting to miss repoman.

To your last point, indeed, it will appear that the route to roumenpetrov.info is interrupted from my end. I shouldn't've assume the site was the problem and investigated further before openning this bug. This is clearly not an openssh maint issue and should be closed. Sorry to have wasted you guys's time.


Portage 3.0.44 (python 3.10.9-final-0, default/linux/amd64/17.0/musl/hardened/selinux, gcc-12, musl-1.2.3, 6.1.12-gentoo x86_64)
=================================================================
System uname: Linux-6.1.12-gentoo-x86_64-AMD_Ryzen_7_2700X_Eight-Core_Processor-with-libc
KiB Mem:    65751980 total,   1602920 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 18 Feb 2023 18:30:01 +0000
Head commit of repository gentoo: cd400b97268af2c440ae4a2e2a40f491a81fca27
Head commit of repository flussence: 5fc2bc5367ff73d59271e03ed6ebe9b21e6b4dac

Timestamp of repository go-overlay: Fri, 17 Feb 2023 03:31:59 +0000
Head commit of repository go-overlay: d0213343d3229e3a5c644ab56fc33dc116554640

Head commit of repository libressl: d4d16dca421fd2bb35e3dc8268afdcb6f47575cf

Head commit of repository musl: 9a26ebd8735df4afa71f23036085274fb316bb30

Head commit of repository mv: 6695df30d7fb5c3c9b49fe2e8dd1ce89060bf8f8

Head commit of repository pentoo: b397f1e39c65a97d55eb2667f568e152db1af900

Head commit of repository science: 88e8521322b88f52071c7f7b1ad395627c0296cb

Head commit of repository zx2c4: ac2514ea1757196324cf950665c516a5e5026dd5

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.39 p5) 2.39.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r1::gentoo
dev-lang/python:           3.10.9-r1::local, 3.11.1-r1::local
dev-lang/rust:             1.66.1::local
dev-util/cmake:            3.25.2::gentoo
dev-util/meson:            1.0.0::gentoo
sec-policy/selinux-base:   2.20221101-r3::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/openrc:           0.45.2-r2::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r4::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           15.0.7-r1::gentoo
sys-devel/gcc:             12.2.1_p20230121-r1::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/libselinux:       3.4::gentoo
sys-libs/musl:             1.2.3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

flussence
    location: /var/db/repos/flussence
    sync-openpgp-key-refresh: no
    sync-type: git
    sync-uri: https://repo.or.cz/flussence-overlay.git
    masters: gentoo
    priority: 50
    volatile: True
    sync-git-verify-commit-signature: true

go-overlay
    location: /var/db/repos/go-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/go-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

libressl
    location: /var/db/repos/libressl
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/proj/libressl.git
    masters: gentoo
    priority: 50
    volatile: True

musl
    location: /var/db/repos/musl
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/musl.git
    masters: gentoo
    priority: 50
    volatile: True

mv
    location: /var/db/repos/mv
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/user/mv.git
    masters: gentoo
    priority: 50
    volatile: True

pentoo
    location: /var/db/repos/pentoo
    sync-type: git
    sync-uri: https://github.com/pentoo/pentoo-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

science
    location: /var/db/repos/science
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/sci.git
    masters: gentoo
    priority: 50
    volatile: True

zx2c4
    location: /var/db/repos/zx2c4
    sync-type: git
    sync-uri: https://git.zx2c4.com/portage
    masters: gentoo
    priority: 50
    volatile: True

local
    location: /var/db/repos/local
    masters: gentoo
    priority: 1000
    volatile: True

Installed sets: @initrd
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-gentoo-linux-musl"
CFLAGS="-march=znver1 -O2 -pipe"
CHOST="x86_64-gentoo-linux-musl"
CONFIG_PROTECT="/etc /usr/bin/startx /usr/lib/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/bind /var/lib/i2pd/certificates"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=znver1 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=znver1 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned qa-unresolved-soname-deps sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=znver1 -O2 -pipe"
GENTOO_MIRRORS="https://distfiles.gentoo.org/"
INSTALL_MASK="charset.alias /usr/share/locale/locale.alias /etc/dbus-1 /etc/pam.d /etc/systemd /lib/systemd /usr/lib/modules-load.d /usr/lib/systemd /usr/lib64/systemd /usr/share/dbus-1 /usr/share/polkit-1"
LANG="en_US.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j15 -l13.5"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X aalib acl acpi amd64 audiofile audit blas bzip2 cairo caps clamav clang cli crypt cups curl djvu dri dv emacs emboss exif fbcon ffmpeg fftw flac fontconfig fortran gdbm geoip gif git gnuplot gpm gsl hardened hddtemp hdf5 heif iconv imagemagick imlib inotify ipv6 jack jbig jemalloc jpeg jpeg2k json ladspa lapack lash latex lcms ldap libcaca libglvnd libressl libsamplerate libtirpc llvm lm-sensors lmdb lz4 lzma lzo mad memcached milter mime mng mp3 ncurses netcdf nis nntp nptl offensive ofx ogg openal openexr opengl openmp opus oss pdf php pie plotutils png posix postgres postscript raw readline rss sasl savedconfig sctp seccomp selinux slp smartcard smp sndfile snmp sockets socks5 speex split-usr sqlite ssl ssp svg syslog szip tcl test-rust theora tiff tk truetype udev unicode usb v4l vaapi valgrind vdpau verify-sig vhosts vnc vorbis vulkan wavpack webp wmf xattr xcb xface xft xinetd xmp xmpp xpm xtpax xv zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" ALSA_CARDS="hda-intel" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="ptp2" COLLECTD_PLUGINS="apcups bind capabilities cgroups check_uptime connectivity conntrack cpu cpufreq cpusleep csv df disk dns entropy ethstat exec fhcount filecount fscache hddtemp hugepages interface ipc iptables irq load logfile logparser match_empty_counter match_hashed match_regex match_timediff match_value mbmon memcached memory mqtt network nginx notify_email ntpd numa nut openldap openvpn pcie_errors ping postgresql processes procevent rrdcached rrdtool sensors serial smart swap sysevent syslog tail tcpconns ted thermal threshold uptime users uuid vmem write_http write_log write_syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="libressl" ELIBC="musl" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="access addition auth_basic auth_request autoindex browser cache_purge charset dav dav_ext echo empty_gif fancyindex fastcgi geo gzip limit_conn limit_req map memc memcached metrics proxy realip referer rewrite scgi secure_link security split_clients ssi stub_status upload_progress upstream_check upstream_ip_hash userid uwsgi vhost_traffic_status xslt" NGINX_MODULES_MAIL="imap pop3 smtp" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" QEMU_SOFTMMU_TARGETS="aarch64 i386 mips64 mips64el ppc64 riscv64 sparc64 x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 10 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2023-02-25 16:37:29 UTC
Thanks; this ALSO let me find a subtle difference in pkgdev & ebuild, that I think is probably a pkgdev bug: pkgdev doesn't use the GENTOO_MIRRORS before SRC_URI, and it probably SHOULD.

...:/usr/portage/net-misc/openssh # rm Manifest
...:/usr/portage/net-misc/openssh # rm $DISTDIR/openssh-9.2p1.tar.gz
...:/usr/portage/net-misc/openssh # ebuild openssh-9.2_p1-r2.ebuild manifest
>>> Downloading 'http://distfiles.gentoo.org/distfiles/8c/openssh-9.2p1.tar.gz'
--2023-02-25 08:35:14--  http://distfiles.gentoo.org/distfiles/8c/openssh-9.2p1.tar.gz
Resolving distfiles.gentoo.org... 2a02:6ea0:d800::2, 212.102.46.9
Connecting to distfiles.gentoo.org|2a02:6ea0:d800::2|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1852380 (1.8M) [application/x-gzip]
Saving to: ‘/home/gentoo/distfiles/openssh-9.2p1.tar.gz.__download__’

/home/gentoo/distfiles/op 100%[=====================================>]   1.77M  --.-KB/s    in 0.06s   

2023-02-25 08:35:14 (30.2 MB/s) - ‘/home/gentoo/distfiles/openssh-9.2p1.tar.gz.__download__’ saved [1852380/1852380]

>>> Creating Manifest for /code/gentoo/gentoo-git/repo/gentoo/net-misc/openssh

...:/usr/portage/net-misc/openssh # rm Manifest
...:/usr/portage/net-misc/openssh # rm $DISTDIR/openssh-9.2p1.tar.gz
...:/usr/portage/net-misc/openssh # pkgdev manifest -f
--2023-02-25 16:34:27--  https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-9.2p1.tar.gz
Resolving cdn.openbsd.org... 2a04:4e42:8b::729, 151.101.22.217
Connecting to cdn.openbsd.org|2a04:4e42:8b::729|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1852380 (1.8M) [application/octet-stream]
Saving to: '/home/gentoo/distfiles/openssh-9.2p1.tar.gz'

/home/gentoo/distfiles/op 100%[=====================================>]   1.77M  --.-KB/s    in 0.08s   

2023-02-25 16:34:27 (22.6 MB/s) - '/home/gentoo/distfiles/openssh-9.2p1.tar.gz' saved [1852380/1852380]

 * generating manifest: net-misc/openssh::gentoo
Comment 11 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2023-02-25 17:12:21 UTC
Hi Progenyx:

I'm told you should add -m to your pkgdev manifest call; and you can also add it to the deafult config if you want.
https://pkgcore.github.io/pkgdev/man/config.html

Closing this as an upstream issue, since it's network related and not specific to anything on the Gentoo side.