Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293329 - x11-drivers/xf86-video-ast-0.89.9 cannot compile
Summary: x11-drivers/xf86-video-ast-0.89.9 cannot compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 276822 294403
  Show dependency tree
 
Reported: 2009-11-15 22:01 UTC by Liviu Balan
Modified: 2009-12-07 17:26 UTC (History)
0 users

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 Liviu Balan 2009-11-15 22:01:09 UTC
Cannot compile drivers for Aspeed video card.
It crashes every time in the same place.


Reproducible: Always

Steps to Reproduce:
1. run "emerge -DavuN x11-drivers/xf86-video-ast"

Actual Results:  
Compile crashes:

.
..
...
In file included from /usr/include/xorg/vgaHW.h:29,
                 from ast_mode.c:31:
/usr/include/X11/extensions/dpms.h:40: error: expected ')' before '*' token
/usr/include/X11/extensions/dpms.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSGetVersion'
/usr/include/X11/extensions/dpms.h:42: error: expected ')' before '*' token
/usr/include/X11/extensions/dpms.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSSetTimeouts'
/usr/include/X11/extensions/dpms.h:44: error: expected ')' before '*' token
/usr/include/X11/extensions/dpms.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSEnable'
/usr/include/X11/extensions/dpms.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSDisable'
/usr/include/X11/extensions/dpms.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSForceLevel'
/usr/include/X11/extensions/dpms.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSInfo'
In file included from /usr/include/xorg/vgaHW.h:29,
                 from ast_driver.c:35:
/usr/include/X11/extensions/dpms.h:40: error: expected ')' before '*' token
/usr/include/X11/extensions/dpms.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSGetVersion'
/usr/include/X11/extensions/dpms.h:42: error: expected ')' before '*' token
/usr/include/X11/extensions/dpms.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSSetTimeouts'
/usr/include/X11/extensions/dpms.h:44: error: expected ')' before '*' token
/usr/include/X11/extensions/dpms.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSEnable'
/usr/include/X11/extensions/dpms.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSDisable'
/usr/include/X11/extensions/dpms.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSForceLevel'
/usr/include/X11/extensions/dpms.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSInfo'
make[2]: *** [ast_mode.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -I/usr/include/pixman-1 -march=core2 -msse4 -mcx16 -msahf -O2 -pipe -MT ast_2dtool.lo -MD -MP -MF .deps/ast_2dtool.Tpo -c ast_2dtool.c  -fPIC -DPIC -o .libs/ast_2dtool.o
In file included from /usr/include/xorg/vgaHW.h:29,
                 from ast_accel.c:31:
/usr/include/X11/extensions/dpms.h:40: error: expected ')' before '*' token
/usr/include/X11/extensions/dpms.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSGetVersion'
/usr/include/X11/extensions/dpms.h:42: error: expected ')' before '*' token
/usr/include/X11/extensions/dpms.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSSetTimeouts'
/usr/include/X11/extensions/dpms.h:44: error: expected ')' before '*' token
/usr/include/X11/extensions/dpms.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSEnable'
/usr/include/X11/extensions/dpms.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSDisable'
/usr/include/X11/extensions/dpms.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSForceLevel'
/usr/include/X11/extensions/dpms.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSInfo'
In file included from /usr/include/xorg/vgaHW.h:29,
                 from ast_tool.c:31:
/usr/include/X11/extensions/dpms.h:40: error: expected ')' before '*' token
/usr/include/X11/extensions/dpms.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSGetVersion'
/usr/include/X11/extensions/dpms.h:42: error: expected ')' before '*' token
/usr/include/X11/extensions/dpms.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSSetTimeouts'
/usr/include/X11/extensions/dpms.h:44: error: expected ')' before '*' token
/usr/include/X11/extensions/dpms.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSEnable'
/usr/include/X11/extensions/dpms.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSDisable'
/usr/include/X11/extensions/dpms.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSForceLevel'
/usr/include/X11/extensions/dpms.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSInfo'
make[2]: *** [ast_driver.lo] Error 1
In file included from /usr/include/xorg/vgaHW.h:29,
                 from ast_cursor.c:31:
/usr/include/X11/extensions/dpms.h:40: error: expected ')' before '*' token
/usr/include/X11/extensions/dpms.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSGetVersion'
/usr/include/X11/extensions/dpms.h:42: error: expected ')' before '*' token
/usr/include/X11/extensions/dpms.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSSetTimeouts'
/usr/include/X11/extensions/dpms.h:44: error: expected ')' before '*' token
/usr/include/X11/extensions/dpms.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSEnable'
/usr/include/X11/extensions/dpms.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSDisable'
/usr/include/X11/extensions/dpms.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSForceLevel'
/usr/include/X11/extensions/dpms.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSInfo'
In file included from /usr/include/xorg/vgaHW.h:29,
                 from ast_vgatool.c:31:
/usr/include/X11/extensions/dpms.h:40: error: expected ')' before '*' token
/usr/include/X11/extensions/dpms.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSGetVersion'
/usr/include/X11/extensions/dpms.h:42: error: expected ')' before '*' token
/usr/include/X11/extensions/dpms.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSSetTimeouts'
/usr/include/X11/extensions/dpms.h:44: error: expected ')' before '*' token
/usr/include/X11/extensions/dpms.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSEnable'
/usr/include/X11/extensions/dpms.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSDisable'
/usr/include/X11/extensions/dpms.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSForceLevel'
/usr/include/X11/extensions/dpms.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSInfo'
make[2]: *** [ast_tool.lo] Error 1
In file included from /usr/include/xorg/vgaHW.h:29,
                 from ast_2dtool.c:31:
/usr/include/X11/extensions/dpms.h:40: error: expected ')' before '*' token
/usr/include/X11/extensions/dpms.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSGetVersion'
/usr/include/X11/extensions/dpms.h:42: error: expected ')' before '*' token
/usr/include/X11/extensions/dpms.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSSetTimeouts'
/usr/include/X11/extensions/dpms.h:44: error: expected ')' before '*' token
/usr/include/X11/extensions/dpms.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSEnable'
/usr/include/X11/extensions/dpms.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSDisable'
/usr/include/X11/extensions/dpms.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSForceLevel'
/usr/include/X11/extensions/dpms.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSInfo'
make[2]: *** [ast_accel.lo] Error 1
make[2]: *** [ast_cursor.lo] Error 1
make[2]: *** [ast_vgatool.lo] Error 1
make[2]: *** [ast_2dtool.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-ast-0.89.9/work/xf86-video-ast-0.89.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-ast-0.89.9/work/xf86-video-ast-0.89.9'
make: *** [all] Error 2
 * ERROR: x11-drivers/xf86-video-ast-0.89.9 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   49:  Called src_compile
 *   environment, line 3254:  Called x-modular_src_compile
 *   environment, line 4039:  Called x-modular_src_make
 *   environment, line 4078:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =x11-drivers/xf86-video-ast-0.89.9',
 * the complete build log and the output of 'emerge -pqv =x11-drivers/xf86-video-ast-0.89.9'.
 * The complete build log is located at '/var/tmp/portage/x11-drivers/xf86-video-ast-0.89.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-video-ast-0.89.9/temp/environment'.
 * S: '/var/tmp/portage/x11-drivers/xf86-video-ast-0.89.9/work/xf86-video-ast-0.89.9'



Expected Results:  
Should compile successfully.

Marcus ~ # emerge --info
WARNING: One or more repositories have missing repo_name entries:

        /usr/local/portage/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.
Portage 2.2_rc49 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.11-r0, 2.6.31-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r3-x86_64-Genuine_Intel-R-_CPU_@_0000_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 14 Nov 2009 16:30:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4, 3.1.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4 -mcx16 -msahf -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/X11/xkb /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/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -msse4 -mcx16 -msahf -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.ISO-8859-1"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="X acl alsa amd64 berkdb bzip2 cdr cli cracklib crypt cups dbus dri dts dv dvd fortran gdbm glitb glitz gpm gtk hal iconv ipv6 java jpeg kde midi mmx mng modules mp2 mp3 mp4 mudflap multilib mysql ncurses nfs nls nptl nptlonly opengl openmp pam pcre perl png pppd python qt3 qt3support qt4 readline reflection samba session spl sql sse sse2 ssl svg symlink sysfs tcpd unicode webkit x264 xcb xcomposite xinerama xorg xvid 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 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="ast"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Liviu Balan 2009-11-15 22:04:39 UTC
Also tried to compile version 0.87.0 with same result.
I tried with MAKEOPTS="-j1" as well.

Is there a way to make this package compile successfully on my system?



Marcus ~ # lspci
00:00.0 Host bridge: Intel Corporation 5500 I/O Hub to ESI Port (rev 13)
00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 1 (rev 13)
00:02.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 2 (rev 13)
00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 3 (rev 13)
00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 7 (rev 13)
00:08.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 8 (rev 13)
00:09.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 9 (rev 13)
00:0a.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 10 (rev 13)
00:10.0 PIC: Intel Corporation 5520/5500/X58 Physical and Link Layer Registers Port 0 (rev 13)
00:10.1 PIC: Intel Corporation 5520/5500/X58 Routing and Protocol Layer Registers Port 0 (rev 13)
00:11.0 PIC: Intel Corporation 5520/5500 Physical and Link Layer Registers Port 1 (rev 13)
00:11.1 PIC: Intel Corporation 5520/5500 Routing & Protocol Layer Register Port 1 (rev 13)
00:13.0 PIC: Intel Corporation 5520/5500/X58 I/O Hub I/OxAPIC Interrupt Controller (rev 13)
00:14.0 PIC: Intel Corporation 5520/5500/X58 I/O Hub System Management Registers (rev 13)
00:14.1 PIC: Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers (rev 13)
00:14.2 PIC: Intel Corporation 5520/5500/X58 I/O Hub Control Status and RAS Registers (rev 13)
00:14.3 PIC: Intel Corporation 5520/5500/X58 I/O Hub Throttle Registers (rev 13)
00:16.0 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Technology Device (rev 13)
00:16.1 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Technology Device (rev 13)
00:16.2 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Technology Device (rev 13)
00:16.3 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Technology Device (rev 13)
00:16.4 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Technology Device (rev 13)
00:16.5 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Technology Device (rev 13)
00:16.6 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Technology Device (rev 13)
00:16.7 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Technology Device (rev 13)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 1
00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 5
00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 6
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.3 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller
01:01.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 10)
02:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
03:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
08:00.0 PCI bridge: Intel Corporation 80333 Segment-A PCI Express-to-PCI Express Bridge
08:00.2 PCI bridge: Intel Corporation 80333 Segment-B PCI Express-to-PCI Express Bridge
0a:0e.0 RAID bus controller: Adaptec AAC-RAID
Comment 2 Patrick Lauer gentoo-dev 2009-11-16 15:52:02 UTC
Please attach emerge --info output too
Comment 3 Liviu Balan 2009-11-17 01:53:49 UTC
Already attached... after "Expected results" section.
Comment 4 Liviu Balan 2009-11-19 00:58:25 UTC
Any ideas, guys?
How can I pass this error, to compile the drivers successfully?
Comment 5 Liviu Balan 2009-11-21 02:15:06 UTC
Looks like I'm gonna have to use a nvidia card in order to have X working.. can't use the onboard video :(
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2009-12-07 17:26:33 UTC
You're mixing ~arch and stable packages. Please pick but don't mix.

Thanks