Received: from mail-ed1-f66.google.com (mail-ed1-f66.google.com [209.85.208.66]) by mx.groups.io with SMTP id smtpd.web12.3862.1605345846761133445 for ; Sat, 14 Nov 2020 01:24:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=s3Yiti+E; spf=pass (domain: gmail.com, ip: 209.85.208.66, mailfrom: adrian.freihofer@gmail.com) Received: by mail-ed1-f66.google.com with SMTP id b9so13607389edu.10 for ; Sat, 14 Nov 2020 01:24:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=7lU7ivpgHX590jQKW40Fx5sODWIVLEAZXwRYEsgCadc=; b=s3Yiti+EHX6+0ktH1mM5edf+xMsCj0YwiNa63elqXHFqglOGuxUBp7+6ABAWRs/owZ mJjCH1HiAOZ3FpbhcDCCNWweK8asAOwVfg+X6m8DRCJAwK4KRR3nPaXOnkMwChm3y1r3 i99iWJTD8kohj/8YsiJ1wja9w74UnWU3b6oGPepw38thO2pnLm8K31O6U5qCGa8L2IRs ZSbnOIlassnLkPRTFSVZHlvMpyQsZ/Q6TYEaFwt6qb0XAJn8u9LZtZUkF+BoyyWbDuY9 gFDzZZ69UXejVgy+wFRO+Z1kSqaOAOt7WlCA3o52HiURS2a0cuGpYGZ4EiSMFEfi8sQ7 nodw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=7lU7ivpgHX590jQKW40Fx5sODWIVLEAZXwRYEsgCadc=; b=DMpj9iqLoOEq22zcZ2Lgv++CtlN/nc57GmOL87+WgV0rNAnVaF97bntMd4xobsgSSh J8mCGJQ/PX42EJthWgXwtgJ2zhFyXHrVxsS1bApq6PY2/Czk5lotwtkFX139XunnbyqX pLYCt5d42Kk4Wm8tyUdFru8Y12X9nYYxIn+yUsMhP9Mq13vOO88CTKD9256BL72xDay/ 2VrgXfK42Ohiwlsptp2RsuINQJftcKxeXhMh9NIgoeMBqK81yL2CWPapX75M85vGczoR Wq1Q8jCN4VWscu3DXewB6CWZwYe3VUkyT0HtRehAXEjZL7DyNkQ/LvyYxR54mvM+MaGu PDfQ== X-Gm-Message-State: AOAM530G/r+elx9EDe+GQ16mVuvb6i++0kC5MraRzPCfA1iMRErAwR8m wYijjc/1SSFuPiXznll8A7Q= X-Google-Smtp-Source: ABdhPJwxNtYHUm1nV1LjJEoAK8tGakmARrmkb4x0hPi93GuAsDxKD9CmaOwlP6lUoUADv5AomfQd+w== X-Received: by 2002:a50:9e05:: with SMTP id z5mr6386987ede.231.1605345845243; Sat, 14 Nov 2020 01:24:05 -0800 (PST) Return-Path: Received: from md2ramxc.ad001.siemens.net (c-93-184-20-132.customer.ggaweb.ch. [93.184.20.132]) by smtp.gmail.com with ESMTPSA id w15sm6236466edx.37.2020.11.14.01.24.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Nov 2020 01:24:04 -0800 (PST) Message-ID: <02147df0d8b8afd481b6f87fb0a83f8c1e51e9f7.camel@gmail.com> Subject: Re: [oe] [meta-oe][PATCH] sdbus-c++-tools: fix reproducible builds From: "Adrian Freihofer" To: Khem Raj Cc: openembeded-devel , Adrian Freihofer Date: Sat, 14 Nov 2020 10:24:03 +0100 In-Reply-To: References: <20201102201848.3556515-1-adrian.freihofer@siemens.com> User-Agent: Evolution 3.36.5 (3.36.5-1.fc32) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Mon, 2020-11-02 at 12:41 -0800, Khem Raj wrote: > On Mon, Nov 2, 2020 at 12:19 PM Adrian Freihofer > wrote: > > If the reproducible build class is active the following error occurs: > > > > ERROR: sdbus-c++-tools-native-0.8.1-r0 do_unpack: Error executing a python function in exec_python_func() autogenerated: > > ...snip > > Exception: subprocess.CalledProcessError: Command '['git', 'log', '-1', '--pretty=%ct']' returned non-zero exit status 128. > > > > Remove the subpath to get git executed in the right derectory. > > > > this looks like a problem in core metadata rather, I am fine to accept > this as a workaround but I think you should bring this discussion to > oe-core Khem, you're right. Please ignore the patch. After I understood the problem in detail,I went through all patches for reproducible builds on the poky master branch. I'm sure the problem is already solved properly with Yocto 3.2. I will ask for cherry-picking the related patches to dunfell on the core mailing list. Thank you for the hint. > > > Signed-off-by: Adrian Freihofer > > --- > > meta-oe/recipes-core/sdbus-c++/sdbus-c++-tools_0.8.3.bb | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/meta-oe/recipes-core/sdbus-c++/sdbus-c++-tools_0.8.3.bb b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-tools_0.8.3.bb > > index 3b87c2265..ec720dc0c 100644 > > --- a/meta-oe/recipes-core/sdbus-c++/sdbus-c++-tools_0.8.3.bb > > +++ b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-tools_0.8.3.bb > > @@ -9,8 +9,8 @@ inherit cmake > > DEPENDS += "expat" > > > > SRCREV = "6e8e5aadb674cccea5bdd55141db5dad887fbacd" > > -SRC_URI = "git://github.com/Kistler-Group/sdbus-cpp.git;protocol=https;branch=master;subpath=tools" > > +SRC_URI = "git://github.com/Kistler-Group/sdbus-cpp.git;protocol=https;branch=master" > > > > -S = "${WORKDIR}/tools" > > +S = "${WORKDIR}/git/tools" > > > > BBCLASSEXTEND = "native nativesdk" > > -- > > 2.26.2 > > > > > > > >