From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6560976852049985536 X-Received: by 2002:aa7:c0cd:: with SMTP id j13-v6mr5182129edp.12.1527596463090; Tue, 29 May 2018 05:21:03 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:aa7:d68a:: with SMTP id d10-v6ls5134789edr.8.gmail; Tue, 29 May 2018 05:21:02 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpL62e09GfFv7tdwNRTDsttgFc9vXZgmzSu84ZLRLBrZpjid9Y8a325Xn9+QEGBnTTBOyhc X-Received: by 2002:a50:a8e3:: with SMTP id k90-v6mr4007673edc.10.1527596462684; Tue, 29 May 2018 05:21:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527596462; cv=none; d=google.com; s=arc-20160816; b=f9aDztciUNL+pR+ikf4O/NAOBGHxSOs8P9+UD4yWXRM2qyOFUV7PnctcXtc/foYo2S OmYpQbCZ/sYG5rmB19pMHHUgx26waxBRflXtedmceRMzoe8/a9BXCtrGt/WJc1ygwXnT bEkgJ46TkjjtYcDwDSawez+H/aL3dyJm3/3MgGdNrRhz8dfb/gZDdKL0Vv5LGxNHlTOv WadM2LGae+HOVpmMnfm7cetVweuX5QW6BdjstrhPja8xA3pxiwDKKg8Fo4jI8nqXjyk1 AfKeSr8Q9dnI+UL++V5MmqZcNyk3XHxUMMuA+QEveo20TtnokAq/iRLZcuX74UROd2cC hHtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:content-transfer-encoding:mime-version:user-agent :date:message-id:subject:from:to:arc-authentication-results; bh=N3Wp/jOnWLTZx7xulyh4DbvWTdexCyLa4viIQ72SppI=; b=D9EzVCTQI8vB6Hed+JVNJoycAe67iqBQzV8SWjIotDVmdCWTSxCQrr50msGkh/4eJF dnZjVoTqivynHGfywP5dRXL5NEfABsrISIFpm94qM7CfCdDFyIMAcjKraaLGfWcr2tXz /keVG7QC1j+zyRY0gxJg3/N87XyHVwmUQ9sJ/cIqAMUmVQiNnbY/XhrI9Ry3mdizguME 1UBk0ajAg7MmhJEu7qRExCYyrG4q1JYxemFCPHim+hFdq9Xcn5aYazSaNmi9cXPX0IEt 7nVRV0nGQScmliZiX9QAJGY34vFWyxPHCjYDfbU5ieVRhcLQ5PgJVrwDdGhc4lmB5bFy GM1g== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of fdprnd@dave.eu designates 185.100.109.150 as permitted sender) smtp.mailfrom=fdprnd@dave.eu Return-Path: Received: from mx.dave-tech.it (mx.dave-tech.it. [185.100.109.150]) by gmr-mx.google.com with ESMTP id z2-v6si1162935edq.2.2018.05.29.05.21.02 for ; Tue, 29 May 2018 05:21:02 -0700 (PDT) Received-SPF: pass (google.com: domain of fdprnd@dave.eu designates 185.100.109.150 as permitted sender) client-ip=185.100.109.150; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of fdprnd@dave.eu designates 185.100.109.150 as permitted sender) smtp.mailfrom=fdprnd@dave.eu Received: from [127.0.0.1] (unknown [192.168.0.115]) by mx.dave-tech.it (Postfix) with ESMTPS id 2F4091B for ; Tue, 29 May 2018 14:21:02 +0200 (CEST) To: isar-users@googlegroups.com From: Francesco Subject: Building .deb package from sources fails Message-ID: <972b546e-0467-53da-658d-21efd95061d3@dave.eu> Date: Tue, 29 May 2018 14:21:02 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-TUID: hayZ4UV68P2f Hello everyone, I'm trying to build the .deb package from the sources of this repository: https://github.com/codeauroraforum/imx-kobs This is what I have done looking at your helloworld example: recipe imx-kobs_5.5.bb: # # This software is a part of ISAR. # Copyright (C) 2015-2018 ilbers GmbH DESCRIPTION = "imx-kobs" LICENSE = "gpl-2.0" PN = "imx-kobs" PV = "5.5" SRC_URI = "git://github.com/codeauroraforum/imx-kobs.git;protocol=https;destsuffix=${P}" SRC_URI[md5sum] = "07a9c2114bd73fe3b6491118cbb0eef3" SRCREV = "c70685de47cfb67c5e16e1631b7033023ca3e97c" inherit dpkg When I compile the package using bitbake I'm getting this: dave@beleriand /mnt/elbe/Isar/isar/build $ bitbake multiconfig:lynx-config:imx-kobs Parsing recipes: 100% |##############################################################################################################################################| Time: 0:00:00Parsing of 9 .bb files complete (0 cached, 9 parsed). 99 targets, 0 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies NOTE: Resolving any missing task queue dependencies NOTE: Resolving any missing task queue dependencies NOTE: Resolving any missing task queue dependencies NOTE: Resolving any missing task queue dependencies NOTE: Resolving any missing task queue dependencies NOTE: Resolving any missing task queue dependencies NOTE: Resolving any missing task queue dependencies NOTE: Resolving any missing task queue dependencies NOTE: Resolving any missing task queue dependencies NOTE: Resolving any missing task queue dependencies Initialising tasks: 100% |###########################################################################################################################################| Time: 0:00:00NOTE: Executing RunQueue Tasks ERROR: mc:lynx-config:imx-kobs-5.5-r0 do_build: Function failed: do_build (log file is located at /mnt/elbe/Isar/isar/build/tmp/work/lynx-armhf/imx-kobs-5.5-r0/temp/log.do_build.17528) ERROR: Logfile of failure stored in: /mnt/elbe/Isar/isar/build/tmp/work/lynx-armhf/imx-kobs-5.5-r0/temp/log.do_build.17528 Log data follows: | DEBUG: Executing shell function do_build | /build.sh: line 10: cd: /home/builder/imx-kobs//mnt/elbe/Isar/isar/build/tmp/work/lynx-armhf/imx-kobs-5.5-r0/imx-kobs-5.5: No such file or directory | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_build (log file is located at /mnt/elbe/Isar/isar/build/tmp/work/lynx-armhf/imx-kobs-5.5-r0/temp/log.do_build.17528) ERROR: Task (multiconfig:lynx-config:/mnt/elbe/Isar/isar/meta-dave/recipes-devtools/kobs-ng/kobs-imx-5.5.bb:do_build) failed with exit code '1' NOTE: Tasks Summary: Attempted 11 tasks of which 0 didn't need to be rerun and 1 failed. Summary: 1 task failed: multiconfig:lynx-config:/mnt/elbe/Isar/isar/meta-dave/recipes-devtools/kobs-ng/kobs-imx-5.5.bb:do_build Summary: There was 1 ERROR message shown, returning a non-zero exit code. If I look inside the build.sh line 10 is :   9 # Go to build directory  10 cd $1 How is $1 passed to the build.sh script from the recipe? Why the path is messed up with this prefix : /home/builder/imx-kobs/, when the correct destination is : /mnt/elbe/Isar/isar/build/tmp/work/lynx-armhf/imx-kobs-5.5-r0/imx-kobs-5.5? Am I misunderstanding something here? Thanks for your help Frank