Upstream source

Farzad FARID ffarid at pragmatic-source.com
Tue Oct 3 11:31:08 UTC 2006


Hi,

Benjamin Seidenberg wrote:
> Farzad FARID wrote:
>   
>> Sven Mueller wrote:
>>   
>>     
>>> Farzad, I'm not sure wether I understand you correctly. Does that mean
>>> that you re-packaged the .orig.tar.gz? If so: You shouldn't do this,
>>>   
>>>     
>>>       
>> Yes I did... Actually I tried to blindly do something similar to the 2.2
>> packaging. I think the 2.2 orig.tar.gz contains "configure" and
>> "automake" related files that are updated, therefore different, from the
>> upstream source. Is that right?
>>   
>>     
> No. These are regenerated at build time. 2.2 is the exact tarball
> released from upstream. (As is 2.3, I know because I double checked the
> md5/sha1 sums)
>   
Right, I *tought* I repackaged the files, but in fact I didn't, sorry.
Actually I was think of all the messy things I had to do to create
"99-update-autoconf.dpatch" correctly.

>> The problem *may* actually be that using snv-builpackage (or
>> pbuilder/cowbuilder for my part) hides theses problems.
>>
>> I *think* (and then again I have to check this all again) that the
>> "debian/rules clean" suppresses files that are present in the upstream
>> cyrus-imapd 2.3 tar.gz. Therefore, because I didn't want to touch too
>> much to the "rules" file, and because "debuild" kept messing up my
>> source tree, I switched to pbuilder.
>>
>> So, I asking for help and advise :) If we redo the orig.tar.gz the most
>> impacted file will be 99-update-autoconf.dpatch, but we also have to
>> update the "deletable files" list, right?
>>     
> I'll take a look at your branch again, but I am fairly sure I was doing
> multiple compiles of my 2.3 branch. Sorry, but I have to leave in 10
> minutes and can't check it out now.
>   
I can confirm that I can't compile cyrus 2.2 twice. I ran "debuild -uc
-us" once, and then tried to run it again and it failed: The problem is
that "debian/rules clean" cannot be run anymore after a build. This is
the same problem I have with cyrus 2.3. That's why I tried to fiddle
with the diffs, the tar.gz, etc. and thought erroneously that I had
modified the orig.tar.gz (which I didn't, luckily).

Here is the result of my investigation on cyrus-imapd-2.2_2.2.13-7. If
there is anything false in my findings, it's because I don't know the
whole history of this package and I'm not a dpkg-dev expert yet, so
please excuse me in advance:
 - I think there is a bad interaction between "clean" and "patch",
"patch" can only be run after "clean", otherwise the patch #99 won't
apply. Therefore it's not reversible.
 - Furthermore, "configure-stamp" (which is executed after "patch")
deletes 2 files modified by "patch", config.sub and config.guess. This
is not reversible either.

Are these problems that should be corrected, or features?

 Regards

-- 
Farzad FARID <ffarid at pragmatic-source.com>
Architecte Open Source / Pragmatic Source
http://www.pragmatic-source.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-cyrus-imapd-debian-devel/attachments/20061003/7929848d/attachment.html


More information about the Pkg-Cyrus-imapd-Debian-devel mailing list