Bug#997940: [Pkg-pascal-devel] Bug#997940: view3dscene: FTBFS with fpc 3.2.2

2021-10-30 Thread Paul Gevers
Hi,

On 30-10-2021 15:21, Paul Gevers wrote:
> Hi Abou,
> 
> On 30-10-2021 12:46, Abou Al Montacir wrote:
>>> "Just" rebuilding is not the solution to paper over such an issue, we'd
>>> need to prevent it from going unnoticed next time. It should show up on
>>> https://release.debian.org/transitions/
>>>  with an auto-upperlimit-fpc
>>> transition such that the release team is automatically warned that
>>> rebuilds are needed and to prevent fpc from migrating until the rebuild
>>> happened and is ready to migrate too.
>> I don't know for now how to handle this efficiently. but the easiest way
>> is to say, each new upload of FPC triggers all libraries (not programs)
>> rebuild.
> 
> So all libraries need a Depends on a binary from src:fpc with an upper
> limit (generated during the build). In that way, the Debian
> infrastructure knows that a rebuild (or potentially manual action) is
> needed. We don't want it to be too tight. When you said "any new version
> of FPC" do you mean each patch level too, or on only minor level? How
> about Debian new uploads?

Wait, I think we already fixed this in the past. We have
"fpc-abi-3.2.2", which is provided by fp-units-rtl-3.2.2. So the
relation with lazarus is correctly glued together. But I think
fp-units-castle-game-engine is missing that Depends. Do you agree we
should add it there similar as we do in src:lazarus?

Paul



OpenPGP_signature
Description: OpenPGP digital signature


Bug#997940: [Pkg-pascal-devel] Bug#997940: view3dscene: FTBFS with fpc 3.2.2

2021-10-30 Thread Paul Gevers
Hi Abou,

On 30-10-2021 12:46, Abou Al Montacir wrote:
>> "Just" rebuilding is not the solution to paper over such an issue, we'd
>> need to prevent it from going unnoticed next time. It should show up on
>> https://release.debian.org/transitions/
>>  with an auto-upperlimit-fpc
>> transition such that the release team is automatically warned that
>> rebuilds are needed and to prevent fpc from migrating until the rebuild
>> happened and is ready to migrate too.
> I don't know for now how to handle this efficiently. but the easiest way
> is to say, each new upload of FPC triggers all libraries (not programs)
> rebuild.

So all libraries need a Depends on a binary from src:fpc with an upper
limit (generated during the build). In that way, the Debian
infrastructure knows that a rebuild (or potentially manual action) is
needed. We don't want it to be too tight. When you said "any new version
of FPC" do you mean each patch level too, or on only minor level? How
about Debian new uploads?

Paul



OpenPGP_signature
Description: OpenPGP digital signature


Bug#997940: [Pkg-pascal-devel] Bug#997940: view3dscene: FTBFS with fpc 3.2.2

2021-10-28 Thread Abou Al Montacir
Hi Graham,

On Wed, 2021-10-27 at 14:05 +0200, Graham Inggs wrote:
...
> view3dscene fails to build from source since fpc 3.2.2 was uploaded to
> unstable.
...
> view3dscene.lpr(55,3) Fatal: Can't find unit CastleUtils used by view3dscene
...
I think that we need to re-build CasteEngine in order for that to work.
The error message is somewhat misleading. The compiler does not find a unit with
the right compiler version.
-- 
Cheers,
Abou Al Montacir



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