-
Notifications
You must be signed in to change notification settings - Fork 269
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
x265/4.1 package update #34967
base: main
Are you sure you want to change the base?
x265/4.1 package update #34967
Conversation
octo-sts
bot
commented
Nov 22, 2024
Signed-off-by: wolfi-bot <[email protected]>
4a36583
to
6dc98a8
Compare
Package x265: Click to expand/collapsePackage x265: Package x265-dev: Click to expand/collapsePackage x265-dev: |
1 similar comment
Package x265: Click to expand/collapsePackage x265: Package x265-dev: Click to expand/collapsePackage x265-dev: |
Package x265-dev: Click to expand/collapsePackage x265-dev: Package x265: Click to expand/collapsePackage x265: |
1 similar comment
Package x265-dev: Click to expand/collapsePackage x265-dev: Package x265: Click to expand/collapsePackage x265: |
Signed-off-by: Batuhan Apaydin <[email protected]>
6dc98a8
to
9170d84
Compare
Gen AI suggestions to solve the build error: Based on the build error output, I can provide a specific analysis and fix: • Detected Error:
• Error Category: Build/Type Mismatch • Failure Point: Compilation of libx265.c encoder integration • Root Cause Analysis: The libx265 encoder API call has a type mismatch where it's passing a x265_picture** (double pointer) where it expects a x265_picture* (single pointer). • Suggested Fix: pic ? &x265pic : NULL, x265pic_lyrptr_out); to: pic ? &x265pic : NULL, *x265pic_lyrptr_out); • Explanation: • Additional Notes:
• References:
The fix resolves the immediate type mismatch while preserving the encoder's functionality. This is a common issue when interfacing with external codec libraries that have strict type requirements. |
Signed-off-by: Batuhan Apaydin <[email protected]>
Gen AI suggestions to solve the build error: Based on the build error, I'll provide a structured analysis and solution: • Detected Error:
• Error Category: Type error - Incompatible pointer types • Failure Point: libx265 encoder integration in FFmpeg when passing parameters to x265 encoder API • Root Cause Analysis: • Suggested Fix: pipeline:
- uses: git-checkout
with:
repository: https://github.com/FFmpeg/FFmpeg
expected-commit: b08d7969c550a804a59511c7b83f2dd8cc0499b8
tag: n${{package.version}}
- runs: |
sed -i 's/x265pic_lyrptr_out/\*x265pic_lyrptr_out/' libavcodec/libx265.c
- uses: autoconf/make
- uses: autoconf/make-install
- uses: strip • Explanation: • Additional Notes:
• References:
The fix should allow the build to complete successfully while maintaining proper type safety. |
Gen AI suggestions to solve the build error: • Detected Error: "solving 'so:libicuuc.so.75' constraint: icu-75.1-r0.apk disqualified because '75.1-r0' does not satisfy 'icu=76.1-r0'" • Error Category: Dependency • Failure Point: Package dependency resolution during build environment setup • Root Cause Analysis: There's a version mismatch between harfbuzz-dev (10.1.0-r0) which requires ICU 75.x, but the system is trying to use ICU 76.1. This is a binary compatibility issue with shared libraries. • Suggested Fix:
environment:
contents:
packages:
# Update harfbuzz and related packages to versions compatible with ICU 76.1
- harfbuzz=10.2.0-r0
- harfbuzz-dev=10.2.0-r0
# Or pin to specific ICU version
- icu=75.1-r3
- icu-libs=75.1-r3
- icu-dev=75.1-r3 • Explanation: Harfbuzz 10.1.0 was built against ICU 75.x, while the system is trying to use ICU 76.1. By either upgrading harfbuzz to a version compatible with ICU 76.1 or pinning ICU to version 75.x, we can resolve the shared library version mismatch. • Additional Notes:
• References:
|
Gen AI suggestions to solve the build error: • Detected Error: Incompatible pointer type error in libx265.c
• Error Category: Build error - Type mismatch • Failure Point: Compilation of libx265.c encoder integration • Root Cause Analysis: The x265 encoder API expects a x265_picture* for the 5th parameter but code is passing x265_picture** • Suggested Fix: // Change from:
pic ? &x265pic : NULL, x265pic_lyrptr_out
// To:
pic ? &x265pic : NULL, *x265pic_lyrptr_out • Explanation: The x265 encoder API function expects a pointer to x265_picture, but the code is passing a pointer to a pointer. Dereferencing the pointer with * will provide the correct type. • Additional Notes:
• References:
To apply this fix:
This should resolve the immediate build error while preserving the encoding functionality. |