Re: [qmailtoaster] simscan-toaster problem

2009-02-25 Thread Jake Vickers

Richard Vinke wrote:

I solved this by:

* remove the rpmbuild directory.
* Start the rpmbuild and press +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 +q



Or he could download the version that works with his distro that adjusts 
the compilation flags to not be as strict.


Re: [qmailtoaster] simscan-toaster problem

2009-02-25 Thread Richard Vinke

I solved this by:

   * remove the rpmbuild directory.
   * Start the rpmbuild and press +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 +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

Re: [qmailtoaster] simscan-toaster problem

2009-02-24 Thread Jake Vickers

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:
 


There is no Fedora 10 (or Fedora 9) support in 
simscan-toaster-1.3.1-1.3.6, only in version 1.3.1-1.3.7. That's the 
problem you had with ezmlm as well. You are trying to use a version that 
does not support Fedora 10.




[qmailtoaster] simscan-toaster problem

2009-02-24 Thread Fernando Azevedo
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.cIn 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 argumentsIn 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 argumentsmake[2]: *** [simscanmk.o] Error 1make[2]: Leaving directory `/root/rpmbuild/BUILD/simscan-1.3.1'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/root/rpmbuild/BUILD/simscan-1.3.1'make: *** [all] Error 2error: 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