-
Notifications
You must be signed in to change notification settings - Fork 416
wolfictl bump for apk fetch BAD archive #30235
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
Conversation
5ca0d1f to
203345d
Compare
c6b25a3 to
f030a4a
Compare
|
Gen AI suggestions to solve the build error: • Detected Error: "Failed to open usr/bin/dotnet: open usr/bin/dotnet: no such file or directory" • Error Category: Build Configuration • Failure Point: Package creation step during symbolic link creation • Root Cause Analysis: The symbolic link creation step is failing because the target directory structure isn't properly set up before attempting to create the symlink. The • Suggested Fix: - runs: |
mkdir -p "${{targets.destdir}}"/usr/share/dotnet
mkdir -p "${{targets.destdir}}"/usr/bin
ln -s ../share/dotnet/dotnet "${{targets.destdir}}"/usr/bin/dotnet• Explanation: • Additional Notes:
• References:
|
|
Gen AI suggestions to solve the build error: • Detected Error: • Error Category: Dependency/Python Path Configuration • Failure Point: Python module import during build process at • Root Cause Analysis: The build is failing because the Python package • Suggested Fix:
pipeline:
- uses: git-checkout
with:
repository: https://gitlab.freedesktop.org/xorg/lib/libxcb.git
tag: libxcb-${{package.version}}
expected-commit: 622152ee42a310876f10602601206954b8d0613e
- runs: |
export PYTHONPATH="$(pkg-config --variable=pythondir xcb-proto):$PYTHONPATH"
./autogen.sh• Explanation: The fix ensures that Python can find the xcbgen module by adding the xcb-proto Python directory to PYTHONPATH. The pkg-config command retrieves the correct path where xcb-proto installed its Python modules. • Additional Notes:
• References: |
|
Gen AI suggestions to solve the build error: • Detected Error: • Error Category: Fetch/Download • Failure Point: • Root Cause Analysis: • Suggested Fix:
pipeline:
- uses: fetch
with:
uri: https://dist.schmorp.de/libev/libev-${{package.version}}.tar.gz
# or use GitHub mirror
# uri: https://github.com/enki/libev/archive/refs/tags/v${{package.version}}.tar.gz
expected-sha256: 507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea• Explanation:
• Additional Notes:
• References:
|
|
Gen AI suggestions to solve the build error: • Detected Error: • Error Category: Fetch/Download • Failure Point: Source code download step in the fetch pipeline • Root Cause Analysis: The source download is failing due to connection timeouts to dist.schmorp.de. This could be due to server issues or network connectivity problems. • Suggested Fix: pipeline:
- uses: fetch
with:
uri: https://github.com/enki/libev/archive/refs/tags/v${{package.version}}.tar.gz
expected-sha256: 507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea• Explanation:
• Additional Notes:
• References:
|
|
Gen AI suggestions to solve the build error: • Detected Error: • Error Category: Fetch/Download • Failure Point: The • Root Cause Analysis: The source URL http://dist.schmorp.de/libev/Attic/libev-4.33.tar.gz is timing out, likely due to server availability issues or network problems • Suggested Fix: pipeline:
- uses: fetch
with:
uri: https://sources.debian.org/data/main/libe/libev/1:4.33-1/libev-4.33.tar.gz
expected-sha256: 507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea• Explanation:
• Additional Notes:
• References:
|
|
Gen AI suggestions to solve the build error: • Detected Error: • Error Category: Fetch/Download • Failure Point: • Root Cause Analysis: • Suggested Fix: pipeline:
- uses: fetch
with:
uri: https://github.com/enki/libev/archive/refs/tags/v${{package.version}}.tar.gz
expected-sha256: 507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea• Explanation: • Additional Notes:
• References:
|
|
Gen AI suggestions to solve the build error: • Detected Error: • Error Category: Fetch/Download • Failure Point: • Root Cause Analysis: • Suggested Fix:
- uses: fetch
with:
uri: https://src.fedoraproject.org/repo/pkgs/libev/libev-4.33.tar.gz/507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea/libev-4.33.tar.gz• Explanation: • Additional Notes:
• References:
|
|
Gen AI suggestions to solve the build error: • Detected Error: • Error Category: Fetch/Download • Failure Point: • Root Cause Analysis: • Suggested Fix: - uses: fetch
with:
uri: http://deb.debian.org/debian/pool/main/libe/libev/libev_${{package.version}}.orig.tar.gz
expected-sha256: 507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea• Explanation: • Additional Notes:
• References:
|
|
Gen AI suggestions to solve the build error: • Detected Error: • Error Category: Fetch/Download • Failure Point: Source code download step in the fetch pipeline • Root Cause Analysis: The source download is failing due to connection timeouts to dist.schmorp.de. This is likely due to either server issues or network connectivity problems. • Suggested Fix: - uses: fetch
with:
uri: https://github.com/enki/libev/archive/refs/tags/v${{package.version}}.tar.gz
expected-sha256: 507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea• Explanation:
• Additional Notes:
• References:
|
|
Gen AI suggestions to solve the build error: • Detected Error: • Error Category: Fetch/Download • Failure Point: • Root Cause Analysis: • Suggested Fix:
- uses: fetch
with:
uri: https://github.com/enki/libev/archive/refs/tags/v${{package.version}}.tar.gz
expected-sha256: 507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea• Explanation: • Additional Notes:
• References:
|
|
Gen AI suggestions to solve the build error: • Detected Error: • Error Category: Fetch/Download • Failure Point: • Root Cause Analysis: • Suggested Fix: pipeline:
- uses: fetch
with:
uri: https://dist.schmorp.de/libev/libev-${{package.version}}.tar.gz
expected-sha256: 507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea• Explanation:
• Additional Notes:
• References:
|
|
Gen AI suggestions to solve the build error: • Detected Error: • Error Category: Fetch/Download • Failure Point: • Root Cause Analysis: • Suggested Fix: pipeline:
- uses: fetch
with:
uri: https://github.com/enki/libev/archive/refs/tags/v${{package.version}}.tar.gz
expected-sha256: 507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea• Explanation: • Additional Notes:
• References:
|
|
Gen AI suggestions to solve the build error: • Detected Error: • Error Category: Fetch/Download • Failure Point: • Root Cause Analysis:
• Suggested Fix: - uses: fetch
with:
uri: https://dist.schmorp.de/libev/libev-${{package.version}}.tar.gz
expected-sha256: 507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aeaAlternative fix if the above doesn't work: - uses: fetch
with:
uri: https://fossies.org/linux/misc/libev-${{package.version}}.tar.gz
expected-sha256: 507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea• Explanation:
• Additional Notes:
• References:
|
|
Gen AI suggestions to solve the build error: • Detected Error: • Error Category: Fetch/Download • Failure Point: • Root Cause Analysis: • Suggested Fix:
pipeline:
- uses: fetch
with:
uri: https://src.fedoraproject.org/repo/pkgs/libev/libev-4.33.tar.gz/507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea/libev-4.33.tar.gz• Explanation:
• Additional Notes:
• References:
|
|
Gen AI suggestions to solve the build error: • Detected Error: • Error Category: Fetch/Download • Failure Point: • Root Cause Analysis: • Suggested Fix:
pipeline:
- uses: fetch
with:
uri: https://dist.schmorp.de/libev/libev-${{package.version}}.tar.gz
# or use GitHub mirror
# uri: https://github.com/enki/libev/archive/refs/tags/v${{package.version}}.tar.gz
expected-sha256: 507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea• Explanation:
• Additional Notes:
• References:
|
|
Gen AI suggestions to solve the build error: • Detected Error: "Connection timed out. Giving up." when attempting to fetch http://dist.schmorp.de/libev/Attic/libev-4.33.tar.gz • Error Category: Fetch/Download • Failure Point: Pipeline "fetch" step unable to download source tarball • Root Cause Analysis: The source URL is either temporarily unavailable or incorrect. The domain dist.schmorp.de appears to be timing out consistently. • Suggested Fix: Update the fetch URI to use a more reliable mirror or the GitHub mirror. Replace the current fetch block with: - uses: fetch
with:
uri: https://github.com/enki/libev/archive/refs/tags/v${{package.version}}.tar.gz
expected-sha256: 507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea• Explanation: The original domain (dist.schmorp.de) is having connectivity issues. GitHub provides a reliable mirror of libev releases and is generally more stable for CI environments. The GitHub mirror should provide the same source code with better availability. • Additional Notes:
• References:
|
|
Gen AI suggestions to solve the build error: • Detected Error: No explicit error is shown in the build log - the build appears to complete successfully • Error Category: Configuration/Metadata • Failure Point: Package metadata validation (implied by "SPDXRef-Package-pigz-2.8-0: no license specified, defaulting to NOASSERTION") • Root Cause Analysis: The package build succeeds but there's a warning about missing license specification in the SBOM generation step. While the package.yaml includes a Zlib license declaration, it may not be in the correct format for SBOM generation. • Suggested Fix: Update the copyright section in the YAML to include more complete license information: copyright:
- license: Zlib
license-file: /usr/share/licenses/pigz/LICENSE
paths:
- "*"• Explanation: The fix provides more complete license metadata that will:
• Additional Notes:
• References:
|
|
Gen AI suggestions to solve the build error: • Detected Error: • Error Category: Fetch/Download • Failure Point: Pipeline fetch step attempting to download source tarball • Root Cause Analysis: The source URL is timing out, likely due to server issues or connectivity problems with dist.schmorp.de • Suggested Fix: - uses: fetch
with:
uri: https://github.com/enki/libev/archive/refs/tags/v${{package.version}}.tar.gz
expected-sha256: 507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea• Explanation: • Additional Notes:
• References:
|
|
Gen AI suggestions to solve the build error: • Detected Error: • Error Category: Fetch/Download • Failure Point: Pipeline "fetch" step failing to download source tarball • Root Cause Analysis: The source URL is timing out, suggesting either:
• Suggested Fix: pipeline:
- uses: fetch
with:
uri: https://dist.schmorp.de/libev/libev-${{package.version}}.tar.gz
expected-sha256: 507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea• Explanation:
• Additional Notes:
• References:
|
|
Gen AI suggestions to solve the build error: • Detected Error: "failed to build package: unable to run package libev pipeline: unable to run pipeline: unable to run pipeline: exit status 4" • Error Category: Fetch/Download • Failure Point: Pipeline "fetch" step failing to download source tarball • Root Cause Analysis: The source URL is timing out, indicating either:
• Suggested Fix: Update the fetch URL to use a more reliable mirror or archive. For libev 4.33, you can use: pipeline:
- uses: fetch
with:
uri: https://github.com/enki/libev/archive/refs/tags/4.33.tar.gz
# OR
uri: https://sourceforge.net/projects/libev/files/libev/4.33/libev-4.33.tar.gz• Explanation:
• Additional Notes:
• References:
|
|
Gen AI suggestions to solve the build error: • Detected Error: • Error Category: Fetch/Download • Failure Point: • Root Cause Analysis: • Suggested Fix: pipeline:
- uses: fetch
with:
uri: https://github.com/enki/libev/archive/refs/tags/v4.33.tar.gz
expected-sha256: 507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea• Explanation: • Additional Notes:
• References:
|
|
Gen AI suggestions to solve the build error: • Detected Error: • Error Category: Fetch/Download • Failure Point: The • Root Cause Analysis: The source URL (http://dist.schmorp.de) is either down or unreachable. This is a common issue with this particular mirror. • Suggested Fix: Update the source URL to use a more reliable mirror or archive. For libev, we can use the GitHub mirror: pipeline:
- uses: fetch
with:
uri: https://github.com/enki/libev/archive/refs/tags/v${{package.version}}.tar.gz
expected-sha256: 507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea• Explanation: The schmorp.de domain is known to have reliability issues. GitHub provides a more stable mirror of the libev source code and is generally more reliable for downloads. • Additional Notes:
• References:
|
|
Gen AI suggestions to solve the build error: • Detected Error: • Error Category: Fetch/Download • Failure Point: • Root Cause Analysis: • Suggested Fix: pipeline:
- uses: fetch
with:
uri: https://dist.schmorp.de/libev/libev-${{package.version}}.tar.gz
expected-sha256: 507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea• Explanation:
• Additional Notes:
• References:
|
|
The packages |
|
I also rebuilt the following packages as a part of adding the ldd-check test pipeline - |
Due to past bugs there is invalid metadata in the apkindex for the size attribute. Rebuild and reindex affected packages. Fixes: wolfi-dev#30234
|
@murraybd rebased, if this doesn't build / pass CI, will have to split it into batches instead. |
Pull request was closed
Due to past bugs there is invalid metadata in the apkindex for the
size attribute. Rebuild and reindex affected packages.
Fixes: #30234