postgresql:12 fails to build in Fedora 39 <https://mbs.fedoraproject.org/module-build-service/2/module-builds/16036> because a postgresql fails to build <https://koji.fedoraproject.org/koji/taskinfo?taskID=97532630>:
DEBUG util.py:540: Executing command: ['fedpkg', 'sources'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
DEBUG util.py:443: % Total % Received % Xferd Average Speed Time Time Time Current
DEBUG util.py:443: Dload Upload Total Spent Left Speed
DEBUG util.py:443:
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 19.5M 100 19.5M 0 0 62.8M 0 --:--:-- --:--:-- --:--:-- 62.9M
DEBUG util.py:443: % Total % Received % Xferd Average Speed Time Time Time Current
DEBUG util.py:443: Dload Upload Total Spent Left Speed
DEBUG util.py:443:
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 91 100 91 0 0 2079 0 --:--:-- --:--:-- --:--:-- 2116
DEBUG util.py:443: % Total % Received % Xferd Average Speed Time Time Time Current
DEBUG util.py:443: Dload Upload Total Spent Left Speed
DEBUG util.py:443:
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 20.1M 100 20.1M 0 0 78.2M 0 --:--:-- --:--:-- --:--:-- 78.3M
DEBUG util.py:443: % Total % Received % Xferd Average Speed Time Time Time Current
DEBUG util.py:443: Dload Upload Total Spent Left Speed
DEBUG util.py:443:
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 91 100 91 0 0 2214 0 --:--:-- --:--:-- --:--:-- 2275
DEBUG util.py:443: % Total % Received % Xferd Average Speed Time Time Time Current
DEBUG util.py:443: Dload Upload Total Spent Left Speed
DEBUG util.py:443:
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 151k 100 151k 0 0 2831k 0 --:--:-- --:--:-- --:--:-- 2850k
DEBUG util.py:443: % Total % Received % Xferd Average Speed Time Time Time Current
DEBUG util.py:443: Dload Upload Total Spent Left Speed
DEBUG util.py:443:
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 196 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
DEBUG util.py:443: curl: (22) The requested URL returned error: 404
DEBUG util.py:596: Child return code was: 22
The reason is that "postgresql-12.14-US.pdf" file is missing from a dist-git lookaside cache:
$ fedpkg --verbose sources
Creating repo object from /home/petr/fedora/postgresql
Not downloading already downloaded postgresql-11.19.tar.bz2
Not downloading already downloaded postgresql-11.19.tar.bz2.sha256
Not downloading already downloaded postgresql-12.14.tar.bz2
Not downloading already downloaded postgresql-12.14.tar.bz2.sha256
Not downloading already downloaded postgresql-setup-8.8.tar.gz
Downloading postgresql-12.14-US.pdf
Full url: b'https://src.fedoraproject.org/repo/pkgs/rpms/postgresql/postgresql-12.14-US.pdf/sha512/efa5c63831a6aef222c25708d1f16058f67953a9d0a5c4aeeb7817b7f7de06d320c42b1ff8c5a9a828b25ddabd9aee5ea8f26f9fa6d162eb6f0fe2d1deb3f87d/postgresql-12.14-US.pdf'
######################################################################## 100.0%
Remove downloaded invalid file /home/petr/fedora/postgresql/postgresql-12.14-US.pdf
Could not execute sources: Server returned status code 404
Traceback (most recent call last):
File "/usr/bin/fedpkg", line 33, in <module>
sys.exit(load_entry_point('fedpkg==1.43', 'console_scripts', 'fedpkg')())
File "/usr/lib/python3.10/site-packages/fedpkg/__main__.py", line 89, in main
sys.exit(client.args.command())
File "/usr/lib/python3.10/site-packages/pyrpkg/cli.py", line 2821, in sources
self.cmd.sources(outdir)
File "/usr/lib/python3.10/site-packages/pyrpkg/__init__.py", line 2206, in sources
self.lookasidecache.download(
File "/usr/lib/python3.10/site-packages/pyrpkg/lookaside.py", line 196, in download
raise DownloadError('Server returned status code %d' % status)
pyrpkg.errors.DownloadError: Server returned status code 404