x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./src/config -I./include/ -I/usr/include -I./src/lexer/ -D_GNU_SOURCE -D_REENTRANT -march=core2 -O2 -pipe -floop-interchange -floop-strip-mine -floop-block -ftemplate-depth-50 -MT XSLT2Lexer.lo -MD -MP -MF .deps/XSLT2Lexer.Tpo -c src/lexer/XSLT2Lexer.cpp -fPIC -DPIC -o .libs/XSLT2Lexer.o In file included from /usr/include/stdio.h:908, from ../src/parser/XQParser.cpp:4677: /usr/include/bits/stdio.h: In function 'int XQParser::fgetc_unlocked(FILE*)': /usr/include/bits/stdio.h:56: error: invalid use of incomplete type 'struct _IO_FILE' /usr/include/stdio.h:45: error: forward declaration of 'struct _IO_FILE' /usr/include/bits/stdio.h:56: error: invalid use of incomplete type 'struct _IO_FILE' /usr/include/stdio.h:45: error: forward declaration of 'struct _IO_FILE' /usr/include/bits/stdio.h:56: error: cannot convert 'FILE*' to 'XQParser::_IO_FILE*' for argument '1' to 'int XQParser::__uflow(XQParser::_IO_FILE*)' /usr/include/bits/stdio.h:56: error: invalid use of incomplete type 'struct _IO_FILE' /usr/include/stdio.h:45: error: forward declaration of 'struct _IO_FILE' ... Reproducible: Always Steps to Reproduce: (Note that the bellow info comes from 'paludis --info'; if you want 'emerge --info' in additon to this, let me know.) paludis --info dev-libs/xqilla paludis 0.36.1 Paludis build information: Compiler: CXX: x86_64-pc-linux-gnu-g++ 4.4.0 CXXFLAGS: -march=core2 -O2 -pipe -floop-interchange -floop-strip-mine -floop-block -pedantic LDFLAGS: -Wl,-O1 DATE: 2009-05-29T05:24:13+0200 Libraries: C++ Library: GNU libstdc++ 20090421 Reduced Privs: reduced_uid: 101 reduced_uid->name: paludisbuild reduced_uid->dir: /var/tmp/paludis reduced_gid: 1001 reduced_gid->name: paludisbuild Paths: DATADIR: /usr/share LIBDIR: /usr/lib64 LIBEXECDIR: /usr/libexec SYSCONFDIR: /etc PYTHONINSTALLDIR: RUBYINSTALLDIR: /usr/lib64/ruby/site_ruby/1.8/x86_64-linux ...
Created attachment 195550 [details] build log
+ 10 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> xqilla-2.2.0.ebuild, + +files/xqilla-2.2.0-gcc44.patch: + Fix building with GCC 4.4+ wrt #275169. +