Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202315 - media-libs/amanith-0.3-r1 fails to build
Summary: media-libs/amanith-0.3-r1 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
: 204873 (view as bug list)
Depends on:
Blocks: 143388
  Show dependency tree
 
Reported: 2007-12-14 20:01 UTC by Christoph Brill (egore) (RESIGNED)
Modified: 2008-08-13 09:47 UTC (History)
5 users (show)

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


Attachments
LC_ALL=C emerge -1 amanith &> amanith.log (amanith.log,124.08 KB, text/plain)
2007-12-14 20:01 UTC, Christoph Brill (egore) (RESIGNED)
Details
amanith-glew-update.patch (amanith-glew-update.patch,195.94 KB, patch)
2007-12-14 20:16 UTC, Christoph Brill (egore) (RESIGNED)
Details | Diff
amanith-0.3-r1-ebuild-glew.patch (amanith-0.3-r1-ebuild-glew.patch,409 bytes, patch)
2007-12-18 17:25 UTC, Christoph Brill (egore) (RESIGNED)
Details | Diff
The patched ebuild (amanith-0.3-r2.ebuild,1.85 KB, text/plain)
2008-04-25 21:24 UTC, Kliakhandler Kosta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Brill (egore) (RESIGNED) 2007-12-14 20:01:07 UTC
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
Comment 1 Christoph Brill (egore) (RESIGNED) 2007-12-14 20:01:40 UTC
Created attachment 138498 [details]
LC_ALL=C emerge -1 amanith &> amanith.log
Comment 2 Christoph Brill (egore) (RESIGNED) 2007-12-14 20:16:21 UTC
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.
Comment 3 Kury 2007-12-17 23:45:19 UTC
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
Comment 4 Kury 2007-12-17 23:47:13 UTC
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...
Comment 5 Christoph Brill (egore) (RESIGNED) 2007-12-18 17:25:30 UTC
Created attachment 138838 [details, diff]
amanith-0.3-r1-ebuild-glew.patch

Patch that pacthes the ebuild to use the patch.
Comment 6 Evil Compile Person 2008-01-14 17:39:52 UTC
*** Bug 204873 has been marked as a duplicate of this bug. ***
Comment 7 Víctor Ostorga (RETIRED) gentoo-dev 2008-01-30 02:23:16 UTC
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)
Comment 8 Kliakhandler Kosta 2008-04-25 21:24:00 UTC
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.
Comment 9 Xavian-Anderson Macpherson 2008-05-21 23:41:35 UTC
(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
Comment 10 Xavian-Anderson Macpherson 2008-05-22 07:27:24 UTC
Using the Sabayon overlay, I have managed to install this package. Thank you for the information.

Shingoshi
Comment 11 Jan Drogi 2008-05-22 20:06:06 UTC
amanith-0.3-r2.ebuild works for me with jpeg png opengl USE flags enabled.
Comment 12 Markus Meier gentoo-dev 2008-08-11 21:26:12 UTC
bumped in cvs, with patches from fedora.
Comment 13 Ben de Groot (RETIRED) gentoo-dev 2008-08-11 22:32:37 UTC
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
Comment 14 Markus Meier gentoo-dev 2008-08-12 07:53:22 UTC
reopening in this case, it worked w/o problems on gcc-4.3. which USE-flags did you enable?
Comment 15 Markus Meier gentoo-dev 2008-08-13 05:26:46 UTC
Ben, please see comment #14.
Comment 16 Ben de Groot (RETIRED) gentoo-dev 2008-08-13 09:47:30 UTC
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.  :-)