unable to rpm --rebuild cyrus-imapd-2.1.8-3.src.rpm
Bernhard Erdmann
be at berdmann.de
Fri Aug 30 08:58:35 EDT 2002
Simon Matter wrote:
[...]
> What you should try first is to change the perlhack, which is really a
> hack:
>
> %define _perlhack %(eval [ %{_rhver} = "7.1" -o
> %{_rhver} = "7.2" -o %{_rhver} = "7.3" -o %{_rhver} = "2.1AS" -o
> %{_rhver} = "6.2" ] && echo 0 || echo 1)
The rpm build fails, too. Here's the diff to your spec file:
http://berdmann.dyndns.org/debug/cyrus/rpms/cyrus-imapd-perlhack.spec.diff
It's output is here:
http://berdmann.dyndns.org/debug/cyrus/rpms/cyrus-build-perlhack.out
> I hope the problem doesn't come from different rpm macros...
>
> BTW, what does 'rpm -qa | grep db' show you? I don't really understand
> why '%(eval rpm -q --quiet db4-devel && echo db4 || echo db3)' doesn't
> work in you environment?
# rpm -qa | grep db
gdbm-1.8.0-3
xxgdb-1.12-13
db3-3.1.17-4.6x
gdbm-devel-1.8.0-3
pwdb-0.61-0
db3-utils-3.1.17-4.6x
gdb-4.18-11
db3-devel-3.1.17-4.6x
# rpm -q --quiet db4-devel && echo db4 || echo db3
db3
> I could make the %{name}-2.1.5-gccsnmpfix.patch patch an automatic
> feature.
That would be a nice feature.
More information about the Info-cyrus
mailing list