Skip to contentSkip to conversation

Problems with H.J's latest RPM 4.0.4 binary packages

DISCUSSION Hartvig Ekner 3 participants 3 messages Apr 22, 2002 MIPS

lore
Share & tools
lore
#0 lore raw

I have started to update our 7.1 RH/MIPS installation images with all the latest packages from H.J's collection.

The latest RPM package gives an up-front error no matter what one does, but the command seems to work:

[hartvige@copmalt13 /bin]$ rpm --version
error: Macro %__id_u has empty body
RPM version 4.0.4
[hartvige@copmalt13 /bin]$

Before I start digging any deeper, has anybody else seen this and found the explanation?

(Note that I have not yet finished compiling the glibc RPM natively as required - this is currently ongoing).

/Hartvig

Signature · 4 lines
 _    _   _____  ____     Hartvig Ekner        Mailto:[email protected]
 |\  /| | |____)(____                          Direct: +45 4486 5503
 | \/ | | |     _____)    MIPS Denmark         Switch: +45 4486 5555
T E C H N O L O G I E S   http://www.mips.com  Fax...: +45 4486 5556
#1 lore raw
Quoted 11 lines · Hartvig Ekner

I have started to update our 7.1 RH/MIPS installation images with all the latest packages from H.J's collection.

The latest RPM package gives an up-front error no matter what one does, but the command seems to work:

[hartvige@copmalt13 /bin]$ rpm --version
error: Macro %__id_u has empty body
RPM version 4.0.4
[hartvige@copmalt13 /bin]$

I have no problems with the mipsel rpm binary. Did you compile rpm 4.0.4 yourselves? Please send me

# cd /usr/lib/rpm
# grep __id_u * */*

H.J.

#2 lore raw
In reply to Hartvig Ekner
Quoted 10 lines · Hartvig Ekner

[hartvige@copmalt13 /bin]$ rpm --version
error: Macro %__id_u has empty body
RPM version 4.0.4
[hartvige@copmalt13 /bin]$

Before I start digging any deeper, has anybody else seen this and found the explanation?

(Note that I have not yet finished compiling the glibc RPM natively as required - this is currently ongoing).

Rpm has this nasty property of inherting much of it's configuration from one generation into the next generation. To get around this you will have to hack the configuration of your current rpm in /usr/lib/rpm/ rsp. /etc/rpm and rebuild. I've seen even more funny things when crossbuilding rpm.

Ralf