[Pkg-pascal-devel] Using FPC backports to build src package
Paul Gevers
elbrus at debian.org
Thu Oct 6 12:42:28 BST 2022
Hi,
On 06-10-2022 13:35, David Bannon wrote:
>> Why would you need fpc/lazarus at all to create a *source* package. I
>> assume you are only talking about testing yourself?
> Yes, an issue that worried me too ! I run a script that builds the SRC
> package, then builds the binaries from that SRC package and then runs an
> aggressive lintian. Only then do I consider upload to mentors. But its
> the first step, the debuild -S, that fails the dependencies test. I
> considered it surprising but ....
I think that wants to call the clean target which needs the
Build-Depends to be installed. But backports is special.
>> Can you show the output, because I don't follow why? I guess it
>> depends on the tools you use to build, because apt by default will
>> only install packages from backports if explicitly instructed. I'm not
>> sure if *all* build tools tell apt that properly.
>
> I did have trouble installing the backported Lazarus from the command
> line so I installed FPC/Lazarus from Synaptic because I can tick all the
> boxes. With both broken down to so many individual units, too hard from
> he command line. Anyway, I end up running debuild -S in my script.
How about
apt install -t stable-backports lazurus fpc
> dbannon at debbulljune:~/JT$ dpkg --get-selections | grep lazarus
> lazarus-2.2 install
> lazarus-doc-2.2 install
> lazarus-ide install
> lazarus-ide-2.2 install
> lazarus-ide-gtk2-2.2 install
> lazarus-src-2.2 install
>
> And on testing, it all works fine, note there is no meta package,
> "lazarus" above, its there in Testing, I guess it would clash with the
> "lazarus" in Bullseye.
lazarus is just a meta package, so no clashes as long as the lazarus-X.Y
it depends on is installed. Without a lazarus, it's no surprise that
debuild fails if you build-depend on lazarus.
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20221006/e838c482/attachment.sig>
More information about the Pkg-pascal-devel
mailing list