Hi Bruno, During building of DistroKit-2019.12.0 for RPi platform using ptxdist-2019.12.0, we are getting below error-
pranay@pranay-Latitude-5400:~/Project/oselas_bsp/DistroKit-2019.12.0$<mailto:pranay@pranay-Latitude-5400:~/Project/oselas_bsp/DistroKit-2019.12.0$> ptxdist-2019.12.0 go ------------------------- target: host-qemu.compile ------------------------- make: Entering directory '/home/pranay/Project/oselas_bsp/DistroKit-2019.12.0/platform-rpi/build-host/qemu-4.1.0-build' make[1]: Entering directory '/home/pranay/Project/oselas_bsp/DistroKit-2019.12.0/platform-rpi/build-host/qemu-4.1.0/slirp' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/pranay/Project/oselas_bsp/DistroKit-2019.12.0/platform-rpi/build-host/qemu-4.1.0/slirp' LINK arm-linux-user/qemu-arm /usr/bin/ld: linux-user/syscall.o: in function `do_syscall1': syscall.c:(.text+0xf171): undefined reference to `stime' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:209: qemu-arm] Error 1 make: *** [Makefile:472: arm-linux-user/all] Error 2 make: *** Waiting for unfinished jobs.... make: Leaving directory '/home/pranay/Project/oselas_bsp/DistroKit-2019.12.0/platform-rpi/build-host/qemu-4.1.0-build' make: *** [/usr/local/lib/ptxdist-2019.12.0/rules/post/ptxd_make_world_compile.make:20: /home/pranay/Project/oselas_bsp/DistroKit-2019.12.0/platform-rpi/state/host-qemu.compile] Error 2 Please Suggest the solution for this issue. Pranay Joshi Lead Engineer-Firmware Engineering Drilling Services Baker Hughes T +91 7208026212 From: Joshi, Pranay Sent: Thursday, October 20, 2022 3:00 PM To: [email protected]; Michael Olbrich <[email protected]>; [email protected] Subject: RE: OPKG Dependent Package Thank you Bruno for your quick response. From: ptxdist <[email protected]<mailto:[email protected]>> On Behalf Of Bruno Thomsen Sent: Thursday, October 20, 2022 12:30 PM To: Michael Olbrich <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]> Subject: Re: [ptxdist] OPKG Dependent Package You don't often get email from [email protected]<mailto:[email protected]>. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification> EXTERNAL EMAIL: This email originated outside of our organization. Do not click on any links or open attachments from unexpected or unknown senders unless you can verify the content is safe. Hi Pranay Christian has fixed it upstream in this commit: https://git.pengutronix.de/cgit/ptxdist/commit/rules/host-opkg-utils.make?id=6dc8fedeee27ce2abd1b85ec047012c8bdc455a9<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.pengutronix.de%2Fcgit%2Fptxdist%2Fcommit%2Frules%2Fhost-opkg-utils.make%3Fid%3D6dc8fedeee27ce2abd1b85ec047012c8bdc455a9&data=05%7C01%7Cpranay.joshi%40bakerhughes.com%7Cb4c59c331dd441ce770408dab268c949%7Cd584a4b7b1f24714a578fd4d43c146a6%7C0%7C0%7C638018460488117447%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=ZPWyJdmDqY2hC0d1XK5Pjdd4Glu1lPfWbBcGJKaLjSQ%3D&reserved=0> So you need modify the .make file in your project and change suffix variable from tar.bz2 to tar.gz. /Bruno From: ptxdist <[email protected]<mailto:[email protected]>> on behalf of Joshi, Pranay <[email protected]<mailto:[email protected]>> Sent: Thursday, October 20, 2022 08:29 To: Michael Olbrich <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> Subject: [ptxdist] OPKG Dependent Package Hi Michael, We are trying to build DistroKit-2019.12.0 BSP using PTXDist-2019.12.0, one of the dependent library is not available over web, please share the opkg-utils-0.4.1.tar.bz2 Library in the .tar.bz2 format. Thanks Pranay Joshi Lead Engineer-Firmware Engineering Drilling Services Baker Hughes T +91 7208026212 Venlig hilsen / Best regards [cid:[email protected]]<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkamstrup.com%2F&data=05%7C01%7Cpranay.joshi%40bakerhughes.com%7Cb4c59c331dd441ce770408dab268c949%7Cd584a4b7b1f24714a578fd4d43c146a6%7C0%7C0%7C638018460488117447%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=NdCtrTGF7MRohOCRExvfhWNXjLYpL56wB2GMtN5idKI%3D&reserved=0> Bruno Thomsen Senior Software Developer R&D Electricity Meters & Concentrators Kamstrup A/S Industrivej 28 DK-8660 Skanderborg T: +45 89 93 10 00 D: +45 89 93 13 94 [email protected]<mailto:[email protected]> kamstrup.com<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkamstrup.com%2F&data=05%7C01%7Cpranay.joshi%40bakerhughes.com%7Cb4c59c331dd441ce770408dab268c949%7Cd584a4b7b1f24714a578fd4d43c146a6%7C0%7C0%7C638018460488117447%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=NdCtrTGF7MRohOCRExvfhWNXjLYpL56wB2GMtN5idKI%3D&reserved=0>
