Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255549 - x11-misc/xscreensaver-5.08 fails to build on ppc64
Summary: x11-misc/xscreensaver-5.08 fails to build on ppc64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Samuli Suominen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-19 20:37 UTC by Alexis Ballier
Modified: 2009-04-29 17:09 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Ballier gentoo-dev 2009-01-19 20:37:21 UTC
maybe on ppc too:

powerpc64-unknown-linux-gnu-gcc -pedantic -Wall -Wstrict-prototypes -Wnested-externs -Wmissing-prototypes -Wno-overlength-strings -Wdeclaration-after-statement -std=c89 -U__STRICT_ANSI__ -c -I. -I. -I./../../utils -I./.. -I../..  -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/libglade-2.0   -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -DSTANDALONE -DUSE_GL -DHAVE_CONFIG_H -O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec -g -ggdb -I/usr/include flurry.c
In file included from flurry.c:89:
flurry.h:72: error: expected specifier-qualifier-list before ‘vector’
flurry.h:79: error: expected specifier-qualifier-list before ‘vector’
flurry.h:176: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘float’
make[1]: *** [flurry.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-misc/xscreensaver-5.08/work/xscreensaver-5.08/hacks/glx'
make: *** [default] Error 5


# emerge --info --ignore-default-opts
Portage 2.2_rc23 (default/linux/powerpc/ppc64/2008.0/64bit-userland, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.26.5 ppc64)
=================================================================
System uname: Linux-2.6.26.5-ppc64-PPC970,_altivec_supported-with-glibc2.3
Timestamp of tree: Mon, 19 Jan 2009 19:15:01 +0000
app-shells/bash:     3.2_p48
dev-lang/python:     2.5.2-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.6.3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="ppc64 ~ppc64"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec -g -ggdb"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec -g -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --verbose"
FEATURES="buildsyspkg collision-protect distlocks fixpackages multilib-strict parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu"
LINGUAS="en fr"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
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 /share/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac alsa altivec aspell bash-completion berkdb bogofilter bzip2 cairo cdda cddb cdio cdr cli cpufreq cracklib crypt cups curl custom-optimization dbus djvu dri dts dvd dvdread dvi expat ffmpeg fftw firefox fontconfig fortran gdbm gif gimp glitz gnutls graphviz gs gtk hal hfs iconv id3tag imagemagick imap imlib isdnlog ithreads jpeg jpeg2k kdehiddenvisibility kpathsea latex lcms libnotify lyrics lzo mad matroska mbox md5sum midi mng mp3 mpeg mudflap ncurses nls nodrm nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppc64 ppds pppd python qt4 quicktime raw readline reflection regex session smp sndfile spell spl sqlite sqlite3 srt ssl startup-notification svg sysfs t1lib taglib tcpd test tex4ht theora threads tiff truetype unicode vim-syntax vorbis wavpack wma xcb xml xorg xulrunner xv xvid zlib" 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 mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr" USERLAND="GNU" VIDEO_CARDS="vga vesa nv fbdev"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-01-19 23:05:41 UTC
Cause the filter-flags workaround belongs to src_configure instead of src_compile?
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-01-19 23:07:25 UTC
This should be deleted from the ebuild entirely, the workaround I mean, not the flurry screensaver unless Jamie wants to get rid of it cause it ain't compatible with altivec.

Instead a real fix would be nice.
Comment 3 Dave 2009-01-23 01:35:41 UTC
Doesn't compile on ppc32 as well
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-04-29 17:09:57 UTC
moved the flag filtering back to where it belongs, src_configure