I recently tried to install amanith on an amd64. It fails, maybe because of gcc 4.2. Not sure, though. Reproducible: Always Steps to Reproduce: Portage 2.1.4_rc10 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r1, 2.6.23-gentoo-r3 x86_64) ================================================================= System uname: 2.6.23-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ Timestamp of tree: Fri, 14 Dec 2007 19:00:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.3 dev-lang/python: 2.5.1-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=athlon64 -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/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="-O2 -pipe -march=athlon64 -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="ccache collision-protect distlocks metadata-transfer multilib-strict sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mirror.muntinternet.net/pub/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LDFLAGS="-Wl,--as-needed" LINGUAS="de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/sunrise /usr/local/overlays/java-overlay /usr/local/overlays/sajinet /usr/local/overlays/gentoo-de /usr/local/overlays/gnome-experimental /usr/local/overlays/portage /usr/local/overlays/java-experimental" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 64bit X a52 aac acl acpi adns aiglx alsa amd64 apache2 applet artworkextra avahi berkdb bitmap-fonts bluetooth bzip2 cairo cdr cegui cg cli cpufreq cracklib crypt ctype cups curl daap dbus devhelp device-mapper dri dts dvd dvdnav dvdr dvdread eds epiphany exif extraengine fam ffmpeg firefox flac fontconfig foomaticdb fortran galago gcc4 gdbm gedit gif gimp glade glew glitz glsa glut gnome gphoto2 gpm gsf gstreamer gtk guile hal hash hddtemp howl-compat http ical iconv imlib inherit-graph inkjar innodb iproute2 ipv6 isdnlog java javascript joystick jpeg jpeg2k keyring lcms libnotify lm_sensors mad maildir mdnsresponder-compat midi mmx mmxext mono mp3 mpeg mpeg2 mudflap mysql mysqli nautilus ncurses nforce2 nls nptl nptlonly nsplugin obex ogg openal opengl openmp openvpn pam pcre pdf pdo perl php pic png portage postfix postscript ppds pppd pulseaudio python quicktime rar readline reflection samba scanner sdl session shout smp snmp sourceview spell spl sse sse2 ssl ssse3 subversion svg tagwriting tcpd tga theora threads tidy tiff tracker truetype truetype-fonts type1 type1-fonts unicode usb valgrind vim vim-syntax vorbis wmf x264 xattr xiph xml xorg xpm xv xvid zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon casio_qv" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse wacom joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fglrx radeon vesa vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 138498 [details] LC_ALL=C emerge -1 amanith &> amanith.log
Created attachment 138500 [details, diff] amanith-glew-update.patch I updated the glew.c (which is a copy of the media-libs/glew package) to the latest version (1.4.0) and it works.
I'm not sure if this is the same compile problem but.. I noticed if you don't have the jpeg use flag it fails, and if you have the opengl flag it fails.. This command is how I solved the problem... echo "=media-libs/amanith-0.3-r1 jpeg png -opengl -truetype -examples" >> /etc/portage/package.use
I noticed all this when trying to install the fretsonfire ebuild. More here: http://gentoo-wiki.com/Frets_On_Fire_-_FoF#Problem:_emerging_amanith for future reference...
Created attachment 138838 [details, diff] amanith-0.3-r1-ebuild-glew.patch Patch that pacthes the ebuild to use the patch.
*** Bug 204873 has been marked as a duplicate of this bug. ***
Same error applies to ~x86 When emerged with all USE flags disabled, it fails with >>> Source compiled. >>> Test phase [not enabled]: media-libs/amanith-0.3-r1 >>> Install amanith-0.3-r1 into /var/tmp/portage/media-libs/amanith-0.3-r1/image/ category media-libs !!! dolib: plugins/*.so* does not exist * * ERROR: media-libs/amanith-0.3-r1 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_install * ebuild.sh, line 1138: Called qa_call 'src_install' * ebuild.sh, line 44: Called src_install * amanith-0.3-r1.ebuild, line 59: Called die * The specific snippet of code: * dolib.so lib/*.so* plugins/*.so* || die * The die message: * (no error message)
Created attachment 150976 [details] The patched ebuild A few sabayon users tested the patch and it works. vapier, please update the ebuild. I am including an already patched ebuild, for convenience. I added the patched ebuild to the sabayon overlay until this is fixed.
(In reply to comment #8) > Created an attachment (id=150976) [edit] > The patched ebuild > > A few sabayon users tested the patch and it works. vapier, please update the > ebuild. > I am including an already patched ebuild, for convenience. > > I added the patched ebuild to the sabayon overlay until this is fixed. > Thank you so much for mentioning the sabayon overlay. I have now installed and will begin using it immediately. Shingoshi
Using the Sabayon overlay, I have managed to install this package. Thank you for the information. Shingoshi
amanith-0.3-r2.ebuild works for me with jpeg png opengl USE flags enabled.
bumped in cvs, with patches from fedora.
Thanks for the bump. It still fails for me, by the looks of it because of gcc-4.3: ../src/rendering/gopenglboard.cpp: In member function ‘void Amanith::GOpenGLBoard::BuildHTMLMask()’: ../src/rendering/gopenglboard.cpp:937: error: ‘memset’ is not a member of ‘std’ ../src/rendering/gopenglboard.cpp: In function ‘int Amanith::CompareSVGColor(const void*, const void*)’: ../src/rendering/gopenglboard.cpp:953: error: ‘strcmp’ was not declared in this scope ../src/rendering/gopenglboard.cpp: In member function ‘Amanith::GVector4 Amanith::GOpenGLBoard::ColorFromString(const std::string&)’: ../src/rendering/gopenglboard.cpp:1088: error: ‘strncpy’ is not a member of ‘std’ make[1]: *** [gopenglboard.o] Error 1
reopening in this case, it worked w/o problems on gcc-4.3. which USE-flags did you enable?
Ben, please see comment #14.
USE="jpeg opengl png truetype -examples" But strangely enough I can't reproduce. It compiles fine now, with gcc-4.3. So let's close it. :-)