[Pkg-pascal-devel] Bug#551400: fpc on kfreebsd-i386

Abou Al Montacir abou.almontacir at sfr.fr
Sun Oct 1 10:30:27 UTC 2017


Hi Peter, Hi Paul
On Sat, 23 Nov 2013 14:29:22 +0100 Paul Gevers <elbrus at debian.org> wrote:
... 
> Currently I am trying to get fpc building on kfreebsd-amd64 on one of
> the porterboxes. I seem to be able to get a package build, albeit with
> some missing things.Are anybody still interested in this port?
...> In fastcgi and fcl-web, something goes wrong with linking:
>    ELF interpreter /usr/libexec/ld-elf.so.1 not found
> I have no idea where this comes from as all references to libexec are
> either in fpmake itself after compilation or in t_bsd.pas (which code I
> removed below anyway to be sure).
As far as I can see this seems to be part of binutils-2.25 but not in Debian.htt
p://nixdoc.net/man-pages/FreeBSD/ld-elf.so.1.1.html gives some explanation about
this:The ld-elf.so.1 utility itself is loaded by the kernel together with any
     dynamically-linked program that is to be executed.  The kernel transfers
     control to the dynamic linker.  After the dynamic linker has finished
     loading, relocating, and initializing the program and its required shared
     objects, it transfers control to the entry point of the program.
> Because of removing fastcgi and fcl-web from building, also fppkg fails:
>     pkgfphttp.pp(18,12) Fatal: Can't find unit fphttpclient used by
> pkgfphttp
> This last failure can be prevented by building fcl-web until failure,
> then enough pieces are in place for fppkg to build.Do we really care about
fppkg for kfreebsd? Maybe we should start by having a compiler and RTL,and as
many packages as possible but not a full FPC as a start point.
> 
> Also building fpdoc goes wrong with:
>    /usr/bin/ld: cannot find -liconv
> I don't know exactly why this is added on kfreebsd and not (it seems) on
> Linux. Maybe, if I understand correctly, it should be -lkiconv on Debian
> and than I need to build depend on libkiconv-dev [kfreebsd-any].Maybe we don't
need fpdoc in kfreebsd

> I think I will create a package which doesn't build
> fastcgi/fcl-web/fppkg/fpdoc for now. So that we have something to start
> with. After I am finished with this, I will also try to see if by now
> this trick can also be applied on kfreebsd-i386.
Yes, this is a good start point, and maybe with newer version it is easier,
maybe not.
-- 
Cheers,
Abou Al Montacir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20171001/a4de4bee/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20171001/a4de4bee/attachment.sig>


More information about the Pkg-pascal-devel mailing list