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

Bug 311423

Summary: [Xorg overlay] Can't compile media-libs/xine-lib-1.1.18(.1)
Product: Gentoo Linux Reporter: Cedric Godin <cedric.godin>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal Keywords: InOverlay
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cedric Godin 2010-03-26 11:04:34 UTC
When trying to emerge media-libs/xine-lib-1.1.18(.1) against the xorg overlay, i have the following errors :

/bin/sh ../../libtool  --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../include -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils  -I../../src/input -I../../src/input  -I../../lib -I../../lib -DXINE_COMPILE  -fvisibility=hidden   -fno-strict-aliasing -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE  -march=pentium4 -O2 -pipe -ggdb -frename-registers -ffunction-sections -Wall -Wchar-subscripts -Wnested-externs -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wmissing-format-attribute -Wno-pointer-sign -Wformat=2 -Wno-format-zero-length -Wstrict-aliasing=2 -Werror=implicit-function-declaration -DNDEBUG -c -o xineplug_vo_out_xxmc_la-video_out_xxmc.lo `test -f 'video_out_xxmc.c' || echo './'`video_out_xxmc.c
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../include -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -I../../lib -I../../lib -DXINE_COMPILE -fvisibility=hidden -fno-strict-aliasing -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -march=pentium4 -O2 -pipe -ggdb -frename-registers -ffunction-sections -Wall -Wchar-subscripts -Wnested-externs -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wmissing-format-attribute -Wno-pointer-sign -Wformat=2 -Wno-format-zero-length -Wstrict-aliasing=2 -Werror=implicit-function-declaration -DNDEBUG -c video_out_xxmc.c  -fPIC -DPIC -o .libs/xineplug_vo_out_xxmc_la-video_out_xxmc.o
video_out_xxmc.c: In function 'xxmc_xvmc_destroy_surfaces':
video_out_xxmc.c:181: error: implicit declaration of function 'XvMCFlushSurface'
video_out_xxmc.c:181: warning: nested extern declaration of 'XvMCFlushSurface'
video_out_xxmc.c:182: error: implicit declaration of function 'XvMCSyncSurface'
video_out_xxmc.c:182: warning: nested extern declaration of 'XvMCSyncSurface'
video_out_xxmc.c:183: error: implicit declaration of function 'XvMCHideSurface'
video_out_xxmc.c:183: warning: nested extern declaration of 'XvMCHideSurface'
video_out_xxmc.c:184: error: implicit declaration of function 'XvMCDestroySurface'
video_out_xxmc.c:184: warning: nested extern declaration of 'XvMCDestroySurface'
video_out_xxmc.c: In function 'xxmc_xvmc_destroy_subpictures':
video_out_xxmc.c:202: error: implicit declaration of function 'XvMCFlushSubpicture'
video_out_xxmc.c:202: warning: nested extern declaration of 'XvMCFlushSubpicture'
video_out_xxmc.c:203: error: implicit declaration of function 'XvMCSyncSubpicture'
video_out_xxmc.c:203: warning: nested extern declaration of 'XvMCSyncSubpicture'
video_out_xxmc.c:204: error: implicit declaration of function 'XvMCDestroySubpicture'
video_out_xxmc.c:204: warning: nested extern declaration of 'XvMCDestroySubpicture'
video_out_xxmc.c: In function 'xxmc_xvmc_alloc_surface':
video_out_xxmc.c:231: error: implicit declaration of function 'XvMCCreateSurface'
video_out_xxmc.c:231: warning: nested extern declaration of 'XvMCCreateSurface'
video_out_xxmc.c: In function 'xxmc_xvmc_alloc_subpicture':
video_out_xxmc.c:293: error: implicit declaration of function 'XvMCGetSubpictureStatus'
video_out_xxmc.c:293: warning: nested extern declaration of 'XvMCGetSubpictureStatus'
video_out_xxmc.c:310: error: implicit declaration of function 'XvMCCreateSubpicture'
video_out_xxmc.c:310: warning: nested extern declaration of 'XvMCCreateSubpicture'
video_out_xxmc.c: In function 'xxmc_duplicate_frame_data':
video_out_xxmc.c:478: error: implicit declaration of function 'XvMCClearSubpicture'
video_out_xxmc.c:478: warning: nested extern declaration of 'XvMCClearSubpicture'
video_out_xxmc.c:480: error: implicit declaration of function 'XvMCBlendSubpicture2'
video_out_xxmc.c:480: warning: nested extern declaration of 'XvMCBlendSubpicture2'
video_out_xxmc.c: In function 'xxmc_dispose_context':
video_out_xxmc.c:753: error: implicit declaration of function 'XvMCDestroyMacroBlocks'
video_out_xxmc.c:753: warning: nested extern declaration of 'XvMCDestroyMacroBlocks'
video_out_xxmc.c:754: error: implicit declaration of function 'XvMCDestroyBlocks'
video_out_xxmc.c:754: warning: nested extern declaration of 'XvMCDestroyBlocks'
video_out_xxmc.c:771: error: implicit declaration of function 'XvMCDestroyContext'
video_out_xxmc.c:771: warning: nested extern declaration of 'XvMCDestroyContext'
video_out_xxmc.c: In function 'xxmc_create_context':
video_out_xxmc.c:840: error: implicit declaration of function 'XvMCCreateContext'
video_out_xxmc.c:840: warning: nested extern declaration of 'XvMCCreateContext'
video_out_xxmc.c: In function 'xxmc_mocomp_create_macroblocks':
video_out_xxmc.c:914: error: implicit declaration of function 'XvMCCreateMacroBlocks'
video_out_xxmc.c:914: warning: nested extern declaration of 'XvMCCreateMacroBlocks'
video_out_xxmc.c:917: error: implicit declaration of function 'XvMCCreateBlocks'
video_out_xxmc.c:917: warning: nested extern declaration of 'XvMCCreateBlocks'
video_out_xxmc.c: In function 'xvmc_check_colorkey_properties':
video_out_xxmc.c:946: error: implicit declaration of function 'XvMCQueryAttributes'
video_out_xxmc.c:946: warning: nested extern declaration of 'XvMCQueryAttributes'
video_out_xxmc.c:948: warning: assignment makes pointer from integer without a cast
video_out_xxmc.c:953: error: implicit declaration of function 'XvMCSetAttribute'
video_out_xxmc.c:953: warning: nested extern declaration of 'XvMCSetAttribute'
video_out_xxmc.c: In function 'xxmc_overlay_end':
video_out_xxmc.c:1447: error: implicit declaration of function 'XvMCSetSubpicturePalette'
video_out_xxmc.c:1447: warning: nested extern declaration of 'XvMCSetSubpicturePalette'
video_out_xxmc.c:1457: error: implicit declaration of function 'XvMCBlendSubpicture'
video_out_xxmc.c:1457: warning: nested extern declaration of 'XvMCBlendSubpicture'
video_out_xxmc.c: In function 'xxmc_overlay_blend':
video_out_xxmc.c:1521: error: implicit declaration of function 'XvMCCompositeSubpicture'
video_out_xxmc.c:1521: warning: nested extern declaration of 'XvMCCompositeSubpicture'
video_out_xxmc.c: In function 'xxmc_display_frame':
video_out_xxmc.c:1680: error: implicit declaration of function 'XvMCPutSurface'
video_out_xxmc.c:1680: warning: nested extern declaration of 'XvMCPutSurface'
video_out_xxmc.c: In function 'checkXvMCCap':
video_out_xxmc.c:2269: error: implicit declaration of function 'XvMCQueryExtension'
video_out_xxmc.c:2269: warning: nested extern declaration of 'XvMCQueryExtension'
video_out_xxmc.c:2278: error: implicit declaration of function 'XvMCListSurfaceTypes'
video_out_xxmc.c:2278: warning: nested extern declaration of 'XvMCListSurfaceTypes'
video_out_xxmc.c:2278: warning: assignment makes pointer from integer without a cast
video_out_xxmc.c:2323: error: implicit declaration of function 'XvMCListSubpictureTypes'
video_out_xxmc.c:2323: warning: nested extern declaration of 'XvMCListSubpictureTypes'
video_out_xxmc.c:2324: warning: assignment makes pointer from integer without a cast
video_out_xxmc.c: In function 'open_plugin':
video_out_xxmc.c:2452: warning: passing argument 4 of 'config->register_enum' from incompatible pointer type
video_out_xxmc.c:2452: note: expected 'char **' but argument is of type 'const char * const*'
video_out_xxmc.c:2456: warning: format '%d' expects type 'int', but argument 5 has type 'XvPortID'
video_out_xxmc.c:2612: warning: passing argument 4 of 'config->register_enum' from incompatible pointer type
video_out_xxmc.c:2612: note: expected 'char **' but argument is of type 'const char * const*'
make[3]: *** [xineplug_vo_out_xxmc_la-video_out_xxmc.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.18.1/work/xine-lib-1.1.18.1/src/video_out'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.18.1 /work/xine-lib-1.1.18.1/src/video_out'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.18.1/work/xine-lib-1.1.18.1/src'
make: *** [all-recursive] Error 1

This doesn't occur on another machine of mine (but an amd64 one) with xorg from portage tree.

Reproducible: Always




from the git-src:

bigreqsproto    bigreqsproto-1.1.0-7-g1c9119c
cairo   1.9.6-97-g022291b
compositeproto  compositeproto-0.4.1-11-g1a48a0d
damageproto     damageproto-1.2.0-10-gfe38c4d
dri2proto       dri2proto-2.3-2-g3e6dc6d
evieext evieproto-1.1.0-8-g2cc1693
fixesproto      fixesproto-4.1.1-10-gf7cd767
font-util       font-util-1.1.1-5-g85e9d27
fontcacheproto  fontcacheproto-0.1.3-7-g8c2adc4
fontsproto      fontsproto-2.1.0-7-g4a85fd6
glproto glproto-1.4.11-3-g9c58144
inputproto      inputproto-2.0-8-g0746aed
kbproto kbproto-1.0.4-7-gcb489d1
libICE  libICE-1.0.6-7-g09d61dc
libSM   libSM-1.1.1-20-g39f4ed7
libX11  libX11-1.3.3-9-g69fc76a
libXScrnSaver   libXScrnSaver-1.2.0-8-g00e9520
libXau  libXau-1.0.5-7-g4039c62
libXaw  libXaw-1.0.7-19-g0a86ae9
libXcomposite   libXcomposite-0.4.1-10-g588e33d
libXcursor      libXcursor-1.1.10-7-ga3e03bb
libXdamage      libXdamage-1.1.2-7-g5dd2b14
libXdmcp        libXdmcp-1.0.3-8-g2110b60
libXevie        libXevie-1.0.2-13-g714fd8d
libXext libXext-1.1.1-11-g658574b
libXfixes       libXfixes-4.0.4-8-ge3acd4a
libXfont        libXfont-1.4.1-11-ga79a22b
libXfontcache   libXfontcache-1.0.5-5-gb869d5f
libXft  libXft-2.1.14-9-g78ed756
libXi   libXi-1.3-16-g93aca15
libXinerama     libXinerama-1.1-10-g43b50cc
libXmu  libXmu-1.0.5-6-gd270247
libXp   fatal: No annotated tags can describe 'aefe40923fd5a4a64121e5761eaf773d392f8d86'.
However, there were unannotated tags: try --tags.
libXpm  libXpm-3.5.8-7-g34ebac9
libXrandr       libXrandr-1.3.0-14-g74bb907
libXrender      libXrender-0.9.5-9-g1380d97
libXres libXres-1.0.4-8-gceaddfb
libXt   libXt-1.0.8
libXtst libXtst-1.1.0-11-gc4a225f
libXv   libXv-1.0.5-7-g917a09f
libXvMC libXvMC-1.0.5-9-g92e902d
libXxf86dga     libXxf86dga-1.1.1-8-g1ad4c14
libXxf86misc    libXxf86misc-1.0.2-5-g76002a3
libXxf86vm      libXxf86vm-1.1.0-7-g02155a7
libdrm  2.4.19-20-g245d695
libfontenc      libfontenc-1.0.5-8-gd2d6e4d
libpciaccess    libpciaccess-0.11.0-3-gaf2be74
libxcb  1.5-9-gd18d03d
libxkbfile      libxkbfile-1.0.6-6-g79cb4ad
libxkbui        fatal: No annotated tags can describe '8522fd1905d0a0418a6b961cdfcb934ca03dc809'.
However, there were unannotated tags: try --tags.
mesa    mesa_7_6_1_rc1-6500-g8b12c58
mkfontdir       mkfontdir-1.0.5-4-g8fd1d5d
mkfontscale     mkfontscale-1.0.7-4-g0ba1bda
pixman  pixman-0.17.14-3-gefd41c6
printproto      printproto-1.0.4-3-g8418a3a
randrproto      randrproto-1.3.1-8-g68f8fbe
recordproto     recordproto-1.14-7-g67bcebd
renderproto     renderproto-0.11-9-g2c7bf7d
resourceproto   resourceproto-1.1.0-7-g06fc8dd
scrnsaverproto  scrnsaverproto-1.2.0-7-gd761694
trapproto       fatal: No annotated tags can describe '63cb0cd04a01cd5b5ef8d78b9d3df6023a41cdde'.
However, there were unannotated tags: try --tags.
util-macros     util-macros-1.6.1
videoproto      videoproto-2.3.0-10-g72a31b1
xcb-proto       1.6-3-g3c75db3
xcb-util        0.3.6-10-g7884d58
xcmiscproto     xcmiscproto-1.2.0-7-g9844fba
xdriinfo        xdriinfo-1.0.3-5-g60771e4
xev     xev-1.0.4-6-g743eb77
xextproto       xextproto-7.1.1-8-g37f6aff
xf86-input-evdev        xf86-input-evdev-2.3.0-24-g0dc931e
xf86-input-keyboard     xf86-input-keyboard-1.4.0-11-g2dc73fa
xf86-input-mouse        xf86-input-mouse-1.5.0-10-ga2d158c
xf86-input-synaptics    xf86-input-synaptics-1.2.0-21-ga07fe65
xf86-video-ati  xf86-video-ati-6.12.192-7-g53ac061
xf86bigfontproto        xf86bigfontproto-1.2.0-7-g77b683e
xf86dgaproto    xf86dgaproto-2.1-7-gd32c5c1
xf86driproto    xf86driproto-2.1.0-8-gda64927
xf86miscproto   xf86miscproto-0.9.3-6-g3289a67
xf86rushproto   fatal: No annotated tags can describe 'b66320c40fbd3fafb706dae50fd0c2222c872503'.
However, there were unannotated tags: try --tags.
xf86vidmodeproto        xf86vidmodeproto-2.3-7-g7745d7c
xineramaproto   xineramaproto-1.2-7-g51e0e39
xinit   xinit-1.2.1
xkeyboard-config        v_1_8-23-g75269d3
xorg-server     xorg-server-1.7.99.902-26-g579715f
xproto  xproto-7.0.16-10-gbf25d06
xrandr  xrandr-1.3.2-18-gd138c73
xtrans  xtrans-1.2.5-10-g373922e
xvinfo  xvinfo-1.1.0-5-g0bd2b71
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-03-31 19:51:47 UTC
Mixing live and non-live ebuilds may or may not work, but it is unsupported in any case.
Your error looks like you mix live x11-proto/videoproto with stable x11-libs/libXvMC.
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-04-01 23:37:37 UTC
To be more clear, it looks like videoproto is relatively too new and libXvMC is relatively too old.