Recent

Author Topic: error using the ./create_lazarus_rpm.sh shell  (Read 1361 times)

jshand2010

  • Full Member
  • ***
  • Posts: 229
error using the ./create_lazarus_rpm.sh shell
« on: December 22, 2018, 09:05:34 am »
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)
OpenSUSE Tumbleweed x86_64, Lazarus 2.0.0RC3 fixes branch, fpc 3.2.0 fixes branch

jshand2010

  • Full Member
  • ***
  • Posts: 229
Re: error using the ./create_lazarus_rpm.sh shell
« Reply #1 on: December 22, 2018, 09:06:14 am »
i have put this on bug tracker and so far noone has taken it on.
OpenSUSE Tumbleweed x86_64, Lazarus 2.0.0RC3 fixes branch, fpc 3.2.0 fixes branch

jshand2010

  • Full Member
  • ***
  • Posts: 229
Re: error using the ./create_lazarus_rpm.sh shell
« Reply #2 on: December 22, 2018, 11:07:13 pm »
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)
« Last Edit: December 22, 2018, 11:11:47 pm by jshand2010 »
OpenSUSE Tumbleweed x86_64, Lazarus 2.0.0RC3 fixes branch, fpc 3.2.0 fixes branch

mattias

  • Administrator
  • Full Member
  • *
  • Posts: 128
    • http://www.lazarus.freepascal.org
Re: error using the ./create_lazarus_rpm.sh shell
« Reply #3 on: December 23, 2018, 02:22:00 am »
"Recompiling checkum changed" looks as if something is wrong with your fpc installaion.

jshand2010

  • Full Member
  • ***
  • Posts: 229
Re: error using the ./create_lazarus_rpm.sh shell
« Reply #4 on: December 23, 2018, 02:26:52 am »
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
OpenSUSE Tumbleweed x86_64, Lazarus 2.0.0RC3 fixes branch, fpc 3.2.0 fixes branch

jshand2010

  • Full Member
  • ***
  • Posts: 229
Re: error using the ./create_lazarus_rpm.sh shell
« Reply #5 on: December 23, 2018, 02:31:28 am »
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

i have used the fpc 3.2.0 fixes branch to use the ./create_lazarus_rpm.sh
OpenSUSE Tumbleweed x86_64, Lazarus 2.0.0RC3 fixes branch, fpc 3.2.0 fixes branch

jshand2010

  • Full Member
  • ***
  • Posts: 229
Re: error using the ./create_lazarus_rpm.sh shell
« Reply #6 on: December 23, 2018, 02:33:38 am »
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

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
OpenSUSE Tumbleweed x86_64, Lazarus 2.0.0RC3 fixes branch, fpc 3.2.0 fixes branch