Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355515 - app-emulation/wine-1.3.14 build fails in msxml3 due to conflicting types in icu includes
Summary: app-emulation/wine-1.3.14 build fails in msxml3 due to conflicting types in i...
Status: RESOLVED DUPLICATE of bug 354757
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-19 06:18 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2011-05-20 12:54 UTC (History)
7 users (show)

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


Attachments
complete build log (wine-1.3.14.build.log.gz,105.31 KB, application/x-gzip)
2011-02-19 06:19 UTC, Alexandre Rostovtsev (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-02-19 06:18:33 UTC
wine-1.3.14 build fails in msxml3 due to conflicting type errors in dev-libs/icu include files:

# USE="X alsa cups dbus fontconfig gecko gnutls gphoto2 gsm jack jpeg lcms ldap mp3 ncurses openal opengl oss perl png pulseaudio samba scanner ssl threads truetype win32 win64 xcomposite xinerama xml" emerge wine
[...]
make[1]: Entering directory `/var/tmp/portage/app-emulation/wine-1.3.14/work/wine64/dlls/msxml3'
x86_64-pc-linux-gnu-gcc -c -I/var/tmp/portage/app-emulation/wine-1.3.14/work/wine-1.3.14/dlls/msxml3 -I. -I/var/tmp/portage/app-emulation/wine-1.3.14/work/wine-1.3.14/include -I../../include -I/usr/include/libxml2   -I/usr/include/libxml2   -D__WINESRC__ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -Wlogical-op  -march=native -O2 -pipe -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0  -o attribute.o /var/tmp/portage/app-emulation/wine-1.3.14/work/wine-1.3.14/dlls/msxml3/attribute.c
In file included from /usr/include/unicode/umachine.h:50:0,
                 from /usr/include/unicode/utypes.h:36,
                 from /usr/include/unicode/ucnv_err.h:86,
                 from /usr/include/unicode/ucnv.h:50,
                 from /usr/include/libxml2/libxml/encoding.h:31,
                 from /usr/include/libxml2/libxml/parser.h:807,
                 from /var/tmp/portage/app-emulation/wine-1.3.14/work/wine-1.3.14/dlls/msxml3/msxml_private.h:163,
                 from /var/tmp/portage/app-emulation/wine-1.3.14/work/wine-1.3.14/dlls/msxml3/attribute.c:32:
/usr/include/unicode/pwin32.h:152:30: error: conflicting types for ‘int64_t’
/usr/include/sys/types.h:198:1: note: previous declaration of ‘int64_t’ was here
[...]
In file included from /usr/include/libxml2/libxml/encoding.h:31:0,
                 from /usr/include/libxml2/libxml/parser.h:807,
                 from /var/tmp/portage/app-emulation/wine-1.3.14/work/wine-1.3.14/dlls/msxml3/msxml_private.h:163,
                 from /var/tmp/portage/app-emulation/wine-1.3.14/work/wine-1.3.14/dlls/msxml3/attribute.c:32:
/usr/include/unicode/ucnv.h:274:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/include/unicode/ucnv.h:326:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘UConverter’
/usr/include/unicode/ucnv.h:356:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘UConverter’
/usr/include/unicode/ucnv.h:424:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘UConverter’
/usr/include/unicode/ucnv.h:459:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘UConverter’
/usr/include/unicode/ucnv.h:499:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘UConverter’
/usr/include/unicode/ucnv.h:524:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/include/unicode/ucnv.h:563:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/include/unicode/ucnv.h:588:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/include/unicode/ucnv.h:621:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/include/unicode/ucnv.h:640:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/include/unicode/ucnv.h:659:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/include/unicode/ucnv.h:672:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/include/unicode/ucnv.h:683:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/include/unicode/ucnv.h:694:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/include/unicode/ucnv.h:745:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int8_t’
/usr/include/unicode/ucnv.h:778:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int8_t’
/usr/include/unicode/ucnv.h:795:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int32_t’
/usr/include/unicode/ucnv.h:812:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
/usr/include/unicode/ucnv.h:838:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int32_t’
/usr/include/unicode/ucnv.h:852:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘UConverterPlatform’
/usr/include/unicode/ucnv.h:864:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘UConverterType’
/usr/include/unicode/ucnv.h:882:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/include/unicode/ucnv.h:948:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/include/unicode/ucnv.h:965:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/include/unicode/ucnv.h:981:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/include/unicode/ucnv.h:1001:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/include/unicode/ucnv.h:1024:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/include/unicode/ucnv.h:1090:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/include/unicode/ucnv.h:1159:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/include/unicode/ucnv.h:1196:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int32_t’
/usr/include/unicode/ucnv.h:1228:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int32_t’
/usr/include/unicode/ucnv.h:1304:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘UChar32’
/usr/include/unicode/ucnv.h:1448:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/include/unicode/ucnv.h:1512:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int32_t’
/usr/include/unicode/ucnv.h:1566:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int32_t’
/usr/include/unicode/ucnv.h:1618:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int32_t’
/usr/include/unicode/ucnv.h:1632:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int32_t’
/usr/include/unicode/ucnv.h:1642:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int32_t’
/usr/include/unicode/ucnv.h:1655:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
/usr/include/unicode/ucnv.h:1670:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘UEnumeration’
/usr/include/unicode/ucnv.h:1683:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint16_t’
/usr/include/unicode/ucnv.h:1698:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
/usr/include/unicode/ucnv.h:1714:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/include/unicode/ucnv.h:1740:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘UEnumeration’
/usr/include/unicode/ucnv.h:1750:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint16_t’
/usr/include/unicode/ucnv.h:1760:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
/usr/include/unicode/ucnv.h:1782:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
/usr/include/unicode/ucnv.h:1804:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
/usr/include/unicode/ucnv.h:1821:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
/usr/include/unicode/ucnv.h:1840:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/include/unicode/ucnv.h:1860:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/include/unicode/ucnv.h:1871:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘UBool’
/usr/include/unicode/ucnv.h:1889:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/include/unicode/ucnv.h:1901:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘UBool’
/usr/include/unicode/ucnv.h:1960:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
/usr/include/unicode/ucnv.h:1977:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int32_t’
/usr/include/unicode/ucnv.h:1991:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int32_t’
make[1]: *** [attribute.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.3.14/work/wine64/dlls/msxml3'
make: *** [dlls/msxml3] Error 2
make: Leaving directory `/var/tmp/portage/app-emulation/wine-1.3.14/work/wine64'
emake failed

Judging by the filenames, this error is somehow due to the fact that libxml2 starting with the recently added version 2.7.8 uses dev-libs/icu (if the icu USE flag is set).
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-02-19 06:19:53 UTC
Created attachment 262975 [details]
complete build log
Comment 2 Vladimir Monchenko 2011-02-19 06:56:49 UTC
I can confirm this.
Today, after the world update, I have the same error.

My emerge --info:

Portage 2.1.9.25 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-r3, 2.6.37-gentoo x86_64)
=================================================================
System uname: Linux-2.6.37-gentoo-x86_64-AMD_Phenom-tm-_8450_Triple-Core_Processor-with-gentoo-1.12.14
Timestamp of tree: Sat, 19 Feb 2011 03:30:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13::<unknown repository>, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula AdobeFlash-10.1 AdobeFlash-10"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://192.168.2.1 http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru"
MAKEOPTS="-j4"
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"
SYNC="rsync://server/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 amr amrnb amrwb berkdb bluetooth branding browserplugin bzip2 cairo cdr chm cli consolekit cracklib crypt cue cups cxx dbus divx djvu dri dts dv dvb dvd dvdnav dvdr dvdread emboss enca encode exif fam ffmpeg flac fortran gdbm gdu gif gimp gmedia gnutls gphoto2 gpm gstreamer gtk iconv ieee1394 imlib java jpeg kde lame lcms ldap mad mikmod mmx mmxext mng modules mozilla mp2 mp3 mp4 mpeg mudflap multilib ncurses nls nodrm nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png policykit ppds ppp pppd python qt3 qt3support qt4 quicktime rdesktop readline realmedia samba scanner sdl seamonkey session smp sox spell sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype udev unicode usb v4l2 vdpau vorbis wma wmp x264 xcb xine xml xorg xulrunner xv xvid 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 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 cgi cgid 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" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" LIRC_DEVICES="serial" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Nuno 2011-02-19 11:44:38 UTC
Yep, same here
Comment 4 jcn 2011-02-19 13:44:12 UTC
Same problem here. Install is OK without the flag "icu" on libxml2.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2011-02-19 15:24:40 UTC
C.f. bug #354911 and bug #355553.
Comment 6 SpanKY gentoo-dev 2011-02-19 16:53:01 UTC

*** This bug has been marked as a duplicate of bug 354757 ***