Return-Path: Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) by mail.openembedded.org (Postfix) with ESMTP id 160E47F9A6 for ; Sun, 27 Oct 2019 22:55:42 +0000 (UTC) Received: by mail-pg1-f173.google.com with SMTP id c8so5363656pgb.2 for ; Sun, 27 Oct 2019 15:55:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=RoLOSGYYU2bVGbn5Ta2YjQsloKjBxQFyyZXMgYSBy90=; b=KVZM5R8SuezgpoV2Ch2NC/yzRr7SE5Kiy6brd8iy7aZnzW+OqFz31PZRxuCmCGi8Kn vzoTgRg/JM/PG0hHEwppo70wKE3YsLB511lsJwOSjykl0T8OyomrRig2ya+Hvbi63H5n 44QrNQfNDkZfVKSxfsxKYEKAqI+vZ3UxUz2m/Q523ELqDppMTScP81msawlTtfTKFohw B0QxYvlLga/NcMPrQFm6pTrAIq3Xy5hrPQKxXGkI6tAZpL2j+DZbF5Re5qTkngwHeNcd xo6tozrGLHxfYWnqD/Mjdazl9VmN4X0RkLhZYmUOFcI5V08jZX24/BBU/Nm/OeUGmDua 6GkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language; bh=RoLOSGYYU2bVGbn5Ta2YjQsloKjBxQFyyZXMgYSBy90=; b=gey24UgiyZvwWMMMHypcdSh6iN0P30ozX8Q+0F7djvPcepMvu3Laj8BGZinKp3jTPw w0klN6muSfZ/QcWQ876A1fu3Gy3Db7Owie+K2vRg+HFTflaHqsDnMi7gPjVdG22mUtGS Hj4yuRxOsiEM7sdIsizmD2ngW7/y3EDDfLL2D+1xS2nZ2Fyzm66M/0Cx/67/mFFms/D4 MKZP56gei7GbMq3DSmZBQYVcZqocQUGc7qv7Yi9FGwkd88VYpHvKOp54BV7rrnPRPlu6 eSwsxFFI2nhJsksZG7pdiDd+JcE/fnwq0QJomoQ7UZz+7hMA6TUaegjNryAUYEkSdU1t S9Zw== X-Gm-Message-State: APjAAAUblbc3Z7iucZhyZ36uHrM3rNH5xCGnkeHOEtGxkYOD2Sh59azS ewwsPy+jEVEHK9AllHpOMTI1IwBJOoE= X-Google-Smtp-Source: APXvYqzZ1S8Kl454sYqEWfmRgtdebx1D1J2RAuklsz3xulXnknu89icQ/dZZXFsIE5NjQhzGp+iwEA== X-Received: by 2002:a63:4b54:: with SMTP id k20mr17836192pgl.70.1572216943830; Sun, 27 Oct 2019 15:55:43 -0700 (PDT) Received: from [10.192.11.162] ([178.18.58.186]) by smtp.gmail.com with ESMTPSA id v3sm533365pfn.171.2019.10.27.15.55.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Oct 2019 15:55:43 -0700 (PDT) To: Khem Raj , Richard Purdie References: <52271207-9556-e9cb-667b-0b2d9916a0d1@gmail.com> <2bf2e46efd847d3771fa62f0cfe9cc508f0b4c2d.camel@linuxfoundation.org> From: akuster808 Openpgp: preference=signencrypt Autocrypt: addr=akuster808@gmail.com; prefer-encrypt=mutual; keydata= mQINBFnlUP4BEADpKf+FQdLykenQXKk8i6xJNxDow+ypFeVAy8iFJp7Dsev+BtwUFo8VG7hx Jmd71vHMw+coBetWC3lk+IKjX815Ox0puYXQVRRtI+yMCgd6ib3oGxoQ8tCMwhf9c9/aKjaz mP97lWgGHbiEVsDpjzmMZGlJ6pDVZzxykkJExKaosE46AcA8KvfhRQg5zRyYBtinzs8Zu8AP aquZVHNXxPwjKPaSEEYqQjFeiNgFTavV+AhM2dmPmGUWCX9RZisrqA4slGwEB0srMdFf12Zg mD35Y9jZ80qpu5LPtJCFcsaAlebqR+dg36pIpiRR+olhN1wmC6LYP1vw6uMEYBjkTa2Rnb6+ C4FDzCJD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B9k2lPrpspyf6sUuSEi0WrlSxoLAr6p JG8rTUErYNeXe6JCdL31odDx1Dh5sdKIj2RicUYZNilxu9f1M7jZwf2ra1FGAlKj2ybqmgpZ EFteaiCinEYsvDyZyOiWHjAFI+RZIPQQL3AnVp4l7wYD3r9hnqYPww0slyMDcb9262RoFkHq dDwxPYarrNjWUpOzxB6bFxOgNRdCTgvQl8Ftk8a/yXB6vHeUSm1vPFCBxQPZytyfOLhEWm0J /mkVL0Z6iRK3p1LKnpLYCS4/esL2u7RrhPyCs2SsL58YcQF/g+PpeT9geZ+oyZ/4IQ+TWJoU PNHndk8VBTpzrmOaJxrebNL/W6C8JCmbLM11TAUMmHYi9JDytN8Au78hWpDbIdKwg1LeSxpw ZZD/OqOc0DBvHOpQhzkSrtR1lVlDV/+9E8J1T4uDhrGmZwYV+4xQetypHax8aAHisYbjXdVa 8CS2NxU= Message-ID: Date: Sun, 27 Oct 2019 15:55:40 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Cc: openembedded-core Subject: Re: qemu rebuild contamination 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, 27 Oct 2019 22:55:43 -0000 Content-Type: multipart/alternative; boundary="------------F039641696559F32B63AD78E" Content-Language: en-US --------------F039641696559F32B63AD78E Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/27/19 12:26 PM, Khem Raj wrote: > > > On Sun, Oct 27, 2019 at 7:19 PM Richard Purdie > > wrote: > > On Sun, 2019-10-27 at 07:56 -0700, akuster808 wrote: > > > > On 10/27/19 2:57 AM, Richard Purdie wrote: > > > I've been trying to figure out why we get a weird build failure= > > > with > > > hash equivalence enabled. Armin has also been searching for an = odd > > > issue with warrior and the qemu tests. I may have a lead. > > > > > > If you build a standard qemu: > > > > > > "bitbake qemu-system-native" > > > > > > and save off the resulting qemu-system-XXX binaries, then add: > > > > > > PACKAGECONFIG_append_pn-qemu-system-native =3D " gtk+" > > > PACKAGECONFIG_append_pn-qemu-system-native =3D " virglrenderer"= > > > PACKAGECONFIG_append_pn-qemu-system-native =3D " glx" > > > > > > to local.conf, then: > > > > > > "bitbake qemu-system-native" > > > > > > it rebuilds as expected, save off the qemu-system-XXX binaries,= > > > > > > then remove the local.conf entries and: > > > > > > "bitbake qemu-system-native -c configure -f" > > > "bitbake qemu-system-native" > > > > > > then save off the resulting qemu-system-XXX binaries, you'll fi= nd > > > that > > > whilst these first and last sets should match, they don't. Its > > > obvious > > > with "ldd qemu-system-x86_64" that the linked libraries persist= > > > from > > > the second to third set when they should not. > > > > > > The reason is that when configuration changes, autotools.bbclas= s > > > will > > > wipe out ${B} however qemu doesn't use the autotools class and > > > hence B > > > is not cleaned for changes in configuration. > > > > > > We could abstract the pieces of autotools.bbclass which do this= > > > into a > > > separate class, or, easier, have qemu's do_configure wipe ${B}.= > > > > > > Armin: This may be the issue you're searching for with warrior?= > > You mean the virgl failure? I did set the native packconfig to ma= ke > > the > > selftest and that had no affect. In facted, Zeus has the same > > mismatch. > > Alex's patches I believe align them to match. > > > > The virgl failure is fixed using an updated version of libdrm. I > > thought I sent an email about that. > > I'm travelling so a little out of sync, I see the email now. I thin= k I > managed to hit the rebuild issue when I tried to debug it which is = why > it seemed related to me. > > For the libdrm issue in warrior, we could: > > a) Break policy and upgrade libdrm > b) Just upgrade libdrm-native and nativesdk > c) Mark f30 as broken in warrior for qemugl and not expected to wor= k. > errrr, Looking at the test report for 2.7.1, this failed back then too so saying it does not work is fine. https://autobuilder.yocto.io/pub/releases/yocto-2.7.1.rc1/testresults/oe-= selftest-fedora/testresults.json -armin > > > Any thougts? > > > I support c ad well but I think there is some hope to identify a fix > that can be backported=C2=A0 > > > > I'm tempted by c). > > Cheers, > > Richard > > --=20 > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > > http://lists.openembedded.org/mailman/listinfo/openembedded-core > --------------F039641696559F32B63AD78E Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

