[Pkg-pascal-devel] fpc libtar unit to fp-units-base

Abou Al Montacir abou.almontacir at sfr.fr
Fri Feb 5 08:42:16 UTC 2016


Hi Paul,
Sorry for my late answers, but I'm really very busy these days.
On Tue, 2016-02-02 at 21:54 +0100, Paul Gevers wrote:
> Hi Abou,
> 
> On 02-02-16 12:18, Abou Al Montacir wrote:
> > > With fpc 3.0.0 fpmkunit now depends on libtar. However, we ship the
> > > libtar unit in fp-unit-misc, while fpmkunit is in fp-unit-base. Do you
> > > agree that we move it to fp-unit-base?
> > > 
> > > castle-game-engine now FTBFS due to the dependencies not being resolved
> > > due to this issue. It can be fixed in cge, but I think we should fix it
> > > in fpc.
> > IT is either we move libtar to fp-units-base, which is probably
> > questionable as this is not supposed to be part of base RTL
> > or we move fpmkunit to fp-unit-misc or even a dedicated package and then
> > we need to change some packages.
> > 
> > My personal preference is that we have fpmkunit in a separate package
> > that deals about compiling/packaging pascal code. I think this is cleaner.
> 
> If there is enough that goes into the package, fine. We already have
> quite some packages in fpc/lazarus, so let's not introduce packages too
> lightly.
> 
> Could make a proposal?
I was thinking about making fp-units-mk and put in it this unit, but then
libuntar does not make sense there, it would be that this package depends on fp-
units-misc.
Now the question you ask is valid, does it make sense to put only one unit in a
new package? I'm not very happy with that either.
Side question:
I tried the following program and it worked well.
program test;
uses fpmkunit;
begin
  WriteLn('hello');
end.
$fpc -va test.pas | grep libtar
/usr/bin/ld.bfd: warning: link.res contains output sections; did you forget -T?
$
I'd say there is no direct dependency between fpmkunit and libtar, so maybe we
need to goo more deeper in why libtar is needed.
Then maybe we do not need any change in FPC. Maybe we can follow your proposal
and change CGE if no time to understand why libtar is needed.
-- 
Cheers,
Abou Al Montacir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20160205/0bad1b43/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20160205/0bad1b43/attachment.sig>


More information about the Pkg-pascal-devel mailing list