Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269659 - =dev-libs/xerces-c-3* fails to compile with >=dev-libs/icu-4.2
Summary: =dev-libs/xerces-c-3* fails to compile with >=dev-libs/icu-4.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Highest normal with 2 votes (vote)
Assignee: C++ Team [disbanded]
URL: http://issues.apache.org/jira/browse/...
Whiteboard:
Keywords:
: 280008 296702 (view as bug list)
Depends on:
Blocks: 275593
  Show dependency tree
 
Reported: 2009-05-13 07:31 UTC by Juergen Rose
Modified: 2009-12-13 15:20 UTC (History)
37 users (show)

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


Attachments
fix build with ICU 4.2 (ICU_4.2.patch,519 bytes, patch)
2009-05-22 19:17 UTC, Pinky
Details | Diff
Updated patch. (icu-4.2.patch,1.01 KB, patch)
2009-06-05 10:04 UTC, Small_Penguin
Details | Diff
Proposed ebuild to 3.0.0 version (xerces-c-3.0.0-r2.ebuild,2.38 KB, text/plain)
2009-08-04 20:32 UTC, Joaquim Uchoa
Details
Proposed ebuild to 3.0.1 version (xerces-c-3.0.1-r1.ebuild,2.30 KB, text/plain)
2009-08-04 20:37 UTC, Joaquim Uchoa
Details
ebuild for xerces-c-3.0.0-r2 with patch and icu check (xerces-c-3.0.0-r2.ebuild,2.44 KB, text/plain)
2009-08-16 21:15 UTC, ron widler
Details
ebuild for xerces-c-3.0.1-r1 with patch and icu check (xerces-c-3.0.1-r1.ebuild,2.36 KB, text/plain)
2009-08-16 21:16 UTC, ron widler
Details
add -r to pkgdata arguments (ICU_4.2.patch,562 bytes, patch)
2009-09-01 18:06 UTC, Bartosz Szreder
Details | Diff
Patch, take two (ICU_4.2.patch,1.35 KB, patch)
2009-09-01 18:50 UTC, Bartosz Szreder
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2009-05-13 07:31:36 UTC
'emerge -vD xerces' fails with:
...
/usr/bin/genrb root.txt
/usr/bin/pkgdata --name xercesc_messages_3_0 --mode dll -d . -M '"CC=x86_64-pc-linux-gnu-gcc" "CXX=x86_64-pc-linux-gnu-g++" "AR=x86_64-pc-linux-gnu-ar" "RANLIB=x86_64-pc-linux-gnu-ranlib" "CPPFLAGS=" "CFLAGS=-march=nocona -O2 -pipe" "CXXFLAGS=-O2 -pipe " "LDFLAGS=-Wl,-O1"' ./res-file-list.txt
/usr/bin/pkgdata: error in command line argument "-M"
Run '/usr/bin/pkgdata --help' for help.
make[3]: *** [xercesc_messages.lo] Error 1


Reproducible: Always




root@lynx:/root(7)# emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.0.0
Timestamp of tree: Wed, 13 May 2009 05:30:01 +0000
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2, 2.6.2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -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/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/
cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/u
dev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
FFLAGS="-march=nocona -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="de fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/n4g /usr/local/portage/layman/zugaina /usr/local/portage/layman/dotnet /usr/local/portage/layman/science /usr/local/portage/layman/jokey /usr/local/port
age/layman/java-overlay /usr/local/portage/layman/suka /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amd64 amrr ao aotuv apache2 asf atlas auctex audacious audiofile automount bash-completion beagle berkdb bjam blas bluetooth bonobo boo 
boost branding bzip2 c++ cairo cardbus cdda cddb cdf cdio cdparanoia cdr cgi chm cli consolekit corba cracklib cran crypt cups curl cxx daap dbus device-mapper dga dia divx djvu dlloader dmi doc 
dri ds3490 dv dvb dvd dvdr dvdread dvi dxr3 dynagraph eds effects elf emacs emboss encode epiphany esd evo examples exif expat extra fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran
 fpx galago gd gdal gdbm geos gif gimp gimpprint ginac glade glib glitz gml gmp gnokii gnome gnome-keyring gnuplot gnutls gphoto2 gpm graphics graphviz gs gsl gsm gstreamer gtk guile hal hardened
 harness hddtemp hdf hdf5 hlapi http hvm iconv icq icu id3 ide imagemagick imap innodb ipod ipv6 irda irmc isdnlog ithreads jabber java java5 java6 jbig john jpeg jpeg2k kde kde4 kdeprefix kerber
os kexi keyring kvm ladspa lame lapack laptop latex lcms ldap libffi libgda libnotify libsamplerate lirc lua lzo lzw mad maildir mailwrapper math matroska midi mikmod mmx mmxext mng mod mono moti
f mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer mtp mudflap multilib musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networkmanager nfs nls nntp npt
l nptlonly nsplugin ntfs numarray numeric nvidia obex ocaml octave odbc ogdi ogg ole opengl openmp pae pam pcre pda pdf perl plotutils plugins png podcast policykit posix postgres postscript ppds
 pppd preview-latex proj projectx pstricks python qhull qt3 qt3support qt4 quicktime readline reflection reiserfs rhythmbox rle rpc rrdcgi rrdtool samba sasl science sdl session slang slp smp snd
