Error creating rpm
Brought to you by:
secureideas,
sinukas
When trying to package base-1.4.1
The following error is generated:
+ /bin/gzip -dc /home/rskoog/base-1.4.1.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd base-1.4.1
/var/tmp/rpm-tmp.62596: line 36: cd: base-1.4.1: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.62596 (%prep)
The current release's archive extracts to base-php4.
Hello Rob,
could you please post your whole procedure?
And which platform?
the %prep target is formed by rpm macros almost
exclusively. In base.spec there are only some definitions
of variables. Nothing else. So I see only a rather limited
amount of possibilities what to change in this stage.
Bye, bye
Juergen
Bye, bye
Juergen
If I recall correctly the problem isn't with the code. It is with the archive. It looks for a different directory than what the source archive for that version actually extracts to.
Hello,
You are right. The *.tar.gz was packed as "base-php4".
BTW: The source code as included in the SRPM should
be ok: One should be able to rebuild the rpm out of
the SRPM without problems.
Bye, bye
Juergen
1.4.2 should not have this problem. I packaged 1.4.1 incorrectly.