I'm using Debian Bookworm 12.5 amd64 (last updated today).
I'm trying to download the log generated by buildd (Debian build daemon) for the Debian package linux-signed-amd64 for Debian Bookworm.
These are the existing packages in Debian repositories for linux-signed-amd64:
Code: Select all
$ rmadison linux-signed-amd64
linux-signed-amd64 | 4.19.235+1 | oldoldstable | source
linux-signed-amd64 | 4.19.249+2 | oldoldstable | source
linux-signed-amd64 | 5.10.127+2~bpo10+1 | buster-backports | source
linux-signed-amd64 | 5.10.197+1 | oldstable | source
linux-signed-amd64 | 5.10.209+2 | oldstable | source
linux-signed-amd64 | 6.1.55+1~bpo11+1 | bullseye-backports | source
linux-signed-amd64 | 6.1.66+1 | stable | source
linux-signed-amd64 | 6.1.67+1 | stable-updates | source
linux-signed-amd64 | 6.1.69+1~bpo11+1 | bullseye-backports | source
linux-signed-amd64 | 6.1.76+1~bpo11+1 | backports-policy | source
linux-signed-amd64 | 6.1.76+1 | stable | source
linux-signed-amd64 | 6.1.82+1 | proposed-updates | source
linux-signed-amd64 | 6.1.85+1 | proposed-updates | source
linux-signed-amd64 | 6.5.3+1~bpo12+1 | stable-backports | source
linux-signed-amd64 | 6.5.10+1~bpo12+1 | stable-backports | source
linux-signed-amd64 | 6.6.13+1~bpo12+1 | stable-backports | source
linux-signed-amd64 | 6.6.15+2 | testing | source
linux-signed-amd64 | 6.7.12+1 | buildd-unstable | source
linux-signed-amd64 | 6.7.12+1 | unstable | source
getbuildlog
[2] utility (from the devscripts package):The following command successfully downloads all build logs:Download build logs
Install getbuildlog: sudo apt install devscripts
Download linux-signed-amd64 6.1.82+1 amd64 build log:getbuildlog linux-signed-amd64 6.1.82+1 amd64
Download all linux-signed-amd64 6.1.82+1 build logs:getbuildlog linux-signed-amd64 6.1.82+1
Download latest linux-signed-amd64 amd64 build log:getbuildlog linux-signed-amd64 "last" amd64
Download all linux-signed-amd64 amd64 build logs:getbuildlog linux-signed-amd64 "" amd64
Download latest linux-signed-amd64 build logs:getbuildlog linux-signed-amd64 last
Download all linux-signed-amd64 build logs:getbuildlog linux-signed-amd64
Code: Select all
$ getbuildlog linux-signed-amd64
Code: Select all
$ getbuildlog linux-signed-amd64 6.1.82+1 amd64
Code: Select all
$ bash -x getbuildlog linux-signed-amd64 6.1.82+1 amd64
+ set -e
+ PROGNAME=getbuildlog
+ '[' linux-signed-amd64 = -h ']'
+ '[' linux-signed-amd64 = --help ']'
+ '[' linux-signed-amd64 = -V ']'
+ '[' linux-signed-amd64 = --version ']'
+ '[' 3 -ge 1 ']'
+ '[' 3 -le 3 ']'
+ which wget
+ PACKAGE=linux-signed-amd64
+ VERSION=6.1.82+1
+ ARCH=amd64
++ echo linux-signed-amd64
++ sed -e 's/\+/\\\+/g'
+ ESCAPED_PACKAGE=linux-signed-amd64
+ GET_LAST_VERSION=no
+ '[' 6.1.82+1 = last ']'
+ '[' 6.1.82+1 = last-all ']'
+ PATTERN='fetch\.(cgi|php)\?pkg=linux-signed-amd64&arch=amd64&ver=6.1.82+1&stamp=[[:digit:]]+'
+ getbuildlog https://buildd.debian.org
+ BASE=https://buildd.debian.org
++ mktemp --tmpdir getbuildlog.tmp.XXXXXXXXXX
+ ALL_LOGS=/tmp/getbuildlog.tmp.u6G4nlCLNz
+ wget -q -O /tmp/getbuildlog.tmp.u6G4nlCLNz 'https://buildd.debian.org/status/logs.php?pkg=linux-signed-amd64'
+ sed -i -e 's/href="/\nhref="/g' /tmp/getbuildlog.tmp.u6G4nlCLNz
+ sed -i -e 's/&/\&/g' -e 's/%2B/\+/g' -e s/%3A/:/g -e s/%7E/~/g /tmp/getbuildlog.tmp.u6G4nlCLNz
+ '[' no '!=' no ']'
+ NEWPATTERN='fetch\.(cgi|php)\?pkg=linux-signed-amd64&arch=amd64&ver=6.1.82+1&stamp=[[:digit:]]+'
++ grep -E -o 'fetch\.(cgi|php)\?pkg=linux-signed-amd64&arch=amd64&ver=6.1.82+1&stamp=[[:digit:]]+' /tmp/getbuildlog.tmp.u6G4nlCLNz
+ '[' no = yes ']'
Code: Select all
PATTERN='fetch\.(cgi|php)\?pkg=linux-signed-amd64&arch=amd64&ver=6.1.82+1&stamp=[[:digit:]]+'
[..]
grep -E -o 'fetch\.(cgi|php)\?pkg=linux-signed-amd64&arch=amd64&ver=6.1.82+1&stamp=[[:digit:]]+' /tmp/getbuildlog.tmp.u6G4nlCLNz
[..]
Code: Select all
grep -E -o 'fetch\.(cgi|php)\?pkg=linux-signed-amd64&arch=amd64&ver=6.1.82\\+1&stamp=[[:digit:]]+' /tmp/getbuildlog.tmp.u6G4nlCLNz
Code: Select all
$ getbuildlog linux-signed-amd64 6.1.82\\+1 amd64
--2024-04-26 15:52:45-- https://buildd.debian.org/status/fetch.php?pkg=linux-signed-amd64&arch=amd64&ver=6.1.82%2B1&stamp=1712000451&raw=1
Resolving buildd.debian.org (buildd.debian.org)... 209.87.16.60, 2607:f8f0:614:1::1274:60
Connecting to buildd.debian.org (buildd.debian.org)|209.87.16.60|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: 'linux-signed-amd64_6.1.82+1_amd64.log'
linux-signed-amd64_6.1.82+1_amd [ <=> ] 1.81M 1.59MB/s in 1.1s
2024-04-26 15:52:48 (1.59 MB/s) - 'linux-signed-amd64_6.1.82+1_amd64.log' saved [1894891]
Code: Select all
getbuildlog linux-signed-amd64 6\\.1\\.82\\+1 amd64
What could be changed in the getbuildlog script [2] to help fix this and contribute to the Debian project?
--
[1] Debian Package Auto-Building
[2] getbuildlog.sh