Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 891351

Summary: dev-libs/libpcre2-10.40-r1: Failed to fetch distfiles
Product: Gentoo Linux Reporter: Adrian Schollmeyer <nex+b-g-o>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description Adrian Schollmeyer 2023-01-18 22:05:26 UTC
Apparently the patchsets for dev-libs/libpcre2-10.40-r1 no longer exist:

>>> Downloading 'https://dev.gentoo.org/~polynomial-c/dist/libpcre2-10.36-patchset-01.tar.xz'
--2023-01-18 22:30:15--  https://dev.gentoo.org/~polynomial-c/dist/libpcre2-10.36-patchset-01.tar.xz
Resolving dev.gentoo.org... 2001:470:ea4a:1:5054:ff:fec7:86e4, 140.211.166.183
Connecting to dev.gentoo.org|2001:470:ea4a:1:5054:ff:fec7:86e4|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-01-18 22:30:16 ERROR 404: Not Found.

>>> Downloading 'https://dev.gentoo.org/~whissi/dist/libpcre2/libpcre2-10.36-patchset-01.tar.xz'
--2023-01-18 22:30:16--  https://dev.gentoo.org/~whissi/dist/libpcre2/libpcre2-10.36-patchset-01.tar.xz
Resolving dev.gentoo.org... 2001:470:ea4a:1:5054:ff:fec7:86e4, 140.211.166.183
Connecting to dev.gentoo.org|2001:470:ea4a:1:5054:ff:fec7:86e4|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-01-18 22:30:16 ERROR 404: Not Found.

Reproducible: Always

Steps to Reproduce:
1. Ensure libpcre2-10.36-patchset-01.tar.xz doesn't exist already in DISTDIR
2. emerge -1 =dev-libs/libpcre2-10.40-r1
Actual Results:  
emerge fails, being unable to fetch the distfiles

Expected Results:  
emerge downloads the distfiles and builds the package
Comment 1 Adrian Schollmeyer 2023-01-18 22:05:58 UTC
Created attachment 848801 [details]
build.log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-18 22:06:16 UTC
I'll mirror them now and update the ebuild, but please set GENTOO_MIRRORS.
Comment 3 Adrian Schollmeyer 2023-01-18 22:06:22 UTC
Comment on attachment 848801 [details]
build.log

 * pcre2-10.40.tar.bz2 BLAKE2B SHA512 size ;-) ...                       [ ok ]
>>> Downloading 'ftp://ftp.tu-ilmenau.de/Mirrors/gentoo/distfiles/layout.conf'
pathconf: Permission denied
--2023-01-18 22:30:15--  ftp://ftp.tu-ilmenau.de/Mirrors/gentoo/distfiles/layout.conf
           => ‘/var/cache/distfiles/.layout.conf.ftp.tu-ilmenau.de.__download__’
Resolving ftp.tu-ilmenau.de... 2001:638:904:1::21, 141.24.186.63
Connecting to ftp.tu-ilmenau.de|2001:638:904:1::21|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /Mirrors/gentoo/distfiles ... done.
==> SIZE layout.conf ... 45
==> EPSV ... couldn't connect to 2001:638:904:1::21 port 7676: Connection refused
!!! Couldn't download '.layout.conf.ftp.tu-ilmenau.de'. Aborting.
>>> Downloading 'ftp://ftp.tu-ilmenau.de/Mirrors/gentoo/distfiles/libpcre2-10.36-patchset-01.tar.xz'
pathconf: Permission denied
--2023-01-18 22:30:15--  ftp://ftp.tu-ilmenau.de/Mirrors/gentoo/distfiles/libpcre2-10.36-patchset-01.tar.xz
           => ‘/var/cache/distfiles/libpcre2-10.36-patchset-01.tar.xz.__download__’
Resolving ftp.tu-ilmenau.de... 2001:638:904:1::21, 141.24.186.63
Connecting to ftp.tu-ilmenau.de|2001:638:904:1::21|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /Mirrors/gentoo/distfiles ... done.
==> SIZE libpcre2-10.36-patchset-01.tar.xz ... 1364
==> EPSV ... couldn't connect to 2001:638:904:1::21 port 37263: Connection refused
>>> Downloading 'https://dev.gentoo.org/~polynomial-c/dist/libpcre2-10.36-patchset-01.tar.xz'
--2023-01-18 22:30:15--  https://dev.gentoo.org/~polynomial-c/dist/libpcre2-10.36-patchset-01.tar.xz
Resolving dev.gentoo.org... 2001:470:ea4a:1:5054:ff:fec7:86e4, 140.211.166.183
Connecting to dev.gentoo.org|2001:470:ea4a:1:5054:ff:fec7:86e4|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-01-18 22:30:16 ERROR 404: Not Found.

>>> Downloading 'https://dev.gentoo.org/~whissi/dist/libpcre2/libpcre2-10.36-patchset-01.tar.xz'
--2023-01-18 22:30:16--  https://dev.gentoo.org/~whissi/dist/libpcre2/libpcre2-10.36-patchset-01.tar.xz
Resolving dev.gentoo.org... 2001:470:ea4a:1:5054:ff:fec7:86e4, 140.211.166.183
Connecting to dev.gentoo.org|2001:470:ea4a:1:5054:ff:fec7:86e4|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-01-18 22:30:16 ERROR 404: Not Found.

!!! Couldn't download 'libpcre2-10.36-patchset-01.tar.xz'. Aborting.
^[[31;01m * ^[[39;49;00mFetch failed for 'dev-libs/libpcre2-10.40-r1', Log file:
^[[31;01m * ^[[39;49;00m '/var/tmp/portage/dev-libs/libpcre2-10.40-r1/temp/build.log'
Comment 4 Adrian Schollmeyer 2023-01-18 22:06:48 UTC
Created attachment 848803 [details]
emerge --info
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-18 22:08:29 UTC
I think the mirrors you have set are gone and you need to pick newer values.
Comment 6 Larry the Git Cow gentoo-dev 2023-01-18 22:09:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f0de6f7e19517b6653f826d96d6161609b5d861

commit 8f0de6f7e19517b6653f826d96d6161609b5d861
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-18 22:08:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-18 22:08:37 +0000

    dev-libs/libpcre2: update SRC_URI
    
    Closes: https://bugs.gentoo.org/891351
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/libpcre2/libpcre2-10.40-r1.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)