[fpc-pascal] Problems with fpc-1.9.8-0.src.rpm

Agustin Barto abarto at gmail.com
Wed Apr 6 22:44:00 CEST 2005


I'm trying to build the fpc 1.9.8 from the srpm and I get the
following error message:

[abarto at viper ~]$ rpmbuild --rebuild --clean fpc-1.9.8-0.src.rpm
Installing fpc-1.9.8-0.src.rpm
error: File /home/michael/fpc/previous/buildsrc/fpc/build/rpm/SOURCES/fpc-1.9.8-src.tar.gz:
No such file or directory

...and here's my .rpmmacros:

[abarto at viper ~]$ cat .rpmmacros
%_topdir                            %(echo $HOME)/rpm
%_tmppath                           %{_topdir}/tmp
%_builddir                          %{_topdir}/BUILD
%_rpmdir                            %{_topdir}/RPMS
%_sourcedir                         %{_topdir}/SOURCES
%_specdir                           %{_topdir}/SPECS
%_srcrpmdir                         %{_topdir}/SRPMS
%_unpackaged_files_terminate_build  0
%_missing_doc_files_terminate_build 0

I checked the spec and topdir, sourcedir, builddir, rpmdir and
srcrpmdir are redefined using absolute paths. I don't think this is
right.

There's also problems with the src.rpm of fpc from the lazarus sf
site. It doesn't even look like an rpm at all:

[abarto at viper ~]$ rpmbuild --rebuild --clean fpc-1.9.8-0.src.rpm
Installing fpc-1.9.8-0.src.rpm
error: InstallSourcePackage: headerRead failed: region trailer: BAD,
tag 6781545 type 1879062784 offset -63 count 7
error: fpc-1.9.8-0.src.rpm cannot be installed




More information about the fpc-pascal mailing list