Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id 988327D242 for ; Thu, 11 Apr 2019 13:10:56 +0000 (UTC) Received: from ALA-HCB.corp.ad.wrs.com ([147.11.189.41]) by mail.windriver.com (8.15.2/8.15.1) with ESMTPS id x3BDAt0m015251 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 11 Apr 2019 06:10:55 -0700 (PDT) Received: from [172.25.59.211] (172.25.59.211) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.439.0; Thu, 11 Apr 2019 06:10:49 -0700 To: Alexander Kanavin References: <20190410215402.20055-1-jason.wessel@windriver.com> From: Jason Wessel Openpgp: preference=signencrypt Autocrypt: addr=jason.wessel@windriver.com; prefer-encrypt=mutual; keydata= mQINBE6LHBwBEADQgIbQdc3A/EOUUEYwEA+jKDtKD6gzqSY2FzzYxqZk+0XP9M/jfxRuXdiG hPKcN+EI0mRJZVkUMTTHN5/5emcMZ2yy+EikdvgQYjQxia7u0THBpzZHgImDiMNUCEeoLWg3 m8m9DNv5RAdtJ/DRCyb3rpaIMC8bPRHXeEpK5getwVM5/NnrmZjak27PyZ4VAluVrcH8dwwr tG4UBQK6Lk1LVE6TQpfMTzxrT9Q8iWw2xKvTaOlZpoBQyIG58c8eaZ4/LAJmGzW+C/pXwKMe LqXnU8ovDjDjPIEcaTBsfoqlWaPjeNI/AqPd/CSzhE8Az9fuH4GO7wS8K5YdVB5Op2SoFnqp icg6g/wMoyigYigsNq7EcDd8B8FYVIlqe+aElIh8/J6kETnA4gDmOwbTHCH4e9rYIK+R1sAq YcsWfSaM/sHrOCo3J/4Fk5vDBhNamzN0gjXlAUVo7+DxexCyMFYL1K3wn0urts3yoC4FUFNJ HwSrM7mnCbIqG4CQP8Q3w5WV6kaKLMSN12O7hvyPMh0w+d0xwpZMk7KWJ0pq4Whs7ZskJK/G qT/HhI/bhTesu33cveC0kmRdbo36PV/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X0KNjbTcwrAQ9i1ZvG5w9kCNDoRE0zsfGF9d J8Ga/ap4OofaGsm7jEjDgNU5kBItHU4XCvYoHqXJvdn1mQ+KATKj1svdmlh6Eq65vm7G9+R+ RyUwK5WxIDGOBWWzxHavVbKwZcYv+ocgIsYXJA05PXXvEzCk0oexBvpRip2CO/Qv9KIS+FiI ig4= Message-ID: <3e65af20-d2ad-603a-d121-a5982c0ae69e@windriver.com> Date: Thu, 11 Apr 2019 08:10:48 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Cc: OE-core Subject: Re: [PATCH] gobject-introspection.bbclass: Disable writing to $HOME/.cache/g-ir-scanner 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: Thu, 11 Apr 2019 13:10:56 -0000 Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit Please understand I have no idea how gdk-pixbuf-native is supposed to compile. Perhaps you can elaborate further as to why g-ir-scanner cannot be called in this case. I did not observe any obvious way that the g-ir-scanner was explicitly disabled for the build of the -native package with in the do_configure stage. Looking at the log files from the compilation phase it appears to use meson as the build tool. The compile log file indicates that it is using the pkg-config tool to find g-ir-scanner and subsequently use it. Log file: x86_64-linux/gdk-pixbuf-native/2.38.0-r0/build/meson-logs/meson-log.txt === Called `/poky/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.38.0-r0/recipe-sysroot-native/usr/bin/pkg-config-native --variable=g_ir_scanner gobject-introspection-1.0` -> 0 /poky/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.38.0-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/bin/g-ir-scanner Got pkgconfig variable g_ir_scanner : /poky/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.38.0-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/bin/g-ir-scanner === Jason. On 4/11/19 6:14 AM, Alexander Kanavin wrote: > gdk-pixbuf-native should not be running g-ir-scanner at all, as we > explicitly disable this for native builds. Can you please look into > why it is happening, because the patch is really treating the symptom > rather than the problem. > > Alex > > On Wed, 10 Apr 2019 at 23:54, Jason Wessel wrote: >> >> Investigation of an end user going over their quota in the user's home >> directory showed that the gobject-instrospection is writing files into >> the ~/.cache/g-ir-scanner when building -native packages. The test >> package in this case was gdk-pixbuf-native. >> >> Setting the GI_SCANNER_DISABLE_CACHE in the bbclass should be all that >> is needed. The qemu wrapper was already setting this properly, but we >> also need it for the -native builds. >> >> meta/recipes-gnome/gobject-introspection/gobject-introspection_1.58.3.bb:131: >> export GI_SCANNER_DISABLE_CACHE=1 >> >> Signed-off-by: Jason Wessel >> --- >> meta/classes/gobject-introspection.bbclass | 3 +++ >> 1 file changed, 3 insertions(+) >> >> diff --git a/meta/classes/gobject-introspection.bbclass b/meta/classes/gobject-introspection.bbclass >> index 4ceb0c68b1..359620fba7 100644 >> --- a/meta/classes/gobject-introspection.bbclass >> +++ b/meta/classes/gobject-introspection.bbclass >> @@ -27,6 +27,9 @@ DEPENDS_append_class-nativesdk = " gobject-introspection-native" >> # This is used by introspection tools to find .gir includes >> export XDG_DATA_DIRS = "${STAGING_DATADIR}:${STAGING_LIBDIR}" >> >> +# Disable writing to $HOME/.cache/g-ir-scanner >> +export GI_SCANNER_DISABLE_CACHE = "1" >> + >> do_configure_prepend_class-target () { >> # introspection.m4 pre-packaged with upstream tarballs does not yet >> # have our fixes >> -- >> 2.17.1 >> >> -- >> _______________________________________________ >> Openembedded-core mailing list >> Openembedded-core@lists.openembedded.org >> http://lists.openembedded.org/mailman/listinfo/openembedded-core