From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com [209.85.215.53]) by mail.openembedded.org (Postfix) with ESMTP id 0BB586010B for ; Sun, 14 Jan 2018 20:05:31 +0000 (UTC) Received: by mail-lf0-f53.google.com with SMTP id h137so11060050lfe.8 for ; Sun, 14 Jan 2018 12:05:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=nIf5+5MzrOgRxWdq6JLuKEmCnY2p46VfP6O2a46uK6g=; b=DcFz8HAyxGCTBoNfacFGGUt8V6A6+pNwmnnLfX+MXW/4q+MsZfaSQZdbpx6qbd1X5t EOQbyBErkqVVKaSL50RTVWknw8U27H/oUid7SVp5PtPapeVgxv3nfa4XEC/pl5VzVyHZ D39p6foIHSGaZG5kktaiZUqg2Q8WkDl459iQ897wmkcvnZDL61rX/5v0zm6xqOeO6mcl POH1l1SiK6YUizq+TfiE/r5dPQBrRyR+xex77CgpoNX+PWMUxyrDor0GWAFkxhAzJmup wz1+GvYf+epnggIoX2ny3U+wI8V77bZh+jsqvfxpqe7WOpHKkqR+HMFoYhwTbTX1lmQE jB5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=nIf5+5MzrOgRxWdq6JLuKEmCnY2p46VfP6O2a46uK6g=; b=DR0BT+beVpjiAXBGNGfFGffUuDgntDcR0c3w+zc0OjvTBLwcJSd4a7XcHOVKU0g590 j7onbnH7YU8+skO9qJYPIB+brkVXCfjirgH1n9W4ZVxhImSohLeJAKulSI5SMZIgyzfi MjUrA5TibjxvWs8DjaCg8mhRrcXaf9lHPqO3DnrB2+C5je5izUbNE/EkPKTCkHAxFrU4 eBQT6/RFEr3XwfdbhcRryPw9g3Wv5m9K46/GOqI2IJpTA7kVHI9fh9eDksdro1gvfmn3 HHMtyjcnxJ2lv6os5WVL7K7O6HkXA23VcTBRI+ceUZRN/iOzkls8L9GcxOXOEa0HaIbD BM3Q== X-Gm-Message-State: AKwxytdMsavBHthPhwIqeGXkgn4WDktQP2xTDbFJ2MkmABpRerfjW/u7 bKYTn1iBXptprPvyOohofOLX+s3EHILCndyKUCU= X-Google-Smtp-Source: ACJfBos6JN4wA1xPAejJbAvI0bGEprjV8QdwCY88qQjLxBlRv5MwQMwzR6dQi4caTa07Woait5fD1Gbbbfb06VieEvM= X-Received: by 10.25.208.146 with SMTP id h140mr15033065lfg.29.1515960332511; Sun, 14 Jan 2018 12:05:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.79.23 with HTTP; Sun, 14 Jan 2018 12:05:31 -0800 (PST) In-Reply-To: <649D7563-3FDB-40A1-A166-7DFA9E706B0D@googlemail.com> References: <649D7563-3FDB-40A1-A166-7DFA9E706B0D@googlemail.com> From: Trevor Woerner Date: Sun, 14 Jan 2018 15:05:31 -0500 Message-ID: To: Mathias Rudnik Cc: Patches and discussions about the oe-core layer Subject: Re: Error do_compile libepoxy X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jan 2018 20:05:32 -0000 Content-Type: multipart/alternative; boundary="001a1140097c1cf0760562c205e9" --001a1140097c1cf0760562c205e9 Content-Type: text/plain; charset="UTF-8" On Thu, Jan 11, 2018 at 2:18 PM, Mathias Rudnik < rudnik.mathias@googlemail.com> wrote: > Hello, > > I am trying to build libepoxy but the do_compile tasks breaks. > I found following error messages in the logs: > > arm-poky-linux-gnueabi-gcc -march=armv6 -mfpu=vfp -mfloat-abi=hard > -mtune=arm1176jzf-s -mfpu=vfp --sysroot=/hdd_gold1/mathias/ > git/poky/rpi-build/tmp/work/arm1176jzfshf-vfp-poky-linux- > gnueabi/libepoxy/1.4.3-r0/recipe-sysroot '-Itest/egl_common@sta' '-Itest' > '-Iinclude/epoxy' '-I../libepoxy-1.4.3/test' '-Iinclude' > '-I../libepoxy-1.4.3/include' '-Isrc' '-I../libepoxy-1.4.3/src' > '-fdiagnostics-color=always' '-pipe' '-D_FILE_OFFSET_BITS=64' '-Wall' > '-Winvalid-pch' '-std=gnu99' '-O2' '-g' '-O2' '-g' > '-feliminate-unused-debug-types' '-fdebug-prefix-map=/hdd_ > gold1/mathias/git/poky/rpi-build/tmp/work/arm1176jzfshf- > vfp-poky-linux-gnueabi/libepoxy/1.4.3-r0=/usr/src/debug/libepoxy/1.4.3-r0' > '-fdebug-prefix-map=/hdd_gold1/mathias/git/poky/rpi- > build/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/ > libepoxy/1.4.3-r0/recipe-sysroot-native=' '-fdebug-prefix-map=/hdd_ > gold1/mathias/git/poky/rpi-build/tmp/work/arm1176jzfshf- > vfp-poky-linux-gnueabi/libepoxy/1.4.3-r0/recipe-sysroot=' '-lEGL' '-fPIC' > ' > -Wpointer-arith' '-Wmissing-declarations' '-Wformat=2' > '-Wstrict-prototypes' '-Wmissing-prototypes' '-Wnested-externs' > '-Wbad-function-cast' '-Wold-style-definition' '-Wdeclaration-after-statement' > '-Wunused' '-Wuninitialized' '-Wshadow' '-Wmissing-noreturn' > '-Wmissing-format-attribute' '-Wredundant-decls' '-Wlogical-op' > '-Werror=implicit' '-Werror=nonnull' '-Werror=init-self' '-Werror=main' > '-Werror=missing-braces' '-Werror=sequence-point' '-Werror=return-type' > '-Werror=trigraphs' '-Werror=array-bounds' '-Werror=write-strings' > '-Werror=address' '-Werror=int-to-pointer-cast' > '-Werror=pointer-to-int-cast' '-fno-strict-aliasing' '-Wno-int-conversion' > '-MMD' '-MQ' 'test/egl_common@sta/egl_common.c.o' '-MF' > 'test/egl_common@sta/egl_common.c.o.d' -o 'test/egl_common@sta/egl_common.c.o' > -c ../libepoxy-1.4.3/test/egl_common.c > ../libepoxy-1.4.3/test/egl_common.c: In function > 'get_egl_display_or_skip': > ../libepoxy-1.4.3/test/egl_common.c:36:5: error: unknown type name > 'Display'; did you mean 'EGLDisplay'? > Display *dpy = XOpenDisplay(NULL); > ^~~~~~~ > EGLDisplay > ../libepoxy-1.4.3/test/egl_common.c:36:20: error: implicit declaration of > function 'XOpenDisplay'; did you mean 'eglGetDisplay'? > [-Werror=implicit-function-declaration] > Display *dpy = XOpenDisplay(NULL); > ^~~~~~~~~~~~ > eglGetDisplay > ../libepoxy-1.4.3/test/egl_common.c:36:20: warning: nested extern > declaration of 'XOpenDisplay' [-Wnested-externs] > cc1: some warnings being treated as errors > > Does anybody know what i am doing wrong? > I've been seeing the same failure for the last 10 days or so on my nightly rpi3-32 builds. A quick, superficial, glance at the problem looks like a code issue; I'm guessing a missing "#include ". If I find some time I'll take a stab at it. --001a1140097c1cf0760562c205e9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On T= hu, Jan 11, 2018 at 2:18 PM, Mathias Rudnik <rudnik.mathias@= googlemail.com> wrote:
Hello,

