On Dienstag, 19. August 2008, Barry Smoke wrote:
> I know fedora core 10 is alpha(strange that installing core9, then
> running an update got us fedora core10)...
> 
> anyway, I was doing an rpmbuild -rebuild on all the fedora source rpm's,
> 
> 
> and I get this error when recompiling the server rpm:

> In function 'open',
> 
>     inlined from 'detached_new_session' at detached.c:419:
> 
> /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[1]: *** [detached.o] Error 1
> 
> make[1]: Leaving directory
> `/root/rpmbuild/BUILD/openvas-server-1.0.0/openvasd'

your are still using 1.0.0 from 2008-01-31.
The SVN ChangeLog file of openvas-server shows:

2008-07-01  Jan-Oliver Wagner <[EMAIL PROTECTED]>

        * MANIFEST: Updated.

        * openvasd/detached.c (detached_new_session): Fixed wrong use of system
        call "open" (if O_CREAT is applied, the command needs specification of
        access flags).

1.0.1 was released 2008-07-03 and thus includes the fix.

Hope this helps.

Best

        Jan

-- 
Dr. Jan-Oliver Wagner                        Intevation GmbH, Osnabrück
Amtsgericht Osnabrück, HR B 18998             http://www.intevation.de/
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
_______________________________________________
Openvas-discuss mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss

Reply via email to