I solved this by:

   * remove the rpmbuild directory.
   * Start the rpmbuild and press <ctrl>+s. The process stops for now
   * Edit the file =BUILD/simscan-1.3.1/simscanmk.c=, line 133 en 379:
     add the 0x0644 as in: =open(CdbTmpFile?, O_CREAT | O_TRUNC |
     O_WRONLY, 0x0644)=
   * Continue the rpmbuild with <ctrl>+q

At the end I had the following error:

   [r...@server6 qtms-install]# rpm -Uvh
   /root/rpmbuild/RPMS/i386/simscan-toaster-1.3.1-1.3.6.i386.rpm
Preparing... ########################################### [100%] 1:simscan-toaster ########################################### [100%]
   connect(): No such file or directory
   LibClamAV Error: cl_cvdhead: Can't open file /usr/share/clamav/main.cvd
   Reloaded /etc/tcprules.d/tcp.smtp
   Reloaded /var/qmail/control/badmimetypes.cdb
   Reloaded /var/qmail/control/badloadertypes.cdb
   Reloaded /var/qmail/control/simversions.cdb
   Reloaded /var/qmail/control/simcontrol.cdb
   [r...@server6 qtms-install]#

How is yours doing now?

Kind regards, Richard Vinke.



Fernando Azevedo wrote:
Hello Everyone,
In Fedora 10, when doing: "rpmbuild --rebuild --with fedora_10 simscan-toaster-1.3.1-1.3.6.src.rpm" the output ends with: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -o simscan simscan.o cdb/cdb.a cdb/buffer.a cdb/unix.a cdb/byte.a cdb/alloc.a gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -c `test -f 'simscanmk.c' || echo './'`simscanmk.c
In function 'open',
    inlined from 'make_cdb' at simscanmk.c:379:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
In function 'open',
    inlined from 'make_version_cdb' at simscanmk.c:133:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[2]: *** [simscanmk.o] Error 1
make[2]: Leaving directory `/root/rpmbuild/BUILD/simscan-1.3.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/simscan-1.3.1'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.2EPVLa (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.2EPVLa (%build)
I've googled for help but without any success. Any hints on overcoming this problem? Thanks in advance,
Fernando
--------------------------------------------------------------------- To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
begin:vcard
fn:Richard Vinke
n:Vinke;Richard
email;internet:rich...@vogelnestje.nl
x-mozilla-html:TRUE
version:2.1
end:vcard

---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

Reply via email to