Hello all
I do as your method but  When I built libdomainkeys-toaster-*.src.rpm ,i  got 
the error as below.
Can you help?
My system is frdora15_x64.

daemontools-toaster-*.src.rpm     build pass
    => changes p0 -> p1

ucspi-tcp-toaster-*.src.rpm        build pass
    => changes p0 -> p1
    => one patch had to manually specify target

vpopmail-toaster-*.src.rpm         build pass
    => Unsure, think there was one p0 -> p1, but made no notes

libdomainkeys-toaster-*.src.rpm    => no changes  error

libsrs2-toaster-*.src.rpm        => no changes   build pass






[root@node01 src]# rpmbuild --rebuild --with fedora_1164 
libdomainkeys-toaster-0.68-1.3.6.src.rpm
Installing libdomainkeys-toaster-0.68-1.3.6.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gu26N3
+ umask 022
+ cd /root/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /root/rpmbuild/BUILD
+ rm -rf libdomainkeys-0.68
+ /bin/tar -xf -
+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/libdomainkeys-0.68.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libdomainkeys-0.68
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ '[' -f /var/tmp/libdomainkeys-0.68-gcc ']'
+ rm -f /var/tmp/libdomainkeys-0.68-gcc
+ echo gcc
+ '[' -f /var/tmp/libdomainkeys-0.68-show_flags ']'
+ cat
+ chmod u+x /var/tmp/libdomainkeys-0.68-show_flags
+ /var/tmp/libdomainkeys-0.68-show_flags
 RPM RELEASE: libdomainkeys-toaster-0.68-1.3.6
 OS TYPE IS : Fedora 11 x86_64 Linux
 BUILD DATE : Fri Jun 12 2009
 CCFLAGS    : -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
 LDFLAGS    : -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
