- Package:
- devscripts
- Source:
- devscripts
- Description:
- scripts to make the life of a Debian Package maintainer easier
- Submitter:
- Pino Toscano
- Date:
- 2025-11-11 08:25:03 UTC
- Severity:
- normal
- Tags:
Package: devscripts Version: 2.11.2 Severity: normal Hi, it looks like getbuildlogs cannot download build logs for versions containing a '+' character, eg binNMUs. $ getbuildlog php5 '5.3.8.0-1+b1' i386 this does nothing, and $? = 0, but then $ wget 'https://buildd.debian.org/status/fetch.php?pkg=php5&arch=i386&ver=5.3.8.0-1%2Bb1&stamp=1321183039&raw=1' works Thanks,
It can, if asked in the way it expects...
The second argument there is "version-pattern". getbuildlog(1) says:
The version and architecture patterns are interpreted as
extended regular expressions as described in grep(1).
so you want:
$ getbuildlog php5 '5\.3\.8\.0-1\+b1' i386
Admittedly the --help output doesn't explicitly indicate that the
patterns are regular expressions, but each of the examples given does
rather imply that fact.
Regards,
Adam
Alle mercoledì 7 dicembre 2011, Adam D. Barratt ha scritto: I see. I admit I just read the --help output, and initially didn't pay much attention to the escaping of periods (especially as specifying a precise version so far worked, given that periods "represented themselves" in regexps). May I propose to add a --exact/--string or similar switch to handle the "version-pattern" as a fixed string? This could also be useful for scripts, so they can pass the version without manually have to escape it.
Can this be closed? It's been a decade.
The problem here is that https://buildd.debian.org/status/logs.php?pkg=linux&ver=6.11.5-1%7Ebpo12%2B1&arch=amd64 tells you to use the following command: It does not work because of the un-escaped `+` at the end of the version string.--- /etc/devscripts.conf --- Empty.--- ~/.devscripts --- Not present