Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282308 - x11-proto/xextproto-7.1.0 (x11 overlay): /usr/include/X11/extensions/XShm.h is missing
Summary: x11-proto/xextproto-7.1.0 (x11 overlay): /usr/include/X11/extensions/XShm.h i...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-22 14:17 UTC by Andrey Grozin
Modified: 2009-08-22 20:34 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 Andrey Grozin gentoo-dev 2009-08-22 14:17:44 UTC
* Building system plugin ...
make
  CC    xvimagesink.o
In file included from xvimagesink.c:124:
xvimagesink.h:35:33: error: X11/extensions/XShm.h: No such file or directory
In file included from xvimagesink.c:124:
xvimagesink.h:185: error: expected specifier-qualifier-list before 'XShmSegmentInfo'
xvimagesink.c: In function 'gst_xvimage_buffer_destroy':
xvimagesink.c:239: error: 'GstXvImageBuffer' has no member named 'SHMInfo'
xvimagesink.c:240: error: 'GstXvImageBuffer' has no member named 'SHMInfo'
xvimagesink.c:250: error: 'GstXvImageBuffer' has no member named 'SHMInfo'
xvimagesink.c:251: error: 'GstXvImageBuffer' has no member named 'SHMInfo'
xvimagesink.c:251: error: 'GstXvImageBuffer' has no member named 'SHMInfo'
xvimagesink.c:253: warning: implicit declaration of function 'XShmDetach'
xvimagesink.c:253: error: 'GstXvImageBuffer' has no member named 'SHMInfo'
xvimagesink.c:256: error: 'GstXvImageBuffer' has no member named 'SHMInfo'
xvimagesink.c: In function 'gst_xvimage_buffer_finalize':
xvimagesink.c:312: error: 'GstXvImageBuffer' has no member named 'width'
xvimagesink.c:313: error: 'GstXvImageBuffer' has no member named 'height'
xvimagesink.c:314: error: 'GstXvImageBuffer' has no member named 'width'
xvimagesink.c:314: error: 'GstXvImageBuffer' has no member named 'height'
xvimagesink.c: In function 'gst_xvimage_buffer_free':
xvimagesink.c:342: error: 'GstXvImageBuffer' has no member named 'width'
xvimagesink.c:343: error: 'GstXvImageBuffer' has no member named 'height'
xvimagesink.c: In function 'gst_xvimage_buffer_init':
xvimagesink.c:351: error: 'GstXvImageBuffer' has no member named 'SHMInfo'
xvimagesink.c:352: error: 'GstXvImageBuffer' has no member named 'SHMInfo'
xvimagesink.c: In function 'gst_xvimagesink_check_xshm_calls':
xvimagesink.c:413: error: 'XShmSegmentInfo' undeclared (first use in this function)
xvimagesink.c:413: error: (Each undeclared identifier is reported only once
xvimagesink.c:413: error: for each function it appears in.)
xvimagesink.c:413: error: expected ';' before 'SHMInfo'
xvimagesink.c:414: warning: ISO C90 forbids mixed declarations and code
xvimagesink.c:425: error: 'SHMInfo' undeclared (first use in this function)
xvimagesink.c:434: warning: implicit declaration of function 'XvShmCreateImage'
xvimagesink.c:435: warning: assignment makes pointer from integer without a cast
xvimagesink.c:462: warning: implicit declaration of function 'XShmAttach'
xvimagesink.c: In function 'gst_xvimagesink_xvimage_new':
xvimagesink.c:529: error: 'GstXvImageBuffer' has no member named 'width'
xvimagesink.c:530: error: 'GstXvImageBuffer' has no member named 'height'
xvimagesink.c:534: error: 'GstXvImageBuffer' has no member named 'width'
xvimagesink.c:534: error: 'GstXvImageBuffer' has no member named 'height'
xvimagesink.c:537: error: 'GstXvImageBuffer' has no member named 'im_format'
xvimagesink.c:538: error: 'GstXvImageBuffer' has no member named 'im_format'
xvimagesink.c:541: error: 'GstXvImageBuffer' has no member named 'width'
xvimagesink.c:541: error: 'GstXvImageBuffer' has no member named 'height'
xvimagesink.c:560: error: 'GstXvImageBuffer' has no member named 'im_format'
xvimagesink.c:561: error: 'GstXvImageBuffer' has no member named 'width'
xvimagesink.c:561: error: 'GstXvImageBuffer' has no member named 'height'
xvimagesink.c:561: error: 'GstXvImageBuffer' has no member named 'SHMInfo'
xvimagesink.c:561: warning: assignment makes pointer from integer without a cast
xvimagesink.c:568: error: 'GstXvImageBuffer' has no member named 'width'
xvimagesink.c:568: error: 'GstXvImageBuffer' has no member named 'height'
xvimagesink.c:568: error: 'GstXvImageBuffer' has no member named 'width'
xvimagesink.c:568: error: 'GstXvImageBuffer' has no member named 'height'
xvimagesink.c:577: error: 'GstXvImageBuffer' has no member named 'size'
xvimagesink.c:578: error: 'GstXvImageBuffer' has no member named 'size'
xvimagesink.c:583: error: 'GstXvImageBuffer' has no member named 'im_format'
xvimagesink.c:592: error: 'GstXvImageBuffer' has no member named 'width'
xvimagesink.c:593: error: 'GstXvImageBuffer' has no member named 'height'
xvimagesink.c:594: error: 'GstXvImageBuffer' has no member named 'width'
xvimagesink.c:596: error: 'GstXvImageBuffer' has no member named 'height'
xvimagesink.c:600: error: 'GstXvImageBuffer' has no member named 'height'
xvimagesink.c:611: error: 'GstXvImageBuffer' has no member named 'height'
xvimagesink.c:611: error: 'GstXvImageBuffer' has no member named 'width'
xvimagesink.c:617: error: 'GstXvImageBuffer' has no member named 'size'
xvimagesink.c:618: error: 'GstXvImageBuffer' has no member named 'size'
xvimagesink.c:634: error: 'GstXvImageBuffer' has no member named 'SHMInfo'
xvimagesink.c:634: error: 'GstXvImageBuffer' has no member named 'size'
xvimagesink.c:636: error: 'GstXvImageBuffer' has no member named 'SHMInfo'
xvimagesink.c:638: error: 'GstXvImageBuffer' has no member named 'width'
xvimagesink.c:638: error: 'GstXvImageBuffer' has no member named 'height'
xvimagesink.c:638: error: 'GstXvImageBuffer' has no member named 'size'
xvimagesink.c:646: error: 'GstXvImageBuffer' has no member named 'SHMInfo'
xvimagesink.c:646: error: 'GstXvImageBuffer' has no member named 'SHMInfo'
xvimagesink.c:647: error: 'GstXvImageBuffer' has no member named 'SHMInfo'
xvimagesink.c:649: error: 'GstXvImageBuffer' has no member named 'width'
xvimagesink.c:649: error: 'GstXvImageBuffer' has no member named 'height'
xvimagesink.c:654: error: 'GstXvImageBuffer' has no member named 'SHMInfo'
xvimagesink.c:658: error: 'GstXvImageBuffer' has no member named 'SHMInfo'
xvimagesink.c:659: error: 'GstXvImageBuffer' has no member named 'SHMInfo'
xvimagesink.c:661: error: 'GstXvImageBuffer' has no member named 'SHMInfo'
xvimagesink.c:663: error: 'GstXvImageBuffer' has no member named 'SHMInfo'
xvimagesink.c:666: error: 'GstXvImageBuffer' has no member named 'width'
xvimagesink.c:666: error: 'GstXvImageBuffer' has no member named 'height'
xvimagesink.c:677: error: 'GstXvImageBuffer' has no member named 'SHMInfo'
xvimagesink.c:679: error: 'GstXvImageBuffer' has no member named 'SHMInfo'
xvimagesink.c:679: error: 'GstXvImageBuffer' has no member named 'SHMInfo'
xvimagesink.c:686: error: 'GstXvImageBuffer' has no member named 'im_format'
xvimagesink.c:686: error: 'GstXvImageBuffer' has no member named 'width'
xvimagesink.c:686: error: 'GstXvImageBuffer' has no member named 'height'
xvimagesink.c:693: error: 'GstXvImageBuffer' has no member named 'width'
xvimagesink.c:693: error: 'GstXvImageBuffer' has no member named 'height'
xvimagesink.c:693: error: 'GstXvImageBuffer' has no member named 'width'
xvimagesink.c:693: error: 'GstXvImageBuffer' has no member named 'height'
xvimagesink.c:702: error: 'GstXvImageBuffer' has no member named 'size'
xvimagesink.c:703: error: 'GstXvImageBuffer' has no member named 'size'
xvimagesink.c:715: error: 'GstXvImageBuffer' has no member named 'size'
xvimagesink.c: In function 'gst_xvimagesink_xvimage_put':
xvimagesink.c:838: error: 'GstXvImageBuffer' has no member named 'width'
xvimagesink.c:838: error: 'GstXvImageBuffer' has no member named 'height'
xvimagesink.c: In function 'gst_xvimagesink_xcontext_get':
xvimagesink.c:1757: warning: implicit declaration of function 'XShmQueryExtension'
xvimagesink.c: In function 'gst_xvimagesink_setcaps':
xvimagesink.c:2128: error: 'GstXvImageBuffer' has no member named 'im_format'
xvimagesink.c:2129: error: 'GstXvImageBuffer' has no member named 'width'
xvimagesink.c:2130: error: 'GstXvImageBuffer' has no member named 'height'
xvimagesink.c:2131: error: 'GstXvImageBuffer' has no member named 'im_format'
xvimagesink.c:2131: error: 'GstXvImageBuffer' has no member named 'im_format'
xvimagesink.c:2131: error: 'GstXvImageBuffer' has no member named 'im_format'
xvimagesink.c:2131: error: 'GstXvImageBuffer' has no member named 'im_format'
xvimagesink.c: In function 'gst_xvimagesink_show_frame':
xvimagesink.c:2298: error: 'GstXvImageBuffer' has no member named 'size'
xvimagesink.c:2299: error: 'GstXvImageBuffer' has no member named 'width'
xvimagesink.c:2299: error: 'GstXvImageBuffer' has no member named 'height'
xvimagesink.c:2312: error: 'GstXvImageBuffer' has no member named 'size'
xvimagesink.c:2312: error: 'GstXvImageBuffer' has no member named 'size'
xvimagesink.c: In function 'gst_xvimagesink_buffer_alloc':
xvimagesink.c:2456: error: 'GstXvImageBuffer' has no member named 'width'
xvimagesink.c:2457: error: 'GstXvImageBuffer' has no member named 'height'
xvimagesink.c:2457: error: 'GstXvImageBuffer' has no member named 'im_format'
xvimagesink.c:2473: error: 'GstXvImageBuffer' has no member named 'size'
make: *** [libgstxvimagesink_la-xvimagesink.lo] Error 1