file snmp soup sox speex spell spl sqlite sse sse2 ssl startup-notification stlport subtitles subversion suexec svg sysfs t1lib tcl tcpd tex theora threads thunderbird tidy tiff tk truetype unico
de usb userlocales utempter v4l2 vorbis webkit wifi wmf wxwindows xattr xcb xemacs xext xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS
="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions 
alias auth_basic auth_digest authn_anon authn_dbd 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 
dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy
_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" DVB_CARDS="usb-wt220u" ELIBC="glibc" INPUT_DEVICES="keyboard mouse                 synaptics       
        " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" NETBEANS_MODULES="ide websvccommon nb harness apisupport groovy gsf j2
ee java xml" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Izad-Yar Daniel Rasheed 2009-05-14 14:05:32 UTC
I confirm this on my ~amd64 system after installing =icu-4.2 with a recent emerge world.

I ran the program they suggested I run:

> /usr/bin/pkgdata --help
usage: /usr/bin/pkgdata [-options] [-] [packageFile] 
	Produce packaged ICU data from the given list(s) of files.
	'-' by itself means to read from stdin.
	packageFile is a text file containing the list of files to package.

 options:
[REQ] -p or --name        Set the data name
      -O or --bldopt      Specify options for the builder.
      -m or --mode        Specify the mode of building (see below; default: common)
      -h or --help        This usage text
      -? or --help        This usage text
      -v or --verbose     Make the output verbose
      -c or --copyright   Use the standard ICU copyright
      -C or --comment     Use a custom comment (instead of the copyright)
      -d or --destdir     Specify the destination directory for files
      -F or --rebuild     Force rebuilding of all data
      -T or --tempdir     Specify temporary dir (default: output dir)
      -I or --install     Install the data (specify target)
      -s or --sourcedir   Specify a custom source directory
      -e or --entrypoint  Specify a custom entrypoint name (default: short name)
      -r or --revision    Specify a version when packaging in DLL or static mode
      -f or --force-prefix  Add package to all file names if not present
      -L or --libname     Library name to build (if different than package name)
      -q or --quiet       Quite mode. (e.g. Do not output a readme file for static libraries)
modes: (-m option)
   files                  Uses raw data files (no effect). Installation copies all files to the target location.
   dll       / library    Generates one shared library, <package>.so
   common    / archive    Generates one common data file, <package>.dat
   static    / static     Generates one statically linked library, lib<package>.a

No uppercase -M option?
Comment 2 Alexey Shildyakov 2009-05-20 05:34:01 UTC
I confirm this in my ~amd64 system too.
Comment 3 Alexandre Ghisoli 2009-05-22 08:47:58 UTC
Also confirmed on ~x86
Comment 4 Pinky 2009-05-22 18:27:27 UTC
this is because pkgdata from icu 4.2 does not need call make and therefore -M option was removed.
Comment 5 Pinky 2009-05-22 19:17:11 UTC
Created attachment 192143 [details, diff]
fix build with ICU 4.2

Just remove -M '...' parameter passed to pkgdata because is not needed anny more

path applied by add
    cd "${S}"
    epatch ${FILESDIR}/ICU_4.2.patch
into
src_configure()
Comment 6 jannis 2009-05-23 01:05:04 UTC
I tried your changes (not the patch directly but doing exactly what is described in the patch file; manual patching). xerces-c compiles but for me this is strange:

make[3]: Entering directory `/var/tmp/portage/dev-libs/xerces-c-3.0.1/work/xerces-c-3.0.1/src/xercesc/util/MsgLoaders/ICU/resources'                                                      
/usr/bin/genrb root.txt                                                                                                                                                                   
/usr/bin/pkgdata --name xercesc_messages_3_0 --mode dll -d . ./res-file-list.txt                                                                                                          
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot open output file ./: Is a directory                                                                 
collect2: ld gab 1 als Ende-Status zurück                                                                                                                                                 
Error generating assembly code for data.                                                                                                                                                  
mv xercesc_messages_3_0_dat.o xercesc_messages_3_0_dat-pic.o                                                                                                                              
/usr/bin/pkgdata --name xercesc_messages_3_0 --mode static -d . ./res-file-list.txt                                                                                                       
x86_64-pc-linux-gnu-ar: creating ./libxercesc_messages_3_0.a                                                                                                                              
../../../../../../libtool: line 852: echo: write error: Broken pipe                                                                                                                       
../../../../../../libtool: line 852: echo: write error: Broken pipe                                                                                                                       
make[3]: Leaving directory `/var/tmp/portage/dev-libs/xerces-c-3.0.1/work/xerces-c-3.0.1/src/xercesc/util/MsgLoaders/ICU/resources'

Is there any test-program so I can verify that xerces-c works correctly?
Comment 7 Small_Penguin 2009-06-05 10:04:16 UTC
Created attachment 193609 [details, diff]
Updated patch.

Thanks for the patch, I've updated it because it missed a Makefile. I did not get broken pipe errors, but I've compiled it with USE flags "icu threads", leaving the rest deactivated.
Comment 8 Andrew Savchenko gentoo-dev 2009-06-22 19:52:16 UTC
Same here on ~x86.

Works for me with the first patch. The second one is broken, because Makefile is generated and absent in the source tarball.
Comment 9 Michael Haubenwallner (RETIRED) gentoo-dev 2009-06-23 15:55:24 UTC
Same here for either xerces-c-3.0.1 and xerces-c-3.0.0, both on ~x86 and in Prefix.

Dropping the -M flag from PKGDATAOPTS does help for static mode, but dll mode seems to be broken with icu-4.2 anyway - looks like the output directory is passed to the compiler/linker without a filename:

/usr/bin/pkgdata --name xercesc_messages_3_0 --mode dll -d . ./res-file-list.txt
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot open output file ./: Is a directory
collect2: ld returned 1 exit status
Error generating assembly code for data.
mv xercesc_messages_3_0_dat.o xercesc_messages_3_0_dat-pic.o

