[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: build of rpm fails
- To: or-talk@xxxxxxxxxxxxx
- Subject: Re: build of rpm fails
- From: Udo van den Heuvel <udovdh@xxxxxxxxx>
- Date: Wed, 06 Dec 2006 19:07:52 +0100
- Delivered-to: archiver@seul.org
- Delivered-to: or-talk-outgoing@seul.org
- Delivered-to: or-talk@seul.org
- Delivery-date: Wed, 06 Dec 2006 13:08:08 -0500
- In-reply-to: <45685584.40800@xs4all.nl>
- Openpgp: id=8300CC02
- References: <4561CE1C.80205@xs4all.nl> <4565BD6F.4020808@xs4all.nl> <20061124000458.GZ13617@moria.seul.org> <4566956E.60009@xs4all.nl> <20061124130543.GA14272@hosting.lewmanracing.com> <4566F8FA.9080904@xs4all.nl> <20061125135825.GB26750@hosting.lewmanracing.com> <45685584.40800@xs4all.nl>
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-talk@xxxxxxxxxxxxx
- User-agent: Thunderbird 1.5.0.8 (Windows/20061025)
Udo van den Heuvel wrote:
> phobos@xxxxxxxxxx wrote:
>> On Fri, Nov 24, 2006 at 02:51:54PM +0100, udovdh@xxxxxxxxx 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.
Looks loke an m4 bug:
http://www.mail-archive.com/bug-m4@xxxxxxx/msg01831.html