I am trying to build libepoxy but the do_compile tasks breaks.
I found following error messages in the logs:

arm-poky-linux-gnueabi-gcc -march=3Darmv6 -mfpu=3Dvfp -mfloat-abi=3Dhard -m= tune=3Darm1176jzf-s -mfpu=3Dvfp --sysroot=3D/hdd_gold1/mathias/git/pok= y/rpi-build/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/libepox= y/1.4.3-r0/recipe-sysroot '-Itest/egl_common@sta' '-Itest&= #39; '-Iinclude/epoxy' '-I../libepoxy-1.4.3/test' '-Iin= clude' '-I../libepoxy-1.4.3/include' '-Isrc' '-I../= libepoxy-1.4.3/src' '-fdiagnostics-color=3Dalways' '-pipe&#= 39; '-D_FILE_OFFSET_BITS=3D64' '-Wall' '-Winvalid-pch&#= 39; '-std=3Dgnu99' '-O2' '-g' '-O2' '-g= ' '-feliminate-unused-debug-types' '-fdebug-prefix-map= =3D/hdd_gold1/mathias/git/poky/rpi-build/tmp/work/arm1176jzfshf-<= wbr>vfp-poky-linux-gnueabi/libepoxy/1.4.3-r0=3D/usr/src/debug/lib= epoxy/1.4.3-r0' '-fdebug-prefix-map=3D/hdd_gold1/mathias/git/p= oky/rpi-build/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/= libepoxy/1.4.3-r0/recipe-sysroot-native=3D' '-fdebug-prefix-ma= p=3D/hdd_gold1/mathias/git/poky/rpi-build/tmp/work/arm1176jzfshf-= vfp-poky-linux-gnueabi/libepoxy/1.4.3-r0/recipe-sysroot=3D&#= 39; '-lEGL' '-fPIC' '
=C2=A0-Wpointer-arith' '-Wmissing-declarations' '-Wformat= =3D2' '-Wstrict-prototypes' '-Wmissing-prototypes' '= ;-Wnested-externs' '-Wbad-function-cast' '-Wold-style-defin= ition' '-Wdeclaration-after-statement' '-Wunused' = '-Wuninitialized' '-Wshadow' '-Wmissing-noreturn' &= #39;-Wmissing-format-attribute' '-Wredundant-decls' '-Wlogi= cal-op' '-Werror=3Dimplicit' '-Werror=3Dnonnull' '-= Werror=3Dinit-self' '-Werror=3Dmain' '-Werror=3Dmissing-bra= ces' '-Werror=3Dsequence-point' '-Werror=3Dreturn-type'= '-Werror=3Dtrigraphs' '-Werror=3Darray-bounds' '-Werro= r=3Dwrite-strings' '-Werror=3Daddress' '-Werror=3Dint-to-po= inter-cast' '-Werror=3Dpointer-to-int-cast' '-fno-strict-al= iasing' '-Wno-int-conversion' '-MMD' '-MQ' '= ;test/egl_common@sta/egl_common.c.o' '-MF' 'test/egl_c= ommon@sta/egl_common.c.o.d' -o 'test/egl_common@sta/egl_c= ommon.c.o' -c ../libepoxy-1.4.3/test/egl_common.c
../libepoxy-1.4.3/test/egl_common.c: In function 'get_egl_display_= or_skip':
../libepoxy-1.4.3/test/egl_common.c:36:5: error: unknown type name = 9;Display'; did you mean 'EGLDisplay'?
=C2=A0 =C2=A0 =C2=A0Display *dpy =3D XOpenDisplay(NULL);
=C2=A0 =C2=A0 =C2=A0^~~~~~~
=C2=A0 =C2=A0 =C2=A0EGLDisplay
../libepoxy-1.4.3/test/egl_common.c:36:20: error: implicit declaration= of function 'XOpenDisplay'; did you mean 'eglGetDisplay'? = [-Werror=3Dimplicit-function-declaration]
=C2=A0 =C2=A0 =C2=A0Display *dpy =3D XOpenDisplay(NULL);
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~~= ~~~~~~~
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 eglGe= tDisplay
../libepoxy-1.4.3/test/egl_common.c:36:20: warning: nested extern decl= aration of 'XOpenDisplay' [-Wnested-externs]
cc1: some warnings being treated as errors

Does anybody know what i am doing wrong?


= I've been seeing the same failure for the last 10 days or so on my nigh= tly rpi3-32 builds.

A quick, superficial, glance at the p= roblem looks like a code issue; I'm guessing a missing "#include &= lt;X11/Xlib.h>". If I find some time I'll take a stab at it.
--001a1140097c1cf0760562c205e9--