From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 29 Mar 2023 13:49:21 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1phUIp-001GGS-VJ for lore@lore.pengutronix.de; Wed, 29 Mar 2023 13:49:21 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1phUIp-0008RX-52; Wed, 29 Mar 2023 13:49:19 +0200 Received: from mail.thorsis.com ([92.198.35.195]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1phUII-0008RO-CS for ptxdist@pengutronix.de; Wed, 29 Mar 2023 13:48:47 +0200 Date: Wed, 29 Mar 2023 13:47:51 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thorsis.com; s=default; t=1680090524; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bllq7P8SMdaWWDTuI2QnTnI+B6GgH8tZbxi3H724ayg=; b=lATtYJCe2DAtxXOdxzCY6ab+MUYiGdrjZIDWK6yHpJuvoVXAVGwz3IRYrgIfF9YnQ9riFm PmUpa+dhDWLuFKS96w5Iz2KZyM0ahZvD0oSwl7n9YGmW1OBpvk1g/M3fZlzu2cCUG21p/Z rT3bAEXe7iy4jMw0p39hFB3ADeLAw2cRAQBoiDDlEI3SJN/5wxvXrfqWJXLjwvmFwRcaUI tjSFXcBJ0uEXhtJ5WOsxcouHRnuNX/PbxBgY53O3hxPpdFN9rjwWWRocdE1XkIC5YZNphk 2SDHVyOCLCSn7mkOgBL6KrxIXhTJ4Dhp0Ag+3Z/q/xpOGsKDFnlwgwAubv0AfQ== From: Alexander Dahl To: "Herczig, Adam" Message-ID: <1bc8036b-c61d-4451-abaa-2807d77243fa@thorsis.com> Mail-Followup-To: "Herczig, Adam" , "ptxdist@pengutronix.de" , Thomas.Brandt@wago.com References: Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.8 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] ptxdist go problem X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Thomas.Brandt@wago.com, "ptxdist@pengutronix.de" Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Hello, Am Mon, Mar 27, 2023 at 11:20:33AM +0000 schrieb Herczig, Adam: > Dear support, This is a public mailing list, no commercial support. And it's for ptxdist itself, not for the BSP you're trying to build. You might want to ask the vendor too, or at least put them in Cc? > My name is Adam Herczig from IP Camp Kft, Hungary. My company bought a Wago plc type 750-8212 controller. > I realized there is an sdk for c/c++ developing on github (https://github.com/WAGO/pfc-firmware-sdk-G2). > I did everything step by step according to the readme. However when I reached "5.1) Compile all packages of PFC firmware" > and try to run "ptxdist go -q" command I got an error > > [/usr/local/lib/ptxdist-2020.08.0/rules/post/ptxd_make_world_prepare.make:20: /home/user/work/WAGO/ptxproj/platform-wago-pfcXXX/state/host-pkg-config.prepare] Error 2 > I checked the ptxd_make_world_prepare.make file in line 20 where make try to call this /home/user/work/WAGO/ptxproj/platform-wago-pfcXXX/state/host-pkg-config.prepare file > which basically does not exist. I guess this is the meaning of Error 2. Without this file I cannot compile and I am stuck in the middle. Try this: ptxdist prepare host-pkg-config Should give you more output compared to running with the -q option for quiet. ;-) Maybe you want to have a look at https://www.ptxdist.org/doc/ too? > I pulled from master branch. > > My linux system is a wsl : You mean you build on Windows? o.O Never tried that TBH. > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 20.04.6 LTS > Release: 20.04 > Codename: focal > > However I tried to work over docker but got the same result. > > Do you have any useful idea or this is a bug ? Have you noticed this issue previously or any similar? FWIW: When I try to build that BSP, I got a different error: /mnt/data/adahl/src/pfc-firmware-sdk-G2/rules/post/dependencies-for-parallel-build.make:144: A package named pekwm does not exist This seems to be an issue of the BSP itself, no ptxdist issue. Opened a ticket for that: https://github.com/WAGO/pfc-firmware-sdk-G2/issues/6 Greets Alex > Much appreciate any kind of answer or idea. > > Best Regards, > Ádám Herczig > Software Developer > [cid:image001.png@01D960AE.FCD12040] > H-1113 Budapest > Bocskai Street 134 - 146. > Hungary > +36 70 947 9484 > adam.herczig@ip-camp.com > [signature_3082424764] > >