You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
gpac no longer included in ubuntu (resolute...) will make it hard to impossible to build #2254
the dependency on gpac is going to make it hard for ubuntu users to build ccextractor anymore. It seems one might be able to get it from gpac.io but for my test system running resolute.
I reproduced this on Ubuntu 25.10 (Questing Quokka) and 26.04 pre-release (Resolute Raccoon, ubuntu:devel) in clean linux/amd64 Docker containers. (I also hit this issue while working on the Snap packaging in #1998)
libgpac-dev is present in Ubuntu 24.04 Noble's universe repo but was dropped from 24.10 (Oracular) onward — it's absent from all repos on both 25.10 and 26.04, not an enablement issue.
The reason cmake hard-fails rather than degrading gracefully is pkg_check_modules(GPAC REQUIRED gpac) in src/lib_ccx/CMakeLists.txt — unlike FFmpeg and OCR which are behind option() flags, GPAC has no guard, so the build aborts immediately.
Verified workaround — build GPAC v2.4.0 from source then build CCExtractor (tested in a clean Ubuntu 26.04 pre-release Docker container):
apt install -y git build-essential pkg-config cmake \
rustup libclang-dev zlib1g-dev libssl-dev libpng-dev libjpeg-dev
rustup default stable
git clone https://github.com/gpac/gpac.git
cd gpac && git checkout v2.4.0
./configure --prefix=/usr
make -j$(nproc)
make install
pkg-config --modversion gpac # should print 2.4cd~
git clone https://github.com/CCExtractor/ccextractor.git
cd ccextractor && mkdir build &&cd build
cmake ../src/
make -j$(nproc)
./ccextractor --version # confirmed working
Alternatively, if you'd rather skip the source build entirely, Snap support was introduced in #1998. The Snap package bundles GPAC internally — no system-level install required. → Get the Snap build
Credit: the GPAC source-build approach was originally suggested by @cfsmp3 during Snap packaging work in #1998; the steps above are adapted and verified from that.
Activity
x15sr71 commentedon Apr 12, 2026
Thanks for reporting!
I reproduced this on Ubuntu 25.10 (Questing Quokka) and 26.04 pre-release (Resolute Raccoon,
ubuntu:devel) in cleanlinux/amd64Docker containers. (I also hit this issue while working on the Snap packaging in #1998)libgpac-devis present in Ubuntu 24.04 Noble's universe repo but was dropped from 24.10 (Oracular) onward — it's absent from all repos on both 25.10 and 26.04, not an enablement issue.The reason cmake hard-fails rather than degrading gracefully is
pkg_check_modules(GPAC REQUIRED gpac)insrc/lib_ccx/CMakeLists.txt— unlike FFmpeg and OCR which are behindoption()flags, GPAC has no guard, so the build aborts immediately.Verified workaround — build GPAC v2.4.0 from source then build CCExtractor (tested in a clean Ubuntu 26.04 pre-release Docker container):
Alternatively, if you'd rather skip the source build entirely, Snap support was introduced in #1998. The Snap package bundles GPAC internally — no system-level install required. → Get the Snap build