Seems xerces-c has some fallback when icu doesn't really work...
Comment 10 Christophe Philemotte 2009-07-03 14:37:24 UTC
Same here on ~ppc.

Works for me with the first patch. The second does not work.
Comment 11 brent 2009-07-13 22:25:28 UTC
confirming, ~amd64

zsh 610 # emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Extreme_CPU_X9100_@_3.06GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 13 Jul 2009 18:45:01 +0000
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.18-r3, 2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.30
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/games /usr/local/portage/layman/sunrise /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/perl-experimental"
SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage"
USE="64bit X a52 aac aalib accessibility acl acpi akamaru alsa amd64 animgif ao applet ares async asyncns atmo automount avahi banshee bash-completion berkdb bidi bluetooth bluez bonjour bookmarks branding bzip2 cairo caps cdda cddax cddb cdinstall cdio cdr cli colordiff cracklib crypt css cups curl dbus dc1394 dga dirac directfb disk-partition diskio djvu double-precision dri dts dvb dvd dvdr dvdread eds elf emboss emerald empathy encode esd evo exif extensible faac faad fam fbcon fbcondecor ffmpeg firefox flac fluidsynth fontconfig fortran fuse gajim games gcrypt gdbm gedit ggi gif gimp glitz gnome gnome-keyring gnomecd gnutls gpm gsm gstreamer gtk hal hald hdaps hddtemp howl-compat html httpd iconv icu id3tag idn ieee1394 imagemagick ipod iproute2 ipv6 irda isdnlog jack java jpeg jpeg2k kerberos krb4 krb5 lame laptop lcms ldap libass libcaca libnotify libsamplerate libssh2 libsysfs libv4l2 libwww lirc live lm_sensors loop-aes lua lzo mad matroska mdnsresponder-compat mfd-rewrites midi mikmod mmap mmx mng modplug mono motif mp3 mpeg mudflap multilib multislot musepack nautilus ncurses network nls nptl nptlonly nsplugin nss offensive ogg openexr opengl openmp openssl optimisememory oss overlays pam pcap pcapnav pcre pda pdf perl php pic pidgin png ppds pppd pulseaudio pvr python qt3 qt3support qt4 quicktime quotas radius raster raw readline reflection remoteosd rtsp samba sasl scanner schroedinger sdl sdl-image seamonkey session shout skey skins smbkrb5passwd smp smux socks5 sounds speex spell spl sse sse2 ssl startup-notification stream svg sysfs syslog taglib tcpd theora threads tiff timezone tk tools tpctlir truetype twolame unicode upnp usb utils v4l v4l2 vala vcdinfo vcdx vde videos vim-pager vim-syntax vim-with-x vlm vorbis webkit winbind wmf x264 xattr xcb xinerama xinetd xml xorg xosd xpm xulrunner xv xvid zeroconf zlib zsh-completion zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text cfontzpacket cwlinux ea65 eyeboxone g15 graphlcd i2500vfd icpa106 imon imonlcd iowarrior irtrans lcterm lis md8800 ms6931 mtcs16209x noritakevfd picolcd pyramid sed1330 sed1520 serialpos serialvfd shuttlevfd sli stv5730  t6963 tyan ula200 xosd" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="radeonhd radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS




will try the patched icu's
Comment 12 Gordon Malm (RETIRED) gentoo-dev 2009-07-22 07:23:29 UTC
=dev-libs/icu-4.2 just went stable, hitting this issue now too.
Comment 13 Andreas Thalhammer 2009-07-25 17:42:02 UTC
The first patch works here on x86 with icu-4.2 and xerces-c-3.0.0-r1.

