On Wed, 2011-07-27 at 11:08 +0200, Andreas Noteng wrote:

> On Wed, Jul 27, 2011 at 09:15:35AM +0200, Abou Al Montacir wrote:
> > Can you please be more explicit? which package? Why is it unrebuildable?
> > Does it depend on fpc or fpc-${FPC_VERSION}?
> 
> Package transgui, which build-depends on fpc-2.4.2 and fp-utils-2.4.2


Please consider building with build-depends on fpc (>= 2.4.2-3) and
fp-utils(>= .4.2-3). This will work for all newer FPC versions. 
This is the way Lazarus do it:
Build-Depends: debhelper (>= 7), quilt, fpc, fpc-source, fp-utils,
imagemagick


> > Not necessary, only dev packages. Regular programs do not need to depend
> > on any FPC package. So it does not matter what FPC version is installed,
> > nor even any version is installed. They only need to build depend on fpc
> > (>= version)
> > 
> > > version, if the old version is removed. In my case, both the switch from 
> > > 2.4.0
> > 
> > This indeed is necessary to get rid of old 2.4.0
> > 
> > > to 2.4.2, and from 2.4.2 to 2.4.4 made my fpc-dependant package 
> > > unrebuildable.
> > 
> > Here I have both 2.4.2 and 2.4.4 and works well
> 
> I'm not having this problem on my computer, the problem is in the archives. 
> When
> the switch from 2.4.0 to 2.4.2 happened, my package only build-depended on 
> fpc and
> fp-utils, and after the transition an rc bug was filed against transgui 
> because
> it ftbfs'ed with 2.4.2. After upstream made the necessary changes to make it 
> build
> with 2.4.2, I changed the build deps to fpc-2.4.2 and fp-utils-2.4.2. Now my
> package is unrebuildable because fpc-2.4.2 and fp-utils-2.4.2 is no longer in
> the archives. I tried building with 2.4.4, but the result is buggy. I expect
> upstream to fix this some time, but in the meantime transgui is unrebuildable 
> in
> unstable, and might be missing in ubuntu oneiric because of missing build 
> deps.



Unfortunately, we do not support multiple FPC versions in unstable, but
only the latest upstream release. FPC team do a huge effort to keep
backward compatibility and I rarely heard about  new bugs due to a new
version, but this still may happen, which is indeed probably your case.


> Correct me if I'm wrong but I got the impression that software in debian 
> should
> be rebuildable at all times, and having a transition period would greatly help
> keeping stuff rebuildable.


This is indeed the case with most SW using FPC: Changing the compiler do
not affect SW. But still could have exceptions. The solution to your
problem is to make upstream do an effort to reduce the amount of tricks
that could be compiler specific.

Cheers,

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to