Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 492838 - =media-libs/mesa-9*[xorg] does not build against x11-base/xorg-server-1.14.99.903
Summary: =media-libs/mesa-9*[xorg] does not build against x11-base/xorg-server-1.14.99...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 492848 493076 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-11-29 10:12 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2013-12-05 01:16 UTC (History)
4 users (show)

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


Attachments
build.log.xz (build.log.xz,49.37 KB, application/x-xz)
2013-11-29 10:12 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-11-29 10:12:08 UTC
Created attachment 364180 [details]
build.log.xz

/bin/bash ../../../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"9.2.4\" -DPACKAGE_STRING=\"Mesa\ 9.2.4\" -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"9.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DYYTEXT_POINTER=1 -DHAVE_PTHREAD=1 -DHAVE_LIBEXPAT=1 -I.  -I../../../../include -I../../../../src/mesa -I../../../../src/mesa/drivers/dri/common -I../../../../src/mesa/main -DHAVE_CONFIG_H -DHAVE_LIBKMS  -I../../../../include -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -D_GNU_SOURCE -DHAVE_PTHREAD -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_PTHREAD -DUSE_EXTERNAL_DXTN_LIB=1 -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_XEXTPROTO_71 -DHAVE_LLVM=0x0303  -I/usr/include/libkms  -I/usr/include/libdrm  -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm  -march=corei7 -mtune=corei7 -O2 -pipe -fomit-frame-pointer -finline-functions -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp  -c -o xorg_driver.lo xorg_driver.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"9.2.4\" "-DPACKAGE_STRING=\"Mesa 9.2.4\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"9.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DYYTEXT_POINTER=1 -DHAVE_PTHREAD=1 -DHAVE_LIBEXPAT=1 -I. -I../../../../include -I../../../../src/mesa -I../../../../src/mesa/drivers/dri/common -I../../../../src/mesa/main -DHAVE_CONFIG_H -DHAVE_LIBKMS -I../../../../include -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -D_GNU_SOURCE -DHAVE_PTHREAD -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_PTHREAD -DUSE_EXTERNAL_DXTN_LIB=1 -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_XEXTPROTO_71 -DHAVE_LLVM=0x0303 -I/usr/include/libkms -I/usr/include/libdrm -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -march=corei7 -mtune=corei7 -O2 -pipe -fomit-frame-pointer -finline-functions -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -c xorg_driver.c  -fPIC -DPIC -o .libs/xorg_driver.o
In file included from xorg_driver.c:36:0:
/usr/include/xorg/xf86PciInfo.h:50:2: warning: #warning "xf86PciInfo.h is deprecated.  For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." [-Wcpp]
 #warning "xf86PciInfo.h is deprecated.  For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server."
  ^
xorg_driver.c: In function 'drv_pre_init':
xorg_driver.c:347:23: warning: variable 'xf86_config' set but not used [-Wunused-but-set-variable]
     xf86CrtcConfigPtr xf86_config;
                       ^
xorg_driver.c: In function 'drv_close_screen':
xorg_driver.c:1025:2: warning: passing argument 1 of 'DamageUnregister' from incompatible pointer type [enabled by default]
  DamageUnregister(&pScreen->GetScreenPixmap(pScreen)->drawable, ms->damage);
  ^
In file included from /usr/include/xorg/pixmapstr.h:53:0,
                 from /usr/include/xorg/xf86str.h:40,
                 from /usr/include/xorg/xf86.h:44,
                 from xorg_driver.c:33:
/usr/include/xorg/damage.h:77:2: note: expected 'DamagePtr' but argument is of type 'struct DrawableRec *'
  DamageUnregister(DamagePtr pDamage);
  ^
xorg_driver.c:1025:2: error: too many arguments to function 'DamageUnregister'
  DamageUnregister(&pScreen->GetScreenPixmap(pScreen)->drawable, ms->damage);
  ^
In file included from /usr/include/xorg/pixmapstr.h:53:0,
                 from /usr/include/xorg/xf86str.h:40,
                 from /usr/include/xorg/xf86.h:44,
                 from xorg_driver.c:33:
/usr/include/xorg/damage.h:77:2: note: declared here
  DamageUnregister(DamagePtr pDamage);
  ^
Makefile:550: recipe for target 'xorg_driver.lo' failed
gmake[3]: *** [xorg_driver.lo] Error 1
gmake[3]: Leaving directory '/var/tmp/portage/media-libs/mesa-9.2.4/work/Mesa-9.2.4-amd64/src/gallium/state_trackers/xorg'
Makefile:495: recipe for target 'all-recursive' failed
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory '/var/tmp/portage/media-libs/mesa-9.2.4/work/Mesa-9.2.4-amd64/src/gallium/state_trackers'
Makefile:502: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/media-libs/mesa-9.2.4/work/Mesa-9.2.4-amd64/src'
Makefile:553: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
 * ERROR: media-libs/mesa-9.2.4::gentoo failed (compile phase):
 *   emake failed
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-11-29 12:01:34 UTC
*** Bug 492848 has been marked as a duplicate of this bug. ***
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-11-29 16:38:19 UTC
Fixed in mesa-9.2.4

Do note that the xorg state tracker has been dropped from mesa-10, so if you use it currently, you better start making plans to move off of it.
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-12-01 21:47:09 UTC
Patch sent upstream: http://lists.freedesktop.org/archives/mesa-stable/2013-November/000472.html
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-12-05 01:16:33 UTC
*** Bug 493076 has been marked as a duplicate of this bug. ***