Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: markinfo on December 05, 2014, 12:14:01 AM

Title: CPack Error
Post by: markinfo on December 05, 2014, 12:14:01 AM
unable to compile on Debian Jessie.


...
Run CPack packaging tool...
/usr/bin/cpack --config ./CPackConfig.cmake
CPack: Create package using DEB
CPack: Install projects
CPack: - Run preinstall target for: admCore
CPack: - Install project: admCore
CPack: Create package
CPack Error: Problem running tar command: /usr/bin/fakeroot "/usr/bin/cmake" -E tar cfz data.tar.gz  ./usr
Please check /home/marek/Local/Programming/avidemux2/buildCore/_CPack_Packages/Linux/DEB/Deb.log for errors
CPack Error: Problem compressing the directory
CPack Error: Error when generating package: avidemux3-core
Makefile:110: recipe for target 'package' failed
make: *** [package] Error 1
** Failed at package**


/home/marek/Local/Programming/avidemux2/buildCore/_CPack_Packages/Linux/DEB/Deb.log


# Run command: /usr/bin/fakeroot "/usr/bin/cmake" -E tar cfz data.tar.gz  ./usr
# Working directory: /home/marek/Local/Programming/avidemux2/buildCore/_CPack_Packages/Linux/DEB/avidemux3-core-2.6.8-141205-Linux
# Output:
fakeroot: FAKEROOTKEY set to 1873461909
fakeroot: nested operation not yet supported

Title: Re: CPack Error
Post by: ajschult on December 05, 2014, 05:17:04 AM
what version of cmake do you have?

see http://avidemux.org/smuf/index.php?topic=11555.0
Title: Re: CPack Error
Post by: markinfo on December 05, 2014, 05:30:18 PM
I have cmake version 3.0.2 (Debian Jessie)

I followed Instructions for changing of bootStrap.bash and now it makes debs without problems.

Why is it still not fixed?
Title: Re: CPack Error
Post by: ajschult on February 05, 2015, 02:19:08 AM
Fedora 21 shipped cmake 3.0.2 and caused similar problems.  Should be fixed now

https://github.com/mean00/avidemux2/commit/4feef980705d6d682ba4508d377f9f7c52d20df7
Title: Re: CPack Error
Post by: markinfo on February 07, 2015, 02:09:17 AM
Nice. It compiles fine under Debian Jessie now.
http://marek.straka.info/wiki/doku.php/programming/avidemux (http://marek.straka.info/wiki/doku.php/programming/avidemux)