../../tools/winegcc/winegcc -m64 -B../../tools/winebuild --sysroot=../.. -fasynchronous-unwind-tables -shared /var/tmp/portage/app-emulation/wine-1.3.19/work/wine-1.3.19/dlls/mshtml/mshtml.spec conpoint.o dispex.o editor.o hlink.o htmlanchor.o htmlattr.o htmlbody.o htmlcomment.o htmlcurstyle.o htmldoc.o htmldoc3.o htmldoc5.o htmlelem.o htmlelem2.o htmlelem3.o htmlelemcol.o htmlembed.o htmlevent.o htmlform.o htmlframe.o htmlframebase.o htmlgeneric.o htmliframe.o htmlimg.o htmlinput.o htmllocation.o htmlnode.o htmlobject.o htmloption.o htmlscreen.o htmlscript.o htmlselect.o htmlstyle.o htmlstyle2.o htmlstyle3.o htmlstyleelem.o htmlstylesheet.o htmltable.o htmltablerow.o htmltextarea.o htmltextcont.o htmltextnode.o htmlwindow.o ipwindow.o loadopts.o main.o mutation.o navigate.o npplugin.o nsembed.o nsevents.o nsio.o nsservice.o olecmd.o oleobj.o olewnd.o omnavigator.o persist.o pluginhost.o propbag.o protocol.o script.o secmgr.o selection.o service.o task.o txtrange.o view.o mshtml_classes_r.res mshtml_tlb_r.res Da.res De.res En.res Es.res Fr.res He.res Hu.res It.res Ja.res Ko.res Lt.res Nl.res No.res Pl.res Pt.res Ro.res Ru.res Si.res Sr.res Sv.res Uk.res Zh.res mshtml.res -o mshtml.dll.fake -lwininet -lstrmiids -luuid -lurlmon -lshlwapi -lshell32 -lole32 -loleaut32 -luser32 -lgdi32 -ladvapi32 -Wb,-dwininet ../../libs/port/libwine_port.a -Wl,-O1 -Wl,--as-needed make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.3.19/work/wine64/dlls/mshtml' make: Leaving directory `/var/tmp/portage/app-emulation/wine-1.3.19/work/wine64' emake failed * ERROR: app-emulation/wine-1.3.19 failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 3242: Called die * The specific snippet of code: * emake -C "${builddir}" all || die; Reproducible: Always Portage 2.2.0_alpha32_p21 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.38-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.0.2 Timestamp of tree: Thu, 12 May 2011 03:30:01 +0000 app-shells/bash: 4.2_p10 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.1.3-r1, 3.2 dev-util/cmake: 2.8.4-r1 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.2-r1::poly-c sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1-r1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.5.2 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 sys-kernel/linux-headers: 2.6.38 (virtual/os-headers) sys-libs/glibc: 2.13-r2 Repositories: gentoo amielke-overlay emacs gnome lorelei-overlay hwoarang java-overlay lxde mellon mgorny mpd nikai poly-c qting-edge roslin scarabeus_local_overlay science wirelay Techwolf bleeding-edge x-local-overlay Installed sets: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/boot/grub/40_custom /etc /etc/X11/Sessions/awesome /etc/X11/Sessions/dwm /etc/X11/xorg.conf /etc/apache2/httpd.conf /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/default/grub /etc/fstab /etc/grub.d/05_theme /etc/make.conf /etc/xdg/openbox/autostart.sh /etc/xdg/openbox/menu.xml /etc/xdg/openbox/rc.xml /etc/xdg/openbox/start /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /usr/share/xsessions/openbox.desktop /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/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" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS=""
I can confirm this. Seems to be libxml2 related. I think the actual error may be here: make[1]: Entering directory `/var/tmp/portage/app-emulation/wine-1.3.19/work/wine64/dlls/ntdll' x86_64-pc-linux-gnu-gcc -c -I/var/tmp/portage/app-emulation/wine-1.3.19/work/wine-1.3.19/dlls/ntdll -I. -I/var/tmp/portage/app-emulation/wine-1.3.19/work/wine-1.3.19/include -I../../include -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -O2 -pipe -march=core2 -mtune=core2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -o actctx.o /var/tmp/portage/app-emulation/wine-1.3.19/work/wine-1.3.19/dlls/ntdll/actctx.c In file included from /usr/include/unicode/umachine.h:50, 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 /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1248, from /var/tmp/portage/app-emulation/wine-1.3.19/work/wine-1.3.19/dlls/msxml3/xslpattern.h:32, from /var/tmp/portage/app-emulation/wine-1.3.19/work/wine-1.3.19/dlls/msxml3/xslpattern.l:29: /usr/include/unicode/pwin32.h:152: error: conflicting types for 'int64_t' /usr/include/sys/types.h:198: note: previous declaration of 'int64_t' was here In file included from /usr/include/unicode/utf.h:230, from /usr/include/unicode/utypes.h:37, 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 /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1248, from /var/tmp/portage/app-emulation/wine-1.3.19/work/wine-1.3.19/dlls/msxml3/xslpattern.h:32, from /var/tmp/portage/app-emulation/wine-1.3.19/work/wine-1.3.19/dlls/msxml3/xslpattern.l:29: /usr/include/unicode/utf8.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const' /usr/include/unicode/utf8.h:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'UChar32' /usr/include/unicode/utf8.h:103: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int32_t' /usr/include/unicode/utf8.h:115: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'UChar32' /usr/include/unicode/utf8.h:127: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int32_t' In file included from /usr/include/unicode/utypes.h:38,
Both the win32 and win64 use flags are enabled by default. I disabled the win64 use flags and it builds fine now.
Bug 366895 comment 3, thank you.
*** This bug has been marked as a duplicate of bug 354745 ***