Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152295 - net-libs/libsoup-1.99.28-r1 compile fails under gcc 4.x
Summary: net-libs/libsoup-1.99.28-r1 compile fails under gcc 4.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://www.linuxfromscratch.org/patch...
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-10-21 13:25 UTC by Howard B. Golden
Modified: 2007-01-14 19:35 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Howard B. Golden 2006-10-21 13:25:45 UTC
When emerging net-libs/libsoup-1.99.28-r1 under gcc-4.1.1 the following error messages appear:

source='soup-queue.c' object='soup-queue.lo' libtool=yes \
        depfile='.deps/soup-queue.Plo' tmpdepfile='.deps/soup-queue.TPlo' \
        depmode=gcc3 /bin/sh ../depcomp \
        /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"SOUP\" -DSYSCONFDIR=\"/etc\" -DLIBEXECDIR=\"/usr/libexec\" -I..  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include        -march=athlon-xp -O2 -pipe          -Wall -Wstrict-prototypes -Wmissing-declarations                -Wmissing-prototypes -Wnested-externs -Wpointer-arith -D_REENTRANT -c -o soup-queue.lo `test -f 'soup-queue.c' || echo './'`soup-queue.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"SOUP\" -DSYSCONFDIR=\"/etc\" -DLIBEXECDIR=\"/usr/libexec\" -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=athlon-xp -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -D_REENTRANT -c soup-queue.c -MT soup-queue.lo -MD -MP -MF .deps/soup-queue.TPlo  -fPIC -DPIC -o soup-queue.lo
soup-queue.c:33: error: static declaration of 'soup_active_requests' follows non-static declaration
soup-private.h:41: error: previous declaration of 'soup_active_requests' was here
make[2]: *** [soup-queue.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-libs/libsoup-1.99.28-r1/work/libsoup-1.99.28/libsoup'

This error and a patch were reported by Randy McMurchy <randy_at_linuxfromscratch_dot_org>. See http://www.linuxfromscratch.org/patches/downloads/soup/soup-0.7.11-gcc4-1.patch . I have not verified this patch so far.

emerge --info
Portage 2.1.2_pre3-r6 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.12.5
Last Sync: Sat, 21 Oct 2006 15:30:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="${SVCVARDIR} /etc /opt/jetty/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/alias /var/qmail/control /var/spool/fax/etc /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X X509 a52 aac acpi alsa amd ansi arts artswrappersuid artworkextra asf bcmath berkdb bitmap-fonts browserplugin bzip2 c++ cairo calendar caps cdda cddb cdf cdparanoia cdr chroot cjk clamav cli cln cpudetection cracklib crypt css ctype cups curl curlwrappers dba dbase dbus dbx dio directfb djbfft dlloader dnd doc dri dv dvd dvdr dvdread dvi dynagraph ecc eds elibc_glibc emacs emboss encode erandom esd evo examples exif fam fastcgi fbcon fdftk ffmpeg fftw firefox flac flatfile font-server fortran ftp gb gcj gcl gd gdbm gif ginac glep gmp gnome gnomedb gnuplot gnustep gnutls gpm gprof graphviz gstreamer gtk hal haskell iconv icq idea idl idn imagemagick imap inifile innodb input_devices_keyboard input_devices_mouse insecure-drivers ipv6 isdnlog ithreads jabber java java5 javacomm javamail javascript jce jms jpeg junit jython kde kdeenablefinal kdepim kdexdeltas kerberos kernel_linux kexi kqemu latex ldap leim libclamav libg++ libgda lids live lm_sensors log4j ltsp mad maildir mailwrapper math mbox mdb memlimit mikmod mime mmap mmx mozdevelop mozilla moznoirc moznomail mozsha1 mozsvg mozxmlterm mp3 mpeg mpi mplayer mysql ncurses netboot nls nptl nptlonly nsplugin oav objc ocaml odbc ofx ogg openexr opengl oss pam parse-clocks patented pcntl pcre pda pdf perl pg-hier pg-intdatetime php pic plotutils png posix postgres ppds pppd prelude pwdb python pyzor qdbm qemu-fast qmail qt3 qt4 quicktime rdesktop readline reflection rhino rss ruby samba sasl sdk sdl session sguil sharedmem simplexml skey slp soap sockets socks5 source spell spl sql sqlite sqlite3 sse ssl subversion svg svga syslog sysvipc t1lib tcltk tcpd tetex theora threads tidy tiff tk tokenizer toolbar truetype truetype-fonts type1 type1-fonts udev unicode usb userland_GNU utf8 verbose vhosts video_cards_ati video_cards_fbdev video_cards_radeon video_cards_vesa vorbis wddx webdav win32codecs winbind wxwindows xemacs xine xml xmlreader xmlrpc xmlwriter xorg xpm xsl xslt xv xvmc yahoo yv12 zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Adam Polkosnik 2006-11-01 20:00:50 UTC
This fixes the compile with gcc-4.1.1-r1 as well.
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2006-12-26 19:25:46 UTC
shouldn't this have gotten removed with Gnome-1?
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-12-27 00:45:25 UTC
I've done a quick search through portage and it seems that gtkhtml-3.0.* are the only packages in portage to have >=net-libs/libsoup-1.99.* as a dependancy. I guess this could be raised to libsoup 2.2 or that these versions could simply be removed so that we can get rid of libsoup-1.99.
Comment 4 Mart Raudsepp gentoo-dev 2007-01-14 19:35:51 UTC
Old version of mail-client/ximian-connector removed, that depended specifically on 1.99.
gtkhtml-3.0.10 at least built good against libsoup 2.2.99, so libsoup-1.99 verions (making up SLOT=0) are now removed from the tree.