Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275169 - dev-libs/xqilla fails to build with gcc-4.4
Summary: dev-libs/xqilla fails to build with gcc-4.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.4
  Show dependency tree
 
Reported: 2009-06-23 11:33 UTC by Heiko Becker
Modified: 2009-08-10 12:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (1245754869-install-dev-libs_xqilla-2.2.0:0::gentoo.out.bz2,14.47 KB, application/x-bzip)
2009-06-23 11:35 UTC, Heiko Becker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Becker 2009-06-23 11:33:44 UTC
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

...
Comment 1 Heiko Becker 2009-06-23 11:35:36 UTC
Created attachment 195550 [details]
build log
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-08-10 12:39:59 UTC
+  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.
+