Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230731 - app-editors/xmlcopyeditor does not compile with gcc-4.3
Summary: app-editors/xmlcopyeditor does not compile with gcc-4.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Jose Luis Rivero (yoswink) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-07-04 13:00 UTC by Ian Abbott
Modified: 2008-07-04 20:04 UTC (History)
0 users

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


Attachments
Full build.log for xmlcopyeditor-1.1.0.7 built with gcc-4.3.1 (build.log,13.46 KB, text/plain)
2008-07-04 13:02 UTC, Ian Abbott
Details
patch to compile with gcc 4.3 (xmlcopyeditor-1.1.0.6-gcc43.patch,10.19 KB, patch)
2008-07-04 14:27 UTC, Ian Abbott
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Abbott 2008-07-04 13:00:45 UTC
Neither app-editors/xmlcopyeditor-1.1.0.6 nor app-editors/xmlcopyeditor-1.1.0.7 build successfully using gcc-4.3.1. They both build successfully using gcc-4.2.4.

Reproducible: Always

Steps to Reproduce:
1. Use gcc-select to select gcc 4.3.x
2. emerge xmlcopyeditor


Actual Results:  
Snippet of build output for xmlcopyeditor-1.1.0.7 built with gcc-4.3.1:

if x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xmlcopyeditor\" -DVERSION=\"1.1.0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I/usr/include/libxml2   -Wall -g -fexceptions -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__  -Wall -g -fexceptions -Wall -g -fexceptions -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -MT globalreplacedialog.o -MD -MP -MF ".deps/globalreplacedialog.Tpo" -c -o globalreplacedialog.o globalreplacedialog.cpp; \
	then mv -f ".deps/globalreplacedialog.Tpo" ".deps/globalreplacedialog.Po"; else rm -f ".deps/globalreplacedialog.Tpo"; exit 1; fi
globalreplacedialog.cpp: In member function 'void GlobalReplaceDialog::OnOk(wxCommandEvent&)':
globalreplacedialog.cpp:116: error: 'auto_ptr' is not a member of 'std'
globalreplacedialog.cpp:116: error: expected primary-expression before '>' token
globalreplacedialog.cpp:119: error: 'wr' was not declared in this scope
make[1]: *** [globalreplacedialog.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-editors/xmlcopyeditor-1.1.0.7/work/xmlcopyeditor-1.1.0.7/src'
make: *** [all-recursive] Error 1



emerge --info:

Portage 2.2_rc1 (default-linux/amd64/2007.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r5-ija1 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r5-ija1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-glibc2.2.5
Timestamp of tree: Fri, 04 Jul 2008 12:19:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r5
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r2
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-mtune=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS=""
LINGUAS="en en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/desktop-effects /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acl acpi adns alsa amd64 arts avahi berkdb bzip2 cairo cdr cjk cli cracklib crypt cups curl dbus doc dri dv dvd dvdr dvdread eds emboss encode esd evo expat fam firefox flac flash fortran gdbm gif glut gmp gnome gnome-keyring gnutls gpm graphviz gstreamer gtk gtkhtml hal iconv idn imagemagick imap imlib ipv6 isdnlog java jpeg kde kerberos lcms ldap mad midi mikmod mmx mng mono motif mozsvg mp3 mpeg mudflap ncurses nls no-helper nptl nptlonly nsplugin offensive ogg opengl openmp oss pam pcre pdf perl plotutils png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session slang snmp spell spl sqlite sse sse2 ssl svg tcltk tcpd tetex threads tiff truetype unicode usb vorbis x264 xine xml xorg xulrunner xv zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" USERLAND="GNU" VIDEO_CARDS="radeon ati vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ian Abbott 2008-07-04 13:02:40 UTC
Created attachment 159523 [details]
Full build.log for xmlcopyeditor-1.1.0.7 built with gcc-4.3.1
Comment 2 Ian Abbott 2008-07-04 14:27:41 UTC
Created attachment 159529 [details, diff]
patch to compile with gcc 4.3

This patch applies to both xmlcopyeditor-1.1.0.6 and xmlcopyeditor-1.1.0.7 and allows them to compile successfully using both gcc-4.3.1 and gcc-4.2.4 on my system.
Comment 3 Jose Luis Rivero (yoswink) (RETIRED) gentoo-dev 2008-07-04 20:04:34 UTC
First of all, thanks Ian for the report and the patch. 

I've applied patch to both versions. and we are tracking the issue upstream in bug https://sourceforge.net/tracker/index.php?func=detail&aid=1976438&group_id=141776&atid=750629.