[sisyphus] cmake ошибка выполнения

"Ал. Ал." queq на yandex.ru
Ср Май 19 15:39:21 UTC 2010


19.05.2010 08:03, Ivan A. Melnikov пишет:
> В Wed, 19 May 2010 01:35:50 +0400
> "Ал. Ал."<queq на yandex.ru>  пишет:
>
>    
>> Пробую собрать программу на Python:
>>      
> Глупый вопрос: а не в хешере ли пробуете?
>
>    
Нет, конечно, не в хашере.  :)

Что бы последовательность действий была более понятна, привожу полное 
описание.
Зашёл на ресурс новой мега-игрушки сюда: http://www.syntensity.com/ и 
выполнил как указано на странице 
http://github.com/kripken/intensityengine 
<http://github.com/kripken/intensityengine>
> git clone git://github.com/kripken/intensityengine.git
В домашней директории образовалась директория /intensityengine
Захожу в неё и выполняю по инструкции:
> cd ./src/thirdparty/v8 && scons
В выводе получаю ошибку:
> $ cd ./src/thirdparty/v8 && scons
> scons: Reading SConscript files ...
> AttributeError: 'module' object has no attribute 'GuessOS':
>   File "/home/saqqara/intensityengine/src/thirdparty/v8/SConstruct", 
> line 574:
>     OS_GUESS = utils.GuessOS()
Окей, открываю файл ~/intensityengine/src/thirdparty/v8/SConstruct и 
исправляю в нём строку 574 на
> OS_GUESS = 'linux'
запускаю выполнение scons заново и получаю ещё одну ошибку:
> $ scons
> scons: Reading SConscript files ...
> AttributeError: 'module' object has no attribute 'GuessArchitecture':
>   File "/home/saqqara/intensityengine/src/thirdparty/v8/SConstruct", 
> line 576:
>     ARCH_GUESS = utils.GuessArchitecture()
Снова открываю файл ~/intensityengine/src/thirdparty/v8/SConstruct и 
привожу строку 576 с такому виду:
> ARCH_GUESS = 'ia32'
Хм... вчера собралось. Сегодня повторяю тоже самое, что бы воспроизвести 
лог и получил ошибку:
> $ scons
> scons: Reading SConscript files ...
>
> scons: warning: Ignoring missing SConscript 'obj/test/release/SConscript'
> File "/home/user/intensityengine/src/thirdparty/v8/SConstruct", line 
> 976, in BuildSpecific
> scons: done reading SConscript files.
> scons: Building targets ...
> g++ -o obj/release/api.o -c -Wall -Werror -W -Wno-unused-parameter 
> -Wnon-virtual-dtor -pedantic -m32 -O3 -fomit-frame-pointer 
> -fdata-sections -ffunction-sections -ansi -fno-rtti -fno-exceptions 
> -fvisibility=hidden -Wall -Werror -W -Wno-unused-parameter 
> -Wnon-virtual-dtor -pedantic -m32 -O3 -fomit-frame-pointer 
> -fdata-sections -ffunction-sections -ansi -DV8_TARGET_ARCH_IA32 
> -DENABLE_DEBUGGER_SUPPORT -DV8_NATIVE_REGEXP 
> -DENABLE_LOGGING_AND_PROFILING -Isrc src/api.cc
> cc1plus: warnings being treated as errors
> src/handles-inl.h: In static member function 'static void 
> v8::V8::RemoveMessageListeners(void (*)(v8::Handle<v8::Message>, 
> v8::Handle<v8::Value>))':
> src/handles-inl.h:50: error: dereferencing pointer '<anonymous>' does 
> break strict-aliasing rules
> src/handles-inl.h:50: error: dereferencing pointer '<anonymous>' does 
> break strict-aliasing rules
> src/globals.h:591: note: initialized from here
> cc1plus: error: dereferencing pointer 'dest' does break 
> strict-aliasing rules
> cc1plus: error: dereferencing pointer 'dest' does break 
> strict-aliasing rules
> cc1plus: error: dereferencing pointer 'dest' does break 
> strict-aliasing rules
> src/api.cc:3287: note: initialized from here
> scons: *** [obj/release/api.o] Error 1
> scons: building terminated because of errors.
----------- следующая часть -----------
Вложение в формате HTML было удалено...
URL: <http://lists.altlinux.org/pipermail/sisyphus/attachments/20100519/f63020e9/attachment.html>


Подробная информация о списке рассылки Sisyphus