I also get the broken pipe messege for libtool:
---- snip ----
/usr/bin/pkgdata --name xercesc_messages_3_0 --mode static -d . ./res-file-list.txt
i686-pc-linux-gnu-ar: creating ./libxercesc_messages_3_0.a
../../../../../../libtool: line 852: echo: write error: Broken pipe
../../../../../../libtool: line 852: echo: write error: Broken pipe
make[3]: Leaving directory `/var/tmp/portage/dev-libs/xerces-c-3.0.0-r1/work/xerces-c-3.0.0/src/xercesc/util/MsgLoaders/ICU/resources'
---- snip ----

Haven't tried the second patch.
Comment 14 Mattes 2009-07-27 19:35:43 UTC
Solution from Comment #5 worked for me (x86)
Comment 15 MaratIK 2009-07-28 22:46:58 UTC
First patch works fine for me, second one is buggy.
Comment 16 Bodo Thiesen 2009-07-30 21:07:27 UTC
CONFIRMED amd64, dev-libs/xerces-c-3.0.0-r1, first patch SUCCEEDED ;-)

However, I got the following output:

/usr/bin/pkgdata --name xercesc_messages_3_0 --mode dll -d . ./res-file-list.txt
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot open output file ./: Is a directory
collect2: ld returned 1 exit status
Error generating assembly code for data.

[...]

rm: cannot remove `samples/data': Is a directory
rm: cannot remove `samples/src': Is a directory

But it didn't break the merge, so I'm gonna ignore it.
Comment 17 Joaquim Uchoa 2009-08-04 20:32:16 UTC
Created attachment 200196 [details]
Proposed ebuild to 3.0.0 version

Proposed ebuild to 3.0.0 version, with first patch.
Comment 18 Joaquim Uchoa 2009-08-04 20:37:34 UTC
Created attachment 200199 [details]
Proposed ebuild to 3.0.1 version

Proposed ebuild to 3.0.1 version with first patch
Comment 19 Joaquim Uchoa 2009-08-04 20:38:43 UTC
Hello all:

I've made ebuilds to 3.0.0 and 3.0.1 versions using first patch. 
Here I've got sucess with the two ebuilds in amd64 machines. 
Comment 20 Paul Hewlett 2009-08-05 08:55:14 UTC
Just confirming that the 3.0.0-r2 ebuild with the ICU-4.2 patch works for me on amd64 

dirac ~ # emerge --info          
Portage 2.2_rc33 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5 x86_64)
=================================================================                                        
System uname: Linux-2.6.29-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.0 
Timestamp of tree: Tue, 04 Aug 2009 08:25:01 +0000                                                       
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                                                
ccache version 2.4 [enabled]                                                                             
app-shells/bash:     3.2_p39                                                                             
dev-java/java-config: 2.1.8-r1                                                                           
dev-lang/python:     2.5.4-r3, 2.6.2-r1                                                                  
dev-python/pycrypto: 2.0.1-r8                                                                            
dev-util/ccache:     2.4-r7                                                                              
dev-util/cmake:      2.6.4                                                                               
sys-apps/baselayout: 2.0.0                                                                               
sys-apps/openrc:     0.4.3-r2                                                                            
sys-apps/sandbox:    1.6-r2                                                                              
sys-devel/autoconf:  2.13, 2.63-r1                                                                       
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                           
sys-devel/binutils:  2.18-r3                                                                             
sys-devel/gcc-config: 1.4.1                                                                              
sys-devel/libtool:   1.5.26                                                                              
virtual/os-headers:  2.6.27-r2                                                                           
ACCEPT_KEYWORDS="amd64"                                                                                  
CBUILD="x86_64-pc-linux-gnu"                                                                             
CFLAGS="-Os -pipe -march=nocona"                                                                         
CHOST="x86_64-pc-linux-gnu"                                                                              
CONFIG_PROTECT="/etc /usr/share/config /var/bind /var/lib/hsqldb"                                        
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                                                                                                      
CXXFLAGS="-Os -pipe -march=nocona"                                                                                          
DISTDIR="/usr/portage/distfiles"                                                                                            
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                                                                                     
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/ http://mirror.bytemark.co.uk/gentoo/ http://mirror.qubenet.net/mirror/gentoo/"                                                                                                                         
LC_ALL="en_ZA.utf8"                                                                                                         
LDFLAGS="-Wl,-O1"
LINGUAS="en_US af_ZA en_ZA st_ZA xh_ZA zu_ZA en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/kde-testing /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X X509 aac ace acl acm acpi activefilter administrator akode alac alias alsa amarok amavis amd64 amr amrnb amrr amrwb analogtv apache2 api berkdb blender-game branding bzip2 cairo caps cdaudio cdda cddb cdio cdparanoia cdr cgi cjk clamav clamd cli consolekit cpudetection cracklib crypt cups curl cvs cvsgraph dbm dbus dovecot-sasl dri dts dv dvb dvd dvdr dvdread embedded emovix emulation encode expat extraengine festival ffmpeg firefox firefox3 flac flask fortran gcj gdbm gif gmail gpg gpm gsm gstreamer gutenprint hal haskell httpd hunspell hvm icecast iconv icu idl ilbc imap inotify ipod ipv6 ipw4965 iscsi isdnlog java java6 javascript jbig jfs jpeg kde kde4 kdm kerberos kernel-helper kernel-patch kexi kig-scripting kpathsea kqemu ktts kvm lame laptop lcms libnotify libsamplerate libwww lm_sensors loop-aes lvm lxc lzma lzo mad maildir memcache mmx mng mp3 mp4 mp4live mpd mpeg mtp mudflap multilib musepack musicbrainz mysql mysqli ncurses netboot network network-cron nforce2 nfs nls nptl nptlonly nsplugin nvidia ocaml ocamlduce ocamlopt openexr opengl openmp openvpn oss pae pam pcre pdf perl pg-intdatetime phonon php plasma plotutils pmu png portaudio posix postfix postgis postgres ppds pppd procmail pulseaudio pygrub python pyx qt-dbus qt-webkit qt3support qt4 qtdesigner quotas ramfs rar raw rdesktop readline realmedia reflection reiser4 reiserfs resolvconf rpm rss samba sasl scintilla screen screenshot sdl session slp smp sms sndfile snmp sox spamassassin speex spl sql sqlite sse sse2 sse3 ssl startup-notification stream subversion svg swat sysfs tcpd theora threads threadsafe tiff tk truetype uml unicode unison unzip usb utempter utils uuencode v4l2 valgrind video vim-pager vim-syntax vim-with-x virtualbox vistafree visualization vnc voice vorbis vorbis-psy webdav webdav-neon webdav-serf webkit webpresence wifi winbind wininst winpopup wma wmf wmp wordperfect xattr xcomposite xfs xft xine xinerama xml xorg xosd xpm xprint xrandr xrender xscreensaver xsm xulrunner xv xvid xvmc zip zlib zodb" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US af_ZA en_ZA st_ZA xh_ZA zu_ZA en_GB" USERLAND="GNU" VIDEO_CARDS="fbdev intel vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 21 Gordon Malm (RETIRED) gentoo-dev 2009-08-06 01:30:38 UTC
*** Bug 280008 has been marked as a duplicate of this bug. ***
Comment 22 Gordon Malm (RETIRED) gentoo-dev 2009-08-06 01:31:14 UTC
ping again.  please fix this soon, =dev-libs/icu-4.2 is stable on amd64 and x86 (at minimum).
Comment 23 Petr Zima 2009-08-11 18:46:06 UTC
Confirming the first patch and 3.0.1-r1 ebuild work for me with icu-4.2.1 on ~x86. Is it ready for the tree?

I guess that
(1) the patch should be applied conditionally only when >=icu-4.2 is present and
(2) maybe more tuning ...
Comment 24 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-12 02:35:23 UTC
Comment on attachment 193609 [details, diff]
Updated patch.

Makefile files are generated from Makefile.in files.
Comment 25 Ryan Hill (RETIRED) gentoo-dev 2009-08-13 02:35:34 UTC
QA: bad breakage in a stable package
Comment 26 ron widler 2009-08-16 21:15:39 UTC
Created attachment 201480 [details]
ebuild for xerces-c-3.0.0-r2 with patch and icu check

just added a check for >=icu-4.2 before patching
Comment 27 ron widler 2009-08-16 21:16:41 UTC
Created attachment 201482 [details]
ebuild for xerces-c-3.0.1-r1 with patch and icu check

added check for >=icu-4.2 before patching
Comment 28 ron widler 2009-08-16 21:21:31 UTC
i tested the two ebuilds i just uploaded on both x86 (chroot) and amd64 with both icu-4.0.1 and icu-4.2.1, compiled so please give it a try

thx
Comment 29 Jakub Januszkiewicz 2009-08-16 22:20:35 UTC
(In reply to comment #27)
> Created an attachment (id=201482) [edit]
> ebuild for xerces-c-3.0.1-r1 with patch and icu check
> 
> added check for >=icu-4.2 before patching
> 

Works (compile + testsuite) fine on x86.
Comment 30 Jean-Francis Roy 2009-08-18 17:08:37 UTC
(In reply to comment #29)
> (In reply to comment #27)
> > Created an attachment (id=201482) [edit]
> > ebuild for xerces-c-3.0.1-r1 with patch and icu check
> > 
> > added check for >=icu-4.2 before patching
> > 
> 
> Works (compile + testsuite) fine on x86.
> 

++ on ~amd64
Comment 31 Peter Volkov (RETIRED) gentoo-dev 2009-09-01 12:11:37 UTC
With this patch build succeeds but looks like it provides wrong result. At least I don't see shared library as the result of compilation and there is a clear indication of this problem in the output:

pkgdata: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=athlon64 -mtune=athlon64 -msse3 -ggdb -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long  -Wl,--as-needed  -shared -nodefaultlibs -nostdlib -o ./ ./xercesc_messages_3_0_dat.o -Wl,-soname -Wl,  -Wl,-Bsymbolic
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot open output file ./: Is a directory
collect2: ld returned 1 exit status
-- return status = 256
Error generating assembly code for data.

So IMO it's better to mask USE flag or depend on older ICU or... could anybody assure that this error is not a problem? Sorry I'm not using xerces-c.
Comment 32 Bartosz Szreder 2009-09-01 18:03:50 UTC
The proper fix was to read pkgdata's manpage. Quote:

 -r, --revision version
Enable  versioning  of the shared library produced in dll, or library, mode. The version number has the format major.minor.patch-
level and all parts except for major are optional. If only major is supplied then the version is assumed to be major.0  for  ver-
sioning purposes.

So using -r flag is obligatory for building shared libraries with pkgdata. This single excerpt slipped under my radar - I actually had to dig through pkgdata's source code for the past hour to find the cause. They could surely use more extensive error reporting.

Attaching proper (I hope!) patch.
Comment 33 Bartosz Szreder 2009-09-01 18:06:34 UTC
Created attachment 202892 [details, diff]
add -r to pkgdata arguments

This patch was tested with xerces-3.0.1-r1.ebuild posted in comment #27
Comment 34 Bartosz Szreder 2009-09-01 18:20:03 UTC
Sorry, scratch that patch. I should've tested entire compilation first. Fails now at:

(cd .libs && rm -f libxerces-c.so && ln -s libxerces-c-3.0.so libxerces-c.so)                                                                                  
x86_64-pc-linux-gnu-ar cru .libs/libxerces-c.a  xercesc/util/Base64.o xercesc/util/BinFileInputStream.o xercesc/util/BinInputStream.o xercesc/util/BinMemInputStream.o xercesc/util/BitSet.o xercesc/util/DefaultPanicHandler.o xercesc/util/EncodingValidator.o xercesc/util/HeaderDummy.o xercesc/util/HexBin.o xercesc/util/KVStringPair.o xercesc/util/Mutexes.o xercesc/util/PanicHandler.o xercesc/util/PlatformUtils.o xercesc/util/PSVIUni.o xercesc/util/QName.o xercesc/util/regx/ASCIIRangeFactory.o xercesc/util/regx/BlockRangeFactory.o xercesc/util/regx/BMPattern.o xercesc/util/regx/CharToken.o xercesc/util/regx/ClosureToken.o xercesc/util/regx/ConcatToken.o xercesc/util/regx/Match.o xercesc/util/regx/Op.o xercesc/util/regx/OpFactory.o xercesc/util/regx/ParenToken.o xercesc/util/regx/ParserForXMLSchema.o xercesc/util/regx/RangeFactory.o xercesc/util/regx/RangeToken.o xercesc/util/regx/RangeTokenMap.o xercesc/util/regx/RegularExpression.o xercesc/util/regx/RegxParser.o xercesc/util/regx/RegxUtil.o xercesc/util/regx/StringToken.o xercesc/util/regx/Token.o xercesc/util/regx/TokenFactory.o xercesc/util/regx/UnicodeRangeFactory.o xercesc/util/regx/UnionToken.o xercesc/util/regx/XMLRangeFactory.o xercesc/util/regx/XMLUniCharacter.o xercesc/util/StringPool.o xercesc/util/SynchronizedStringPool.o xercesc/util/TransService.o xercesc/util/XMemory.o xercesc/util/XML256TableTranscoder.o xercesc/util/XML88591Transcoder.o xercesc/util/XMLAbstractDoubleFloat.o xercesc/util/XMLASCIITranscoder.o xercesc/util/XMLBigDecimal.o xercesc/util/XMLBigInteger.o xercesc/util/XMLChar.o xercesc/util/XMLChTranscoder.o xercesc/util/XMLDateTime.o xercesc/util/XMLDouble.o xercesc/util/XMLEBCDICTranscoder.o xercesc/util/XMLException.o xercesc/util/XMLFloat.o xercesc/util/XMLIBM1047Transcoder.o xercesc/util/XMLIBM1140Transcoder.o xercesc/util/XMLInitializer.o xercesc/util/XMLMsgLoader.o xercesc/util/XMLNumber.o xercesc/util/XMLString.o xercesc/util/XMLStringTokenizer.o xercesc/util/XMLUCS4Transcoder.o xercesc/util/XMLUni.o xercesc/util/XMLUri.o xercesc/util/XMLURL.o xercesc/util/XMLUTF16Transcoder.o xercesc/util/XMLUTF8Transcoder.o xercesc/util/XMLWin1252Transcoder.o xercesc/dom/DOMException.o xercesc/dom/DOMLSException.o xercesc/dom/DOMRangeException.o xercesc/dom/DOMXPathException.o xercesc/dom/impl/DOMAttrImpl.o xercesc/dom/impl/DOMAttrMapImpl.o xercesc/dom/impl/DOMAttrNSImpl.o xercesc/dom/impl/DOMCDATASectionImpl.o xercesc/dom/impl/DOMCharacterDataImpl.o xercesc/dom/impl/DOMChildNode.o xercesc/dom/impl/DOMCommentImpl.o xercesc/dom/impl/DOMConfigurationImpl.o xercesc/dom/impl/DOMDeepNodeListImpl.o xercesc/dom/impl/DOMDocumentFragmentImpl.o xercesc/dom/impl/DOMDocumentImpl.o xercesc/dom/impl/DOMDocumentTypeImpl.o xercesc/dom/impl/DOMElementImpl.o xercesc/dom/impl/DOMElementNSImpl.o xercesc/dom/impl/DOMEntityImpl.o xercesc/dom/impl/DOMEntityReferenceImpl.o xercesc/dom/impl/DOMErrorImpl.o xercesc/dom/impl/DOMImplementationImpl.o xercesc/dom/impl/DOMImplementationListImpl.o xercesc/dom/impl/DOMImplementationRegistry.o xercesc/dom/impl/DOMLocatorImpl.o xercesc/dom/impl/DOMNamedNodeMapImpl.o xercesc/dom/impl/DOMNodeIDMap.o xercesc/dom/impl/DOMNodeImpl.o xercesc/dom/impl/DOMNodeIteratorImpl.o xercesc/dom/impl/DOMNodeListImpl.o xercesc/dom/impl/DOMNodeVector.o xercesc/dom/impl/DOMNormalizer.o xercesc/dom/impl/DOMNotationImpl.o xercesc/dom/impl/DOMParentNode.o xercesc/dom/impl/DOMProcessingInstructionImpl.o xercesc/dom/impl/DOMRangeImpl.o xercesc/dom/impl/DOMStringListImpl.o xercesc/dom/impl/DOMStringPool.o xercesc/dom/impl/DOMTextImpl.o xercesc/dom/impl/DOMTreeWalkerImpl.o xercesc/dom/impl/DOMTypeInfoImpl.o xercesc/dom/impl/DOMLSSerializerImpl.o xercesc/dom/impl/DOMLSInputImpl.o xercesc/dom/impl/DOMLSOutputImpl.o xercesc/dom/impl/DOMXPathExpressionImpl.o xercesc/dom/impl/DOMXPathNSResolverImpl.o xercesc/dom/impl/DOMXPathResultImpl.o xercesc/dom/impl/XSDElementNSImpl.o xercesc/framework/BinOutputStream.o xercesc/framework/LocalFileFormatTarget.o xercesc/framework/LocalFileInputSource.o xercesc/framework/MemBufFormatTarget.o xercesc/framework/MemBufInputSource.o xercesc/framework/psvi/PSVIAttribute.o xercesc/framework/psvi/PSVIAttributeList.o xercesc/framework/psvi/PSVIElement.o xercesc/framework/psvi/PSVIItem.o xercesc/framework/psvi/XSAnnotation.o xercesc/framework/psvi/XSAttributeDeclaration.o xercesc/framework/psvi/XSAttributeGroupDefinition.o xercesc/framework/psvi/XSAttributeUse.o xercesc/framework/psvi/XSComplexTypeDefinition.o xercesc/framework/psvi/XSElementDeclaration.o xercesc/framework/psvi/XSFacet.o xercesc/framework/psvi/XSIDCDefinition.o xercesc/framework/psvi/XSModel.o xercesc/framework/psvi/XSModelGroup.o xercesc/framework/psvi/XSModelGroupDefinition.o xercesc/framework/psvi/XSMultiValueFacet.o xercesc/framework/psvi/XSNamespaceItem.o xercesc/framework/psvi/XSNotationDeclaration.o xercesc/framework/psvi/XSObject.o xercesc/framework/psvi/XSParticle.o xercesc/framework/psvi/XSSimpleTypeDefinition.o xercesc/framework/psvi/XSTypeDefinition.o xercesc/framework/psvi/XSValue.o xercesc/framework/psvi/XSWildcard.o xercesc/framework/StdInInputSource.o xercesc/framework/StdOutFormatTarget.o xercesc/framework/URLInputSource.o xercesc/framework/Wrapper4DOMLSInput.o xercesc/framework/Wrapper4InputSource.o xercesc/framework/XMLAttDef.o xercesc/framework/XMLAttDefList.o xercesc/framework/XMLAttr.o xercesc/framework/XMLBuffer.o xercesc/framework/XMLBufferMgr.o xercesc/framework/XMLContentModel.o xercesc/framework/XMLDTDDescription.o xercesc/framework/XMLElementDecl.o xercesc/framework/XMLEntityDecl.o xercesc/framework/XMLFormatter.o xercesc/framework/XMLGrammarDescription.o xercesc/framework/XMLGrammarPoolImpl.o xercesc/framework/XMLNotationDecl.o xercesc/framework/XMLRecognizer.o xercesc/framework/XMLRefInfo.o xercesc/framework/XMLSchemaDescription.o xercesc/framework/XMLValidator.o xercesc/internal/BinFileOutputStream.o xercesc/internal/BinMemOutputStream.o xercesc/internal/DGXMLScanner.o xercesc/internal/ElemStack.o xercesc/internal/IGXMLScanner.o xercesc/internal/IGXMLScanner2.o xercesc/internal/MemoryManagerImpl.o xercesc/internal/ReaderMgr.o xercesc/internal/SGXMLScanner.o xercesc/internal/ValidationContextImpl.o xercesc/internal/VecAttributesImpl.o xercesc/internal/VecAttrListImpl.o xercesc/internal/WFXMLScanner.o xercesc/internal/XMLReader.o xercesc/internal/XMLScanner.o xercesc/internal/XMLScannerResolver.o xercesc/internal/XProtoType.o xercesc/internal/XSAXMLScanner.o xercesc/internal/XSerializeEngine.o xercesc/internal/XSObjectFactory.o xercesc/internal/XTemplateSerializer.o xercesc/parsers/AbstractDOMParser.o xercesc/parsers/DOMLSParserImpl.o xercesc/parsers/SAX2XMLFilterImpl.o xercesc/parsers/SAX2XMLReaderImpl.o xercesc/parsers/SAXParser.o xercesc/parsers/XercesDOMParser.o xercesc/sax/Dummy.o xercesc/sax/InputSource.o xercesc/sax/SAXException.o xercesc/sax/SAXParseException.o xercesc/sax2/sax2Dummy.o xercesc/validators/common/AllContentModel.o xercesc/validators/common/CMAny.o xercesc/validators/common/CMBinaryOp.o xercesc/validators/common/CMUnaryOp.o xercesc/validators/common/ContentLeafNameTypeVector.o xercesc/validators/common/ContentSpecNode.o xercesc/validators/common/DFAContentModel.o xercesc/validators/common/Grammar.o xercesc/validators/common/GrammarResolver.o xercesc/validators/common/MixedContentModel.o xercesc/validators/common/SimpleContentModel.o xercesc/validators/datatype/AbstractNumericFacetValidator.o xercesc/validators/datatype/AbstractNumericValidator.o xercesc/validators/datatype/AbstractStringValidator.o xercesc/validators/datatype/AnySimpleTypeDatatypeValidator.o xercesc/validators/datatype/AnyURIDatatypeValidator.o xercesc/validators/datatype/Base64BinaryDatatypeValidator.o xercesc/validators/datatype/BooleanDatatypeValidator.o xercesc/validators/datatype/DatatypeValidator.o xercesc/validators/datatype/DatatypeValidatorFactory.o xercesc/validators/datatype/DateDatatypeValidator.o xercesc/validators/datatype/DateTimeDatatypeValidator.o xercesc/validators/datatype/DateTimeValidator.o xercesc/validators/datatype/DayDatatypeValidator.o xercesc/validators/datatype/DecimalDatatypeValidator.o xercesc/validators/datatype/DoubleDatatypeValidator.o xercesc/validators/datatype/DurationDatatypeValidator.o xercesc/validators/datatype/ENTITYDatatypeValidator.o xercesc/validators/datatype/FloatDatatypeValidator.o xercesc/validators/datatype/HexBinaryDatatypeValidator.o xercesc/validators/datatype/IDDatatypeValidator.o xercesc/validators/datatype/IDREFDatatypeValidator.o xercesc/validators/datatype/ListDatatypeValidator.o xercesc/validators/datatype/MonthDatatypeValidator.o xercesc/validators/datatype/MonthDayDatatypeValidator.o xercesc/validators/datatype/NameDatatypeValidator.o xercesc/validators/datatype/NCNameDatatypeValidator.o xercesc/validators/datatype/NOTATIONDatatypeValidator.o xercesc/validators/datatype/QNameDatatypeValidator.o xercesc/validators/datatype/StringDatatypeValidator.o xercesc/validators/datatype/TimeDatatypeValidator.o xercesc/validators/datatype/UnionDatatypeValidator.o xercesc/validators/datatype/XMLCanRepGroup.o xercesc/validators/datatype/YearDatatypeValidator.o xercesc/validators/datatype/YearMonthDatatypeValidator.o xercesc/validators/DTD/DTDAttDef.o xercesc/validators/DTD/DTDAttDefList.o xercesc/validators/DTD/DTDElementDecl.o xercesc/validators/DTD/DTDEntityDecl.o xercesc/validators/DTD/DTDGrammar.o xercesc/validators/DTD/DTDScanner.o xercesc/validators/DTD/DTDValidator.o xercesc/validators/DTD/XMLDTDDescriptionImpl.o xercesc/validators/schema/ComplexTypeInfo.o xercesc/validators/schema/GeneralAttributeCheck.o xercesc/validators/schema/identity/FieldActivator.o xercesc/validators/schema/identity/FieldValueMap.o xercesc/validators/schema/identity/IC_Field.o xercesc/validators/schema/identity/IC_Key.o xercesc/validators/schema/identity/IC_KeyRef.o xercesc/validators/schema/identity/IC_Selector.o xercesc/validators/schema/identity/IC_Unique.o xercesc/validators/schema/identity/IdentityConstraint.o xercesc/validators/schema/identity/IdentityConstraintHandler.o xercesc/validators/schema/identity/ValueStore.o xercesc/validators/schema/identity/ValueStoreCache.o xercesc/validators/schema/identity/XercesXPath.o xercesc/validators/schema/identity/XPathMatcher.o xercesc/validators/schema/identity/XPathMatcherStack.o xercesc/validators/schema/identity/XPathSymbols.o xercesc/validators/schema/NamespaceScope.o xercesc/validators/schema/SchemaAttDef.o xercesc/validators/schema/SchemaAttDefList.o xercesc/validators/schema/SchemaElementDecl.o xercesc/validators/schema/SchemaGrammar.o xercesc/validators/schema/SchemaInfo.o xercesc/validators/schema/SchemaSymbols.o xercesc/validators/schema/SchemaValidator.o xercesc/validators/schema/SubstitutionGroupComparator.o xercesc/validators/schema/TraverseSchema.o xercesc/validators/schema/XercesAttGroupInfo.o xercesc/validators/schema/XercesElementWildcard.o xercesc/validators/schema/XercesGroupInfo.o xercesc/validators/schema/XMLSchemaDescriptionImpl.o xercesc/validators/schema/XSDDOMParser.o xercesc/validators/schema/XSDErrorReporter.o xercesc/validators/schema/XSDLocator.o xercesc/validators/schema/XUtil.o xercesc/xinclude/XIncludeDOMDocumentProcessor.o xercesc/xinclude/XIncludeLocation.o xercesc/xinclude/XIncludeUtils.o xercesc/util/NetAccessors/Socket/SocketNetAccessor.o xercesc/util/NetAccessors/Socket/UnixHTTPURLInputStream.o xercesc/util/NetAccessors/BinHTTPInputStreamCommon.o xercesc/util/Transcoders/ICU/ICUTransService.o xercesc/util/MsgLoaders/ICU/ICUMsgLoader.o xercesc/util/MutexManagers/NoThreadMutexMgr.o xercesc/util/FileManagers/PosixFileMgr.o stricmp.o strnicmp.o xercesc/util/MsgLoaders/ICU/resources/xercesc_messages_3_0_dat.o xercesc/util/MsgLoaders/ICU/resources/root_res.o                     
x86_64-pc-linux-gnu-ar: xercesc/util/MsgLoaders/ICU/resources/xercesc_messages_3_0_dat.o: No such file or directory                                            
make[3]: *** [libxerces-c.la] Error 1                                                                                                                          
make[3]: Leaving directory `/var/tmp/portage/dev-libs/xerces-c-3.0.1-r1/work/xerces-c-3.0.1/src'                                                               
make[2]: *** [all-recursive] Error 1                                                                                                                           
make[2]: Leaving directory `/var/tmp/portage/dev-libs/xerces-c-3.0.1-r1/work/xerces-c-3.0.1/src'                                                               
make[1]: *** [all-recursive] Error 1                                                                                                                           
make[1]: Leaving directory `/var/tmp/portage/dev-libs/xerces-c-3.0.1-r1/work/xerces-c-3.0.1'                                                                   
make: *** [all] Error 2
Comment 35 Bartosz Szreder 2009-09-01 18:50:10 UTC
Created attachment 202895 [details, diff]
Patch, take two

