Package: felix
Version: 1.1.3-4
User: [EMAIL PROTECTED]
Usertags: ftbfs-gcc-4.4

Your package fails to build with the upcoming GCC 4.4.  Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.

GCC 4.4 cleaned up some more C++ headers.  You always have to #include
headers directly and cannot rely for things to be included indirectly.

You can reproduce this problem with gcc-snapshot from unstable.

> Automatic build of felix_1.1.3-4 on em64t by sbuild/amd64 0.53
...
> g++ -c -Wall -Wno-invalid-offsetof -Wfatal-errors -Irtl -Ielk -o 
> elk/elk_gramast.ast.gen_static.o -DFLX_STATIC_LINK -DHOST_BUILD  
> elk/elk_gramast.ast.gen.cpp
> g++ -c -Wall -Wno-invalid-offsetof -Wfatal-errors -Irtl -Ielk -o 
> elk/elk_gramlex.yy_static.o -DFLX_STATIC_LINK -DHOST_BUILD  
> elk/elk_gramlex.yy.cpp
> lex.yy.cc: In member function 'int yyFlexLexer::yyinput()':
> lex.yy.cc:1633: error: 'EOF' was not declared in this scope
> compilation terminated due to -Wfatal-errors.
>   .. ERROR CODE 0x100: g++ -c -Wall -Wno-invalid-offsetof -Wfatal-errors 
> -Irtl -Ielk -o elk/elk_gramlex.yy_static.o -DFLX_STATIC_LINK -DHOST_BUILD  
> elk/elk_gramlex.yy.cpp
> Traceback (most recent call last):
>   File "script/maker", line 326, in <module>
>     f()
>   File "flxbuild/pluginutil.py", line 15, in __call__
>     return apply(self.runme,args,kwds)
>   File "mkplugins/make.py", line 35, in runme
>     plugins['build_host_tools'](pkg, pkgdict)
>   File "flxbuild/pluginutil.py", line 15, in __call__
>     return apply(self.runme,args,kwds)
>   File "mkplugins/build_host_tools.py", line 29, in runme
>     macros=["FLX_STATIC_LINK"],
>   File "flxbuild/c_cxx_base.py", line 320, in build_static_rtl
>     return apply(self.build_thing, args, kwds)
>   File "flxbuild/c_cxx_base.py", line 304, in build_thing
>     log=log,
>   File "flxbuild/c_cxx_base.py", line 147, in compile_static_rtl
>     return apply(self.compile_static_thing, (COM, opt.EXT_SRC_LIB) + args, 
> kwds)
>   File "flxbuild/c_cxx_base.py", line 139, in compile_static_thing
>     return apply(self.compile_thing, args, kwds)
>   File "flxbuild/c_cxx_base.py", line 129, in compile_thing
>     shell(cmd, log=log)
>   File "mkplugins/xqt.py", line 16, in vxqt
>     return apply(xqt, (x,), kwds)
>   File "flxbuild/flxutil.py", line 180, in xqt
>     raise MakeError(x, stdout)
> flxbuild.flxutil.MakeError: COMMAND: g++ -c -Wall -Wno-invalid-offsetof 
> -Wfatal-errors -Irtl -Ielk -o elk/elk_gramlex.yy_static.o -DFLX_STATIC_LINK 
> -DHOST_BUILD  elk/elk_gramlex.yy.cpp


I'm sorry I cannot send a patch but I've no idea how the build system
works.

There's a problem with lpsrc/flx_rtl.pak later on (same #include
missing).
-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to