[Pkg-pascal-devel] compiling packages as user (and autopkgtest)

Paul Gevers elbrus at debian.org
Sat Nov 17 20:35:27 GMT 2018


Hi

On 17-11-18 09:14, Abou Al Montacir wrote:
>>> So how do I figure out which packages I need to add to the command line
>>> automatically? Can you maybe change the file linked above for me?
>> In fact you don't need to add a package each time. Lazarus uses a kind
>> of list of compiled and installed packages that is stored in a cache.
>> Once you add a package it will remain added until you remove it.
>> However I don't see how to remove it using lazbuild. It seems you need
>> to use the IDE for that.
> It seems we don't need to install any package. See above.

I don't understand what you mean? Or is that you think that we these
compile errors are the real root cause of this all failing?

>> According to help of lazbuild, you may want to use -r instead of -B
>> but I'm not sure it will do it and it will cause compilation time to
>> increase as every package will be recompiled.
> I think we don't need neither -B nor -r. We just need to use lazbuild
> without any flag. If the package is already build, we don't need to
> build it again.

So you suggest to remove the -B I currently have in the test?

With the -B removed I get:
The following files failed expectedly:
/usr/lib/lazarus/2.0.0/components/lazreport/source/addons/lrOfficeImport/lr_officeimport.lpk
/usr/lib/lazarus/2.0.0/components/lazreport/source/addons/lrspreadsheetexport/lrspreadsheetexport.lpk
/usr/lib/lazarus/2.0.0/components/lazreport/source/addons/pdfexport/lazreportpdfexport.lpk
/usr/lib/lazarus/2.0.0/components/lazreport/source/addons/ZeosDB/lr_zeosdb.lpk
/usr/lib/lazarus/2.0.0/components/tachart/tachartbgra.lpk

So that list is significantly shorter indeed, but it also doesn't seem
to be doing any real compiling (the output dir /tmp/.lazarus is empty
but for the environment file).

Error messages (I check the first three and they makes sense to me)
Error: (lazbuild) Broken dependency: lr_OfficeImport 0.0->laz_fpspreadsheet
Error: (lazbuild) Broken dependency: lrSpreadSheetExport
0.9->laz_fpspreadsheet
Error: (lazbuild) Broken dependency: lazreportpdfexport
0.9->pack_powerpdf (>=0.9.15)
Error: (lazbuild) Broken dependency: LR_ZeosDB 0.2.2->zcomponent
Error: (lazbuild) Broken dependency: TAChartBgra 1.0->bgrabitmappack

Paul

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20181117/30e6204d/attachment.sig>


More information about the Pkg-pascal-devel mailing list