[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [CMake] Producing deb package with 'ar'

Ron Johnson <ron.l.johnson@cox.net> writes:
> On 08/06/07 07:32, Marc 'HE' Brockschmidt wrote:
> [snip]
>> That will not work. ar(1) is GNU ar on most systems, while dpkg uses
>> ar-as-in-BSD-ar. The diffeences are subtle, but lead to problems in
>> some applications.
> That's interesting.  Why?

Because of not using the ar binary but a local implementation, which
chokes on the different field delimiters. See for example

| a working deb:
| pippin[21:04] build% bin/apt-extracttemplates /tmp/locales_2.2.5-14.3_all.deb
| read name == debian-binary
| read name == control.tar.gz
| read name == data.tar.gz
| locales 2.2.5-14.3 /tmp/template.182200 /tmp/config.182201
| your mindterm deb:
| pippin[21:04] build% bin/apt-extracttemplates /tmp/mindterm_1.2.1-7_all.deb
| read name == debian-binary/
| read name == control.tar.gz/
| read name == data.tar.gz/
| read name == _gpgmaint/
| E: /tmp/mindterm_1.2.1-7_all.deb not a valid DEB package.

[The latter was repacked using GNU ar]

Fachbegriffe der Informatik - Einfach erklärt
190: Cisco
       Protokolhure. (unbekannt)

Attachment: pgpb5kNtVp1Hg.pgp
Description: PGP signature

Reply to: