Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Aug 2014 11:46:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        chromium@FreeBSD.org
Subject:   [Bug 192685] www/chromium 36.0.1985.143 fails to build on 10-stable
Message-ID:  <bug-192685-28929-yjq7YScwvF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-192685-28929@https.bugs.freebsd.org/bugzilla/>
References:  <bug-192685-28929@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192685

--- Comment #13 from Carlos Jacobo Puga Medina <cpm@fbsd.es> ---
Created attachment 146210
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=146210&action=edit
fix conflicting typedef in GL/glext.h and GLES2/gl2.h

> In file included from ../../gpu/command_buffer/service/buffer_manager.cc:10:
> In file included from ../../gpu/command_buffer/service/context_state.h:14:
> In file included from ../../gpu/command_buffer/service/query_manager.h:16:
> In file included from ../../gpu/command_buffer/service/feature_info.h:14:
> In file included from ../../gpu/command_buffer/service/gles2_cmd_validation.h:13:
> ../../gpu/command_buffer/common/gles2_cmd_format.h:41:26: error: typedef redefinition with different types ('khronos_intptr_t' (aka 'long') vs 'ptrdiff_t' (aka 'int'))
> typedef khronos_intptr_t GLintptr;
>                          ^
> /usr/local/include/GL/glext.h:6152:19: note: previous definition is here
> typedef ptrdiff_t GLintptr;
>                   ^
> In file included from ../../gpu/command_buffer/service/buffer_manager.cc:10:
> In file included from ../../gpu/command_buffer/service/context_state.h:14:
> In file included from ../../gpu/command_buffer/service/query_manager.h:16:
> In file included from ../../gpu/command_buffer/service/feature_info.h:14:
> In file included from ../../gpu/command_buffer/service/gles2_cmd_validation.h:13:
> ../../gpu/command_buffer/common/gles2_cmd_format.h:42:26: error: typedef redefinition with different types ('khronos_ssize_t' (aka 'long') vs 'ptrdiff_t' (aka 'int'))
> typedef khronos_ssize_t  GLsizeiptr;
>                          ^
> /usr/local/include/GL/glext.h:6153:19: note: previous definition is here
> typedef ptrdiff_t GLsizeiptr;
>                   ^
> 2 errors generated.
> [5619/13757] CXX obj/gpu/command_buffer/service/command_buffer_service.command_buffer_service.o
> ninja: build stopped: subcommand failed.
> ===> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
> the maintainer.
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/ports/www/chromium
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/ports/www/chromium

I attached some patches to fix those errors in chromium 37.0.2062.94 (beta), so
this will work with the previous release as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192685-28929-yjq7YScwvF>