Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by mx.groups.io with SMTP id smtpd.web10.55975.1594036634516942758 for ; Mon, 06 Jul 2020 04:57:14 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@burtonini-com.20150623.gappssmtp.com header.s=20150623 header.b=fbt7uLhJ; spf=pass (domain: burtonini.com, ip: 209.85.128.67, mailfrom: ross@burtonini.com) Received: by mail-wm1-f67.google.com with SMTP id w3so29183566wmi.4 for ; Mon, 06 Jul 2020 04:57:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burtonini-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=E69bHbEsJihMbEZ3CWtIssaEIowdHi/LYAchKQQlgp8=; b=fbt7uLhJD/A3kIJgosxMYT1xrekL3h2FRcOh/fFC46EIQWVtPVE8a9JtCZ/Ubt9U08 G4jd+JZkeiRoO23QB0JYJiKkOucp77pOXd4Kqvnl3iA4DhalU7Gxn8JSuRf46NGUDt7W lK//hSZa4cHM7fW3jZHwsT2i1POxUiCoksrXRnNylUN9Tcc0yAkpkX7Uz23iIBOw/tGT E/z/P1+Jq9Z6MdqVhOqU9Z0SCyUYj5/SaveGVpPuogg+T6h+qj2iAKsvdWttAP5MqCXm 1mm0dYlCOHF6BbWbkBc5uTQVjayPYiJunZzjSQ2XvqdPRH3SUIV0Yg+2l86g0wcZ/ToR VM7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=E69bHbEsJihMbEZ3CWtIssaEIowdHi/LYAchKQQlgp8=; b=hrcid7mLt9toT+hxiJ5j9r9MriYzPFQyz7kZ+yg0a1n58rRDyJUuuDSFUyMengdktb PH8ofcNnf0dLbbCfteD7PcMjuNWnpjMHMcEVmY0lOVv6l6+3AUEAe+dSsghIPM8XxxDz yeOF26XU/qx9dEfpWI11EaO0Mi1i/JVGqSxiGSArQs0zp9RLAYN9UpwImy/Elw1czsH3 Jxfphoe0qpx1+hPmYAMjbkAbroOXUltvfbrgJYCepDjbHAC7QwQt1n9mbrKmuNEiZL5d ZvpuovRQl98+nmhQC+LQOOOBdgKLi+0y/l+FhUmZekpUpFJVR8CWk1MQp90MITTJT+pH z8cA== X-Gm-Message-State: AOAM533TNYmiJN1w3KDo5LKbgx5zPMYP+v/S/mIUIka7xVHKK3qf+QUN 2rzhtVR0D6qu8NmzcyFTEumrsr1AcCnEmA== X-Google-Smtp-Source: ABdhPJwNYG17LbgpHl4E/pTK64mzJUynUcQv7mZSyhFwTfTAKugUqkvsHTSzu1iIvIDbWHG3yDKgaw== X-Received: by 2002:a1c:544f:: with SMTP id p15mr47377467wmi.84.1594036632440; Mon, 06 Jul 2020 04:57:12 -0700 (PDT) Return-Path: Received: from rossb-vm.manchester.arm.com ([213.86.15.71]) by smtp.gmail.com with ESMTPSA id w17sm26059553wra.42.2020.07.06.04.57.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jul 2020 04:57:11 -0700 (PDT) From: "Ross Burton" To: openembedded-core@lists.openembedded.org Subject: [PATCH] gtk+3: fix reproducible build failure Date: Mon, 6 Jul 2020 12:57:07 +0100 Message-Id: <20200706115707.3180610-1-ross@burtonini.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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] } EXTRA_OECONF += " \ -- 2.26.2