Received: from mail-pj1-f65.google.com (mail-pj1-f65.google.com [209.85.216.65]) by mx.groups.io with SMTP id smtpd.web12.691.1594064118822714083 for ; Mon, 06 Jul 2020 12:35:18 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=m1xLuHji; spf=pass (domain: gmail.com, ip: 209.85.216.65, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f65.google.com with SMTP id k5so7877279pjg.3 for ; Mon, 06 Jul 2020 12:35:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=Qczf9e2xkNg7DkTq4HohtSaY0+4hT8b05oKv4nxeDCM=; b=m1xLuHjiNXKWEb90E4V743Q5aL0zLCYmujZcxRLjU7Nm9y/jRG8FrIgGOPqnlEC/uG CqQHEXSL0Q4S+LN76tduDvrttZcor1a9QBRTcYkXih8GZmrwf/47ZWLNppDqPZMIeD++ o/pSHmeeCINmvyepjTdM45JBUWxZW3xwIso+VPRPTEuu4OnvvWQqrHP3G130GwgCa2hh At62zJGZE3wVWNFRV19hXTstverEfbawIs9yVzBIQrqF8T4EX1sv5QKiqDiYDohnvXWt tJl15vKqEqcWwuNIgGP8XUrtTSiPRlgOevwm4N/wW1fN8ecR3K43FA1kK8b0e95xxUDL pcKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Qczf9e2xkNg7DkTq4HohtSaY0+4hT8b05oKv4nxeDCM=; b=JZIwe8rKENJTQSOKPDuqNnW6qlZSpl3cy3ZRgFIUmYlF8jqSg40JiKh3mPuFYeM/zK GiAiGMs+iuURxN5/yN11pzG8vD0SDs/Z0TaFIa0ujH103eyktEKmw7b0WqQn2Tt/g3mr T3t0x52gqpfNKNaqTuTrp+IeIZqkPYGQPqvc8iLOevbK9X1gVGYsf0eG7f2q6LLzFTRz qUcR/XxL1WlHVpgCu0S+OyiKuGjVlK27qAlOxqoFyrFiErR/8Z0QLlL05DnVG4hRXip2 A3AKbQs4PeCDLtXOCN1LhHvstGYQrUjIwbFb03wIio4SPkYLbVEvaveTtuyEOsbRCkzv 3Bxg== X-Gm-Message-State: AOAM533F3bK+eJA+w4UJ6azK082MNSk2Pr0A0Al4+zK7L0Rn7W5V73EK OBRSurl+uEJX8Q7Djoyz1NSAXNsqfQ0= X-Google-Smtp-Source: ABdhPJyfMJ+0fzDboBz6Y3KWbuQXOKUD7jS/HxdowqB0QuMycag3KZc9jdTkLhVcuP4mBnjWTHCA/w== X-Received: by 2002:a17:90a:cc:: with SMTP id v12mr664618pjd.96.1594064117910; Mon, 06 Jul 2020 12:35:17 -0700 (PDT) Return-Path: Received: from ?IPv6:2601:646:9200:4e0:61e6:5be1:19c9:154e? ([2601:646:9200:4e0:61e6:5be1:19c9:154e]) by smtp.gmail.com with ESMTPSA id i67sm18534104pfg.13.2020.07.06.12.35.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Jul 2020 12:35:17 -0700 (PDT) Subject: Re: [OE-core] [PATCH] gtk+3: fix reproducible build failure To: Ross Burton , openembedded-core@lists.openembedded.org References: <20200706115707.3180610-1-ross@burtonini.com> From: "Khem Raj" Message-ID: Date: Mon, 6 Jul 2020 12:35:15 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20200706115707.3180610-1-ross@burtonini.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit On 7/6/20 4:57 AM, Ross Burton wrote: > From: Ross Burton > > There's a build race between the use of a pre-generated file and > re-generating it again, which breaks reproducible builds. Solve the > race by deleting the shipped generated file. > > Signed-off-by: Ross Burton > --- > meta/recipes-gnome/gtk+/gtk+3.inc | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/meta/recipes-gnome/gtk+/gtk+3.inc b/meta/recipes-gnome/gtk+/gtk+3.inc > index e1ecf504a0..8d5edb7ee8 100644 > --- a/meta/recipes-gnome/gtk+/gtk+3.inc > +++ b/meta/recipes-gnome/gtk+/gtk+3.inc > @@ -1,3 +1,4 @@ > + > SUMMARY = "Multi-platform toolkit for creating GUIs" > DESCRIPTION = "GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete \ > set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites." > @@ -31,6 +32,13 @@ do_configure_prepend() { > ln -s ${TARGET_PREFIX}libtool libtool > #delete a file that will get confused with generated one in ${B} > rm -f ${S}/gtk/gtktypefuncs.c > + > + # These files are generated by wayland-scanner but will race over modification > + # time between the copies in the sysroot from wayland-protocols and the copy > + # in the source tree. Solve the race by deleting so they need to be regenerated. > + # 3.24.22 will not be shipping these files so this can be deleted then: > + # https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/2183 > + rm -f ${S}/modules/input/text-input-unstable-v3*.[ch] will touching these files will help too? > } > > EXTRA_OECONF += " \ > > > >