Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138668 - dev-libs/xmlrpc-c-1.05 with GCC4 fails due to extra qualification
Summary: dev-libs/xmlrpc-c-1.05 with GCC4 fails due to extra qualification
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Benedikt Böhm (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-07-01 00:40 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2006-07-01 02:34 UTC (History)
0 users

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 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2006-07-01 00:40:23 UTC
[ebuild     UD] dev-libs/xmlrpc-c-1.05 [1.2] USE="libwww% -curl%" 0 kB 

recent required downgrade of XMLPRC is not GCC4 compliant. 

xml.cpp:130: warning: statement has no effect
rm -f libxmlrpc++.a
ar cru libxmlrpc++.a base64.o env_wrap.o fault.o girerr.o girmem.o outcome.o param_list.o value.o xml.o
i686-pc-linux-gnu-ranlib libxmlrpc++.a
i686-pc-linux-gnu-g++ -c -Isrcdir/include -Iblddir -Isrcdir -Isrcdir/lib/util/include -Isrcdir/lib/expat/xmlparse -DNDEBUG -Wall -Wundef -Wimplicit -W -Winline -Woverloaded-virtual -Wsynth -g   registry.cpp
rm -f libxmlrpc_server++.a
ar cru libxmlrpc_server++.a registry.o
i686-pc-linux-gnu-ranlib libxmlrpc_server++.a
i686-pc-linux-gnu-g++ -c -Isrcdir/include -Iblddir -Isrcdir -Isrcdir/lib/util/include -Isrcdir/lib/expat/xmlparse -Isrcdir/lib/abyss/src -DNDEBUG -Wall -Wundef -Wimplicit -W -Winline -Woverloaded-virtual -Wsynth -g   server_abyss.cpp
srcdir/include/xmlrpc-c/server_abyss.hpp:87: error: extra qualification 'xmlrpc_c::serverAbyss::' on member 'setAdditionalServerParms'
srcdir/include/xmlrpc-c/server_abyss.hpp:90: error: extra qualification 'xmlrpc_c::serverAbyss::' on member 'initialize'
server_abyss.cpp:33: warning: unused parameter 'signalClass'
make[2]: *** [server_abyss.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/xmlrpc-c-1.05/work/xmlrpc-c-1.05/src/cpp'
make[1]: *** [cpp/all] Error 2
make[1]: Leaving directory `/var/tmp/portage/xmlrpc-c-1.05/work/xmlrpc-c-1.05/src'
make: *** [src/all] Error 2


Having encounted the standard extra-qualification bug before:

private:
    // The user has the choice of supplying the registry by plain pointer
    // (and managing the object's existence himself) or by autoObjectPtr
    // (with automatic management).  'registryPtr' exists here only to
    // maintain a reference count in the case that the user supplied an
    // autoObjectPtr.  The object doesn't reference the C++ registry
    // object except during construction, because the C registry is the
    // real registry.
    xmlrpc_c::registryPtr registryPtr;

    TServer cServer;

    void
    serverAbyss::setAdditionalServerParms(constrOpt const& opt);

    void
    serverAbyss::initialize(constrOpt const& opt);
};

should theoretically just be replaced with 

private:
    // The user has the choice of supplying the registry by plain pointer
    // (and managing the object's existence himself) or by autoObjectPtr
    // (with automatic management).  'registryPtr' exists here only to
    // maintain a reference count in the case that the user supplied an
    // autoObjectPtr.  The object doesn't reference the C++ registry
    // object except during construction, because the C registry is the
    // real registry.
    xmlrpc_c::registryPtr registryPtr;

    TServer cServer;

    void
    setAdditionalServerParms(constrOpt const& opt);

    void
    initialize(constrOpt const& opt);
};

in /var/tmp/portage/xmlrpc-c-1.05/work/xmlrpc-c-1.05/src/cpp/srcdir/include/xmlrpc-c/server_abyss.hpp
which is really 
/var/tmp/portage/xmlrpc-c-1.05/work/xmlrpc-c-1.05/include/xmlrpc-c/server_abyss.hpp

but that substitution does not immediatly fix the problem.


Portage 2.1.1_pre1-r5 (default-linux/x86/2005.1, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r9kz i686)
=================================================================
System uname: 2.6.16-gentoo-r9kz i686 AMD Athlon(TM) XP 2000+
Gentoo Base System version 1.12.1
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
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
sys-devel/binutils:  2.16.1-r2, 2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -mmmx -m3dnow -finline-functions-called-once -ffast-math -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/local/kdeextra/share/config /usr/local/kdeextra/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe -mmmx -m3dnow -finline-functions-called-once -ffast-math -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache cvs distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict usepkg userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.planetmirror.com/pub/gentoo ftp://mirror.isp.net.au/pub/gentoo ftp://distfiles.gentoo.org/ ftp://ftp.wh2i.tu-dresden.de/pub/mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo/ ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo/     http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/    ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/     ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo-distfiles/       ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/   ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/"
LANG="C"
LC_ALL="C"
LDFLAGS="-Wl,-O1,-z,now"
LINGUAS="en_NZ en_GB en en_US "
MAKEOPTS="-j6"
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 /usr/src/gnome/gnome-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="" # invalid due to me using package.keywords instead
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Benedikt Böhm (RETIRED) gentoo-dev 2006-07-01 02:34:08 UTC
(In reply to comment #0)
> [ebuild     UD] dev-libs/xmlrpc-c-1.05 [1.2] USE="libwww% -curl%" 0 kB 
> 
> recent required downgrade of XMLPRC is not GCC4 compliant. 

this is an upgrade in reality.. the versioning scheme has changed upstream..

should be fixed in 1.05-r1, thanks!