-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: generating index SBOM: generating spdx sbom (pull 1441) #1448
Comments
Fixes chainguard-dev#1448 Signed-off-by: Emin Aktas <[email protected]>
I found the problem. Since it is getting the original package list from the configuration, it cannot correctly get the diff here. I sent a PR but probably there is a better solution to it. |
Fixes chainguard-dev#1448 Signed-off-by: Emin Aktas <[email protected]>
I'm seeing a similar error attempting to build images from the AWS Corretto repo: contents:
keyring:
- https://apk.corretto.aws/amazoncorretto.rsa.pub
repositories:
- https://apk.corretto.aws
packages:
- amazon-corretto-21
archs:
- x86_64
I'm not sure if this is exactly the same problem, as I'm not dealing with local packages, so let me know if this warrants a separate issue... I've been using Chainguard base images for a while, but this is my first time playing with |
I tested few things at least find some clue. It looks like this issue started after |
Thanks, reverting to I say "works", I'm now running into a problem whereby the Corretto APK packages target |
hello, @jonjohnsonjr as requested see bellow how to reproduce: run this script:
with this melange-manifest.yaml:
and with this apko-config.yaml
need also create one folder with 2 files: app and setup.py:
let me know if you are able to reproduce. |
Thanks for the repro, identified that I was missing an error return something 🤦 With that fixed, the actual error for this looks like:
|
It looks like this now results in the "correct" error, but it's still failing to build images that built OK with the previous release, is there some documentation about what has to be done to resolve this? My example is now a little more involved than mentioned above (and much closer to @Cloudnapsys' original) as I'm using
Here's the melange file: package:
name: amazon-corretto-21
version: 0.1.0
description: Corretto
target-architecture:
- x86_64
dependencies:
runtime:
- busybox
- curl
- jq
environment:
contents:
keyring:
- https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
- ./melange.rsa.pub
repositories:
- https://packages.wolfi.dev/os
packages:
- busybox
- wget
pipeline:
- name: Build Corretto
working-directory: "${{targets.destdir}}/usr/lib/jvm"
runs: |
wget -qO- https://corretto.aws/downloads/latest/amazon-corretto-21-x64-linux-jdk.tar.gz |
tar -xz
cp -s */bin/java java and the apko manifest: contents:
keyring:
- https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
- ./melange.rsa.pub
repositories:
- https://packages.wolfi.dev/os
- '@local /work/packages'
packages:
- amazon-corretto-21@local
archs:
- x86_64
environment:
PATH: /usr/lib/jvm:/usr/sbin:/usr/bin:/sbin:/bin |
I have the same problem as @jackwhelpton described. |
Hello @jonjohnsonjr, now the error has changed, as described by @jackwhelpton, but I cannot find the way to deal with this new error. Where I can find what we need to do ?
|
Hi, I have an update. |
I encountered an error during the pipeline execution with APKO after a new build of the repository. It appears that a recent change in the container image is causing the issue. The error is as follows:
Change Reference:
The issue seems to coincide with the following recent change: [https://github.com//pull/1441]
This is the comand to build:
this is the log of execution after pull 1441:
and this is the log of the version just before pull 1441
The text was updated successfully, but these errors were encountered: