Bug#1105521: [Pkg-pascal-devel] Bug#1105521: Bug#1105521: Bug#1105521: pasdoc: FTBFS with make --shuffle=reverse:

2025-05-18 Thread Michalis Kamburelis
>  # I wish I could clean source/component here, but then the build-tools
>  # target FTBFS, so clean in the override_dh_auto_build target instead.
> #make -C source/component clean
>

At least from upstream, you can do this without any circular dependency:

1. "make build-tools",
2. clean and recreate "make -C source/component clean all" , if you
wish to make sure that it gets recreated (even though we already ship
in repo the up-to-date version),
3. build PasDoc itself by "make build-fpc-default" (command-line),
"make build-gui".

I just tested the sequence

"""
make clean
make build-tools
make -C source/component clean all
make build-fpc-default
make build-gui
"""

and it goes OK, and everything gets recompiled, without pasdoc.css.inc
being recreated in the middle (when file_to_pascal_string is
available, and before it is used for PasDoc compilation).

Hope this helps to untangle whatever Debian scripts are doing :)
Regards,
Michalis



Bug#1105521: [Pkg-pascal-devel] Bug#1105521: Bug#1105521: Bug#1105521: pasdoc: FTBFS with make --shuffle=reverse:

2025-05-18 Thread Abou Al Montacir
Hi,

On Sun, 2025-05-18 at 11:52 +0100, Peter Blackman wrote:
> There is a circular dependency in the upstream build.
Then we should try to fix it
> 
> make source/component all   regenerates some .inc files.
> the .inc files are needed by build-tools.
> make source/component all relies on build-tools.
Yes, this is classical and is actually the case for many packages.
> 
> Premature cleaning of source/component will therefore
> break the build. It is where it is, to ensure the .inc
> are actually rebuilt.
Let's keep this as is for now, until I can get some time to tackle it or someone
can solve it.

I don't see this minor issue to be resolved before Trixie.
-- 
Cheers,
Abou Al Montacir



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


Bug#1105521: [Pkg-pascal-devel] Bug#1105521: Bug#1105521: Bug#1105521: pasdoc: FTBFS with make --shuffle=reverse:

2025-05-18 Thread Peter B

On 17/05/2025 14:51, Paul Gevers wrote:


Sure, but I guess see commit b49a639954.


Thanks.

And from the comment there;

    # I wish I could clean source/component here, but then the build-tools
    # target FTBFS, so clean in the override_dh_auto_build target instead.
#    make -C source/component clean

Seems to me, that is the only way this build is going to work.


Regards,
Peter B



Bug#1105521: [Pkg-pascal-devel] Bug#1105521: Bug#1105521: Bug#1105521: pasdoc: FTBFS with make --shuffle=reverse:

2025-05-17 Thread Paul Gevers

Hi,

On 17-05-2025 11:39, Abou Al Montacir wrote:

On Fri, 2025-05-16 at 18:02 +0100, Peter Blackman wrote:
I would expect that clean is already called before build.



Sure, but I guess see commit b49a639954.

I would remove clean and let only all. Of course cleaning should be done 
in the clean target.



I suspect that would regress stuff, but please investigate. The details 
are lost to my memory.


Paul



OpenPGP_signature.asc
Description: OpenPGP digital signature