2011/4/30 Martin Felis <mar...@silef.de>: > Hi there, > > I am currently trying to build a debian package using CPack, which worked > surprisingly well, however when trying to install that package I get some > errors that dpkg fails to create some files. I get error messages of the > form: > > Unpacking asteroids (from steroids-0.9.1-Linux.deb) ... > dpkg: error processing steroids-0.9.1-Linux.deb (--install): > unable to create `/usr/share/steroids/config.rc.dpkg-new' (while processing > `./usr/share/steroids/config.rc'): No such file or directory > dpkg-deb: subprocess paste killed by signal (Broken pipe) > Errors were encountered while processing: > steroids-0.9.1-Linux.deb > > By comparing the deb file with a previously hand made package it seems that > the folders are not created by tar, i.e. assuming the files > /usr/share/foo/bar.png > /usr/share/foo/data/otherbar.png > should end up in the package, meaning in data.tar.gz, then using CPack only > the files > /usr/share/foo/bar.png > /usr/share/foo/data/otherbar.png > get in. However in my hand crafted package also the directories make it into > the data.tar.gz archive: > /usr/share/foo > /usr/share/foo/bar.png > /usr/share/foo/data > /usr/share/foo/data/otherbar.png > > When manually creating the file data.tar.gz of the > _CPack_Packages/Linux/DEB/<name>/usr folder with "tar czv ./usr" and > creating a deb archive with the other generated files, I can install the > package without any problems. > > I am using Ubuntu 10.10 (Maverick Meerkat) and its cmake 2.8.2 package on an > 32bit system.
I think I remember we fixed something like that recently Woud you be able to give CMake 2.8.4 a shot (or even CMake master branch). You may install 2.8.4 locally using prebuilt binaries: http://www.cmake.org/cmake/resources/software.html You can check the content of your deb package using: dpkg -c steroids-0.9.1-Linux.deb this should list files and directory to be installed. -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake