Hello community,

here is the log from the commit of package fpc for openSUSE:Factory checked in 
at 2020-08-23 09:18:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fpc (Old)
 and      /work/SRC/openSUSE:Factory/.fpc.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fpc"

Sun Aug 23 09:18:37 2020 rev:7 rq:827537 version:3.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/fpc/fpc.changes  2019-09-02 13:21:07.389359121 
+0200
+++ /work/SRC/openSUSE:Factory/.fpc.new.3399/fpc.changes        2020-08-23 
09:18:52.350608427 +0200
@@ -1,0 +2,36 @@
+Tue Aug 18 09:00:15 UTC 2020 - Guillaume GARDET <[email protected]>
+
+- Drop '%elifarch' usage for now since it is not well supported 
+  by the source validator, see:
+  https://github.com/openSUSE/obs-service-source_validator/issues/85
+
+-------------------------------------------------------------------
+Mon Aug 17 15:38:06 UTC 2020 - Guillaume GARDET <[email protected]>
+
+- Fix doc building when bootstrap is used
+
+-------------------------------------------------------------------
+Mon Aug 17 15:23:42 UTC 2020 - Guillaume GARDET <[email protected]>
+
+- Fix bootstrap handling
+
+-------------------------------------------------------------------
+Tue Jun 30 08:39:31 UTC 2020 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- Update to 3.2.0
+  * Changes see https://wiki.freepascal.org/User_Changes_3.2.0
+- Enable bootstrap for aarch64, ppc, ppc64, ppc64le
+  * Add bootstrap binary archives
+    + fpc-3.2.0-aarch64.zip
+    + fpc-3.2.0-ppc.zip
+    + fpc-3.2.0-ppc64.zip
+    + fpc-3.2.0-ppc64le.zip
+- Drop old git snapshot source for aarch64 build
+  * fpcbuild.zip
+- Add patch to fix library paths on aarch64
+  * fpc-fix-library-paths-on-aarch64.patch
+- Drop patches for issues fixed upstream
+  * fpc-fix_aarch64.patch
+  * update-fpcdocs.patch
+
+-------------------------------------------------------------------

Old:
----
  fpc-fix_aarch64.patch
  fpcbuild-3.0.4.tar.gz
  fpcbuild.zip
  update-fpcdocs.patch

New:
----
  fpc-3.2.0-aarch64.zip
  fpc-3.2.0-ppc.zip
  fpc-3.2.0-ppc64.zip
  fpc-3.2.0-ppc64le.zip
  fpc-fix-library-paths-on-aarch64.patch
  fpcbuild-3.2.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ fpc.spec ++++++
--- /var/tmp/diff_new_pack.5tuDJG/_old  2020-08-23 09:19:04.306615052 +0200
+++ /var/tmp/diff_new_pack.5tuDJG/_new  2020-08-23 09:19:04.306615052 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package fpc
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,23 +12,33 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %global flavor @BUILD_FLAVOR@%{nil}
-%global sname fpc
 %if "%{flavor}" == ""
 %else
 %global psuffix -%{flavor}
 %endif
 
+%ifarch aarch64 ppc64le ppc64 ppc
+# Bootstrap the compiler for a new architecture. Set this to 0 after we've 
bootstrapped.
+%bcond_without bootstrap
+%else
+%bcond_with bootstrap
+%endif
+
 %ifarch %arm
 # We use hardfloat on ARM
 %define fpcopt -dFPC_ARMHF -k--build-id -k-z -knoexecstack
 %else
+%ifarch ppc64le
+%define fpcopt -Cb- -Caelfv2 -k--build-id -k-z -knoexecstack
+%else
 %define fpcopt -k--build-id -k-z -knoexecstack
 %endif
+%endif
 %define fpcdebugopt -gl
 
 %ifarch aarch64
@@ -43,6 +53,9 @@
 %ifarch x86_64
 %define ppcname ppcx64
 %endif
+%ifarch ppc64le
+%define ppcname ppcppc64
+%endif
 %ifarch ppc64
 %define ppcname ppcppc64
 %endif
@@ -50,63 +63,57 @@
 %define ppcname ppc386
 %endif
 
-# Current stable version does not support aarch64, so use beta version
-%ifarch aarch64
-# 3.1.1 = 3.1~svn39346
-%define fpcversion 3.1.1
-%else
-%define fpcversion 3.0.4
-%endif
-%define stableversion 3.0.4
-
 Name:           fpc%{?psuffix}
-Version:        %{fpcversion}
+Version:        3.2.0
 Release:        0
 %if "%{flavor}" == ""
 Summary:        Free Pascal Compiler
-License:        GPL-2.0-or-later AND LGPL-2.1-or-later
-Group:          Development/Languages/Other
 %else
 Summary:        Freepascal Compiler documentation
-License:        GPL-2.0-or-later AND LGPL-2.1-or-later
-Group:          Documentation/Other
 %endif
