package: fpc
severity: important
(serious could possiblly be justified depending on how you interpret the "reasonablly" in the squeeze rc policy)

FPC is supported upstream on freebsd so it stands to reason that it should also work on debian kfreebsd (thc core rtl of freepascal doesn't use libc and I don't think the rest of the supplied units will care much either). As such i've been trying to build it on debian kfreebsd-i386.

I have been using the following bootstrap procedure the following bootstrap method works (do this in an empty directory). I will not be able to do the boostrap myself for upload though since I am not a dd.

wget ftp://ftp.freepascal.org/pub/fpc/dist/2.2.4/i386-freebsd/fpc-2.2.4.i386-freebsd7.tar
tar -xf fpc-2.2.4.i386-freebsd7.tar
tar -xf binary.i386-freebsd.tar
tar -zxf base.i386-freebsd.tar.gz
tar -zxf utils.i386-freebsd.tar.gz
export PATH=$PATH:$PWD/bin
export PATH=$PATH:$PWD/lib/fpc/2.2.4/
apt-get source -b fpc
-------------At this point install any missing build-dependencies EXCEPT fp-compiler, fp-units-base and fp-utils, also make fixups to the packaging (see below)
cd fpc-2.2.4
dpkg-buildpackage -B -d

The first issue I ran into was that debian/rules is using DEB_BUILD_ARCH and DEB_HOST_ARCH when it should be using DEB_BUILD_ARCH_CPU and DEB_HOST_ARCH_CPU, that was easy to fix.

The second issue is that the upstream build process does not seem to be installing any documentation and hence debian/moveexamples is failling, I haven't figured out why yet.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to