Summary: | media-libs/gle-3.1.0 doesn't build on amd64 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Paul Taylor <birder> |
Component: | [OLD] Library | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | amd64, drwook, jlp.bugs, ssuominen |
Priority: | High | Keywords: | InVCS |
Version: | 2006.0 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
gle-3.1.0-amd64-skip-example.patch
gle-3.1.0.ebuild |
Description
Paul Taylor
2006-07-26 04:22:22 UTC
Also fails with CFLAGS="-march=athlon64 -O2 -pipe" globally on ~amd64 Portage 2.1.1_pre3-r5 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64) ================================================================= System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 2800+ Gentoo Base System version 1.12.1 ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: [Not Present] sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -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/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en_GB" MAKEOPTS="-j2" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac aalib alsa audiofile avi bitmap-fonts bzip2 ccache cdda cddb cdio cdr cli crypt css dbus dga dhcp dlloader dri dvd dvdr dvdread eds emboss encode ffmpeg firefox flac foomaticdb fortran gdbm gif glut glx gnome gpm gstreamer gtk gtk2 hal imlib isdnlog jack java javascript jikes jpeg kde kdeenablefinal kdehiddenvisibility lame libcaca logrotate lzw lzw-tiff mad mikmod mjpeg mono mp3 mpeg mpeg2 mpeg4 mplayer nas ncurses nls nptl nvidia offensive ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime rar rdesktop readline reflection sdl session sndfile spell spl ssl subtitles subversion svgz tcpd tga theora tiff tk transcode truetype truetype-fonts type1-fonts usb vcd vcdimager videos vorbis wma123 wmf wxgtk1 xml xmms xorg xpm xscreensaver xv xvid xvmc yv12 zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en_GB userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_none" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS It's obviously not compiling with amd64 but works on x86. I'm mailing upstream but unfortunately I don't have hardware to replicate this bug. I recommend changing ~amd64 to -amd64 or dropping whole keyword from 3.1.0 for time being because this library is old (but latest available) and there haven't been changes in upstream CVS for 2-3 years so getting a fix for this might take a while. This package is used for OpenGL xscreensavers. I'm happy to test anything. Might even crack open the code myself but a little tucked up for the next 48hrs or so... Created attachment 92775 [details, diff]
gle-3.1.0-amd64-skip-example.patch
This patch skips building the example alpha.c it's failing on, it doesn't effect the actual library.
Created attachment 92776 [details]
gle-3.1.0.ebuild
ebuild using gle-3.1.0-amd64-skip-example.patch
(In reply to comment #3) > I'm happy to test anything. Might even crack open the code myself but a little > tucked up for the next 48hrs or so... > Want to try above patch w/ ebuild? Yeah, compiles cleanly with that patch/ebuild. (In reply to comment #7) > Yeah, compiles cleanly with that patch/ebuild. Agreed. xscreensaver-5.00 also built cleanly against it (it was the only package reported by "equery depends gle") The glsnake screensaver appears to use alpha transparency, so there doesn't appear to be any hidden breakages. Patch added to CVS, thanks. (In reply to comment #8) > The glsnake screensaver appears to use alpha transparency, so there doesn't > appear to be any hidden breakages. Actually, that's bunk - the only screensaver using libgle.so is "extrusion". It work, though. Thanks for testing guys.. and commit of course. |