Source: fpc Version: 2.6.0-6 Severity: normal Tags: patch upstream Justification: FTBFS on ppc64
Hi, Please support ppc64. Here is a patch attached. http://buildd.debian-ports.org/status/package.php?p=fpc&suite=sid About install/man/man1/ppcppc64.1, it is better to contact the upstream, since a manual is considered to be an inclusion failure. Best regards, -- Hiroyuki Yamamoto A75D B285 7050 4BF9 AEDA 91AC 3A10 59C6 5203 04DC
diff -Nurd fpc-2.6.0.orig/debian/control.in fpc-2.6.0/debian/control.in --- fpc-2.6.0.orig/debian/control.in 2012-11-09 21:09:39.000000000 +0900 +++ fpc-2.6.0/debian/control.in 2012-11-10 00:27:00.000000000 +0900 @@ -53,7 +53,7 @@ the Lazarus IDE. Package: fp-compiler${PACKAGESUFFIX} -Architecture: i386 powerpc sparc amd64 armel armhf +Architecture: i386 powerpc sparc amd64 armel armhf ppc64 Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}), binutils Recommends: fp-utils${PACKAGESUFFIX} (>= ${binary:Version}) Suggests: fp-docs${PACKAGESUFFIX} (>= ${source:Upstream-Version}) @@ -76,7 +76,7 @@ This package contains the command line compiler. Package: fp-ide${PACKAGESUFFIX} -Architecture: i386 powerpc sparc amd64 armel armhf +Architecture: i386 powerpc sparc amd64 armel armhf ppc64 Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}), ${shlibs:Depends} Recommends: fp-utils${PACKAGESUFFIX} (>= ${binary:Version}) Suggests: fp-docs${PACKAGESUFFIX} (>= ${source:Upstream-Version}) @@ -99,7 +99,7 @@ has an internal compiler. Package: fp-utils${PACKAGESUFFIX} -Architecture: i386 powerpc sparc amd64 armel armhf +Architecture: i386 powerpc sparc amd64 armel armhf ppc64 Depends: ${misc:Depends} Recommends: fp-compiler${PACKAGESUFFIX} (= ${binary:Version}) Provides: fp-utils @@ -144,7 +144,7 @@ format. Package: fp-units-rtl${PACKAGESUFFIX} -Architecture: i386 powerpc sparc amd64 armel armhf +Architecture: i386 powerpc sparc amd64 armel armhf ppc64 Depends: ${misc:Depends} Recommends: fp-compiler${PACKAGESUFFIX} (= ${binary:Version}) Provides: fp-units-rtl, fpc-abi-${source:Upstream-Version} @@ -161,7 +161,7 @@ This package contains the Runtime Libraries for the Free Pascal Compiler. Package: fp-units-base${PACKAGESUFFIX} -Architecture: i386 powerpc sparc amd64 armel armhf +Architecture: i386 powerpc sparc amd64 armel armhf ppc64 Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}) Provides: fp-units-base Breaks: fp-units-base (<= 2.4.0-3) @@ -181,7 +181,7 @@ - ZLib Package: fp-units-fcl${PACKAGESUFFIX} -Architecture: i386 powerpc sparc amd64 armel armhf +Architecture: i386 powerpc sparc amd64 armel armhf ppc64 Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}), fp-units-base${PACKAGESUFFIX} (= ${binary:Version}) Provides: fp-units-fcl Breaks: fp-units-fcl (<= 2.4.0-3) @@ -197,7 +197,7 @@ This package contains the Free Component Library for the Free Pascal Compiler. Package: fp-units-fv${PACKAGESUFFIX} -Architecture: i386 powerpc sparc amd64 armel armhf +Architecture: i386 powerpc sparc amd64 armel armhf ppc64 Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}) Provides: fp-units-fv Breaks: fp-units-fv (<= 2.4.0-3) @@ -213,7 +213,7 @@ This package contains the Free Vision units for the Free Pascal Compiler. Package: fp-units-gtk${PACKAGESUFFIX} -Architecture: i386 powerpc sparc amd64 armel armhf +Architecture: i386 powerpc sparc amd64 armel armhf ppc64 Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}), fp-units-fcl${PACKAGESUFFIX} (= ${binary:Version}), libgtk2.0-dev Provides: fp-units-gtk Breaks: fp-units-gtk (<= 2.4.0-3) @@ -230,7 +230,7 @@ programs with GTK+ 1.2. Package: fp-units-gtk2${PACKAGESUFFIX} -Architecture: i386 powerpc sparc amd64 armel armhf +Architecture: i386 powerpc sparc amd64 armel armhf ppc64 Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}), fp-units-fcl${PACKAGESUFFIX} (= ${binary:Version}) Provides: fp-units-gtk2 Breaks: fp-units-gtk2 (<= 2.4.0-3) @@ -247,7 +247,7 @@ programs with GTK+ 2.x. Package: fp-units-gnome1${PACKAGESUFFIX} -Architecture: i386 powerpc sparc amd64 armel armhf +Architecture: i386 powerpc sparc amd64 armel armhf ppc64 Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}), fp-units-gtk${PACKAGESUFFIX} (= ${binary:Version}) Provides: fp-units-gnome1 Breaks: fp-units-gnome1 (<= 2.4.0-3) @@ -264,7 +264,7 @@ programs for GNOME 1. Package: fp-units-db${PACKAGESUFFIX} -Architecture: i386 powerpc sparc amd64 armel armhf +Architecture: i386 powerpc sparc amd64 armel armhf ppc64 Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}) Provides: fp-units-db Breaks: fp-units-db (<= 2.4.0-3) @@ -287,7 +287,7 @@ - SQLite Package: fp-units-gfx${PACKAGESUFFIX} -Architecture: i386 powerpc sparc amd64 armel armhf +Architecture: i386 powerpc sparc amd64 armel armhf ppc64 Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}), fp-units-base${PACKAGESUFFIX} (= ${binary:Version}), libsvga1-dev [i386 amd64 armel armhf] Provides: fp-units-gfx Breaks: fp-units-gfx (<= 2.4.0-3) @@ -311,7 +311,7 @@ - cairo Package: fp-units-net${PACKAGESUFFIX} -Architecture: i386 powerpc sparc amd64 armel armhf +Architecture: i386 powerpc sparc amd64 armel armhf ppc64 Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}) Provides: fp-units-net Breaks: fp-units-net (<= 2.4.0-3) @@ -337,7 +337,7 @@ - pcap Package: fp-units-math${PACKAGESUFFIX} -Architecture: i386 powerpc sparc amd64 armel armhf +Architecture: i386 powerpc sparc amd64 armel armhf ppc64 Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}) Provides: fp-units-math Breaks: fp-units-math (<= 2.4.0-3) @@ -357,7 +357,7 @@ - symbolic : symbolic computing Package: fp-units-misc${PACKAGESUFFIX} -Architecture: i386 powerpc sparc amd64 armel armhf +Architecture: i386 powerpc sparc amd64 armel armhf ppc64 Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}) Provides: fp-units-misc Breaks: fp-units-misc (<= 2.4.0-3) @@ -376,7 +376,7 @@ - PasZLib (Pascal-only zlib implementation) Package: fp-units-multimedia${PACKAGESUFFIX} -Architecture: i386 powerpc sparc amd64 armel armhf +Architecture: i386 powerpc sparc amd64 armel armhf ppc64 Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}), libogg-dev, libvorbis-dev, a52dec-dev, libdts-dev, libmad0-dev, libmodplug-dev, libsdl-mixer1.2-dev Provides: fp-units-multimedia Breaks: fp-units-multimedia (<= 2.4.0-3) diff -Nurd fpc-2.6.0.orig/debian/rules fpc-2.6.0/debian/rules --- fpc-2.6.0.orig/debian/rules 2012-11-09 21:09:39.000000000 +0900 +++ fpc-2.6.0/debian/rules 2012-11-10 00:27:00.000000000 +0900 @@ -19,8 +19,8 @@ unexport FPC # Detect name of new compiler, take care that debian uses amd64 instead of x86_64 -CPU_SOURCE := $(subst amd64,x86_64,$(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU)) -CPU_TARGET := $(subst amd64,x86_64,$(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)) +CPU_SOURCE := $(subst ppc64,powerpc64,$(subst amd64,x86_64,$(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU))) +CPU_TARGET := $(subst ppc64,powerpc64,$(subst amd64,x86_64,$(shell dpkg-architecture -qDEB_HOST_ARCH_CPU))) ifeq ($(CPU_TARGET),m68k) PPSUF=68k @@ -43,6 +43,9 @@ ifeq ($(CPU_TARGET),sparc) PPSUF=sparc endif +ifeq ($(CPU_TARGET),powerpc64) +PPSUF=ppc64 +endif ifneq ($(CPU_SOURCE),$(CPU_TARGET)) PPPRE=ppcross diff -Nurd fpc-2.6.0.orig/install/man/man1/ppcppc64.1 fpc-2.6.0/install/man/man1/ppcppc64.1 --- fpc-2.6.0.orig/install/man/man1/ppcppc64.1 1970-01-01 09:00:00.000000000 +0900 +++ fpc-2.6.0/install/man/man1/ppcppc64.1 2012-11-10 00:28:42.000000000 +0900 @@ -0,0 +1,33 @@ +.TH ppcppc64 1 "30 may 1999" "Free Pascal" "Free Pascal Compiler" +.SH NAME +ppcppc64 \- Free Pascal Compiler (FPC) binary, name derived +from Portable Pascal Compiler + +.SH SYNOPSIS + +.B "ppcppc64 [options] [sourcefile]" +.BR + +.SH DESCRIPTION +This binary is the back-end binary of the +.I Free Pascal Compiler (FPC) +which is a +.I Turbo Pascal +and +.I Delphi (7.0) +compatible standalone (non GCC frontend) multitarget Pascal compiler. + +This binary should not be called directly, instead the +.B fpc +program should be used instead. +It will choose the right back-end for compiling units for the requested platforms. + +.SH OPTIONS + +For a complete list of all supported command-line options, see the +.BR fpc (1) +manual page. + +.SH SEE ALSO +.BR fpc (1) +