Re: [ptxdist] OPKG Dependent Package
On Fri, Oct 21, 2022 at 08:32:17AM +0200, Bruno Thomsen wrote: > Your build host is too new as stime function has been removed from glibc > 2.31. > > Upgrade DistroKit to 2021.02.0 or use older version of build host/container. Indeed. New glibc and gcc Versions on your build machine will eventually break the build unless you update The PTXdist version. Updating is really the recommended thing to do. If you don't want to do that then use an older LTS version of your distribution of choice. I prefer to build in some kind of container, because it allows me to use all the shiny new tool for development and just build the BSP on the old Version. Michael -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- |
Re: [ptxdist] OPKG Dependent Package
Hi Your build host is too new as stime function has been removed from glibc 2.31. Upgrade DistroKit to 2021.02.0 or use older version of build host/container. /Bruno On Fri, 21 Oct 2022, 07.55 Joshi, Pranay, wrote: > 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$ > 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' > LINKarm-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:* ptxdist@pengutronix.de; Michael Olbrich ; > ose...@community.pengutronix.de > *Subject:* RE: OPKG Dependent Package > > > > Thank you Bruno for your quick response. > > > > *From:* ptxdist *On Behalf Of *Bruno > Thomsen > *Sent:* Thursday, October 20, 2022 12:30 PM > *To:* Michael Olbrich ; ptxdist@pengutronix.de; > ose...@community.pengutronix.de > *Subject:* Re: [ptxdist] OPKG Dependent Package > > > > You don't often get email from b...@kamstrup.com. 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=05%7C01%7Cpranay.joshi%40bakerhughes.com%7Cb4c59c331dd441ce770408dab268c949%7Cd584a4b7b1f24714a578fd4d43c146a6%7C0%7C0%7C638018460488117447%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C=ZPWyJdmDqY2hC0d1XK5Pjdd4Glu1lPfWbBcGJKaLjSQ%3D=0> > > So you need modify the .make file in your project and change suffix > variable from tar.bz2 to tar.gz. > > /Bruno > > > From: ptxdist on behalf of Joshi, Pranay > > Sent: Thursday, October 20, 2022 08:29 > To: Michael Olbrich ; ptxdist@pengutronix.de < > ptxdist@pengutronix.de>; ose...@community.pengutronix.de < > ose...@community.pengutronix.de> > 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 > > <https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkamstrup.com%2F=05%7C01%7Cpranay.joshi%40bakerhughes.com%7Cb4c59c331dd441ce770408dab268c949%7Cd584a4b7b1f24714a578fd4d43c146a6%7C0%7C0%7C638018460488117447%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C=NdCtrTGF7MRohOCRExvfhWNXjLYpL56wB2GMtN5idKI%3D=0> > *Bruno Tho
Re: [ptxdist] OPKG Dependent Package
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' LINKarm-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: ptxdist@pengutronix.de; Michael Olbrich ; ose...@community.pengutronix.de Subject: RE: OPKG Dependent Package Thank you Bruno for your quick response. From: ptxdist mailto:ptxdist-boun...@pengutronix.de>> On Behalf Of Bruno Thomsen Sent: Thursday, October 20, 2022 12:30 PM To: Michael Olbrich mailto:m.olbr...@pengutronix.de>>; ptxdist@pengutronix.de<mailto:ptxdist@pengutronix.de>; ose...@community.pengutronix.de<mailto:ose...@community.pengutronix.de> Subject: Re: [ptxdist] OPKG Dependent Package You don't often get email from b...@kamstrup.com<mailto:b...@kamstrup.com>. 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=05%7C01%7Cpranay.joshi%40bakerhughes.com%7Cb4c59c331dd441ce770408dab268c949%7Cd584a4b7b1f24714a578fd4d43c146a6%7C0%7C0%7C638018460488117447%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C=ZPWyJdmDqY2hC0d1XK5Pjdd4Glu1lPfWbBcGJKaLjSQ%3D=0> So you need modify the .make file in your project and change suffix variable from tar.bz2 to tar.gz. /Bruno From: ptxdist mailto:ptxdist-boun...@pengutronix.de>> on behalf of Joshi, Pranay mailto:pranay.jo...@bakerhughes.com>> Sent: Thursday, October 20, 2022 08:29 To: Michael Olbrich mailto:m.olbr...@pengutronix.de>>; ptxdist@pengutronix.de<mailto:ptxdist@pengutronix.de> mailto:ptxdist@pengutronix.de>>; ose...@community.pengutronix.de<mailto:ose...@community.pengutronix.de> mailto:ose...@community.pengutronix.de>> 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:image001.png@01D8E53F.B0F81BA0]<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkamstrup.com%2F=05%7C01%7Cpranay.joshi%40bakerhughes.com%7Cb4c59c331dd441ce770408dab268c949%7Cd584a4b7b1f24714a578fd4d43c146a6%7C0%7C0%7C638018460488117447%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C=NdCtrTGF7MRohOCRExvfhWNXjLYpL56wB2GMtN5idKI%3D=0> Bruno Thomsen Senior Software Developer R Electricity Meters & Concentrators Kamstrup A/S Industrivej 28 DK-8660 Skanderborg T: +45 89 93 10 00 D: +45 89 93 13 94 b...@kamstrup.com<mailto:b...@kamstrup.com> kamstrup.com<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkamstrup.com%2F=05%7C01%7Cpranay.joshi%40bakerhughes.com
Re: [ptxdist] OPKG Dependent Package
Thank you Bruno for your quick response. From: ptxdist On Behalf Of Bruno Thomsen Sent: Thursday, October 20, 2022 12:30 PM To: Michael Olbrich ; ptxdist@pengutronix.de; ose...@community.pengutronix.de Subject: Re: [ptxdist] OPKG Dependent Package You don't often get email from b...@kamstrup.com<mailto:b...@kamstrup.com>. 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=05%7C01%7Cpranay.joshi%40bakerhughes.com%7Cb4c59c331dd441ce770408dab268c949%7Cd584a4b7b1f24714a578fd4d43c146a6%7C0%7C0%7C638018460488117447%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C=ZPWyJdmDqY2hC0d1XK5Pjdd4Glu1lPfWbBcGJKaLjSQ%3D=0> So you need modify the .make file in your project and change suffix variable from tar.bz2 to tar.gz. /Bruno From: ptxdist mailto:ptxdist-boun...@pengutronix.de>> on behalf of Joshi, Pranay mailto:pranay.jo...@bakerhughes.com>> Sent: Thursday, October 20, 2022 08:29 To: Michael Olbrich mailto:m.olbr...@pengutronix.de>>; ptxdist@pengutronix.de<mailto:ptxdist@pengutronix.de> mailto:ptxdist@pengutronix.de>>; ose...@community.pengutronix.de<mailto:ose...@community.pengutronix.de> mailto:ose...@community.pengutronix.de>> 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:image001.png@01D8E494.A0CB9960]<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkamstrup.com%2F=05%7C01%7Cpranay.joshi%40bakerhughes.com%7Cb4c59c331dd441ce770408dab268c949%7Cd584a4b7b1f24714a578fd4d43c146a6%7C0%7C0%7C638018460488117447%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C=NdCtrTGF7MRohOCRExvfhWNXjLYpL56wB2GMtN5idKI%3D=0> Bruno Thomsen Senior Software Developer R Electricity Meters & Concentrators Kamstrup A/S Industrivej 28 DK-8660 Skanderborg T: +45 89 93 10 00 D: +45 89 93 13 94 b...@kamstrup.com<mailto:b...@kamstrup.com> kamstrup.com<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkamstrup.com%2F=05%7C01%7Cpranay.joshi%40bakerhughes.com%7Cb4c59c331dd441ce770408dab268c949%7Cd584a4b7b1f24714a578fd4d43c146a6%7C0%7C0%7C638018460488117447%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C=NdCtrTGF7MRohOCRExvfhWNXjLYpL56wB2GMtN5idKI%3D=0>
Re: [ptxdist] OPKG Dependent Package
Hello Pranay, Am Donnerstag, 20. Oktober 2022, 08:29:36 CEST schrieb Joshi, Pranay: > 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. I found a tarball named like that in our sources mirror. You might consider to build a more recent version of DistroKit however. Greets Alex > > Thanks > > Pranay Joshi > Lead Engineer-Firmware Engineering > Drilling Services > Baker Hughes > > T +91 7208026212 opkg-utils-0.4.1.tar.bz2 Description: application/bzip-compressed-tar
Re: [ptxdist] OPKG Dependent Package
Hi PranayChristian has fixed it upstream in this commit:https://git.pengutronix.de/cgit/ptxdist/commit/rules/host-opkg-utils.make?id=6dc8fedeee27ce2abd1b85ec047012c8bdc455a9So you need modify the .make file in your project and change suffix variable from tar.bz2 to tar.gz./BrunoFrom: ptxdist on behalf of Joshi, Pranay Sent: Thursday, October 20, 2022 08:29To: Michael Olbrich ; ptxdist@pengutronix.de ; ose...@community.pengutronix.de 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.bz2Library in the .tar.bz2 format. Thanks Pranay JoshiLead Engineer-Firmware EngineeringDrilling ServicesBaker Hughes T +91 7208026212 Venlig hilsen / Best regards Bruno Thomsen Senior Software Developer R Electricity Meters & Concentrators Kamstrup A/S Industrivej 28 DK-8660 Skanderborg T: +45 89 93 10 00D: +45 89 93 13 94 b...@kamstrup.com kamstrup.com
[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