-Url:            https://www.freepascal.org/
-# Stable version
-Source:         %{sname}build-%{stableversion}.tar.gz
-# Current stable version does not support aarch64, so use beta version
-# from ftp://ftp.freepascal.org/pub/fpc/snapshot/v31/source/
-Source2:        %{sname}build.zip
-Source90:       %{sname}-rpmlintrc
-Patch0:         update-fpcdocs.patch
-Patch1:         fpc-fix_aarch64.patch
+License:        GPL-2.0-or-later AND LGPL-2.1-or-later
+URL:            https://www.freepascal.org/
+Source:         fpcbuild-%{version}.tar.gz
+Source1:        fpc-3.2.0-aarch64.zip
+Source2:        fpc-3.2.0-ppc64le.zip
+Source3:        fpc-3.2.0-ppc64.zip
+Source4:        fpc-3.2.0-ppc.zip
+Source90:       fpc-rpmlintrc
+Patch0:         fpc-fix-library-paths-on-aarch64.patch
 BuildRequires:  binutils
 %if 0%{?suse_version}
 BuildRequires:  fdupes
 %endif
+%if %{without bootstrap}
+BuildRequires:  fpc
+%else
+%if "%{flavor}" == "doc"
 BuildRequires:  fpc
+%else
+BuildRequires:  unzip
+%endif
+%endif
 BuildRequires:  glibc-devel
 %if "%{flavor}" == "doc"
 BuildRequires:  texlive-latex
 BuildRequires:  texlive-makeindex
 BuildRequires:  texlive-pdftex
+BuildRequires:  texlive-ucs
 BuildRequires:  tex(8r.enc)
 BuildRequires:  tex(a4.sty)
+BuildRequires:  tex(enumitem.sty)
 BuildRequires:  tex(fancyhdr.sty)
 BuildRequires:  tex(float.sty)
 BuildRequires:  tex(hyperref.sty)
 BuildRequires:  tex(pcrr8t.tfm)
-BuildRequires:  tex(ptmr8t.tfm)
 BuildRequires:  tex(phvr8t.tfm)
+BuildRequires:  tex(ptmr8t.tfm)
 BuildRequires:  tex(syntax.sty)
 BuildRequires:  tex(tabularx.sty)
 BuildRequires:  tex(times.sty)
 %endif
-%ifarch aarch64
-BuildRequires:  unzip
-%endif
 Requires:       binutils
-ExclusiveArch:  %ix86 x86_64 %arm aarch64 ppc ppc64
+ExclusiveArch:  %ix86 x86_64 %arm aarch64 ppc ppc64 ppc64le
 
 %if "%{flavor}" == ""
 %description
@@ -141,25 +148,28 @@
 documentation or automatical-code generation purposes.
 
 %prep
-%ifnarch aarch64
-%setup -q -n %{sname}build-%{stableversion}
+%setup -q -n fpcbuild-%{version}
 %patch0 -p1
-%else
-%setup -Tcq -b2 -n %{sname}build
-%patch1 -p1
+
+%if %{with bootstrap}
+%if "%{flavor}" == ""
+%ifarch aarch64
+unzip %{SOURCE1}
+%endif
+%ifarch ppc64le
+unzip %{SOURCE2}
+%endif
+%ifarch ppc64
+unzip %{SOURCE3}
+%endif
+%ifarch ppc
+unzip %{SOURCE4}
+%endif
+%endif
 %endif
 
 # Remove files with license problems (which are not used on Linux)
-rm -f fpcsrc/packages/nvapi/nvapi.pas
-
-# Fix permissions (fix rpmlint warning "script-without-shebang")
-chmod 644 fpcsrc/packages/cocoaint/utils/doc/Make\ Cocoa\ Headers.txt
-chmod 644 fpcsrc/packages/cocoaint/utils/doc/Make\ Single\ Header.txt
-chmod 644 fpcsrc/packages/cocoaint/utils/doc/Make\ iPhone\ Headers.txt
-chmod 644 fpcsrc/packages/cocoaint/utils/parser.php
-chmod 644 fpcsrc/packages/libvlc/src/vlc.pp
-chmod 644 fpcsrc/packages/fcl-stl/tests/gtreetest.pp
-chmod 644 fpcsrc/packages/fcl-stl/src/gtree.pp
+rm -f fpcsrc/packages/nvapi/src/nvapi.pas
 
 # Copy needed source files by external packages in a new directory (to be 
included in the fpc-src subpackage)
 install -dm 0755 fpc-src
@@ -174,7 +184,11 @@
 
 %build
 %if "%{flavor}" == ""
+%if %{with bootstrap}
+STARTPP=$(pwd)/fpc-%{version}-%{_arch}/bin/%{ppcname}
+%else
 STARTPP=%{ppcname}
+%endif
 
 pushd fpcsrc
 
@@ -185,10 +199,6 @@
 make %{?_smp_mflags} rtl_clean rtl_smart FPC=${NEWPP} OPT='%{fpcopt}'
 make %{?_smp_mflags} packages_smart \
                FPC=${NEWPP} OPT='%{fpcopt}'
