[Pkg-opennebula-devel] Questions about merging with Ubuntu

Damien Raude-Morvan drazzib at drazzib.com
Thu Dec 23 17:18:48 UTC 2010


Hi Jaime,

Le jeudi 23 décembre 2010 10:00:41, Jaime Melis a écrit :
> Could you apply the attached git patch, and test it under Debian, and if
> it's successful continue with the merge process?

I've merged your change in GIT repository but now I get a failure linked to 
"fortify-source" feature [1] of Ubuntu :

g++ -o src/scheduler/src/sched/Scheduler.o -c -g -O2 -g -O2 -g -Wall -
Isrc/scheduler/include -Iinclude -I/usr/include -I/usr/include/libxml2 
src/scheduler/src/sched/Scheduler.cc
In file included from /usr/include/fcntl.h:252:0,
                 from src/scheduler/src/sched/Scheduler.cc:24:
In function 'int open(const char*, int, ...)',
    inlined from 'void Scheduler::start()' at 
src/scheduler/src/sched/Scheduler.cc:137:43:
/usr/include/bits/fcntl2.h:51:26: error: call to '__open_missing_mode' 
declared with attribute error: open with O_CREAT in second argument needs 3 
arguments
scons: *** [src/scheduler/src/sched/Scheduler.o] Error 1
scons: building terminated because of errors.
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/build/drazzib-opennebula_2.0.1-5-amd64-
aLddin/opennebula-2.0.1'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Could you please have a look ?

[1] https://wiki.ubuntu.com/Security/Features#fortify-source

> Oh, and by the way, joyeux Noël !

Thanks :)

-- 
Damien



More information about the Pkg-opennebula-devel mailing list