This one compiles successfully and should be OK.
Comment 36 Patrick Lauer gentoo-dev 2009-09-10 10:51:40 UTC
+  10 Sep 2009; Patrick Lauer <patrick@gentoo.org> xerces-c-3.0.1-r1.ebuild,
+  +files/xerces-c-3.0.1-libicu.patch:
+  Fix for compilation with ICU 4.2. Fixes #269659. Thanks to the half dozen
+  people who wrote and tested the patch.
Comment 37 Pacho Ramos gentoo-dev 2009-09-10 11:52:43 UTC
(In reply to comment #36)
> +  10 Sep 2009; Patrick Lauer <patrick@gentoo.org> xerces-c-3.0.1-r1.ebuild,
> +  +files/xerces-c-3.0.1-libicu.patch:
> +  Fix for compilation with ICU 4.2. Fixes #269659. Thanks to the half dozen
> +  people who wrote and tested the patch.
> 

If it will only be solved in 3.0.1-r1 it should be marked stable also, as current stable version (3.0.0-r1) is broken. Thanks
Comment 38 Thomas R. (TRauMa) 2009-11-16 04:12:27 UTC
I'd reopen this if I could:

this hit me today - shouldn't the fix have gone in with the stable version without rev bump? I thought this is policy if the ebuild doesn't even install for users hit by a bug. Then again, been out of the loop quite a bit..
Comment 39 Juergen Rose 2009-11-25 12:21:00 UTC
Somebody ask to reopen.
Comment 40 Peter Volkov (RETIRED) gentoo-dev 2009-11-25 13:57:03 UTC
No need to reopen. This bug is fixed. Stabilization is handled in bug 280613.
Comment 41 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-12-13 15:20:07 UTC
*** Bug 296702 has been marked as a duplicate of this bug. ***