[Pkg-pascal-devel] FPC Dependencies in package -17

David Bannon dbannon at internode.on.net
Thu Dec 1 04:15:33 GMT 2022


             >Hi Folks, I recently uploaded my app, tomboy-ng, to
            mentors. I tested the build process on Testing before doing
            so and all was well.  However, seems that the Debian Build
            Machines are running Unstable, not Testing.

OK, seems I am wrong about a build dependency on libcairo and libpango 
having been removed from fp-compiler-3.2.2 (3.2.2+dfsg-17) - I have just 
built an unstable that sure enough pulled in the libcairo2-dev and 
libpango1.0-dev and my package built perfectly there. So, please 
disregard previous message ! Sorry !

But I am now left wondering why my package fails to build on mentor's 
build machine. According to the log, it pulls in fpc ~ -17, see  -

/Preparing to unpack .../072-fpc-3.2.2_3.2.2+dfsg-17_all.deb .../

But not libcairo2-dev, see -

/The following packages are RECOMMENDED but will NOT be installed://
//  ..... libcairo2-dev l...../

And no mention libpango1.0-dev in the whole log. But I do see, at the 
end of the failed compile of my app itself -

//usr/bin/ld.bfd: cannot find -lcairo: No such file or directory//
///usr/bin/ld.bfd: cannot find -lpango-1.0: No such file or directory//
///usr/bin/ld.bfd: cannot find -lpangocairo-1.0: No such file or directory/

So, my question, how can FPC, on the Debian build machine, fail to bring 
in dependencies that the same FPC Package does bring in on my test VM 
which is, now, "unstable" ?

In both cases we are installing the -17 packaging release so, should be 
identical.

Any hints about how to build a local test system that does mimic the 
official (Mentor's) build machines ?

Davo

------------------------

Ignore this stuff down here unless you want to tr and understand my wild 
ramblings ......

Hi Folks, I recently uploaded my app, tomboy-ng, to mentors. I tested 
the build process on Testing before doing so and all was well.  However, 
seems that the Debian Build Machines are running Unstable, not Testing.

Now, Testing has fp-compiler-3.2.2 (3.2.2+dfsg-15) and Unstable has 
fp-compiler-3.2.2 (3.2.2+dfsg-17)

-17 seems to have removed the dependencies on libcairo and libpango. 
And, you guessed it, my build assumes that FPC bring in both. Now, I 
agree that FPC probably does not need them but Lazarus does, I cannot 
imagine a GUI app in Lazarus that does not need one or the other. But 
seems the dependency was not moved to Lazarus.

While I have added those dependencies directly to my app (Build), I 
cannot test its effectiveness until -17 makes it into Testing and the 
Package Tracking tools don't tell me how long -17 has been in unstable.

Can you please advise me when -17 is likely to make it into Testing ?  
If its not soon, I'll have to build an unstable based vm to test with. I 
am reluctant to upload again, and annoy my mentor without a meaningful 
test. And Debian now seems to frown on pulling individual packages 
between unstable and Testing.

Related - are you sure libcairo and libpango should not be Lazarus 
dependencies ?

Thanks for your help.

Davo



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20221201/73df8f11/attachment-0001.htm>


More information about the Pkg-pascal-devel mailing list