Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242916 - games-puzzle/enigma-1.01 fails to configure with dev-libs/xerces-c-3.0.0
Summary: games-puzzle/enigma-1.01 fails to configure with dev-libs/xerces-c-3.0.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 254762 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-20 18:50 UTC by Frank Hellmuth
Modified: 2009-01-17 01:14 UTC (History)
10 users (show)

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


Attachments
config.log (config.log,64.26 KB, text/plain)
2008-10-20 18:52 UTC, Frank Hellmuth
Details
enigma-1.01-xerces3 configuration patch (enigma-1.01-xerces3.patch,1.02 KB, patch)
2008-11-18 10:15 UTC, Sergey Kondakov
Details | Diff
New patch to correct the compilation error (enigma-1.01-xerces3.patch,2.13 KB, patch)
2008-11-18 17:26 UTC, Frédéric COIFFIER
Details | Diff
Corresponding ebuild (just the new patch added to the list) (enigma-1.01-r1.ebuild,1.17 KB, text/plain)
2008-11-18 17:27 UTC, Frédéric COIFFIER
Details
Patch to apply for compilation on amd64 (enigma-1.01-xerces-c-amd64.patch,1.60 KB, patch)
2008-12-28 18:24 UTC, Ivan Boldyrev
Details | Diff
enigma-1.01-xerces3.0 (amd64) (enigma-1.01-xerces3.0.patch,3.34 KB, patch)
2009-01-17 01:13 UTC, Jimmy.Jazz
Details | Diff
enigma.ebuild (enigma.ebuild.diff,1.43 KB, patch)
2009-01-17 01:14 UTC, Jimmy.Jazz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Hellmuth 2008-10-20 18:50:38 UTC
emerge @preserved-rebuild tries to rebuild enigma-1.01 with xerces-c-3.0.0. Configure fails with 

[...]
checking for SDL_ttf >=2.0.6... found                                                                                  
checking for main in -lSDL_ttf... yes                                                                                  
checking for png_create_write_struct in -lpng... yes                                                                   
checking for Xerces 3.0 experimental version... found                                                                  
checking for main in -lxerces... no                                                                                    
configure: error: xerces is required to compile Enigma                                                                 

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/games-puzzle/enigma-1.01/work/enigma-1.01/config.log
 *                                                                       
 * ERROR: games-puzzle/enigma-1.01 failed.                               
 * Call stack:                                                           
 * ebuild.sh, line   49:  Called src_compile                             
 * environment, line 2838:  Called egamesconf '--disable-dependency-tracking' '--enable-nls'
 * environment, line  991:  Called econf '--prefix=/usr/games' '--libdir=/usr/games/lib64' '--datadir=/usr/share/games' '--sysconfdir=/etc/games' '--localstatedir=/var/games' '--disable-dependency-tracking' '--enable-nls'                 
 * ebuild.sh, line  548:  Called die                                                                                   
 * The specific snippet of code:                                                                                       
 * die "econf failed"                                                                                                  
 * The die message:                                                                                                    
 * econf failed                                                                                                        
 *                                                                                                                     
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/games-puzzle/enigma-1.01/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-puzzle/enigma-1.01/temp/environment'.
 *


Reproducible: Always




