Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jelmer/buildlog-consultant
Build log parser and analyser
https://github.com/jelmer/buildlog-consultant
buildlog debian sbuild
Last synced: 2 days ago
JSON representation
Build log parser and analyser
- Host: GitHub
- URL: https://github.com/jelmer/buildlog-consultant
- Owner: jelmer
- License: gpl-2.0
- Created: 2021-02-03T01:28:28.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2025-01-15T00:01:33.000Z (9 days ago)
- Last Synced: 2025-01-15T01:21:44.532Z (9 days ago)
- Topics: buildlog, debian, sbuild
- Language: Rust
- Homepage: https://jelmer.uk/code/buildlog-consultant
- Size: 1.21 MB
- Stars: 6
- Watchers: 4
- Forks: 2
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
- Authors: AUTHORS
Awesome Lists containing this project
README
The build log consultant can parse and analyse build log files.
Currently supported container formats:
* sbuild
* plainFor a longer introduction, see the
[blog post](https://www.jelmer.uk/buildlog-consultant.html).## Example usage
```console
$ analyze-sbuild-log < build.log
Error: unsatisfied apt dependencies: librust-breezyshim+dirty-tracker-dev:amd64 (>= 0.1.138-\~\~)
Issue found at lines 105-120:
(I)Dose_deb: Parsing Packages file -...
(I)Dose_common: total packages 71128
(I)Dose_applications: Cudf Universe: 71128 packages
(I)Dose_applications: --checkonly specified, consider all packages as background packages
(I)Dose_applications: Solving...
> output-version: 1.2
> native-architecture: amd64
> report:
> -
> package: sbuild-build-depends-main-dummy
> version: 0.invalid.0
> architecture: amd64
> status: broken
> reasons:
> -
> missing:
> pkg:
> package: sbuild-build-depends-main-dummy
> version: 0.invalid.0
> architecture: amd64
> unsat-dependency: librust-breezyshim+dirty-tracker-dev:amd64 (>= 0.1.138-~~)background-packages: 71127
foreground-packages: 1
total-packages: 71128
broken-packages: 1
Identified issue: unsatisfied apt dependencies: librust-breezyshim+dirty-tracker-dev:amd64 (>= 0.1.138-\~\~)
```Or using the JSON output:
```console
$ analyze-sbuild-log --json < build.log
{
"details": {
"relations": "librust-breezyshim+dirty-tracker-dev:amd64 (>= 0.1.138-\~\~)"
},
"line": " unsat-dependency: librust-breezyshim+dirty-tracker-dev:amd64 (>= 0.1.138-\~\~)\n",
"lineno": 120,
"problem": "unsatisfied-apt-dependencies"
}
```