+ '[' -f /var/tmp/libdomainkeys-0.68-show_flags ']'
+ rm -f /var/tmp/libdomainkeys-0.68-show_flags
+ perl -pi '-es/CFLAGS=/CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 
-fPIC /' Makefile
+ echo -- -lresolv
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pNe0ol
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd libdomainkeys-0.68
+ LANG=C
+ export LANG
+ unset DISPLAY
+ '[' -n /root/rpmbuild/BUILDROOT/libdomainkeys-toaster-0.68-1.3.6.x86_64 -a 
/root/rpmbuild/BUILDROOT/libdomainkeys-toaster-0.68-1.3.6.x86_64 '!=' / ']'
+ rm -rf /root/rpmbuild/BUILDROOT/libdomainkeys-toaster-0.68-1.3.6.x86_64
+ mkdir -p /root/rpmbuild/BUILDROOT/libdomainkeys-toaster-0.68-1.3.6.x86_64
+ make UNAME=Linux
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -DBIND_8_COMPAT -O2 -o 
makeheader makeheader.c
./makeheader <domainkeys.c >domainkeys.h
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -DBIND_8_COMPAT -O2 -c 
dktest.c -I.
dktest.c: In function 'main':
dktest.c:146:3: warning: pointer targets in passing argument 2 of 'dk_message' 
differ in signedness [-Wpointer-sign]
./domainkeys.h:248:9: note: expected 'const unsigned char *' but argument is of 
type 'char *'
dktest.c:148:3: warning: pointer targets in passing argument 2 of 'dk_message' 
differ in signedness [-Wpointer-sign]
./domainkeys.h:248:9: note: expected 'const unsigned char *' but argument is of 
type 'char *'
dktest.c:181:9: warning: pointer targets in passing argument 2 of 'dk_message' 
differ in signedness [-Wpointer-sign]
./domainkeys.h:248:9: note: expected 'const unsigned char *' but argument is of 
type 'char *'
dktest.c:193:10: warning: pointer targets in passing argument 2 of 'dk_message' 
differ in signedness [-Wpointer-sign]
./domainkeys.h:248:9: note: expected 'const unsigned char *' but argument is of 
type 'char *'
dktest.c:199:10: warning: pointer targets in passing argument 2 of 'dk_message' 
differ in signedness [-Wpointer-sign]
./domainkeys.h:248:9: note: expected 'const unsigned char *' but argument is of 
type 'char *'
dktest.c:210:7: warning: pointer targets in passing argument 2 of 'dk_message' 
differ in signedness [-Wpointer-sign]
./domainkeys.h:248:9: note: expected 'const unsigned char *' but argument is of 
type 'char *'
dktest.c:286:5: warning: pointer targets in passing argument 3 of 'dk_getsig' 
differ in signedness [-Wpointer-sign]
./domainkeys.h:343:9: note: expected 'unsigned char *' but argument is of type 
'char *'
dktest.c:288:5: warning: format '%d' expects argument of type 'int', but 
argument 2 has type 'size_t' [-Wformat]
dktest.c:288:5: warning: format '%d' expects argument of type 'int', but 
argument 3 has type 'size_t' [-Wformat]
dktest.c:291:5: warning: pointer targets in passing argument 3 of 'dk_getsig' 
differ in signedness [-Wpointer-sign]
./domainkeys.h:343:9: note: expected 'unsigned char *' but argument is of type 
'char *'
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -DBIND_8_COMPAT -O2 -c 
domainkeys.c -I.
domainkeys.c: In function 'dkheaders_header':
domainkeys.c:1068:9: warning: pointer targets in passing argument 2 of 'dkhash' 
differ in signedness [-Wpointer-sign]
domainkeys.c:871:13: note: expected 'const unsigned char *' but argument is of 
type 'char *'
domainkeys.c:1071:7: warning: pointer targets in passing argument 2 of 'dkhash' 
differ in signedness [-Wpointer-sign]
domainkeys.c:871:13: note: expected 'const unsigned char *' but argument is of 
type 'char *'
domainkeys.c:1072:7: warning: pointer targets in passing argument 2 of 'dkhash' 
differ in signedness [-Wpointer-sign]
domainkeys.c:871:13: note: expected 'const unsigned char *' but argument is of 
type 'char *'
domainkeys.c: In function 'dkheaders':
domainkeys.c:1120:9: warning: pointer targets in passing argument 2 of 'dkhash' 
differ in signedness [-Wpointer-sign]
domainkeys.c:871:13: note: expected 'const unsigned char *' but argument is of 
type 'char *'
domainkeys.c:1124:9: warning: pointer targets in passing argument 2 of 'dkhash' 
differ in signedness [-Wpointer-sign]
domainkeys.c:871:13: note: expected 'const unsigned char *' but argument is of 
type 'char *'
domainkeys.c:1125:9: warning: pointer targets in passing argument 2 of 'dkhash' 
differ in signedness [-Wpointer-sign]
domainkeys.c:871:13: note: expected 'const unsigned char *' but argument is of 
type 'char *'
domainkeys.c:1276:5: warning: cast to pointer from integer of different size 
[-Wint-to-pointer-cast]
domainkeys.c:1276:5: warning: value computed is not used [-Wunused-value]
domainkeys.c: In function 'dk_headers':
domainkeys.c:1297:9: warning: variable 'headers' set but not used 
[-Wunused-but-set-variable]
domainkeys.c: In function 'dk_message':
domainkeys.c:1504:7: warning: pointer targets in passing argument 2 of 'dkhash' 
differ in signedness [-Wpointer-sign]
domainkeys.c:871:13: note: expected 'const unsigned char *' but argument is of 
type 'char *'
domainkeys.c:1505:7: warning: pointer targets in passing argument 2 of 'dkhash' 
differ in signedness [-Wpointer-sign]
domainkeys.c:871:13: note: expected 'const unsigned char *' but argument is of 
type 'char *'
domainkeys.c: In function 'dk_getsig':
domainkeys.c:2004:7: warning: value computed is not used [-Wunused-value]
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -DBIND_8_COMPAT -O2 -c 
dns_txt.c
dns_txt.c: In function 'dns_text':
dns_txt.c:133:7: warning: pointer targets in passing argument 1 of 'dk_strdup' 
differ in signedness [-Wpointer-sign]
dns_txt.c:19:14: note: expected 'const char *' but argument is of type 'u_char 
*'
dns_txt.c:70:9: warning: unused variable 'i' [-Wunused-variable]
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -DBIND_8_COMPAT -O2   -c -o 
dktrace.o dktrace.c
rm -f libdomainkeys.a
ar cr libdomainkeys.a domainkeys.o dns_txt.o dktrace.o
ranlib libdomainkeys.a
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -DBIND_8_COMPAT -O2 -o 
dktest dktest.o -L. -ldomainkeys -lcrypto `cat dns.lib`
gcc: error: unrecognized option '--'
make: *** [dktest] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.pNe0ol (%build)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.pNe0ol (%build)

Reply via email to