[Reproducible-builds] Bug#796373: mesa-demos: FTBFS: error: 'EGL_SCREEN_BIT_MESA' undeclared (first use in this function)

Chris Lamb lamby at debian.org
Fri Aug 21 15:23:33 UTC 2015


Source: mesa-demos
Version: 8.2.0-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

mesa-demos fails to build from source in testing/amd64:

  [..]
  Making all in egl
  make[3]: Entering directory '/tmp/buildd/mesa-demos-8.2.0/src/egl'
  Making all in eglut
  make[4]: Entering directory
  '/tmp/buildd/mesa-demos-8.2.0/src/egl/eglut'
  /bin/bash ../../../libtool  --tag=CC   --mode=compile gcc
  -DPACKAGE_NAME=\"mesa-demos\" -DPACKAGE_TARNAME=\"mesa-demos\"
  -DPACKAGE_VERSION=\"8.2.0\" -DPACKAGE_STRING=\"mesa-demos\ 8.2.0\"
  -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\&component=Demos\"
  -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa-demos\" -DVERSION=\"8.2.0\"
  -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/\"
  -DDEMOS_DATA_DIR=\"../data/\" -DDEMOS_DATA_DIR=\"../data/\" -I.  
  -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libdrm  -g -O2
  -fstack-protector-strong -Wformat -Werror=format-security -c -o
  eglut.lo eglut.c
  libtool: compile:  gcc -DPACKAGE_NAME=\"mesa-demos\"
  -DPACKAGE_TARNAME=\"mesa-demos\" -DPACKAGE_VERSION=\"8.2.0\"
  "-DPACKAGE_STRING=\"mesa-demos 8.2.0\""
  "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa&component=Demos\""
  -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa-demos\" -DVERSION=\"8.2.0\"
  -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/\"
  -DDEMOS_DATA_DIR=\"../data/\" -DDEMOS_DATA_DIR=\"../data/\" -I.
  -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libdrm -g -O2
  -fstack-protector-strong -Wformat -Werror=format-security -c eglut.c 
  -fPIC -DPIC -o .libs/eglut.o
  eglut.c: In function '_eglutDestroyWindow':
  eglut.c:80:32: error: 'EGL_SCREEN_BIT_MESA' undeclared (first use in
  this function)
          _eglut->surface_type != EGL_SCREEN_BIT_MESA)
                                  ^
  eglut.c:80:32: note: each undeclared identifier is reported only once
  for each function it appears in
  eglut.c: In function '_eglutCreateWindow':
  eglut.c:178:9: error: 'EGL_SCREEN_BIT_MESA' undeclared (first use in
  this function)
      case EGL_SCREEN_BIT_MESA:
           ^
  eglut.c: In function 'eglutDestroyWindow':
  eglut.c:293:33: error: 'EGL_SCREEN_BIT_MESA' undeclared (first use in
  this function)
      if ( _eglut->surface_type != EGL_SCREEN_BIT_MESA)
                                   ^
  Makefile:488: recipe for target 'eglut.lo' failed
  make[4]: *** [eglut.lo] Error 1
  make[4]: Leaving directory
  '/tmp/buildd/mesa-demos-8.2.0/src/egl/eglut'
  Makefile:418: recipe for target 'all-recursive' failed
  make[3]: *** [all-recursive] Error 1
  make[3]: Leaving directory '/tmp/buildd/mesa-demos-8.2.0/src/egl'
  Makefile:434: recipe for target 'all-recursive' failed
  make[2]: *** [all-recursive] Error 1
  make[2]: Leaving directory '/tmp/buildd/mesa-demos-8.2.0/src'
  Makefile:441: recipe for target 'all-recursive' failed
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory '/tmp/buildd/mesa-demos-8.2.0'
  dh_auto_build: make -j1 returned exit code 2
  debian/rules:3: recipe for target 'build' failed
  make: *** [build] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  [..]

The full build log is attached or can be viewed here:

    https://reproducible.debian.net/logs/testing/amd64/mesa-demos_8.2.0-1.build1.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mesa-demos.8.2.0-1.testing.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150821/e1f31eda/attachment.txt>


More information about the Reproducible-builds mailing list