build of rpm fails

Udo van den Heuvel udovdh at xs4all.nl
Sat Nov 25 14:39:00 UTC 2006


phobos at rootme.org wrote:
> On Fri, Nov 24, 2006 at 02:51:54PM +0100, udovdh at xs4all.nl wrote 1.1K bytes in 30 lines about:
> : No chance. This is a VIA C3 Nehemia CPU from a VIA EK8000 board.
> : Maybe my .rpmrc matters?
> : 
> : optflags: i386 %{__global_cflags} -m32 -march=c3-2 -pipe
> : -fomit-frame-pointer -ffast-math -finline-functions -mfpmath=sse,387
> 
> 	Ahh.  The tor.spec overrides local optflags.  Comment out line
> 	33 in the tor.spec, which is:
> 	"%define optflags -march=%{target_cpu} -mtune=%{target_cpu} -O2"
> 
> 	Let me know if this works.

Nope. Same error:

config.status: creating contrib/suse/tor.sh
config.status: creating orconfig.h
config.status: executing default-1 commands
+ /usr/bin/make
cd . && aclocal-1.4
cd . && automake-1.4 --foreign --include-deps Makefile
cd . && autoconf
configure.in:8: /usr/bin/m4: Warning: sub-expression 1 not present
autom4te: /usr/bin/m4 failed with exit status: 1
make: *** [configure] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.25269 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.25269 (%build)

Strange thing is that the configure.in line 8 thing is vague.
Line 8 says:

AM_CONFIG_HEADER(orconfig.h)

orconfig.h is present.
So what now? I am slightly puzzled.

Udo




More information about the tor-talk mailing list