From owner-freebsd-x11@FreeBSD.ORG Sat Dec 27 10:57:05 2014 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B405D498 for ; Sat, 27 Dec 2014 10:57:05 +0000 (UTC) Received: from mail-lb0-x235.google.com (mail-lb0-x235.google.com [IPv6:2a00:1450:4010:c04::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 392FC66CA3 for ; Sat, 27 Dec 2014 10:57:05 +0000 (UTC) Received: by mail-lb0-f181.google.com with SMTP id l4so9142962lbv.26 for ; Sat, 27 Dec 2014 02:57:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=OHtzyx4HyDrO57xrazHwNnbZaU5wwVdlS8fy268+YK4=; b=0UKLacvZg8bWiN0ebPtIRAtneI+baNoh2d9QELFlZZsCCH7fPY5CEepzPLgBGsX+gl 8Z2lJbEHDFFL1+s/NtF4wndauXiqBUPZvqLabQLDvrZJfF87mG99fK7XgJZftIUWOw6R O2rDw54xCZq8IL3dK4oNJuSNZV4jcXnpPr/0xksVhWTK6s7yQT8K2xOlkXSfCY7Rc9T1 txOmAiUsKw40PmOb9xJ4ScdJPzjKecfzw82QD0bT8kgucrtrELxxT+YUcW/Id4O9phFF xrlolfylKjDv5LX08qsv2/b3bAhdtZmsZ6F1k/a5BPMC1N17U8HKTZBTEAYCdmQUxKsH z5VQ== X-Received: by 10.152.19.7 with SMTP id a7mr46921084lae.16.1419677823218; Sat, 27 Dec 2014 02:57:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.199.98 with HTTP; Sat, 27 Dec 2014 02:56:23 -0800 (PST) From: =?UTF-8?B?5LmU5qWa?= Date: Sat, 27 Dec 2014 18:56:23 +0800 Message-ID: Subject: Can't build chromium-31.0.1650.63(svn-version:r339634) on FreeBSD-current To: freebsd-x11@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2014 10:57:05 -0000 hw Model: ThinkPad x240 i5 Video: Intel4400HD # uname -v FreeBSD 11.0-CURRENT #0 r276196: Thu Dec 25 16:43:49 CST 2014 # pkg info -x org gl xorg-7.7_1 libEGL-10.4.0 libGL-10.4.0 # kldstat | grep -Ei 'kms|dr' Id Refs Address Size Name 11 1 0xffffffff815f8000 25958 drm.ko 32 1 0xffffffff81860000 626ac i915kms.ko 33 1 0xffffffff818c3000 405f1 drm2.ko 44 2 0xffffffff81921000 44fb0 vboxdrv.ko # svn info /usr/ports/ ... version: 375671 ... # svn info /usr/ports/www/chromium/ ... version: 339634 ... # make -C /usr/ports/www/chromium NO_CCACHE=yes clean config build ... ../../ui/gl/gl_surface_egl.cc:292:10: error: no matching function for call to 'XGetWindowAttributes' if (!XGetWindowAttributes(GetNativeDisplay(), window_, &win_attribs)) { ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/X11/Xlib.h:2703:15: note: candidate function not viable: cannot convert argument of incomplete type 'EGLNativeDisplay Type' (aka 'void *') to 'Display *' (aka '_XDisplay *') extern Status XGetWindowAttributes( ^ 1 error generated. [797/8037] CXX obj/ui/gl/gen/ui/gl/gl.gl_bindings_autogen_gl.o ninja: build stopped: subcommand failed. *** Error code 1 Stop. make[1]: stopped in /usr/ports/www/chromium *** Error code 1 Stop. make: stopped in /usr/ports/www/chromium ... Somebody have a solution? PS: Q: Why use chromium-31.0.1650.63(svn-version:r339634)? A: After r339634, I can build and install chromium, but chromeium wil cause high CPU load.