emerge --info

Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.27-gentoo-default x86_64) 
=================================================================                                                      
System uname: Linux-2.6.27-gentoo-default-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-glibc2.2.5        
Timestamp of tree: Mon, 20 Oct 2008 07:05:01 +0000                                                                     
app-shells/bash:     3.2_p39                                                                                           
dev-java/java-config: 1.3.7, 2.1.6-r1                                                                                  
dev-lang/python:     2.5.2-r8                                                                                          
dev-util/cmake:      2.6.2                                                                                             
sys-apps/baselayout: 2.0.0                                                                                             
sys-apps/openrc:     0.3.0-r1                                                                                          
sys-apps/sandbox:    1.2.18.1-r3                                                                                       
sys-devel/autoconf:  2.13, 2.63                                                                                        
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1                                                      
sys-devel/binutils:  2.18-r3                                                                                           
sys-devel/gcc-config: 1.4.0-r4                                                                                         
sys-devel/libtool:   2.2.6a                                                                                            
virtual/os-headers:  2.6.26                                                                                            
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                         
CBUILD="x86_64-pc-linux-gnu"                                                                                           
CFLAGS="-march=native -O2"                                                                                             
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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"                                                      
CXXFLAGS="-march=native -O2"                                                                                           
DISTDIR="/usr/portage/distfiles"                                                                                       
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                                                                                  
GENTOO_MIRRORS="http://mirror.gentoo.no/ http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.blueyonder.co.uk http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"                                                                       
LANG="en_GB.UTF-8"                                                                                                     
LDFLAGS="-Wl,-O1"                                                                                                      
LINGUAS="en de"                                                                                                        
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/portage/local/layman/nx /usr/portage/local/layman/sunrise /usr/portage/local/layman/science /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib accessibility acl acpi alsa amd64 apache2 audiofile avahi bash-completion berkdb bluetooth branding bzip2 cairo calendar cddb cdparanoia cdr cli cracklib crypt css cups cvs dbus djvu dri dv dvb dvd dvdr dvdreademacs emboss encode examples exif fam fbcon ffmpeg fftw firefox flac fortran ftp gd gdbm gecko gif gimp ginac glut gmpgnuplot gnutls gphoto2 gpm gsl gstreamer gtk hal iconv icq idn ieee1394 imagemagick imap ipod ipv6 isdnlog jack java java6 javascript jpeg kde kerberos ladspa lame lapack lash latex lcms libcaca libnotify libsamplerate lirc lm_sensors lzo mad midi mikmod mime mmx mng mp3 mpeg mplayer mudflap multilib musicbrainz mysql ncurses nls nntp nptl nptlonly nsplugin offensive ogg openexr opengl openmp pam pcre pda pdf perl plotutils png ppds pppd python qt3 qt3support qt4 quicktime raw rdesktop readline recode reflection rss samba scanner sdl session slang sndfile snmp sockets sox spell spl sse sse2 ssl startup-notification subversion svg sysfs syslog tcpd theora threads tiff timidity truetype unicode usb v4l v4l2 vcd vnc vorbis wifi wmf wxwindows xcomposite xemacs xine xinerama xml xorg xosd xpm xscreensaver xv yahoo zlib" 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 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_configlogio 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse wacom evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Frank Hellmuth 2008-10-20 18:52:45 UTC
Created attachment 169208 [details]
config.log
Comment 2 Sergey Kondakov 2008-10-25 09:52:45 UTC
same here.

Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27.2-v-fox-laptop x86_64)
=================================================================                                                     
System uname: Linux-2.6.27.2-v-fox-laptop-x86_64-AMD_Athlon-tm-_64_X2_Dual-Core_Processor_TK-57-with-glibc2.2.5       
Timestamp of tree: Wed, 22 Oct 2008 15:35:01 +0000                                                                    
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]                                  
app-shells/bash:     3.2_p39                                                                                          
dev-java/java-config: 1.3.7, 2.1.6-r1                                                                                 
dev-lang/python:     2.5.2-r8                                                                                         
dev-python/pycrypto: 2.0.1-r6                                                                                         
dev-util/cmake:      2.6.2                                                                                            
sys-apps/baselayout: 2.0.0                                                                                            
sys-apps/openrc:     0.3.0-r1                                                                                         
sys-apps/sandbox:    1.2.18.1-r3                                                                                      
sys-devel/autoconf:  2.13, 2.63                                                                                       
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-r3                                                                                          
sys-devel/gcc-config: 1.4.0-r4                                                                                        
sys-devel/libtool:   2.2.6a                                                                                           
virtual/os-headers:  2.6.26                                                                                           
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                        
CBUILD="x86_64-pc-linux-gnu"                                                                                          
CFLAGS="-march=k8-sse3 -Os -frename-registers -ftree-vectorize -Wno-error -pipe"                                      
CHOST="x86_64-pc-linux-gnu"                                                                                           
CONFIG_PROTECT="/etc /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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"                                                                                                                                                       
CXXFLAGS="-march=k8-sse3 -Os -frename-registers -ftree-vectorize -Wno-error -pipe -fvisibility-inlines-hidden"                                                                      
DISTDIR="/usr/portage/distfiles"                                                                                                                                                    
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"                                                                                  
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://ftp.dei.uc.pt/pub/linux/gentoo/ http://gentoo.virginmedia.com/ http://fido.online.kz/gentoo"                                       
LANG="ru_RU.UTF-8"                                                                                                                                                                  
LC_ALL=""                                                                                                                                                                           
LDFLAGS="-Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-O1"                                                                                     
LINGUAS="ru en"                                                                                                                                                                     
MAKEOPTS="-j5"                                                                                                                                                                      
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/portage/local/layman/berkano /usr/portage/local/layman/x11 /usr/portage/local/layman/lila-theme /usr/portage/local/layman/x11 /usr/portage/local/layman/kde-testing /usr/portage/local/v-fox"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3ds 64bit 7zip X Xaw3d Xorg a52 aac aalib ace acl acpi addbookmarks alias alsa amarok amd64 ao async audiofile autoreplace bash-completion bluetooth branding bzip2 cairo cap caps cardbus cdb cddb cdparanoia cdr cdrom cg charconv chm chroot cisco cli cms colordiff compress connectionstatus contactnotes cpio cracklib crypt css cups curl curlwrappers curses cyrillic dbus dedicated device-mapper dhcp dia dialup directfb disk-partition diskio divx djvu dlz dmi dmx dri dts dv dvb dvd dvdnav dvdr dvdread dynamicplugin elf emboss emovix enca encode erandom evdev examples exif expat fam fame fat fbcon fbcondecor fbdev fbsplash ffmpeg firefox flac foomaticdb fortran ftp gd gdbm geoip geos ggi gif glibc-omitfp gpm gre groupwise gsm gtk h264 h323 hal hda-intel hddtemp highlight history html iconv icq ieee1394 imagemagick imlib ipv6 irc isdnlog jabber jbig jingle john joystick jpeg jpeg2k kde kdehiddenvisibility kdexdeltas kerberos keyboard kipi kqemu lame laptop latex lcms libcaca libnotify libsamplerate libssh2 libwww lighttpd live lm_sensors login-watchlogitech-mouse logrotate lzo mad matroska md5sum midi mikmod mime mjpeg mmap mmx mmxext mng mouse mp2 mp3 mp4 mpeg mplayer msn mudflap multilib musepack nas ncurses neXt netboot netmeeting network network-cron nls nntp nowlistening nptl nptlonly nsplugin ntfs objc objc++ objc-gc offensive ogg openal openexr opengl openmp openssl openvpn oscar pam pcmcia pcntl pcre pdf perl physfs plugins png pnm portaudio posix ppds pppd pptp python qemu qt qt3support qt4 quicktime radio rar rdesktop readline reflection reiser4 reiserfs resolvconf rtc samba sametime scanner scsi sdl session sharedext shm shorten skey slang slp smp sms sockets socks5 sox speex spell spl sqlite sqlite3 srt sse sse2 sse3 ssh ssl ssse3 startup-notification statistics subtitles svg symlink sysfs tcpd tftp tga theora threads tiff timidity truetype udev unicode upnp urandom usb utf8 uuencode v4l v4l2 vcd vesa vesafb vhosts videos vorbis wavpack wddx webpresence wifi winpopup wma wmf wmp x264 xattr xcb xcomposite xface xfs xine xml xorg xosd xpm xscreensaver xv xvid yahoo zip zlib zsh-completion" ALSA_CARDS="hda-intel hda-codec-analog hda-codec-atihdmi hda-codec-cmedia hda-codec-conexant hda-codec-realtek hda-codec-si3054 hda-codec-sigmatel hda-codec-via hda-generic hda-hwdep hda-power-save hpet seq-rtctimer-default virmidi rtctimer" 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_dbmauthz_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" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" LIRC_DEVICES="audio_alsa devinput inputlirc usb usbx" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd fbdev v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Frank Hellmuth 2008-10-26 12:33:41 UTC
Problem persits with dev-libs/xerces-c-3.0.0-r1
Comment 4 Alessandro Re 2008-11-15 17:33:36 UTC
(In reply to comment #0)
> checking for main in -lxerces... no
> configure: error: xerces is required to compile Enigma

# pkg-config --libs xerces
Package xerces was not found in the pkg-config search path.
Perhaps you should add the directory containing `xerces.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xerces' found

# pkg-config --libs xerces-c
-lxerces-c

Maybe it's trying to use an old name for the xerces-c library? Just guessing.

Same problem here, anyway.
Comment 5 Sergey Kondakov 2008-11-18 10:15:45 UTC
Created attachment 172185 [details, diff]
enigma-1.01-xerces3 configuration patch

this will fix configuration complains but also reveal some more nasty bug
Comment 6 Frédéric COIFFIER 2008-11-18 17:26:37 UTC
Created attachment 172265 [details, diff]
New patch to correct the compilation error
Comment 7 Frédéric COIFFIER 2008-11-18 17:27:28 UTC
Created attachment 172266 [details]
Corresponding ebuild (just the new patch added to the list)
Comment 8 Frédéric COIFFIER 2008-11-18 17:28:18 UTC
With the last enigma-1.01-xerces3.patch in attachment, I can compile enigma and launch it.
Comment 9 Sergey Kondakov 2008-11-18 18:13:00 UTC
strange, not helped me with:

Utf8ToXML.cc: In member function 'void enigma::Utf8ToXML::init(const char*)':                                                                                                       
Utf8ToXML.cc:55: error: no matching function for call to 'xercesc_3_0::XMLTranscoder::transcodeFrom(XMLByte*, unsigned int&, XMLCh*&, unsigned int&, unsigned int&, unsigned char*&)'                                                                                                                                                                                   
/usr/include/xercesc/util/TransService.hpp:274: note: candidates are: virtual XMLSize_t xercesc_3_0::XMLTranscoder::transcodeFrom(const XMLByte*, XMLSize_t, XMLCh*, XMLSize_t, XMLSize_t&, unsigned char*)                                                                                                                                                             
make[2]: *** [Utf8ToXML.o] Error 1
Comment 10 Frédéric COIFFIER 2008-11-18 18:18:28 UTC
You have to use enigma-1.01-xerces3.patch from 2008-11-18 17:26
Comment 11 Sergey Kondakov 2008-11-18 18:44:17 UTC
that's what i'm talking - problem persists somehow with it
Comment 12 Mr. Bones. (RETIRED) gentoo-dev 2008-11-18 21:14:42 UTC
in portage.  thanks for the bug report and patch.
Comment 13 Frank Hellmuth 2008-11-19 21:57:06 UTC
Thanks for all the efforts, but this doesn't fully resolve the issue. I now get the same error es reported in comment #9 by Sergey A. Kondakov.

Bug reopened.
Comment 14 Frank Weinberg 2008-12-16 07:47:13 UTC
I'm observing the same error as described in comments #9 and #13.

emerge --info

Portage 2.1.4.5 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+
Timestamp of tree: Tue, 16 Dec 2008 03:47:01 +0000
distcc 3.0 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7-r1, 2.1.6
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
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-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildsyspkg ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ "
LANG="de_DE.utf8"
LDFLAGS="-Wl,--as-needed,-O1 -Wl,--sort-common -s"
LINGUAS="de en"
MAKEOPTS="-j2 -l1"
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/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl alsa amd64 aotuv apache2 avi bash-completion berkdb bz2 bzip2 cli cracklib crypt dba device-mapper doc dri dvd dvdr emacs encode ffmpeg flac fortran gdbm gif gpm gtk gtk2 iconv icq imagemagick isdnlog jabber java jpeg leim lj logrotate loop-aes mad mbox midi mmx mmxext mng mp3 mpeg mudflap mule multilib musicbrainz mysql ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl openmp openntpd pam pcre pdf perl png pppd python quicktime readline reflection reiserfs session spl sse sse2 ssl svg symlink sysfs tcpd tetex theora tiff toolkit-scroll-bars truetype unicode usb v4l vorbis wmf xface xfs xine xorg xpm xv xvid zlib" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 15 Andy Getz 2008-12-18 11:13:25 UTC
Thanks for the patches Sergey and Frédéric =).

I'm seeing the same issue as #9, #13, and #14 on amd64 but not x86.

x86 emerge --info:
http://pastebin.com/m115cf13c

amd64 emerge --info:
http://pastebin.com/m354f30a1
Comment 16 Matija "hook" Šuklje 2008-12-24 23:08:51 UTC
I'm also receiving the same error as in comment #9.

Portage 2.1.4.5 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r7 x86_64 AMD Turion(tm) 64 Mobile Technology ML-30
Timestamp of tree: Wed, 24 Dec 2008 05:30:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -pipe -O2"
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="-march=athlon64 -msse3 -pipe -O2"
DISTDIR="/mnt/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.fi.muni.cz/pub/linux/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ "
LANG="sl_SI.utf8"
LC_ALL="sl_SI.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="sl"
MAKEOPTS="-j1"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit 7zip S3TC X a52 aac aalib acl acpi addbookmarks agg aim alias allegro alsa amarok amd64 amr ao ares avahi berkdb bidi binfilter bjam blender-game boost bzip2 cairo cal3d calendar caps cardbus ccache cddb cdparanoia cdr cjk cli clisp clucene colordiff connectionstatus contactnotes context cracklib crypt css cups cvs d dar64 dbus devil dhcp divx djvu dri dv dvb dvd dvdr dvdread dvi encode exif exiv2 expat extra fam fasttrack fat ffmpeg flac fmod foomaticdb fortran gcj gdbm geoip gif gimp gimpprint glibc-omitfp glitz glsa glut gnutella gphoto2 gpm gps graphics gs gstreamer gzip h323 hal hddtemp hdri highlight history http humanities iconv icq icu ieee1394 ilbc imlib inotify inquisitio ipod ipv6 irda isdnlog iso14755 jabber javascript jikes joystick jpeg kde kdepim kdexdeltas kexi kipi kpathsea laptop lcms levels libcaca live logrotate lzma mad maps matroska mdnsresponder-compat midi mikmod mime mixer mmap mmx mmxext mng motif mp3 mp4 mpeg msn mudflap multilib musepack music musicbrainz ncurses nls nowin nowlistening npp nptl nptlonly nsplugin ode offensive ogg openal openft opengl openmp openssh openstreetmap openvpn oscar otr pam pcmcia pcre pdf perl plotutils png postscript ppds pppd print python qmax qt3 qt3support qt4 quicktime readline reflection reiserfs remix rtc savedconfig scanner sdl sdlaudio session slang sndfile snmp sounds soundtouch soup speex spell spl sqlite sqlite3 srt sse sse2 ssl ssse3 startup-notification subtitles subversion svg svgz sysfs tcpd texteffect textures themes theora threads tidy tiff timidity tordns truetype ucs2 unicode upnp usb userlocales v4l v4l2 vcd videos vim vim-pager vim-syntax vim-with-x visibility visualization voice vorbis webpresence wifi xattr xcb xcomposite xetex xface xft xine xiph xml xorg xosd xpm xrandr xv xvid xvmc yahoo zlib zrtp zsh-completion" 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 synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sl" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 17 Ivan Boldyrev 2008-12-28 18:24:06 UTC
Created attachment 176636 [details, diff]
Patch to apply for compilation on amd64

enigma uses unsigned int in some places where xerces-c' XMLSize_t has to be used.  On x86_32 these types are synonyms, but on x86_64 they are not (XMLSize_t is unsigned long).

I cannot test this patch on 32 bits, but it should work.

This is not a patch for ebuild, but patch for enigma itself.  Just add it to already existent epatch statement in ebuild.
Comment 18 Matija "hook" Šuklje 2008-12-28 20:40:25 UTC
(In reply to comment #17)
> Created an attachment (id=176636) [edit]
> Patch to apply for compilation on amd64
> 
> enigma uses unsigned int in some places where xerces-c' XMLSize_t has to be
> used.  On x86_32 these types are synonyms, but on x86_64 they are not
> (XMLSize_t is unsigned long).
> 
> I cannot test this patch on 32 bits, but it should work.
> 
> This is not a patch for ebuild, but patch for enigma itself.  Just add it to
> already existent epatch statement in ebuild.
> 

Compiles and runs OK for me on AMD64. I only had to remove my old '~/.enigma/enigma.score' file, because Enigma was whining about it being corrupt on start.
Comment 19 Ivan Boldyrev 2008-12-29 04:53:48 UTC
(In reply to comment #18)
> Compiles and runs OK for me on AMD64. I only had to remove my old
> '~/.enigma/enigma.score' file, because Enigma was whining about it being
> corrupt on start.

enigma.score is a binary file and probably depends on byte order and register size.  You may send requrest to enigma authors. :)
Comment 20 Andy Getz 2008-12-29 08:43:34 UTC
Ivan's patch in #17 works for me too; both systems (x86 and amd64) built with the patch against dev-libs/xerces-c-3.0.0-r1 and run with no problems.
emerge --info's are posted in #15.
Thanks for the good patch Ivan =).
Comment 21 Frank Hellmuth 2008-12-30 13:47:14 UTC
Confirmed.

Applying Ivans patch solves the problem for me, too. Enigma compiles and runs fine.

Thanks, Sergey, Frédéric and Ivan!
Comment 22 Ivan Boldyrev 2008-12-30 16:08:15 UTC
Oops.  My patch doesn't work with xerces-c-2.7.*.  It is not hard to improve the patch, but it seems that xerces-c-3.0.0-r1 is stable on all archs where enigma is available.  But proper enigma ebuild has to be modified to reflect 3.0.0 dependency.
Comment 23 Mr. Bones. (RETIRED) gentoo-dev 2009-01-01 15:58:15 UTC
Ok, added to portage.  Thanks for the additional patching.
Comment 24 Mr. Bones. (RETIRED) gentoo-dev 2009-01-13 01:36:17 UTC
*** Bug 254762 has been marked as a duplicate of this bug. ***
Comment 25 Jimmy.Jazz 2009-01-17 01:11:07 UTC
(In reply to comment #22)
> Oops.  My patch doesn't work with xerces-c-2.7.*.  It is not hard to improve
> the patch, but it seems that xerces-c-3.0.0-r1 is stable on all archs where
> enigma is available.  But proper enigma ebuild has to be modified to reflect
> 3.0.0 dependency.
> 

I had to add more castings to make it work. As it does only affect 64bit processors, I added a condition in the ebuild too.
Comment 26 Jimmy.Jazz 2009-01-17 01:13:31 UTC
Created attachment 178752 [details, diff]
enigma-1.01-xerces3.0 (amd64)
Comment 27 Jimmy.Jazz 2009-01-17 01:14:51 UTC
Created attachment 178753 [details, diff]
enigma.ebuild