Bug#742682: cogl: FTBFS on hurd-i386

Samuel Thibault sthibault at debian.org
Wed Mar 26 11:03:21 UTC 2014


Source: cogl
Version: 1.18.0-1
Severity: important
Tags: patch

Hello,

cogl doesn't build on hurd-i386 any more, because of missing
cogl_egl_context_get_egl_context and
cogl_wayland_texture_set_region_from_shm_buffer symbols.

The former can actually be trivially fixed now that libgles is available
on hurd-i386, by enabling the libgles2-mesa-dev|libgles2-dev build-dep
on hurd-any in control and removing the test before enabling the
xlib-egl platform etc. in rules, see attached patch.

The latter poses problem on kfreebsd too, it is indeed available only
on linux, and should be excluded from symbols on !linux-any.

Samuel

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- 
Samuel
"I once witnessed a long-winded, month-long flamewar over the use of
mice vs. trackballs...It was very silly."
(By Matt Welsh)
-------------- next part --------------
--- debian/control.in.original	2014-03-26 11:02:02.000000000 +0000
+++ debian/control.in	2014-03-26 11:02:07.000000000 +0000
@@ -9,7 +9,7 @@
                gtk-doc-tools (>= 1.13),
                libgbm-dev [linux-any],
                libgl1-mesa-dev (>= 7.1~rc3-1~),
-               libgles2-mesa-dev (>= 7.1~rc3-1~) [!hurd-any] | libgles2-dev [!hurd-any],
+               libgles2-mesa-dev (>= 7.1~rc3-1~) | libgles2-dev,
                libcairo2-dev (>= 1.10),
                libpango1.0-dev (>= 1.28.3-5),
                libgdk-pixbuf2.0-dev (>= 2.0),
--- debian/control.original	2014-03-26 11:02:26.000000000 +0000
+++ debian/control	2014-03-26 11:02:29.000000000 +0000
@@ -14,7 +14,7 @@
                gtk-doc-tools (>= 1.13),
                libgbm-dev [linux-any],
                libgl1-mesa-dev (>= 7.1~rc3-1~),
-               libgles2-mesa-dev (>= 7.1~rc3-1~) [!hurd-any] | libgles2-dev [!hurd-any],
+               libgles2-mesa-dev (>= 7.1~rc3-1~) | libgles2-dev,
                libcairo2-dev (>= 1.10),
                libpango1.0-dev (>= 1.28.3-5),
                libgdk-pixbuf2.0-dev (>= 2.0),
--- debian/rules.original	2014-03-26 11:01:20.000000000 +0000
+++ debian/rules	2014-03-26 10:44:59.000000000 +0000
@@ -27,13 +27,11 @@
         DEB_CONFIGURE_EXTRA_FLAGS += --with-default-driver=gl
 endif
 
-ifeq ($(DEB_HOST_ARCH_OS),$(findstring $(DEB_HOST_ARCH_OS),linux kfreebsd))
 DEB_CONFIGURE_EXTRA_FLAGS += \
 	--enable-xlib-egl-platform=yes \
 	--enable-cogl-gles2=yes \
 	--with-gles2-libname=libGLESv2.so.2 \
 	--enable-gles2=yes
-endif
 
 ifeq ($(DEB_HOST_ARCH_OS),linux)
 DEB_CONFIGURE_EXTRA_FLAGS += \


More information about the pkg-gnome-maintainers mailing list