**** BEGIN LOGGING AT Fri Feb 18 02:59:56 2022 Feb 18 10:03:27 hey, so I have a recipe which ends up using 'curl' to download some stuff. Curl (from curl-native) says: "curl: (77) error setting certificate verify locations: CAfile: /path/to/curl-native/7.27.0-r0/recipe-sysroot-native/etc/ssl/certs/ca-certificates.crt CApath: none" Feb 18 10:16:08 from a lot of googling, it seems like curl-native just doesn't work? Feb 18 10:17:16 lots of people are having this issue, but everyone's "solution" is to either obviate the need for curl somehow or to patch curl it seems Feb 18 13:47:29 mort: what branch? Feb 18 13:47:37 gatesgarth Feb 18 13:47:55 I'm seeing unintaive disabled by gcc version (with petalinux) any ideas how to avoid this happening Feb 18 13:54:12 Is it possible to override how bitbake clears out a directory before a build? It uses `rm -rf `, which doesn't work when '' contains a go module directory because go marks its module cache files as read-only Feb 18 13:54:36 you need to chmod u+w first, then rm Feb 18 14:02:49 Go support is relatively new, might be worth hunting the git history to see if that has been fixed after gatesgarth Feb 18 14:17:48 but I'm on gatesgarth, so I need to work around it in gatesgarth Feb 18 14:18:06 which means I have to change that 'rm -rf' command Feb 18 14:19:10 but finding if there is a fix might give you ideas Feb 18 14:19:16 and maybe backport fix Feb 18 14:20:10 maybe Feb 18 14:20:17 I'll have a look at it Feb 18 14:24:30 can't see any patches which look relevant at least Feb 18 15:44:47 go mod is pretty much broken, so any hack you can do is probably good enough :) Feb 18 15:51:04 and since go mod is directly from hell, there will be a lot of discussions, which won't happen buried in pull requests. more likely on the architecture mailing list where they have started. Feb 18 17:09:22 RP: is it possible to make a task MACHINE specific instead of the whole recipe? Feb 18 17:09:41 jeroen_: sadly not Feb 18 17:10:00 can we make it so? Feb 18 17:10:27 ask cpt picard Feb 18 17:11:39 mru: I can ask them, but I have no idea who they are.. Feb 18 17:11:54 jeroen_: definitely not Feb 18 17:12:02 not a star wars fan, I take it Feb 18 17:12:23 mru: picard was startrek ;-) Feb 18 17:12:36 mru: no sorry startrek, you can't be both it seems Feb 18 17:12:41 RP: I know Feb 18 17:17:14 RP: but shouldn't we find a solution for this, it means that any sh script, javacript, python script, html site whatever becomes arch specific since they depend on a interpreter / webserver. That is rather odd, right? Feb 18 17:17:53 jeroen_: no, you can change specific packages in a recipe to be allarch or machine arch specific, that works fine Feb 18 17:18:13 that is quite different to allowing a task to run for different machines Feb 18 17:21:18 RP: that doesn't really work fine, if a basic recipe is MACHINE specific, the number of nonsensical builds increase insanely Feb 18 17:22:10 well packiging first, but dependend builds will all run per MACHINE Feb 18 17:23:13 jeroen_: well, please just redesign the system so it all works nicely then :/ Feb 18 17:23:30 jeroen_: I agree what we have today isn't great but it can in general be made to work Feb 18 17:23:55 RP: well it works now, but now it is stupid :( Feb 18 17:24:18 jeroen_: in general you write separate recipes for the machine specific bits and then are careful with the dependency chains to pull them in so the big builds which are arch specific just are arch specific Feb 18 17:24:51 there is logic to allow well behaved components not to make everything rebuild (see meta/conf/layer.conf) Feb 18 17:25:02 that mechanism needs to be used with caution Feb 18 17:25:54 jeroen_: I'm trying to help you. Telling me the system sucks and is stupid isn't really encouraging me given the time I've spent making the thing this stupid Feb 18 17:27:33 RP: ow sorry for that, I try not to do that, but I had magic errors for weeks, so a bit frustrated.. Feb 18 17:30:02 RP: I doubt I said that btw, I said it is stupid, but that is our own meta-date.. Feb 18 17:30:54 jeroen_: I guess it was unclear which recipes were stupid exactly Feb 18 18:13:10 RP: e.g. our python scripts are TUNE depend at the moment, that is rather counterintuitive, they are repackaged per arch, but they are platform independent.. Shouldn't that be fixed? Feb 18 20:26:11 I've got the older yocto on newer build machine issue (due to petalinux) Feb 18 20:26:43 any thoughts on getting petalinnux to sue an older gcc for native etc uilds? Feb 18 20:36:23 Crofton: pyrex, crops, or kas? Feb 18 20:43:05 this is petalinux so added compexity Feb 18 20:43:20 normally I use pyrex for this problem Feb 18 20:56:41 VM then Feb 18 20:57:57 you ahven't installed vivado lately :) Feb 18 23:29:22 Crofton: can't you use an older buildtools-extended tarball? Feb 18 23:32:25 I need to explore that path **** ENDING LOGGING AT Sat Feb 19 02:59:56 2022