Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2002-09

Q: rpm build

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Shigorin

Hello,
I'd be thankful for spec file used to build rpm package.

Build from unzipped packages (*) with `make all' and fpc-1.04 installed from package leads to:

make[4]: Entering directory `/usr/src/RPM/BUILD/fpc-1.0.6/packages/base/gdbint' /bin/rm -f testgdb symify testgdb.o symify.o libptestgdb.a libpsymify.a /bin/rm -f gdbint.ppu gdbcon.ppu
/bin/rm -f fpcmade.lnx Package.fpc ppas.sh script.res link.res /bin/rm -f gdbver gdbver.o
make[4]: Leaving directory `/usr/src/RPM/BUILD/fpc-1.0.6/packages/base/gdbint' make -C libasync clean
make: Entering an unknown directory
make: *** libasync: No such file or directory. Stop. make: Leaving an unknown directory
make[3]: *** [libasync_clean] Error 2
make[3]: Leaving directory `/usr/src/RPM/BUILD/fpc-1.0.6/packages/base' make[2]: *** [base_clean] Error 2
make[2]: Leaving directory `/usr/src/RPM/BUILD/fpc-1.0.6/packages' make[1]: *** [packages_clean] Error 2
make[1]: Leaving directory `/usr/src/RPM/BUILD/fpc-1.0.6' make: *** [build-stamp.linux] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.27481 (%build)

(*) taken as ftp://ftp.us.freepascal.org/pub/fpc/dist/source/*.zip ==

basesrc.zip
compilersrc.zip
docsrc.zip
fclsrc.zip
idesrc.zip
installersrc.zip
rtlsrc.zip
ugdbintsrc.zip
ugtksrc.zip
uibasesrc.zip
uinetsrc.zip
ummsystemsrc.zip
umysqlsrc.zip
uopenglsrc.zip
upaszlibsrc.zip
uregexprsrc.zip
utilssrc.zip
uuncgisrc.zip
uunzipsrc.zip
uzlibsrc.zip

Current ha^Wspec is attached.

PS: rtl/Makefile{,.fpc} clash in two packages when trying to unzip them; the files seem identical. Fix?

---- WBR, Michael Shigorin ------ Linux.Kiev http://www.linux.kiev.ua/

Reply by email

Peter Vreman
Show quoted text 47 lines
Hello, I'd be thankful for spec file used to build rpm package. Build from unzipped packages (*) with `make all' and fpc-1.04 installed from package leads to: make[4]: Entering directory `/usr/src/RPM/BUILD/fpc-1.0.6/packages/base/gdbint' /bin/rm -f testgdb symify testgdb.o symify.o libptestgdb.a libpsymify.a /bin/rm -f gdbint.ppu gdbcon.ppu /bin/rm -f fpcmade.lnx Package.fpc ppas.sh script.res link.res /bin/rm -f gdbver gdbver.o make[4]: Leaving directory `/usr/src/RPM/BUILD/fpc-1.0.6/packages/base/gdbint' make -C libasync clean make: Entering an unknown directory make: *** libasync: No such file or directory. Stop. make: Leaving an unknown directory make[3]: *** [libasync_clean] Error 2 make[3]: Leaving directory `/usr/src/RPM/BUILD/fpc-1.0.6/packages/base' make[2]: *** [base_clean] Error 2 make[2]: Leaving directory `/usr/src/RPM/BUILD/fpc-1.0.6/packages' make[1]: *** [packages_clean] Error 2 make[1]: Leaving directory `/usr/src/RPM/BUILD/fpc-1.0.6' make: *** [build-stamp.linux] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.27481 (%build) (*) taken as ftp://ftp.us.freepascal.org/pub/fpc/dist/source/*.zip == basesrc.zip compilersrc.zip docsrc.zip fclsrc.zip idesrc.zip installersrc.zip rtlsrc.zip ugdbintsrc.zip ugtksrc.zip uibasesrc.zip uinetsrc.zip ummsystemsrc.zip umysqlsrc.zip uopenglsrc.zip upaszlibsrc.zip uregexprsrc.zip utilssrc.zip uuncgisrc.zip uunzipsrc.zip uzlibsrc.zip

The *src.zip files are meant for dos,win32,os/2 only. For Linux you can use the source rpm.

If you want to have the complete source tree the you can try the fpc10.zip from the snapshot directory. It contains also the latest fixes after the 1.0.6 release.

Reply by email