Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 285288

Summary: xf86-video-psb missing "psb_reg.h" and "psb_drm.h"
Product: Gentoo Linux Reporter: Ray <rmahangoe>
Component: New packagesAssignee: Patrick Lauer <patrick>
Status: RESOLVED DUPLICATE    
Severity: major CC: SebastianLuther
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ray 2009-09-17 10:27:10 UTC
ERROR: x11-drivers/xf86-video-psb-0.31.0_p11 failed.


Reproducible: Always

Steps to Reproduce:
1. emerge xf86-video-psb
Actual Results:  
ERROR: x11-drivers/xf86-video-psb-0.31.0_p11 failed.

In file included from psb_lvds.c:35:
psb_lvds.h:3:21: error: psb_reg.h: No such file or directory
psb_driver.c:39:21: error: psb_reg.h: No such file or directory
psb_accel.c:44:21: error: psb_reg.h: No such file or directory
In file included from psb_driver.h:68,
                 from psb_lvds.h:5,
                 from psb_lvds.c:35:
psb_dri.h:37:21: error: psb_drm.h: No such file or directory
In file included from psb_driver.h:68,
                 from psb_buffers.c:36:
psb_dri.h:37:21: error: psb_drm.h: No such file or directory
In file included from psb_driver.h:68,
                 from psb_accel.c:46:
psb_dri.h:37:21: error: psb_drm.h: No such file or directory
In file included from psb_driver.h:68,
                 from psb_driver.c:40:
psb_dri.h:37:21: error: psb_drm.h: No such file or directory

psb_lvds.c: In function 'psbLVDSModeFixup':make[1]: *** [psb_accel.lo] Error 1

psb_lvds.c:486: warning: suggest parentheses around && within ||
psb_lvds.c: In function 'psbGetLidStatus':
psb_lvds.c:603: warning: unused variable 'pDevice'
psb_driver.c: In function 'psbPreInit':
psb_driver.c:828: error: 'PSB_PACKAGE_VERSION' undeclared (first use in this function)
psb_driver.c:828: error: (Each undeclared identifier is reported only once
psb_driver.c:828: error: for each function it appears in.)
psb_driver.c: In function 'psbDeviceInit':
psb_driver.c:1078: warning: passing argument 2 of 'pci_device_cfg_read_u32' from incompatible pointer type
psb_driver.c:1118: warning: format '%08x' expects type 'unsigned int', but argument 4 has type 'long unsigned int'
psb_driver.c:1154: warning: format '%08x' expects type 'unsigned int', but argument 5 has type 'long unsigned int'
psb_driver.c:1154: warning: format '%08x' expects type 'unsigned int', but argument 6 has type 'long unsigned int'
psb_driver.c:1232: warning: passing argument 2 of 'pci_device_cfg_read_u32' from incompatible pointer type
make[1]: *** [psb_lvds.lo] Error 1
psb_driver.c: In function 'psbEngineHang':
psb_driver.c:2275: error: 'PSB_CR_BIF_FAULT' undeclared (first use in this function)
psb_driver.c:2276: error: 'PSB_CR_BIF_INT_STAT' undeclared (first use in this function)
make[1]: *** [psb_driver.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-psb-0.31.0_p11/work/xserver-xorg-video-psb-0.31.0/src'
make: *** [install-recursive] Error 1


Expected Results:  
missing "psb_reg.h" and "psb_drm.h" exist in the original source.

after i take those 2 file from the original sources and put it in /var/tmp/portage/x11-drivers/xf86-video-psb-0.31.0_p11/work/xserver-xorg-video-psb-0.31.0/src/ compiling was ok, but X crashed.
Comment 1 Sebastian Luther (few) 2009-09-17 11:14:54 UTC
*** Bug 285294 has been marked as a duplicate of this bug. ***
Comment 2 Sebastian Luther (few) 2009-09-17 11:15:39 UTC
emerge --info please.
Comment 3 Ray 2009-09-17 11:38:57 UTC
(In reply to comment #2)
> emerge --info please.
> 

emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.2,
glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 i686)
=================================================================
System uname:
Linux-2.6.30-gentoo-r5-i686-Intel-R-_Atom-TM-_CPU_Z530_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 16 Sep 2009 12:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r13, 2.5.4-r3, 2.6.2-r1
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=core2 -mtune=native -mmmx -msse -msse2 -mssse3 -pipe
-fomit-frame-pointer"
CHOST="i686-pc-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/udev/rules.d"
CXXFLAGS="-Os -march=core2 -mtune=native -mmmx -msse -msse2 -mssse3 -pipe
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox
sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j4"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa bluetooth branding bzip2 cairo cdr cli cracklib crypt
cups dbus dri dts dvd dvdr eds emboss encode evo fam ffmpeg firefox flac
fortran gdbm gif gnome gpm gstreamer gtk hal iconv intel isdnlog jpeg jpeg2k
libnotify mad mikmod mmx mmxext mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly
ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support quicktime
readline reflection sdl session smp spell spl sse sse2 ssl ssse3
startup-notification svg sysfs tcpd thunar tiff truetype unicode usb v4l v4l2
vorbis win32codecs x264 x86 xml xorg xulrunner xv xvid zlib"
ALSA_CARDS="hda-intel loopback" 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" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US"
USERLAND="GNU" VIDEO_CARDS="vesa fbdev vga v4l v4l2"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG,
LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
PORTDIR_OVERLAY


Comment 4 Sebastian Luther (few) 2009-09-17 16:30:59 UTC

*** This bug has been marked as a duplicate of bug 285274 ***