ERRORS: openssl.spec

Jakub Bogusz qboosh w pld-linux.org
Wto, 1 Cze 2004, 22:14:01 CEST


On Tue, Jun 01, 2004 at 08:05:19PM +0000, PLD ac-sparc builder wrote:
> openssl.spec (HEAD): FAILED
> 
> --- openssl.spec:HEAD:
> Build-Time: user:6.44s sys:3.34s real:12.75s (faults io:89929 non-io:77998)
> 
> 
> 
> *** buildlog for openssl.spec
> request from: qboosh
> started at: Tue Jun  1 22:05:06 2004
> fetching http://ep09.pld-linux.org/~buildsrc/srpms/8c1f3a2b-f6fc-4b17-9fd8-4a0deb181bfa/openssl-0.9.7d-3.src.rpm
> fetched 2825104 bytes, 1856.3 K/s
> installing srpm: openssl-0.9.7d-3.src.rpm
> error: Macro %if has illegal name (%define)
> error: Macro %endif has empty body
> checking BR
> rpm: error: Macro %if has illegal name (%define)
> 
> rpm: error: Macro %endif has empty body
> 
> rpm: error: Macro %if has illegal name (%define)
> 
> rpm: error: Macro %endif has empty body
> 
> rpm: error: Macro %if has illegal name (%define)
> 
> rpm: error: Macro %endif has empty body
> 
> no BR needed
> building RPM using: cd rpm/SPECS; TMPDIR=/tmp/B.ff49dc nice -n 0 rpmbuild -bb  --target sparc-pld-linux openssl.spec
> error: Macro %if has illegal name (%define)
> error: Macro %endif has empty body
> error: Macro %if has illegal name (%define)
> error: Macro %endif has empty body
[...]
> sparc-pld-linux-gcc -I. -I.. -I../include -fPIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -O2 -m32 -mtune=ultrasparc-ggdb -DB_ENDIAN -DTERMIO -Wall -DBN_DIV2W   -c -o cryptlib.o cryptlib.c
> cc1: error: bad value (ultrasparc-ggdb) for -mtune= switch
                         ^^^^^^^^^^^^^^^
> make[1]: *** [cryptlib.o] Error 1
> make[1]: Leaving directory `/home/users/builder/rpm/BUILD/openssl-0.9.7d/crypto'
> make: *** [sub_all] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.3692 (%build)

O jak fajnie, mamy "wyłączony" builder :/
Dwa błędy w jednej poprawce w rpm.macros (na dodatek rozjazd między
architekturami w ramach tego samego releasu rpm-a!).

%if %{_enable_debug_packages}%{!?_enable_debug_packages:0}
%debuginfocflags        -ggdb
%endif

%debugcflags    -O0 -g -Wall
%rpmcflags
%%{?debug:%debugcflags}%{!?debug:%optflags}%{?debuginfocflags:%debuginfocflags}
%rpmldflags     %{nil}

1) %if nie jest dopuszczalne w *macros (wszystkie poprawne wystąpienia
są w rozwinięciach makr)

2) brak odstępu między %optflags a %debuginfocflags


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/



Więcej informacji o liście dyskusyjnej pld-devel-pl