On 10/27/19 12:26 PM, Khem Raj wrote:


On Sun, Oct 27, 2019 at 7:19 PM Richard Purdie <richard.purdie@linuxfoundation.org> wrote:
On Sun, 2019-10-27 at 07:56 -0700, akuster808 wrote:
>
> On 10/27/19 2:57 AM, Richard Purdie wrote:
> > I've been trying to figure out why we get a weird build failure
> > with
> > hash equivalence enabled. Armin has also been searching for an odd
> > issue with warrior and the qemu tests. I may have a lead.
> >
> > If you build a standard qemu:
> >
> > "bitbake qemu-system-native"
> >
> > and save off the resulting qemu-system-XXX binaries, then add:
> >
> > PACKAGECONFIG_append_pn-qemu-system-native = " gtk+"
> > PACKAGECONFIG_append_pn-qemu-system-native = " virglrenderer"
> > PACKAGECONFIG_append_pn-qemu-system-native = " glx"
> >
> > to local.conf, then:
> >
> > "bitbake qemu-system-native"
> >
> > it rebuilds as expected, save off the qemu-system-XXX binaries,
> >
> > then remove the local.conf entries and:
> >
> > "bitbake qemu-system-native -c configure -f"
> > "bitbake qemu-system-native"
> >
> > then save off the resulting qemu-system-XXX binaries, you'll find
> > that
> > whilst these first and last sets should match, they don't. Its
> > obvious
> > with "ldd qemu-system-x86_64" that the linked libraries persist
> > from
> > the second to third set when they should not.
> >
> > The reason is that when configuration changes, autotools.bbclass
> > will
> > wipe out ${B} however qemu doesn't use the autotools class and
> > hence B
> > is not cleaned for changes in configuration.
> >
> > We could abstract the pieces of autotools.bbclass which do this
> > into a
> > separate class, or, easier, have qemu's do_configure wipe ${B}.
> >
> > Armin: This may be the issue you're searching for with warrior?
> You mean the virgl failure? I did set the native packconfig to make
> the
> selftest and that had no affect. In facted, Zeus has the same
> mismatch.
> Alex's patches I believe align them to match.
>
> The virgl failure is fixed using an updated version of libdrm. I
> thought I sent an email about that.

I'm travelling so a little out of sync, I see the email now. I think I
managed to hit the rebuild issue when I tried to debug it which is why
it seemed related to me.

For the libdrm issue in warrior, we could:

a) Break policy and upgrade libdrm
b) Just upgrade libdrm-native and nativesdk
c) Mark f30 as broken in warrior for qemugl and not expected to work.
errrr, Looking at the test report for 2.7.1, this failed back then too so saying it does not work is fine.

https://autobuilder.yocto.io/pub/releases/yocto-2.7.1.rc1/testresults/oe-selftest-fedora/testresults.json

-armin

Any thougts?

I support c ad well but I think there is some hope to identify a fix that can be backported 


I'm tempted by c).

Cheers,

Richard

--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

--------------F039641696559F32B63AD78E--