I attempted to build 2.6.10 and build the RPM. I got
Run CPack packaging tool...
/usr/bin/cpack --config ./CPackConfig.cmake
CPack: Create package using RPM
CPack: Install projects
CPack: - Run preinstall target for: admCore
CPack: - Install project: admCore
CPack: Create package
CPackRPM:Warning: CPACK_SET_DESTDIR is set (=ON) while requesting a relocatable package (CPACK_RPM_PACKAGE_RELOCATABLE is set): this is not supported, the package won't be relocatable.
CMake Error at /usr/share/cmake/Modules/CPackRPM.cmake:953 (list):
list sub-command SORT requires list to be present.
CPackRPM: Will use GENERATED spec file: /home/andrew/build/avidemux/avidemux2/buildCore/_CPack_Packages/Linux/RPM/SPECS/avidemux3-core.spec
CPack Error: Error while execution CPackRPM.cmake
CPack Error: Problem compressing the directory
CPack Error: Error when generating package: admCore
Makefile:109: recipe for target 'package' failed
Looking into it.
fedora 20: rpm are built. not sure if they work, but it builds
I updated from git, but continue to get the same errors.
Perhaps this is a related to my cmake version, which comes from a recently updated fedora install. I had cmake 3.0.2 with fedora 21 and I now have cmake 3.2.2 with fedora 22.
i'll update my lxc builder to fedora22
I'm fixing some rpm packaging errors while i'm at it
disabling CPACK_RPM_PACKAGE_RELOCATABLE fixed this. The cpack bit that was failing was within a chunk trying to handle relocatable files. relocatable apparently wouldn't work anyway due to DESTDIR.
... and I submitted https://github.com/mean00/avidemux2/pull/6
Merged, thanks a lot