cinelerra-gg sbopkg build fails on current
by Z038 from LinuxQuestions.org on (#6G4DG)
I'm trying to install cinelerra-gg from sbopkg on current. I ran into a build problem in ffmpeg and found a fix for it described by marav in this thread:
https://www.linuxquestions.org/quest...eg-4175727691/
The patch is to ffmpeg-4.3 libavcodec/x86/mathops.h
This is what I did that got me past the original problem:
- Copied the cinelerra-gg tar file from /var/cache/sbopkg/cinelerra-gg-20210331_eabda9c.tar.xz to a working directory, and untar'd it.
- Found the ffmpeg package in the tree, copied it to a working directory, and untar'd it.
- Copied the patch file from the link in the thread above, and applied it with the patch command. patch was successful.
- tar'd the ffmpeg directories and replaced the tar file in the cinelerra-gg tree with the patched one.
- tar'd the cinelerra-gg package and replaced the one in /var/cache/sbopkg/ directory with the patched one.
- Tried to install it again with sbopkg. It was already in the cache, so it did not download it again. The MD5SUM check failed, but I told it to continue.
Now I get this:
Code:[100%] Linking CXX executable test_libaom
[100%] Built target test_libaom
Install the project...
-- Install configuration: "Release"
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/include/aom/aom.h
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/include/aom/aom_codec.h
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/include/aom/aom_frame_buffer.h
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/include/aom/aom_image.h
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/include/aom/aom_integer.h
-- Up-to-date: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/include/aom/aom.h
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/include/aom/aom_decoder.h
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/include/aom/aomdx.h
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/include/aom/aomcx.h
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/include/aom/aom_encoder.h
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/lib/pkgconfig/aom.pc
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/lib/libaom.a
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/bin/aomdec
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/bin/aomenc
make[3]: Leaving directory '/tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/aom.build'
touch /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/../thirdparty/build/libaom.built
make[2]: Leaving directory '/tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty'
make[1]: *** [Makefile:530: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1'
make: *** [Makefile:486: all] Error 2
I don't see what caused this error.
Does anyone know what the fix for this is? Or where I can find more details about the error?
Thanks!
https://www.linuxquestions.org/quest...eg-4175727691/
The patch is to ffmpeg-4.3 libavcodec/x86/mathops.h
This is what I did that got me past the original problem:
- Copied the cinelerra-gg tar file from /var/cache/sbopkg/cinelerra-gg-20210331_eabda9c.tar.xz to a working directory, and untar'd it.
- Found the ffmpeg package in the tree, copied it to a working directory, and untar'd it.
- Copied the patch file from the link in the thread above, and applied it with the patch command. patch was successful.
- tar'd the ffmpeg directories and replaced the tar file in the cinelerra-gg tree with the patched one.
- tar'd the cinelerra-gg package and replaced the one in /var/cache/sbopkg/ directory with the patched one.
- Tried to install it again with sbopkg. It was already in the cache, so it did not download it again. The MD5SUM check failed, but I told it to continue.
Now I get this:
Code:[100%] Linking CXX executable test_libaom
[100%] Built target test_libaom
Install the project...
-- Install configuration: "Release"
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/include/aom/aom.h
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/include/aom/aom_codec.h
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/include/aom/aom_frame_buffer.h
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/include/aom/aom_image.h
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/include/aom/aom_integer.h
-- Up-to-date: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/include/aom/aom.h
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/include/aom/aom_decoder.h
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/include/aom/aomdx.h
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/include/aom/aomcx.h
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/include/aom/aom_encoder.h
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/lib/pkgconfig/aom.pc
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/lib/libaom.a
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/bin/aomdec
-- Installing: /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/usr/local/bin/aomenc
make[3]: Leaving directory '/tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/libaom-v3.0.0/aom.build'
touch /tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty/../thirdparty/build/libaom.built
make[2]: Leaving directory '/tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1/thirdparty'
make[1]: *** [Makefile:530: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/cinelerra-gg-20210331_eabda9c/cinelerra-5.1'
make: *** [Makefile:486: all] Error 2
I don't see what caused this error.
Does anyone know what the fix for this is? Or where I can find more details about the error?
Thanks!