Reproducible: Always




laptop ~ # emerge --info
Portage 2.2_rc39 (default/linux/x86/2008.0/desktop, gcc-4.4.1, glibc-2.10.1-r0, 2.6.29-tuxonice i686)
=================================================================
System uname: Linux-2.6.29-tuxonice-i686-Intel-R-_Pentium-R-_M_processor_1400MHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 22 Aug 2009 07:15:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1, 3.1.1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=pentium-m"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo-distfiles/"
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
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/layman/lisp /usr/local/layman/science /usr/local/layman/sunrise /usr/local/layman/x11 /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa bash-completion berkdb blas bluetooth boehm-gc branding browserplugin bzip2 cairo cdr cli cracklib crypt css cups curl dbus doc dri dts dvd dvdr dvdread eds emacs emboss encode esd evo fam ffmpeg fftw firefox flac fltk fortran gd gdbm gif gmp gnome gpm gsl gstreamer gtk hal iconv imagemagick isdnlog jpeg kde lapack latex ldap leim libnotify mad mikmod mmx mozilla mp3 mp4 mpeg mudflap mule ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf perl plotutils png ppds pppd python qt3 qt3support qt4 quicktime readline reflection schroedinger sdl session speex spell spl ssl startup-notification svg sysfs tcl tcpd tetex tiff tk truetype umfpack unicode usb vcd vorbis win32codecs wxwindows x264 x86 xine xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="vesa intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-08-22 15:11:40 UTC
x11-proto/xextproto (/usr/include/X11/extensions/XShm.h) and it's dep of -xvideo. something's wrong with your system.
Comment 2 Andrey Grozin gentoo-dev 2009-08-22 17:52:16 UTC
(In reply to comment #1)
> x11-proto/xextproto (/usr/include/X11/extensions/XShm.h) and it's dep of
> -xvideo. something's wrong with your system.


laptop ~ # qlist x11-proto/xextproto
/usr/lib/pkgconfig/xextproto.pc
/usr/include/X11/extensions/dpmsconst.h
/usr/include/X11/extensions/dpmsproto.h
/usr/include/X11/extensions/ge.h
/usr/include/X11/extensions/geproto.h
/usr/include/X11/extensions/lbx.h
/usr/include/X11/extensions/lbxproto.h
/usr/include/X11/extensions/mitmiscconst.h
/usr/include/X11/extensions/mitmiscproto.h
/usr/include/X11/extensions/multibufconst.h
/usr/include/X11/extensions/multibufproto.h
/usr/include/X11/extensions/secur.h
/usr/include/X11/extensions/securproto.h
/usr/include/X11/extensions/shapeconst.h
/usr/include/X11/extensions/shapeproto.h
/usr/include/X11/extensions/shm.h
/usr/include/X11/extensions/shmproto.h
/usr/include/X11/extensions/syncconst.h
/usr/include/X11/extensions/syncproto.h
/usr/include/X11/extensions/ag.h
/usr/include/X11/extensions/agproto.h
/usr/include/X11/extensions/cup.h
/usr/include/X11/extensions/cupproto.h
/usr/include/X11/extensions/dbe.h
/usr/include/X11/extensions/dbeproto.h
/usr/include/X11/extensions/EVI.h
/usr/include/X11/extensions/EVIproto.h
/usr/include/X11/extensions/xtestext1proto.h
/usr/include/X11/extensions/xtestext1const.h
/usr/include/X11/extensions/xtestconst.h
/usr/include/X11/extensions/xtestproto.h
/usr/share/doc/xextproto-7.1.0/ChangeLog.bz2

There's no /usr/include/X11/extensions/XShm.h
(x11-proto/xextproto-7.1.0 from the x11 overlay)
Comment 3 Andrey Grozin gentoo-dev 2009-08-22 17:56:33 UTC
mplayer also wants /usr/include/X11/extensions/XShm.h
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-22 18:14:17 UTC
assigning to overlay maintainers
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2009-08-22 20:34:54 UTC
Packages will need to be patched for the new libXext and other X libraries. FTR, those are still in the x11 overlay *and* under p.mask.

Here's how the Intel X driver was patched to cope with the new headers while staying compatible with the old ones :

http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=0a4c4c5fe8ebad2dd13f5770bd90a194eebb2890

Individual bugs should be assigned to broken packages' maintainers.

Thanks