-%ifnarch aarch64
-make %{?_smp_mflags} ide_all \
-               FPC=${NEWPP} OPT='%{fpcopt} %{fpcdebugopt}'
-%endif
 make %{?_smp_mflags} utils_all \
      FPC=${NEWPP} OPT='%{fpcopt} %{fpcdebugopt}'
 popd
@@ -217,9 +227,6 @@
 make utils_distinstall    ${INSTALLOPTS}
 make rtl_distinstall      ${INSTALLOPTS}
 make packages_distinstall ${INSTALLOPTS}
-%ifnarch aarch64
-make ide_distinstall      ${INSTALLOPTS}
-%endif
 popd
 
 pushd install
@@ -278,10 +285,9 @@
 %else
 make -C fpcdocs pdfinstall \
         FPC=fpc \
-        INSTALL_DOCDIR=%{buildroot}%{_defaultdocdir}/%{sname}
+        INSTALL_DOCDIR=%{buildroot}%{_defaultdocdir}/fpc
 %endif
 
-
 %if "%{flavor}" == ""
 %files
 %license %{_licensedir}/%{name}
@@ -296,8 +302,9 @@
 %dir %{_sysconfdir}/fppkg
 %config(noreplace) %{_sysconfdir}/fppkg/default
 %{_bindir}/*
+%{_libdir}/libpas2jslib.so*
 %{_libdir}/%{name}/
-%ifarch x86_64
+%ifarch x86_64 aarch64 ppc64 ppc64le
 /usr/lib/%{name}/
 %endif
 
@@ -312,8 +319,8 @@
 
 %else
 %files
-%docdir %{_defaultdocdir}/%{sname}
-%doc %{_defaultdocdir}/%{sname}/*.pdf
+%docdir %{_defaultdocdir}/fpc
+%doc %{_defaultdocdir}/fpc/*.pdf
 %endif
 
 %changelog

++++++ fpc-fix-library-paths-on-aarch64.patch ++++++
diff -Nru fpcbuild-3.2.0.orig/fpcsrc/compiler/systems/t_linux.pas 
fpcbuild-3.2.0/fpcsrc/compiler/systems/t_linux.pas
--- fpcbuild-3.2.0.orig/fpcsrc/compiler/systems/t_linux.pas     2019-12-05 
21:11:43.000000000 +0100
+++ fpcbuild-3.2.0/fpcsrc/compiler/systems/t_linux.pas  2020-06-25 
18:33:04.362536867 +0200
@@ -142,8 +142,15 @@
         
LibrarySearchPath.AddLibraryPath(sysrootpath,'=/lib64;=/usr/lib64;=/usr/X11R6/lib64',true)
       else
         
LibrarySearchPath.AddLibraryPath(sysrootpath,'=/lib64;=/usr/lib/powerpc64le-linux-gnu;=/usr/X11R6/powerpc64le-linux-gnu',true);
-{$else powerpc64}
+{$else}
+{$ifdef aarch64}
+      LibrarySearchPath.AddLibraryPath(sysrootpath,'=/usr/lib',true);
+      LibrarySearchPath.AddLibraryPath(sysrootpath,'=/lib',true);
+      LibrarySearchPath.AddLibraryPath(sysrootpath,'=/usr/lib64',true);
+      LibrarySearchPath.AddLibraryPath(sysrootpath,'=/lib64',true);
+{$else}
       
LibrarySearchPath.AddLibraryPath(sysrootpath,'=/lib;=/usr/lib;=/usr/X11R6/lib',true);
+{$endif aarch64}
 {$endif powerpc64}
 {$endif x86_64}
 
@@ -223,7 +230,7 @@
 {$endif arm}
 
 {$ifdef aarch64}
-const defdynlinker='/lib/ld-linux-aarch64.so.1';
+const defdynlinker='/lib64/ld-linux-aarch64.so.1';
 {$endif aarch64}
 
 {$ifdef mips}
++++++ fpc-rpmlintrc ++++++
--- /var/tmp/diff_new_pack.5tuDJG/_old  2020-08-23 09:19:04.382615093 +0200
+++ /var/tmp/diff_new_pack.5tuDJG/_new  2020-08-23 09:19:04.382615093 +0200
@@ -1,4 +1,5 @@
 addFilter("statically-linked-binary")
+addFilter("shlib-policy-name-error")
 
 addFilter("devel-file-in-non-devel-package .*/fpc/.*/units/.*-linux/.*.a")
 addFilter("devel-file-in-non-devel-package .*/fpcsrc/.*/.*.a")

++++++ fpcbuild-3.0.4.tar.gz -> fpcbuild-3.2.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/fpc/fpcbuild-3.0.4.tar.gz 
/work/SRC/openSUSE:Factory/.fpc.new.3399/fpcbuild-3.2.0.tar.gz differ: char 5, 
line 1


Reply via email to