Hi!
I am still in the process of building a live DVD. In that process,
building the free pascal compiler failed. The reason is that the only
release of fpc and fpcbuild available on the upstream servers is 2.2.2.
They removed previous releases.
I updated the source URLs and sha156sums accordingly. The changes are in
the attached PATCH. However I still could not get fpc to build. The
error is the following. Apparently fpc now depends on GDB. I have no
clue how to fix this in the nix expression - yet ;)
[qsource root is fpcbuild-2.2.2
[q[ppatching sources
[q[pconfiguring
no configure script, doing nothing
[q[pbuilding
make flags:
Makefile:2260: *** No libgdb.a found, supply NOGDB=1 to disable
debugger support. Stop.
[q[qbuilder for
`/nix/store/n7a5h335mq4panfwdzk0p69myvsc92db-fpc-2.2.2.drv' failed
with exit code 2
cannot build derivation
`/nix/store/6g3a6ilfi1knffzbnbkhs2rk9z15iycd-system-path.drv': 1
inputs could not be realised
cannot build derivation
`/nix/store/mi6nkaxdbxxxhpw39a22f1rcrx9rww19-activate-configuration.sh.drv':
1 inputs could not be realised
cannot build derivation
`/nix/store/7vjmdbi23nxkqc4zy2vp658hzaccs988-system.drv': 1 inputs
could not be realised
cannot build derivation
`/nix/store/hmmhvr68pn2ajf6h1hp1kp8nmp7mf7x1-iso9660-image.drv': 1
inputs could not be realised
error: build of
`/nix/store/hmmhvr68pn2ajf6h1hp1kp8nmp7mf7x1-iso9660-image.drv' failed
Felix
Index: pkgs/development/compilers/fpc/binary.nix
===================================================================
--- pkgs/development/compilers/fpc/binary.nix (revision 14259)
+++ pkgs/development/compilers/fpc/binary.nix (working copy)
@@ -1,10 +1,10 @@
args: with args;
stdenv.mkDerivation {
- name = "fpc-2.0.4-binary";
+ name = "fpc-2.2.2-binary";
src = fetchurl {
- url = ftp://ftp.chg.ru/pub/lang/pascal/fpc/dist/i386-linux-2.0.4/fpc-2.0.4.i386-linux.tar;
- sha256 = "0b2szv2anbf58h4i5mlph93afv9qdx6i0jqggba04d3anjbl9gfy";
+ url = ftp://ftp.chg.ru/pub/lang/pascal/fpc/dist/i386-linux-2.2.2/fpc-2.2.2.i386-linux.tar;
+ sha256 = "8c18f63b36a76eee673f96ca254c49c5a42bcf3e36279abe8774f961792449a5";
};
builder = ./binary-builder.sh;
Index: pkgs/development/compilers/fpc/default.nix
===================================================================
--- pkgs/development/compilers/fpc/default.nix (revision 14259)
+++ pkgs/development/compilers/fpc/default.nix (working copy)
@@ -3,11 +3,11 @@
then
with args;
stdenv.mkDerivation {
- name = "fpc-2.2.0";
+ name = "fpc-2.2.2";
src = fetchurl {
- url = ftp://freepascal.stack.nl/pub/fpc/dist/source-2.2.0/fpcbuild-2.2.0.tar.gz;
- sha256 = "0pvsdmimknkgy8jgdz9kd7w5bs9fy5ynrgswpk0ib6x0y26zxijm";
+ url = ftp://freepascal.stack.nl/pub/fpc/dist/source-2.2.2/fpcbuild-2.2.2.tar.gz;
+ sha256 = "0d73b119e029382052fc6615034c4b5ee3ec66fa6cc45648f1f07cfb2c1058f1";
};
buildInputs = [startFPC gawk];
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev