error using the ./create_lazarus_rpm.sh shell lazarus / 1-Linux ---------------------------------------------------------------------- jshand2010 · 2018-12-22 08:05 after executing the ./creat_lazarus_rpm.sh file this happens after the main compiler was compiled: + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /home/jshand/rpm/tmp/rpm-tmp.t2ucAv + umask 022 + cd /home/jshand/rpm/BUILD + /usr/bin/rm -rf /home/jshand/rpm/BUILDROOT/lazarus-2.0.0RC3-0.x86_64 ++ dirname /home/jshand/rpm/BUILDROOT/lazarus-2.0.0RC3-0.x86_64 + /usr/bin/mkdir -p /home/jshand/rpm/BUILDROOT + /usr/bin/mkdir /home/jshand/rpm/BUILDROOT/lazarus-2.0.0RC3-0.x86_64 + cd lazarus-2.0.0RC3 + cd lazarus + MAKEOPTS='-Fl/opt/gnome/lib -k--build-id' + '[' -n '' ']' + make bigide 'OPT=-Fl/opt/gnome/lib -k--build-id' USESVN2REVISIONINC=0 make -C packager/registration make[1]: Entering directory '/home/jshand/rpm/BUILD/lazarus- 2.0.0RC3/lazarus/packager/registration' /usr/bin/rm -f ../units/x86_64-linux/fcllaz.ppu /usr/bin/mkdir -p ../units/x86_64-linux /usr/bin/ppcx64 -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Fu. -Fu/usr/local/lib/fpc/3.2.0/units/x86_64-linux/rtl -FE. -FU../units/x86_64-linux -Cg -Fl/opt/gnome/lib -k--build-id -dx86_64 fcllaz.pas Hint: (11030) Start of reading config file /etc/fpc.cfg Hint: (11031) End of reading config file /etc/fpc.cfg Free Pascal Compiler version 3.2.0-beta [2018/12/22] for x86_64 Copyright (c) 1993-2018 by Florian Klaempfl and others (1002) Target OS: Linux for x86-64 (3104) Compiling fcllaz.pas (10001) PPU Loading /usr/lib64/fpc/3.2.0/units/x86_64-linux/rtl- objpas/variants.ppu (10011) PPU Source: variants.pp not available (10028) Recompiling Variants, checksum changed for /usr/local/lib/fpc/3.2.0/units/x86_64-linux/rtl/math.ppu {impl} /usr/lib64/fpc/3.2.0/units/x86_64-linux/rtl- objpas/variants.ppu:variants.pp(11,71) Fatal: (10022) Can't find unit Variants used by DB Fatal: (1018) Compilation aborted make[1]: *** [Makefile:2892: fcllaz.ppu] Error 1 make[1]: Leaving directory '/home/jshand/rpm/BUILD/lazarus- 2.0.0RC3/lazarus/packager/registration' make: *** [Makefile:3341: registration] Error 2 error: Bad exit status from /home/jshand/rpm/tmp/rpm-tmp.t2ucAv (%build) RPM build errors:     Bad exit status from /home/jshand/rpm/tmp/rpm-tmp.t2ucAv (%build) ---------------------------------------------------------------------- jshand2010 · 2018-12-22 08:06 i have put this on bug tracker and so far noone has taken it on. ---------------------------------------------------------------------- jshand2010 · 2018-12-22 22:07 i saw this morning that there was an update to fpc 3.2.0 fixes branch to do with rtl/makefile makefile.fpc and packages/fcl- process/src/processbody.inc files. however, when i run the /tools/install/ ./create_lazarus_rpm.sh i still get this error: i am now using lazarus revision: 59876 RC3 i am now using fpc 3.2.0 fixes branch revision: 40615 + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /home/jshand/rpm/tmp/rpm-tmp.S9sIwv + umask 022 + cd /home/jshand/rpm/BUILD + /usr/bin/rm -rf /home/jshand/rpm/BUILDROOT/lazarus-2.0.0RC3-0.x86_64 ++ dirname /home/jshand/rpm/BUILDROOT/lazarus-2.0.0RC3-0.x86_64 + /usr/bin/mkdir -p /home/jshand/rpm/BUILDROOT + /usr/bin/mkdir /home/jshand/rpm/BUILDROOT/lazarus-2.0.0RC3-0.x86_64 + cd lazarus-2.0.0RC3 + cd lazarus + MAKEOPTS='-Fl/opt/gnome/lib -k--build-id' + '[' -n '' ']' + make bigide 'OPT=-Fl/opt/gnome/lib -k--build-id' USESVN2REVISIONINC=0 make -C packager/registration make[1]: Entering directory '/home/jshand/rpm/BUILD/lazarus- 2.0.0RC3/lazarus/packager/registration' /usr/bin/rm -f ../units/x86_64-linux/fcllaz.ppu /usr/bin/mkdir -p ../units/x86_64-linux /usr/bin/ppcx64 -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Fu. -Fu/usr/local/lib/fpc/3.2.0/units/x86_64-linux/rtl -FE. -FU../units/x86_64-linux -Cg -Fl/opt/gnome/lib -k--build-id -dx86_64 fcllaz.pas Hint: (11030) Start of reading config file /etc/fpc.cfg Hint: (11031) End of reading config file /etc/fpc.cfg Free Pascal Compiler version 3.2.0-beta [2018/12/23] for x86_64 Copyright (c) 1993-2018 by Florian Klaempfl and others (1002) Target OS: Linux for x86-64 (3104) Compiling fcllaz.pas (10001) PPU Loading /usr/lib64/fpc/3.2.0/units/x86_64-linux/rtl- objpas/variants.ppu (10011) PPU Source: variants.pp not available (10028) Recompiling Variants, checksum changed for /usr/local/lib/fpc/3.2.0/units/x86_64-linux/rtl/math.ppu {impl} /usr/lib64/fpc/3.2.0/units/x86_64-linux/rtl- objpas/variants.ppu:variants.pp(11,71) Fatal: (10022) Can't find unit Variants used by DB Fatal: (1018) Compilation aborted make[1]: *** [Makefile:2892: fcllaz.ppu] Error 1 make[1]: Leaving directory '/home/jshand/rpm/BUILD/lazarus- 2.0.0RC3/lazarus/packager/registration' make: *** [Makefile:3341: registration] Error 2 error: Bad exit status from /home/jshand/rpm/tmp/rpm-tmp.S9sIwv (%build) RPM build errors:     Bad exit status from /home/jshand/rpm/tmp/rpm-tmp.S9sIwv (%build) ---------------------------------------------------------------------- mattias · 2018-12-23 01:22 "Recompiling checkum changed" looks as if something is wrong with your fpc installaion. ---------------------------------------------------------------------- jshand2010 · 2018-12-23 01:26 hi mattias.  can you tell me how to fix this problem please. i have tried to delete the fpc and lazarus and then re add those fixed branches of fpc 3.2.0 and lazarus 2.0.0.RC3 and nothing changes ---------------------------------------------------------------------- jshand2010 · 2018-12-23 01:31 Quote from: jshand2010 on December 23, 2018, 02:26:52 amhi mattias.  can you tell me how to fix this problem please. i have tried to delete the fpc and lazarus and then re add those fixed branches of fpc 3.2.0 and lazarus 2.0.0.RC3 and nothing changes i have used the fpc 3.2.0 fixes branch to use the ./create_lazarus_rpm.sh ---------------------------------------------------------------------- jshand2010 · 2018-12-23 01:33 Quote from: jshand2010 on December 23, 2018, 02:31:28 amQuote from: jshand2010 on December 23, 2018, 02:26:52 amhi mattias.  can you tell me how to fix this problem please. i have tried to delete the fpc and lazarus and then re add those fixed branches of fpc 3.2.0 and lazarus 2.0.0.RC3 and nothing changes i have used the fpc 3.2.0 fixes branch to use the ./create_lazarus_rpm.sh why am i having so much trouble with this.  i am panicking and really frustrated with this.  should not be happening with fixes branch