Sign in Join

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

Mailing lists / fpc-pascal / 2005-04

Problems with fpc-1.9.8-0.src.rpm

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

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

Agustin Barto

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

~]$ 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:

~]$ 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:

~]$ 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