[Pkg-pascal-devel] Bug#800811: fpc: FTBFS on i386,...

Edmund Grimley Evans edmund.grimley.evans at gmail.com
Sat Oct 3 21:04:33 UTC 2015


Source: fpc
Version: 3.0.0~rc1+dfsg-1
Tags: patch

The new upload to experimental hasn't fared too well on the buildds:

https://buildd.debian.org/status/package.php?p=fpc&suite=experimental

I was able to make it build on i386 with this patch, though I wouldn't
be surprised if there's a better, more general solution:

--- fpc-3.0.0~rc1+dfsg.orig/fpcsrc/compiler/systems/t_linux.pas
+++ fpc-3.0.0~rc1+dfsg/fpcsrc/compiler/systems/t_linux.pas
@@ -149,6 +149,10 @@
   if not Dontlinkstdlibpath Then
     LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/x86_64-linux-gnu',true);
 {$endif x86_64}
+{$ifdef i386}
+  if not Dontlinkstdlibpath Then
+    LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/i386-linux-gnu',true);
+{$endif i386}
 end;
 
 {$ifdef m68k}



More information about the Pkg-pascal-devel mailing list