[CMake] Creating package

Eric Noulard eric.noulard at gmail.com
Sat May 26 16:02:19 EDT 2012


2012/5/26 Kornel Benko <kornel at lyx.org>:
> Am Samstag, 26. Mai 2012 um 17:31:18, schrieb Kornel Benko <kornel at lyx.org>
>> Am Samstag, 26. Mai 2012 um 16:41:45, schrieb Eric Noulard <eric.noulard at gmail.com>
>> > 2012/5/26 Kornel Benko <kornel at lyx.org>:
>> > > Resending this, after being subscribed ...
>> > > ................
>> > > Hi list,
>> > > this is my first mail to this list, so it may be the wrong list to report errors.
>> >
>> > This is the good one.
>> > When we are all sure that the bug is a real bug
>> > you may file a bug report in the tracker as well:
>> > http://public.kitware.com/Bug
>> >
>> > >
>> > > Recently I updated to ubuntu 12.04. Debian packages created with cmake (through "make package")
>> > > are now not handled gratuitously by dpkg. (The installation stops after extracting data from *.deb)
>> > > ---------------------------------------------
>> > > # sudo dpkg -i xyzzy.deb
>> > > (Reading database ... 517983 files and directories currently installed.)
>> > > Preparing to replace **** **** (using .../****.deb) ...
>> > > Unpacking replacement **** ...
>> > > dpkg: error processing xyzzy.deb (--install):
>> > >  corrupted filesystem tarfile - corrupted package archive
>> > > dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
>> > > Errors were encountered while processing:
>> > >  xyzzy.deb
>> > >
>
> Anyway, this looks as like data.tar.gz were not ok. The package will be corrected, if I do following:
>
> mkdir tmp
> cp xyzzy.deb tmp
> cd tmp
> ar xv xyzzy.deb data.tar.gz
> tar xzvf data.tar.gz
> tar zcvf data.tgz ./usr
> mv data.tgz data.tar.gz
> ar rv xyzzy.deb data.tar.gz
>
> Now "dpkg -i xyzzy.deb" is working.

Ok then, could you try with

cmake -E tar zcvf data.tgz ./usr

instead.

I think I've seen some bug like this in the past I'll check the
mailing list archive
and the CMake bug tracker.

Found it: http://www.cmake.org/Bug/view.php?id=8790
not really the same issue but who knows...

I'll try to get my hand on an Ubuntu 12.04 box to check whether if I
can reproduce the problem.

This deserve a bug report to Ubuntu
https://launchpad.net/cmake
and may be we will get one for CMake when the ubuntu package
maintainer get your report.

-- 
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org


More information about the CMake mailing list