[Nix-dev] problems building fpc

Felix Breuer felix at fbreuer.de
Thu Feb 26 14:13:14 CET 2009


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 ;)

> source root is fpcbuild-2.2.2
> patching sources
> configuring
> no configure script, doing nothing
> building
> make flags:    
> Makefile:2260: *** No libgdb.a found, supply NOGDB=1 to disable 
> debugger support.  Stop.
> builder 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freepascal.patch
Type: text/x-patch
Size: 1489 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20090226/b50fef4d/attachment.bin 


More information about the nix-dev mailing list