Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 270445

Summary: net-libs/libsoup-2.2.105-r2 fails to build with glibc-2.10.1
Product: Gentoo Linux Reporter: Peter Sääf <peter.saaf>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: loki_val, rhill
Priority: High    
Version: 2008.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 270353    

Description Peter Sääf 2009-05-19 15:40:50 UTC
creating libsoup-2.2.la
(cd .libs && rm -f libsoup-2.2.la && ln -s ../libsoup-2.2.la libsoup-2.2.la)
make[3]: Leaving directory `/var/tmp/paludis/net-libs-libsoup-2.2.105-r2/work/libsoup-2.2.105/libsoup'
make[2]: Leaving directory `/var/tmp/paludis/net-libs-libsoup-2.2.105-r2/work/libsoup-2.2.105/libsoup'
Making all in tests
make[2]: Entering directory `/var/tmp/paludis/net-libs-libsoup-2.2.105-r2/work/libsoup-2.2.105/tests'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DSRCDIR=\""."\" -I/usr/include/libxml2   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include       -march=core2 -O2 -msse4.1 -pipe -ftree-vectorize -fomit-frame-pointer 		-Wall -Wstrict-prototypes -Wmissing-declarations 		-Wmissing-prototypes -Wnested-externs -Wpointer-arith -D_REENTRANT -MT context-test.o -MD -MP -MF .deps/context-test.Tpo -c -o context-test.o context-test.c
context-test.c:31: error: conflicting types for 'dprintf'
/usr/include/stdio.h:397: error: previous declaration of 'dprintf' was here
make[2]: Leaving directory `/var/tmp/paludis/net-libs-libsoup-2.2.105-r2/work/libsoup-2.2.105/tests'
make[2]: *** [context-test.o] Error 1
make[1]: Leaving directory `/var/tmp/paludis/net-libs-libsoup-2.2.105-r2/work/libsoup-2.2.105'
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
/usr/libexec/paludis/utils/emake: emake returned error 2

Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2009-05-23 15:45:11 UTC
Snippet from my bashrc fix for this:
                sed -i -e "s:dprintf:${PN}_\0:" \
                        tests/proxy-test.c      \
                        tests/header-parsing.c  \
                        tests/pull-api.c        \
                        tests/xmlrpc-test.c     \
                        tests/uri-parsing.c     \
                        tests/ntlm-test.c       \
                        tests/context-test.c    \
                        tests/auth-test.c       \
                      || die
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2009-07-26 04:55:48 UTC
fixed