*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed) | 00:18 | |
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto | 00:18 | |
*** rm5248 <rm5248!~rm5248@c-76-100-95-162.hsd1.va.comcast.net> has quit IRC (Quit: Leaving.) | 00:48 | |
*** prabhakarlad <prabhakarlad!~prabhakar@217.163.141.2> has quit IRC (Quit: Client closed) | 01:31 | |
*** lexano <lexano!~lexano@174.119.69.134> has quit IRC (Ping timeout: 245 seconds) | 01:44 | |
*** Daanct12 <Daanct12!~danct12@user/danct12> has joined #yocto | 02:00 | |
*** davidinux <davidinux!~davidinux@host-79-41-9-96.retail.telecomitalia.it> has quit IRC (Ping timeout: 264 seconds) | 02:04 | |
*** davidinux <davidinux!~davidinux@host-82-55-204-6.retail.telecomitalia.it> has joined #yocto | 02:05 | |
*** mvlad <mvlad!~mvlad@2a02:2f08:ec01:c600:e12:96d4:70f8:d7b5> has quit IRC (Remote host closed the connection) | 02:18 | |
*** LocutusOfBorg <LocutusOfBorg!~locutusof@user/locutusofborg> has quit IRC (Read error: Connection reset by peer) | 02:32 | |
*** LocutusOfBorg <LocutusOfBorg!~locutusof@151.58.174.15> has joined #yocto | 02:37 | |
*** ablu <ablu!~m-bfyrfh@user/Ablu> has quit IRC (Ping timeout: 260 seconds) | 02:38 | |
*** ablu <ablu!~m-bfyrfh@user/Ablu> has joined #yocto | 02:39 | |
*** starblue <starblue!~juergen@dslb-088-078-099-009.088.078.pools.vodafone-ip.de> has quit IRC (Ping timeout: 260 seconds) | 02:48 | |
*** starblue <starblue!~juergen@dslb-094-220-108-060.094.220.pools.vodafone-ip.de> has joined #yocto | 02:50 | |
*** nerdboy <nerdboy!~nerdboy@gentoo/developer/nerdboy> has quit IRC (Ping timeout: 260 seconds) | 03:40 | |
*** jclsn <jclsn!~jclsn@2a04:4540:652d:9200:2ce:39ff:fecf:efcd> has quit IRC (Ping timeout: 260 seconds) | 03:51 | |
*** nerdboy <nerdboy!~nerdboy@47.143.129.171> has joined #yocto | 03:52 | |
*** jclsn <jclsn!~jclsn@2a04:4540:652f:f300:2ce:39ff:fecf:efcd> has joined #yocto | 03:52 | |
*** dgriego <dgriego!~dgriego@user/dgriego> has quit IRC (Ping timeout: 256 seconds) | 03:55 | |
*** dgriego <dgriego!~dgriego@user/dgriego> has joined #yocto | 03:57 | |
*** cslcm <cslcm!~cslcm@2a00:b900:117b::731> has quit IRC (Read error: Connection reset by peer) | 03:59 | |
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed) | 04:00 | |
*** cslcm <cslcm!~cslcm@2a00:b900:117b::731> has joined #yocto | 04:00 | |
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto | 04:00 | |
*** dgriego <dgriego!~dgriego@user/dgriego> has quit IRC (Ping timeout: 276 seconds) | 04:02 | |
*** chep <chep!~chep@82-65-36-115.subs.proxad.net> has quit IRC (Ping timeout: 246 seconds) | 04:03 | |
*** cslcm <cslcm!~cslcm@2a00:b900:117b::731> has quit IRC (Client Quit) | 04:03 | |
*** chep <chep!~chep@82-65-36-115.subs.proxad.net> has joined #yocto | 04:09 | |
*** lthadeus <lthadeus!~lthadeus@2401:4900:1cb8:19c0:5b5f:fde4:8dc6:a6fe> has joined #yocto | 04:15 | |
*** PhoenixMage <PhoenixMage!~phoenix@65.181.3.195> has joined #yocto | 04:45 | |
PhoenixMage | Afternoon all, been a while | 04:45 |
---|---|---|
*** dgriego <dgriego!~dgriego@user/dgriego> has joined #yocto | 04:47 | |
PhoenixMage | I am trying to build a mainline kernel using meta-intel with a recipe that works for other BSPs but I get a weird error "do_kernel_metadata: Could not locate BSP definition for intel-corei7-64/standard and no defconfig was provided". I can see KCONFIG_DEFCONFIG isnt set for meta-intel like it is for other BSPs but even still linux-yocto will compile | 04:49 |
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed) | 05:17 | |
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto | 05:17 | |
*** simonew <simonew!~ile@2a02:810d:a940:35fc:c158:8b4c:2097:3c70> has quit IRC (Remote host closed the connection) | 05:21 | |
*** lthadeus <lthadeus!~lthadeus@2401:4900:1cb8:19c0:5b5f:fde4:8dc6:a6fe> has quit IRC (Ping timeout: 256 seconds) | 05:21 | |
*** lthadeus <lthadeus!~lthadeus@2401:4900:1cb8:19c0:7ada:ad0:e7c4:d991> has joined #yocto | 05:21 | |
*** Minvera <Minvera!~Minvera@user/Minvera> has quit IRC (Ping timeout: 256 seconds) | 05:23 | |
*** Chaser <Chaser!~Chaser@user/chaser> has joined #yocto | 05:32 | |
*** jmd <jmd!~user@2001:a61:2aaa:2d01:bdbd:1ae3:2ec6:37f9> has joined #yocto | 05:39 | |
*** roussinm <roussinm!~mroussin@ipagstaticip-d73c7528-4de5-0861-800b-03d8b15e3869.sdsl.bell.ca> has quit IRC (Quit: WeeChat 3.8) | 05:43 | |
*** jmd <jmd!~user@2001:a61:2aaa:2d01:bdbd:1ae3:2ec6:37f9> has quit IRC (Remote host closed the connection) | 06:12 | |
*** lthadeus <lthadeus!~lthadeus@2401:4900:1cb8:19c0:7ada:ad0:e7c4:d991> has quit IRC (Ping timeout: 256 seconds) | 06:20 | |
*** jmd <jmd!~user@2001:a61:2aaa:2d01:bdbd:1ae3:2ec6:37f9> has joined #yocto | 06:20 | |
*** lthadeus <lthadeus!~lthadeus@2401:4900:1cb8:19c0:1f94:9c62:a40:ed03> has joined #yocto | 06:22 | |
*** jmd <jmd!~user@2001:a61:2aaa:2d01:bdbd:1ae3:2ec6:37f9> has quit IRC (Remote host closed the connection) | 06:27 | |
*** davidinux <davidinux!~davidinux@host-82-55-204-6.retail.telecomitalia.it> has quit IRC (Ping timeout: 264 seconds) | 06:47 | |
*** davidinux <davidinux!~davidinux@45.11.80.115> has joined #yocto | 06:47 | |
*** sakman1 <sakman1!~Thunderbi@176.42.20.226> has joined #yocto | 06:58 | |
*** sakman <sakman!~Thunderbi@176.42.20.226> has quit IRC (Ping timeout: 256 seconds) | 07:00 | |
*** sakman1 is now known as sakman | 07:00 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.240> has joined #yocto | 07:01 | |
*** Guest67 <Guest67!~Guest67@p57a6c86c.dip0.t-ipconnect.de> has joined #yocto | 07:08 | |
*** frieder <frieder!~frieder@i5C75E681.versanet.de> has joined #yocto | 07:30 | |
*** thomas_34 <thomas_34!~thomas_34@host-80-81-12-253.static.customer.m-online.net> has joined #yocto | 07:31 | |
*** goliath <goliath!~goliath@user/goliath> has joined #yocto | 07:32 | |
*** manuel_ <manuel_!~manuel198@2a02:1748:dd5c:f290:bc14:87cb:25ec:da4e> has joined #yocto | 07:37 | |
*** xmn <xmn!~xmn@pool-71-105-152-109.nycmny.fios.verizon.net> has quit IRC (Ping timeout: 264 seconds) | 07:38 | |
thomas_34 | Good morning guys, I have a problem with my recipe. In the build directory "recipe-sysroot-native/usr/bin" the C/C++-Compiler are missing. So the do_compile task fails. However, the compiler shows up at many other recipes | 07:42 |
thomas_34 | As example: ./arago-tmp-default-glibc/work/aarch64-oe-linux/memtester/4.5.1-r0/recipe-sysroot-native/usr/bin/aarch64-oe-linux/aarch64-oe-linux-gcc | 07:43 |
thomas_34 | Do I need to inherit something in my recipe? So that yocto provides the toolchain in recipe-sysroot-native? | 07:44 |
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has joined #yocto | 07:54 | |
*** Guest99 <Guest99!~Guest99@102.88.34.188> has joined #yocto | 07:54 | |
*** manuel_ <manuel_!~manuel198@2a02:1748:dd5c:f290:bc14:87cb:25ec:da4e> has quit IRC (Ping timeout: 268 seconds) | 07:55 | |
*** Guest99 <Guest99!~Guest99@102.88.34.188> has quit IRC (Client Quit) | 07:55 | |
*** ngp <ngp!~ngp@102.88.35.229> has joined #yocto | 07:56 | |
*** zpfvo <zpfvo!~fvo@i59F5CF52.versanet.de> has joined #yocto | 07:56 | |
*** ngp <ngp!~ngp@102.88.35.229> has quit IRC (Client Quit) | 07:57 | |
*** wicki <wicki!~wicki@user/wicki> has joined #yocto | 07:58 | |
*** camus <camus!~Instantbi@58.246.136.203> has quit IRC (Ping timeout: 268 seconds) | 08:00 | |
*** camus <camus!~Instantbi@58.246.136.203> has joined #yocto | 08:00 | |
*** Kubu_work <Kubu_work!~kubu@arennes-654-1-262-155.w2-13.abo.wanadoo.fr> has joined #yocto | 08:01 | |
*** davidinux <davidinux!~davidinux@45.11.80.115> has quit IRC (Ping timeout: 255 seconds) | 08:03 | |
*** davidinux <davidinux!~davidinux@host-82-55-204-6.retail.telecomitalia.it> has joined #yocto | 08:05 | |
*** manuel_ <manuel_!~manuel198@2a02:1748:dd5c:f290:bc14:87cb:25ec:da4e> has joined #yocto | 08:06 | |
*** olani- <olani-!~olani@wlan-gw.se.axis.com> has joined #yocto | 08:07 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.240> has quit IRC (Quit: alessioigor) | 08:11 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.240> has joined #yocto | 08:11 | |
LetoThe2nd | yo dudX | 08:16 |
*** Guest67 <Guest67!~Guest67@p57a6c86c.dip0.t-ipconnect.de> has quit IRC (Quit: Connection closed) | 08:18 | |
*** davidinux <davidinux!~davidinux@host-82-55-204-6.retail.telecomitalia.it> has quit IRC (Ping timeout: 268 seconds) | 08:20 | |
*** davidinux <davidinux!~davidinux@194.34.233.63> has joined #yocto | 08:21 | |
*** lthadeus <lthadeus!~lthadeus@2401:4900:1cb8:19c0:1f94:9c62:a40:ed03> has quit IRC (Remote host closed the connection) | 08:37 | |
*** lthadeus <lthadeus!~lthadeus@2401:4900:1cb8:19c0:5b8:6284:825c:3a51> has joined #yocto | 08:37 | |
*** tnovotny <tnovotny!~tnovotny@ip4-83-240-26-162.cust.nbox.cz> has joined #yocto | 08:47 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.240> has quit IRC (Quit: alessioigor) | 09:16 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.240> has joined #yocto | 09:17 | |
*** lthadeus <lthadeus!~lthadeus@2401:4900:1cb8:19c0:5b8:6284:825c:3a51> has quit IRC (Ping timeout: 245 seconds) | 09:27 | |
*** flom84 <flom84!~flom84@user/flom84> has joined #yocto | 09:31 | |
*** prabhakarlad <prabhakarlad!~prabhakar@217.163.141.2> has joined #yocto | 09:38 | |
*** lthadeus <lthadeus!~lthadeus@2401:4900:1cb8:19c0:2dcc:1809:4c3e:5391> has joined #yocto | 09:41 | |
*** olani- <olani-!~olani@wlan-gw.se.axis.com> has quit IRC (Ping timeout: 268 seconds) | 09:41 | |
*** frieder <frieder!~frieder@i5C75E681.versanet.de> has quit IRC (Remote host closed the connection) | 10:16 | |
*** flom84 <flom84!~flom84@user/flom84> has quit IRC (Quit: Leaving) | 10:19 | |
*** frieder <frieder!~frieder@i5C75E681.versanet.de> has joined #yocto | 10:26 | |
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has joined #yocto | 10:30 | |
*** TheComet <TheComet!~TheComet@195.65.18.66> has joined #yocto | 10:31 | |
TheComet | I am getting an error for package "libxcrypt": "configure: error: bad value 'all' for --enable-hashes". Can anyone point me where I can get help? | 10:32 |
rburton | thomas_34: are you looking for usr/bin/aarch64-oe-linux/aarch64-oe-linux-gcc in your sysroot, or usr/bin/gcc? | 10:32 |
thomas_34 | rburton, I would like to have /usr/bin/gcc. I just need some compiler which makes CMake-Compiler-Check happy | 10:34 |
thomas_34 | Better case would be to have x86_64-linux-gnu-gcc but I guess thats even more complicated to achieve | 10:35 |
thomas_34 | Sorry, I meant aarch64-oe-linux-gcc | 10:35 |
rburton | thomas_34: you won't get 'gcc' because that's the host compiler. cross-compilers are prefixed with the triple. inherit the cmake class and it handles telling cmake where the compilers are. | 10:36 |
*** speeder <speeder!~speeder__@2001:8a0:dfde:fa00:2a57:8da0:d918:e558> has joined #yocto | 10:38 | |
thomas_34 | Hmm.. my recipe builds isolated from yocto with cmake stuff. At the stage where it fetches its own toolchain (with cmake package) it executes a c_compiler check, which I cannot suppress. I checked the do_compile script of that recipe, which sets CC to "aarch64-oe-linux-gcc". Cmake then internally tries to find the patch to that compiler. However, | 10:40 |
thomas_34 | no directory in PATH provides that. | 10:40 |
thomas_34 | So I would like that yocto provides that recipe just some compiler, which I can give my external CMake at that stage, to make it happy. | 10:40 |
rburton | if your cmake recipe does horrible things then you need to beat it into submission | 10:42 |
thomas_34 | I have tried to inherit binutils and cmake in that recipe, but still no aarch64-oe-linux-gcc shows up anywhere in recipe-root | 10:42 |
rburton | it won't | 10:42 |
rburton | inherit binutils isn't a thing | 10:43 |
rburton | do you mean depends? | 10:43 |
thomas_34 | Oh sorry. Yes I mean depends | 10:43 |
rburton | the cross compiler is part of the default DEPENDS | 10:43 |
rburton | unless you set INHIBIT_DEFAULT_DEPS | 10:43 |
thomas_34 | So default DEPENDS means, I don't need to write any DEPENDS in my recipe, to depend on cross compiler? | 10:45 |
thomas_34 | Ok, I'll check that with bitbake -e | 10:45 |
rburton | look at any recipe in oe-core: you'll see that almost none depend on gcc | 10:46 |
thomas_34 | Yes, ok | 10:46 |
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #yocto | 10:47 | |
*** Guest42 <Guest42!~Guest77@193.15.95.2> has joined #yocto | 10:47 | |
Guest42 | Has anybody built Yocto on a host machine running Guix? | 10:47 |
rburton | thomas_34: but PATH gets extended to add the path with the cross-compilers in | 10:47 |
thomas_34 | rburton i'm back in ~30 minutes sorry | 10:48 |
rburton | Guest42: the "unconventional" file system could make that interesting. you're welcome to report issues but you might get told to use a supported host distro. | 10:48 |
Guest42 | My current problem is that it doesn't find <linux/limits.h> | 10:49 |
Guest42 | But this file seems to be contained withing Yocto's own repository files | 10:49 |
Guest42 | I find it is included in at least one recipe | 10:50 |
*** prabhakarlad <prabhakarlad!~prabhakar@217.163.141.2> has quit IRC (Quit: Client closed) | 10:51 | |
Guest42 | Well, two actually. It is included in zstd-native and in the kernel | 10:51 |
Guest42 | So that should not be dependent on the host distro, since the file is contained in Yocto's sources | 10:51 |
*** lthadeus <lthadeus!~lthadeus@2401:4900:1cb8:19c0:2dcc:1809:4c3e:5391> has quit IRC (Quit: Leaving) | 10:52 | |
Saur_Home | Guest42: Everything in linux/ and asm/ comes from the kernel. | 10:52 |
Guest42 | Sure, shouldn't Yocto then use the include files for the kernel it is currently building for, not the kernel of the host machine? | 10:53 |
Saur_Home | When building for target, it should yes. | 10:53 |
TheComet | I found the solution to my problem: https://patchwork.yoctoproject.org/project/oe-core/patch/20230726131331.2239727-1-Martin.Jansa@gmail.com/ | 10:53 |
TheComet | I'm not sure why this patch isn't in my branch though | 10:54 |
Guest42 | Okay, I see. The recipe that is failing to find that file is m4-native, so that makes sense | 10:54 |
rburton | Guest42: native so host includes | 10:55 |
Saur_Home | native recipes are built using the host's gcc, and using the host's include files and libraries, unless there are native dependencies that override any of them. | 10:55 |
Guest42 | Any pointers how I can make Yocto find it? I'm not really a C++ dev, so I'm not too familiar with compiler flags and include directories and so on | 10:56 |
rburton | i can only imagine that guix has put them somewhere interesting and there's a mismatch between how we're using the host compiler and where guix has put stuff | 10:56 |
Saur_Home | Does /usr/include/linux/limits.h exist on the host? | 10:56 |
rburton | £10 says no :) | 10:57 |
Saur_Home | :) | 10:57 |
Guest42 | No, it is somewhere inside the /gnu/store | 10:57 |
Guest42 | But how can I add this path to the compiler's search path? | 10:57 |
*** lthadeus <lthadeus!~lthadeus@2401:4900:1cb8:19c0:b283:240e:ba63:28df> has joined #yocto | 10:59 | |
rburton | we expect the host compiler to know how to find its own paths | 11:00 |
Guest42 | I bet it does | 11:00 |
rburton | obviously not :) | 11:00 |
Guest42 | In normal cases it does, but Yocto must do something to it | 11:00 |
rburton | does guix set environment variables to tell gcc where to look? | 11:00 |
rburton | all we do is purge the environment before starting builds | 11:01 |
Guest42 | Guix has a bunch of different environment variables yes | 11:01 |
*** mvlad <mvlad!~mvlad@2a02:2f08:ec01:c600:7cfd:8a09:f144:622d> has joined #yocto | 11:04 | |
rburton | after you've ran oe-init-build-env, add the name of those magic variables to BB_ENV_PASSTHROUGH_ADDITIONS | 11:06 |
*** ederibaucourt <ederibaucourt!~ederibauc@lmontsouris-657-1-69-118.w80-15.abo.wanadoo.fr> has quit IRC (Ping timeout: 256 seconds) | 11:09 | |
*** thomas_34 <thomas_34!~thomas_34@host-80-81-12-253.static.customer.m-online.net> has quit IRC (Quit: Client closed) | 11:13 | |
*** shoragan <shoragan!~shoragan@user/shoragan> has quit IRC (Read error: Connection reset by peer) | 11:14 | |
*** OnkelUlla <OnkelUlla!~user@dude03.red.stw.pengutronix.de> has quit IRC (Read error: Connection reset by peer) | 11:15 | |
*** thomas_34 <thomas_34!~thomas_34@host-80-81-12-253.static.customer.m-online.net> has joined #yocto | 11:18 | |
*** shoragan <shoragan!~shoragan@user/shoragan> has joined #yocto | 11:19 | |
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed) | 11:28 | |
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto | 11:28 | |
*** paulg <paulg!~paulg@23-233-30-231.cpe.pppoe.ca> has quit IRC (Read error: Connection reset by peer) | 11:31 | |
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed) | 11:38 | |
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto | 11:38 | |
*** mvlad <mvlad!~mvlad@2a02:2f08:ec01:c600:7cfd:8a09:f144:622d> has quit IRC (Ping timeout: 256 seconds) | 11:39 | |
*** wicki <wicki!~wicki@user/wicki> has quit IRC (Ping timeout: 256 seconds) | 11:45 | |
*** paulg <paulg!~paulg@198-84-237-91.cpe.teksavvy.com> has joined #yocto | 11:46 | |
Guest42 | rburton: thanks, I found the variables C_INCLUDE_PATH and CPLUS_INCLUDE_PATH which contains the directory which <linux/limits.h> is in. I added these variables to BB_EN_PASSTHOUGH_ADDITIONS, but I still get the same error. I have looked inside the paths and confirm that the file is actually there | 11:47 |
Guest42 | s/EN_/ENV_/ | 11:48 |
Guest42 | Oh wait, I made a stupid mistake. Instead of adding the variable names, I added the variable contents.. | 11:50 |
Guest42 | Well, it still doesn't work even after correcting my BB_ENV_PASSTHROUGH_ADDITIONS | 11:52 |
Guest42 | Does Yocto use the variables C_INCLUDE_PATH and CPLUS_INCLUDE_PATH? | 11:53 |
*** tnovotny <tnovotny!~tnovotny@ip4-83-240-26-162.cust.nbox.cz> has quit IRC (Read error: Connection reset by peer) | 11:53 | |
*** tnovotny_ <tnovotny_!~tnovotny@ip4-83-240-26-162.cust.nbox.cz> has joined #yocto | 11:53 | |
Saur_Home | Guest42: No. | 11:54 |
Guest42 | Then what variable does it use? | 11:55 |
*** tnovotny <tnovotny!~tnovotny@ip4-83-240-26-162.cust.nbox.cz> has joined #yocto | 11:56 | |
Saur_Home | Guest42: That is really up to the build system used by each recipe. Typically, most support CFLAGS, LDFLAGS, etc so those are set by bitbake. | 11:57 |
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has quit IRC (Remote host closed the connection) | 11:58 | |
Saur_Home | Guest42: If you write a minimal C-file that includes linux/limits.h and has an empty main() function, and then compile it directly with `gcc`, will that work? | 11:59 |
*** tnovotny_ <tnovotny_!~tnovotny@ip4-83-240-26-162.cust.nbox.cz> has quit IRC (Ping timeout: 260 seconds) | 11:59 | |
Saur_Home | Or do you need to specify extra arguments to gcc to make it build? | 11:59 |
*** mvlad <mvlad!~mvlad@2a02:2f05:8406:100:a14e:7560:e11b:2c3a> has joined #yocto | 11:59 | |
rburton | Guest42: you might need to export in to your local.conf too | 11:59 |
Guest42 | Saur_Home: Yes, it worked | 12:00 |
Guest42 | rburton: How? | 12:00 |
Guest42 | Just add a export VARIABLE_NAME? | 12:00 |
rburton | Guest42: can you do the same gcc but do 'env -i gcc ...'? | 12:00 |
rburton | and yes, export C_INCLUDE_PATH if that's what guix gcc listens to | 12:01 |
Guest42 | env: ‘gcc’: No such file or directory | 12:01 |
Guest42 | I'm guessing env -i removes all environment? | 12:01 |
*** ederibaucourt <ederibaucourt!~ederibauc@lmontsouris-657-1-69-118.w80-15.abo.wanadoo.fr> has joined #yocto | 12:01 | |
*** zpfvo <zpfvo!~fvo@i59F5CF52.versanet.de> has quit IRC (Ping timeout: 264 seconds) | 12:02 | |
rburton | yes | 12:02 |
Guest42 | Then it can't find gcc, since there is a lot of PATH stuff and so on | 12:03 |
rburton | try env -i PATH=$PATH gcc ... | 12:03 |
rburton | that will preserve path but wipe everything else | 12:03 |
Guest42 | Then I get the same error as in Yocto | 12:04 |
rburton | good, problem isolated. | 12:05 |
Guest42 | If I add C_INCLUDE_PATH also, then it finds the limits.h | 12:05 |
rburton | problem isolated :) | 12:05 |
Guest42 | But why doesn't it work in Yocto when I add that same variable? | 12:05 |
rburton | you'll need to export it in local.conf too | 12:06 |
Guest42 | I did | 12:06 |
Guest42 | Oh, wait. It is now a different error, so I guess it might have worked | 12:08 |
rburton | right | 12:08 |
rburton | it might need a library path too | 12:08 |
Guest42 | | configure: error: cannot run C compiled programs. | 12:08 |
Guest42 | | If you meant to cross compile, use `--host'. | 12:08 |
rburton | yeah you'll need to figure out why that happens, i guess a library path is missing so it can't find the loader | 12:09 |
Guest42 | Hmm, added LIBRARY_PATH also, but no difference | 12:10 |
* rburton shrugs | 12:11 | |
rburton | guix isn't on the supported distro list, so you get the fun of fixing it | 12:11 |
rburton | isn't that the point of running an experimental distro anyway? | 12:11 |
Guest42 | Sure, but the specifics of how Yocto works is hardly my responsibility | 12:12 |
Guest42 | More like gcc actually | 12:12 |
Guest42 | I feel the problems are general, just that there are a lot of assumptions on default values of variables | 12:13 |
Guest42 | These variables are set for a reason | 12:14 |
rburton | we expect "gcc" to work | 12:14 |
Guest42 | gcc does work | 12:14 |
rburton | if it needs magic variables set then ensure they're set inside the build | 12:14 |
Guest42 | But not inside bitbake | 12:14 |
Guest42 | How can I just pass my whole env? | 12:14 |
rburton | bitbake explicitly purges the environment so you just need to figure out what variables need preserving | 12:14 |
Saur_Home | In normal Linux, you do not need to set any environment variables to make `gcc` work, which is what `bitbake` expects. | 12:15 |
Guest42 | I can't really find any more variables that look relevant | 12:15 |
*** zpfvo <zpfvo!~fvo@i59F5CF52.versanet.de> has joined #yocto | 12:16 | |
rburton | i'd be asking a guix channel as this is their setup | 12:16 |
Guest42 | Well it works everywhere else | 12:17 |
rburton | yocto's assumption is that 'env -i gcc' builds a binary and `env -i ./a.out` runs it. if that isn't true then you need to identify the variables that need preserving. | 12:17 |
Saur_Home | Guest42: You also need to be carefull with exporting the variables so that they are only exported for native. You do not want them active when building for target... | 12:18 |
Guest42 | How do I do that? | 12:18 |
rburton | lets get past "build and run a binary" first :) | 12:18 |
Guest42 | Okay, I asked in #guix which env variables are used by gcc | 12:19 |
rburton | i suspect you want the runtime loader, not gcc | 12:19 |
Saur_Home | Honestly, the easiest would probably be to create a wrapper for `gcc` that runs the real `gcc` with the extra environment variables set... | 12:19 |
rburton | the easiest would be to use a yocto container like crops or kas | 12:20 |
Saur_Home | True. :) | 12:20 |
Guest42 | I was previously using a docker container to build, but really want to get native to work | 12:20 |
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed) | 12:24 | |
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto | 12:25 | |
*** thomas_34 <thomas_34!~thomas_34@host-80-81-12-253.static.customer.m-online.net> has quit IRC (Quit: Client closed) | 12:27 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.240> has quit IRC (Quit: alessioigor) | 12:27 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.240> has joined #yocto | 12:27 | |
RP | landgraf: I think https://git.yoctoproject.org/poky-contrib/commit/?h=rpurdie/t222&id=14b09cf39bf13a1eadf4c65d41daf66e37c3b8c0 might be the fix for the base-files issue | 12:42 |
*** ederibaucourt <ederibaucourt!~ederibauc@lmontsouris-657-1-69-118.w80-15.abo.wanadoo.fr> has quit IRC (Ping timeout: 264 seconds) | 12:43 | |
*** lthadeus <lthadeus!~lthadeus@2401:4900:1cb8:19c0:b283:240e:ba63:28df> has quit IRC (Remote host closed the connection) | 12:47 | |
*** lthadeus_ <lthadeus_!~lthadeus@2401:4900:1cb8:19c0:c957:acce:bea7:b883> has joined #yocto | 12:47 | |
*** Vonter <Vonter!~Vonter@user/vonter> has quit IRC (Ping timeout: 260 seconds) | 12:47 | |
*** Vonter <Vonter!~Vonter@user/vonter> has joined #yocto | 12:48 | |
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed) | 12:54 | |
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto | 12:54 | |
*** lexano <lexano!~lexano@174.119.69.134> has joined #yocto | 12:59 | |
*** ederibaucourt <ederibaucourt!~ederibauc@lmontsouris-657-1-69-118.w80-15.abo.wanadoo.fr> has joined #yocto | 12:59 | |
*** alperak <alperak!~alperak@176.88.106.122> has joined #yocto | 13:02 | |
landgraf | RP: looks like it will, thanks | 13:03 |
*** alperak <alperak!~alperak@176.88.106.122> has quit IRC (Quit: Client closed) | 13:13 | |
*** alperak <alperak!~alperak@176.88.106.122> has joined #yocto | 13:13 | |
*** Daanct12 <Daanct12!~danct12@user/danct12> has quit IRC (Quit: WeeChat 4.1.2) | 13:15 | |
*** TheComet <TheComet!~TheComet@195.65.18.66> has quit IRC (Quit: Client closed) | 13:15 | |
*** jmiehe <jmiehe!~Thunderbi@user/jmiehe> has joined #yocto | 13:18 | |
rcw | RP: Can we add error-report-web to the agenda for the Technical call today? I upgraded it to Django 3.2 and added a Dockerfile: https://github.com/robwoolley/error-report-web | 13:28 |
rcw | I'm looking for any feedback and to gauge interest in whether others are interested in expanding its capabilities. | 13:28 |
*** rm5248 <rm5248!~rm5248@c-76-100-95-162.hsd1.va.comcast.net> has joined #yocto | 13:36 | |
Guest42 | rburton: after spending some time in #guix I'm now convinced that there is nothing more than those variables needed from the Guix side of things. The problem is now all on the Yocto side | 13:43 |
rburton | Guest42: i'd recommend trying $(guix shell --container) | 13:44 |
*** dmoseley <dmoseley!~dmoseley@d4-50-177-189.evv.wideopenwest.com> has quit IRC (Quit: ZNC 1.8.2 - https://znc.in) | 13:44 | |
*** dmoseley <dmoseley!~dmoseley@d4-50-177-189.evv.wideopenwest.com> has joined #yocto | 13:45 | |
Guest42 | Then bitbake says that networking doesn't work. But I have checked with wget and networking does work | 13:53 |
Guest42 | Does bitbake need icmp? | 13:56 |
landgraf | Guest42: What exactly did it say? | 13:57 |
rburton | the connectivity check is just a wget of https://yoctoproject.org/connectivity.html | 13:57 |
RP | rcw: we can and good questions! | 13:57 |
rburton | Guest42: assuming you mean the error that starts 'please ensure your host's network is configured correctly' | 13:58 |
rburton | Guest42: if this is work time i'd be considering a supported distro | 13:58 |
Guest42 | Nah, I'm stubborn | 13:59 |
Guest42 | If it is just a wget check then why doesn't it work? I have confirmed that wget is in fact able to access that url | 13:59 |
Guest42 | Aha, it might be a certificate error | 14:00 |
*** jmiehe <jmiehe!~Thunderbi@user/jmiehe> has quit IRC (Quit: jmiehe) | 14:02 | |
*** Minvera <Minvera!~Minvera@user/Minvera> has joined #yocto | 14:04 | |
*** xmn <xmn!~xmn@pool-71-105-152-109.nycmny.fios.verizon.net> has joined #yocto | 14:07 | |
*** zpfvo <zpfvo!~fvo@i59F5CF52.versanet.de> has quit IRC (Ping timeout: 252 seconds) | 14:20 | |
*** zpfvo <zpfvo!~fvo@i59F5CF52.versanet.de> has joined #yocto | 14:21 | |
*** Guest42 <Guest42!~Guest77@193.15.95.2> has quit IRC (Quit: Client closed) | 14:23 | |
*** zpfvo <zpfvo!~fvo@i59F5CF52.versanet.de> has quit IRC (Ping timeout: 256 seconds) | 14:29 | |
*** zpfvo <zpfvo!~fvo@i59F5CF52.versanet.de> has joined #yocto | 14:30 | |
*** prabhakarlad <prabhakarlad!~prabhakar@217.163.141.2> has joined #yocto | 14:35 | |
RP | Guest4041: probably more envvars | 14:35 |
*** simonew <simonew!~ile@2a02:810d:a940:35fc:5521:3b14:4f6:5ae7> has joined #yocto | 14:38 | |
simonew | Hi together | 14:38 |
*** lthadeus_ <lthadeus_!~lthadeus@2401:4900:1cb8:19c0:c957:acce:bea7:b883> has quit IRC (Quit: Leaving) | 14:48 | |
*** zpfvo <zpfvo!~fvo@i59F5CF52.versanet.de> has quit IRC (Ping timeout: 264 seconds) | 15:04 | |
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed) | 15:04 | |
*** zpfvo <zpfvo!~fvo@i59F5CF52.versanet.de> has joined #yocto | 15:05 | |
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto | 15:05 | |
tgamblin | FYI it seems F39 has shipped Python 3.12.1, so builds should work again | 15:10 |
*** zpfvo <zpfvo!~fvo@i59F5CF52.versanet.de> has quit IRC (Ping timeout: 276 seconds) | 15:10 | |
*** zpfvo <zpfvo!~fvo@i59F5CF52.versanet.de> has joined #yocto | 15:10 | |
RP | tgamblin: excellent. We should make 3.12.0 error | 15:15 |
*** Vonter <Vonter!~Vonter@user/vonter> has quit IRC (Ping timeout: 256 seconds) | 15:18 | |
*** Vonter <Vonter!~Vonter@user/vonter> has joined #yocto | 15:19 | |
*** alperak <alperak!~alperak@176.88.106.122> has quit IRC (Quit: Client closed) | 15:19 | |
*** alperak <alperak!~alperak@176.88.106.122> has joined #yocto | 15:20 | |
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Quit: Ex-Chat) | 15:23 | |
rm5248 | Hi all, I'm trying to get sysvinit working to test something. I set INIT_MANAGER="sysvinit", but busybox fails to install with: "install: cannot create regular file '/home/robert/yocto-testing/poky/build-microchip/tmp/work/core2-64-poky-linux/busybox/1.35.0-r0/image/etc/default/busybox-syslog': No such file or directory". this is using current head of kirkstone. any thoughts as to what might be wrong? | 15:35 |
rm5248 | I do have some custom busybox settings, not sure if that would cause an issue at all | 15:36 |
rburton | yeah probaby your settings conflicting with what the recipe wants to do | 15:41 |
*** simonew <simonew!~ile@2a02:810d:a940:35fc:5521:3b14:4f6:5ae7> has quit IRC (Ping timeout: 255 seconds) | 15:52 | |
*** simonew <simonew!~ile@2a02:810d:a940:35fc:a542:3d50:6d97:eac0> has joined #yocto | 15:52 | |
*** simonew <simonew!~ile@2a02:810d:a940:35fc:a542:3d50:6d97:eac0> has quit IRC (Remote host closed the connection) | 15:56 | |
*** simonew <simonew!~ile@2a02:810d:a940:35fc:6ab0:167c:db84:7329> has joined #yocto | 15:57 | |
*** alperak <alperak!~alperak@176.88.106.122> has quit IRC (Quit: Client closed) | 16:15 | |
simonew | what is the process to contribute to the wiki? Request an account and then just do? I searched and could not find it. | 16:19 |
*** alessioigor <alessioigor!~alessioig@185.178.95.240> has quit IRC (Quit: alessioigor) | 16:22 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.240> has joined #yocto | 16:22 | |
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has quit IRC (Remote host closed the connection) | 16:23 | |
rburton | simonew: yes | 16:23 |
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed) | 16:24 | |
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto | 16:24 | |
simonew | ok, will do so thx | 16:25 |
*** zpfvo <zpfvo!~fvo@i59F5CF52.versanet.de> has quit IRC (Quit: Leaving.) | 16:34 | |
*** simonew <simonew!~ile@2a02:810d:a940:35fc:6ab0:167c:db84:7329> has quit IRC (Remote host closed the connection) | 16:35 | |
*** croptixboz <croptixboz!~boz@173-167-78-90-centralpennsylvania.hfc.comcastbusiness.net> has joined #yocto | 16:36 | |
*** croptixboz <croptixboz!~boz@173-167-78-90-centralpennsylvania.hfc.comcastbusiness.net> has quit IRC (Client Quit) | 16:37 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.240> has quit IRC (Quit: alessioigor) | 16:52 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.240> has joined #yocto | 16:53 | |
*** starblue <starblue!~juergen@dslb-094-220-108-060.094.220.pools.vodafone-ip.de> has quit IRC (Ping timeout: 264 seconds) | 16:53 | |
moto-timo | rcw: do you have a public branch of the error-report-web Django LTS hacks/fixes? | 16:56 |
rcw | moto-timo: Yep, I pushed it here: https://github.com/robwoolley/error-report-web | 16:57 |
moto-timo | rcw: excellent. thank you | 16:57 |
*** alessioigor <alessioigor!~alessioig@185.178.95.240> has quit IRC (Quit: alessioigor) | 16:58 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.240> has joined #yocto | 16:58 | |
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV) | 16:58 | |
*** PhoenixMage <PhoenixMage!~phoenix@65.181.3.195> has quit IRC (Ping timeout: 256 seconds) | 17:04 | |
*** PhoenixMage <PhoenixMage!~phoenix@65.181.3.243> has joined #yocto | 17:06 | |
moto-timo | rcw: Django 4.2 is the current LTS FWIW | 17:07 |
moto-timo | rcw: https://www.djangoproject.com/download/ | 17:08 |
moto-timo | rcw: we already migrated layerindex-web to 4.2 and Toaster as well | 17:09 |
*** davidinux <davidinux!~davidinux@194.34.233.63> has quit IRC (Ping timeout: 276 seconds) | 17:09 | |
*** davidinux <davidinux!~davidinux@host-82-55-204-6.retail.telecomitalia.it> has joined #yocto | 17:11 | |
*** yudjinn <yudjinn!~yudjinn@c-73-95-114-88.hsd1.co.comcast.net> has quit IRC (Ping timeout: 246 seconds) | 17:12 | |
*** pabigot <pabigot!~pab@143.sub-75-236-6.myvzw.com> has quit IRC (Remote host closed the connection) | 17:15 | |
*** pabigot <pabigot!~pab@143.sub-75-236-6.myvzw.com> has joined #yocto | 17:17 | |
rcw | moto-timo: Cool. Switching to whatever layerindex-web is using makes sense. | 17:20 |
*** yudjinn <yudjinn!~yudjinn@c-73-95-114-88.hsd1.co.comcast.net> has joined #yocto | 17:29 | |
*** jmd <jmd!~user@2001:a61:2aaa:2d01:bdbd:1ae3:2ec6:37f9> has joined #yocto | 17:36 | |
*** tnovotny_ <tnovotny_!~tnovotny@ip4-83-240-26-162.cust.nbox.cz> has joined #yocto | 17:37 | |
*** tnovotny <tnovotny!~tnovotny@ip4-83-240-26-162.cust.nbox.cz> has quit IRC (Read error: Connection reset by peer) | 17:38 | |
*** tnovotny <tnovotny!~tnovotny@ip4-83-240-26-162.cust.nbox.cz> has joined #yocto | 17:39 | |
*** tnovotny_ <tnovotny_!~tnovotny@ip4-83-240-26-162.cust.nbox.cz> has quit IRC (Ping timeout: 260 seconds) | 17:42 | |
*** starblue <starblue!~juergen@33-131-142-46.pool.kielnet.net> has joined #yocto | 18:04 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.240> has quit IRC (Quit: alessioigor) | 18:06 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.240> has joined #yocto | 18:07 | |
*** Chaser <Chaser!~Chaser@user/chaser> has quit IRC (Remote host closed the connection) | 18:07 | |
*** Chaser <Chaser!~Chaser@user/chaser> has joined #yocto | 18:08 | |
yudjinn | hey, has anyone here tried to spin op their own instance of the oe layerindex website? https://git.yoctoproject.org/layerindex-web/about/ | 18:15 |
yudjinn | this is a fresh environment I'm just trying to test locally on how this will work for my purposes, and immediately trying to login on the admin panel throws a 403 for CSRF verification | 18:21 |
*** pabigot <pabigot!~pab@143.sub-75-236-6.myvzw.com> has quit IRC (Ping timeout: 264 seconds) | 18:28 | |
moto-timo | rcw: very quick hack but https://github.com/moto-timo/error-report-web/tree/django-4.2 | 18:34 |
moto-timo | rcw: and yes, it is begging for a docker-compose.yml | 18:34 |
*** Vonter <Vonter!~Vonter@user/vonter> has quit IRC (Ping timeout: 256 seconds) | 18:35 | |
*** Vonter <Vonter!~Vonter@user/vonter> has joined #yocto | 18:37 | |
rcw | moto-timo: Looks good to me | 18:39 |
moto-timo | rcw: added README.docker for how I am building and running locally | 18:40 |
*** frieder <frieder!~frieder@i5C75E681.versanet.de> has quit IRC (Remote host closed the connection) | 18:40 | |
*** goliath <goliath!~goliath@user/goliath> has joined #yocto | 18:40 | |
moto-timo | yudjinn: use the dockersetup.py script to spin up your own layerindex... the problem is populating the data takes a while and hits the layers.openembedded.org server with a lot of requests | 18:41 |
*** pabigot <pabigot!~pab@80.sub-75-222-32.myvzw.com> has joined #yocto | 18:42 | |
*** Kubu_work <Kubu_work!~kubu@arennes-654-1-262-155.w2-13.abo.wanadoo.fr> has quit IRC (Quit: Leaving.) | 18:44 | |
rcw | moto-timo: README.docker looks good. I had to add this to settings.py for cases where I wasn't running it on the local machine: ALLOWED_HOSTS = ['myworkstation', 'localhost', '127.0.0.1'] | 18:45 |
*** tnovotny <tnovotny!~tnovotny@ip4-83-240-26-162.cust.nbox.cz> has quit IRC (Quit: Leaving) | 18:46 | |
yudjinn | moto-timo: I used the dockersetup.py, and I'm running locally; still get the CRSF error | 18:47 |
rcw | moto-timo: Also, this is how I used send-error-report: send-error-report --no-ssl --server 'myworkstation:5000' tmp-glibc/log/error-report/error_report_20231219115707.txt --name jdoe--email "john.doe@company.com" | 18:47 |
yudjinn | moto-timo: yeah its hitting this: `Origin checking failed - https://localhost:8081 does not match any trusted origins.` | 18:51 |
moto-timo | yudjinn: you need to look at dockersetup.py --help and pass in more arguments... | 18:54 |
moto-timo | yudjinn: I create a local dockersetup.sh script to make it aslightly easier to remember what to pass in. But the exact arguments depend on how you intended to run it and whether you are using email etc. | 18:56 |
yudjinn | moto-timo: I'm just trying to spin it up locally and poke around the interface for somethings. I dont have a proxy, it defaults to localhost as the HOSTNAME, and the initial portmapping of 8080 is fine; what exactly am I missing? | 18:57 |
moto-timo | yudjinn: I don't know. It works for me fine, but I do pass --hostname to the dockersetup.py script | 18:58 |
yudjinn | moto-timo: of what; localhost? | 18:59 |
moto-timo | yudjinn: you might need to reinstall as perhaps something in docker/settings or docker-compose.yml is out of date | 18:59 |
moto-timo | yudjinn: no, I use the name of my server which is something.local in my network | 18:59 |
yudjinn | moto-timo: I've reinstalled multiple times, and today is the first time I've ever cloned this repo. And I'm spinning this up locally on my device, so it doesnt have a FQDN | 19:00 |
moto-timo | yudjinn: see if the following is in docker/settings.py | 19:00 |
moto-timo | ALLOWED_HOSTS = [os.getenv('HOSTNAME', 'layers.test')] | 19:00 |
moto-timo | CSRF_TRUSTED_ORIGINS = ['https://' + os.getenv('HOSTNAME', 'layers.test')] | 19:00 |
moto-timo | this is very standard modern Django growing pains... nothing layerindex-web specific | 19:01 |
yudjinn | moto-timo: yep, those are in there | 19:02 |
yudjinn | I mean the site mostly works; its just during login that it coughs up on this | 19:02 |
moto-timo | yudjinn: like I said, it works for me locally... I test this multiple times a week. but I use mdns on my network so my HOSTNAME is not localhost | 19:03 |
moto-timo | yudjinn: make sure the syntax of CSRF_TRUSTED_ORIGINS is passing in a full https:// url that is correct.. that is new in Django 4.2 | 19:06 |
moto-timo | yudjinn: and if it is redirecting to https://localhost you might need to pass in more than one (it is a list) | 19:07 |
yudjinn | moto-timo: `CSRF_TRUSTED_ORIGINS = ['https://' + os.getenv('HOSTNAME', 'layers.test')]` I have not changed this at all | 19:08 |
moto-timo | yudjinn: what EXACTLY is the CSRF error... you may need to set DEBUG = True in docker/setting.py | 19:09 |
yudjinn | moto-timo: `Origin checking failed - https://localhost:8081 does not match any trusted origins.` | 19:11 |
moto-timo | yudjinn: what is the output of "echo $HOSTNAME" | 19:11 |
yudjinn | docker exec | 19:13 |
yudjinn | oops, wrong screen, one moment | 19:13 |
*** roussinm <roussinm!~mroussin@bras-base-qubcpq1306w-grc-37-142-115-196-7.dsl.bell.ca> has joined #yocto | 19:13 | |
yudjinn | `echo $HOSTNAME` in the container returns `localhost` | 19:14 |
*** Haxxa <Haxxa!~Haxxa@202-65-68-206.ip4.superloop.au> has quit IRC (Quit: Haxxa flies away.) | 19:15 | |
*** Haxxa <Haxxa!~Haxxa@202-65-68-206.ip4.superloop.au> has joined #yocto | 19:18 | |
moto-timo | yudjinn: are you passing a --portmapping 8080:80,8081:443 to dockersetup.py? | 19:18 |
yudjinn | that is the default, so no | 19:18 |
yudjinn | and thats not the problem, otherwise I wouldnt be able to access the site at all | 19:18 |
moto-timo | yudjinn: I'm not sure why the port is being reported by the CSRF error, that is why I am asking. | 19:20 |
*** mattsm <mattsm!~mattsm@209.36.98.250> has quit IRC (Quit: Ping timeout (120 seconds)) | 19:21 | |
*** jsandman <jsandman!~jsandman@95.179.203.88> has quit IRC (Quit: Ping timeout (120 seconds)) | 19:21 | |
*** mattsm <mattsm!~mattsm@209.36.98.250> has joined #yocto | 19:21 | |
*** jsandman <jsandman!~jsandman@95.179.203.88> has joined #yocto | 19:21 | |
*** pbsds <pbsds!~pbsds@84.20.102.94> has quit IRC (Quit: Ping timeout (120 seconds)) | 19:21 | |
*** mort <mort!~mort@188.166.114.29> has quit IRC (Quit: Ping timeout (120 seconds)) | 19:21 | |
*** Lihis <Lihis!~Lihis@2001:41d0:e:f34::1> has quit IRC (Quit: Quitting) | 19:21 | |
*** ndec <ndec!sid219321@id-219321.tinside.irccloud.com> has quit IRC (Read error: Connection reset by peer) | 19:21 | |
*** rhadye <rhadye!sid217449@id-217449.tinside.irccloud.com> has quit IRC (Read error: Connection reset by peer) | 19:21 | |
*** smurray <smurray!sid98062@id-98062.hampstead.irccloud.com> has quit IRC (Read error: Connection reset by peer) | 19:21 | |
*** ndec <ndec!sid219321@id-219321.tinside.irccloud.com> has joined #yocto | 19:22 | |
*** ChanServ sets mode: +v ndec | 19:22 | |
*** rhadye <rhadye!sid217449@id-217449.tinside.irccloud.com> has joined #yocto | 19:22 | |
*** smurray <smurray!sid98062@id-98062.hampstead.irccloud.com> has joined #yocto | 19:22 | |
*** Emantor <Emantor!~Emantor@magratgarlick.emantor.de> has quit IRC (Quit: ZNC - http://znc.in) | 19:22 | |
*** Lihis_ <Lihis_!~Lihis@ns3006753.ip-151-80-42.eu> has joined #yocto | 19:22 | |
*** pbsds <pbsds!~pbsds@84.20.102.94> has joined #yocto | 19:22 | |
*** halstead <halstead!sid505447@id-505447.ilkley.irccloud.com> has quit IRC (Read error: Connection reset by peer) | 19:22 | |
*** halstead <halstead!sid505447@id-505447.ilkley.irccloud.com> has joined #yocto | 19:22 | |
*** ardo- <ardo-!~ardo@host-79-50-150-84.retail.telecomitalia.it> has quit IRC (Quit: ZNC 1.8.2 - https://znc.in) | 19:22 | |
*** wak <wak!~wkenningt@2001:19f0:ac01:40f:5400:4ff:fe7c:68e6> has quit IRC (Quit: ZNC - https://znc.in) | 19:22 | |
*** khazakar <khazakar!uid144674@id-144674.ilkley.irccloud.com> has quit IRC (Read error: Connection reset by peer) | 19:22 | |
*** marka <marka!~marka@135-23-92-18.cpe.pppoe.ca> has quit IRC (Quit: ZNC 1.8.2 - https://znc.in) | 19:22 | |
*** bluelightning <bluelightning!uid552298@id-552298.tinside.irccloud.com> has quit IRC (Read error: Connection reset by peer) | 19:22 | |
*** nohit <nohit!sid334887@id-334887.tinside.irccloud.com> has quit IRC (Read error: Connection reset by peer) | 19:22 | |
*** shivamurthy <shivamurthy!sid359794@id-359794.helmsley.irccloud.com> has quit IRC (Read error: Connection reset by peer) | 19:22 | |
*** Lihis_ is now known as Lihis | 19:22 | |
*** wak <wak!~wkenningt@2001:19f0:ac01:40f:5400:4ff:fe7c:68e6> has joined #yocto | 19:22 | |
*** bluelightning <bluelightning!sid552298@id-552298.tinside.irccloud.com> has joined #yocto | 19:22 | |
*** ardo <ardo!~ardo@host-79-50-150-84.retail.telecomitalia.it> has joined #yocto | 19:22 | |
*** shivamurthy <shivamurthy!sid359794@id-359794.helmsley.irccloud.com> has joined #yocto | 19:22 | |
*** mort <mort!~mort@188.166.114.29> has joined #yocto | 19:22 | |
*** Emantor <Emantor!~Emantor@magratgarlick.emantor.de> has joined #yocto | 19:22 | |
*** marka <marka!~marka@135-23-92-18.cpe.pppoe.ca> has joined #yocto | 19:22 | |
*** khazakar <khazakar!uid144674@id-144674.ilkley.irccloud.com> has joined #yocto | 19:22 | |
*** nohit <nohit!sid334887@id-334887.tinside.irccloud.com> has joined #yocto | 19:22 | |
*** sugarbeet <sugarbeet!~barbas@81.4.123.134> has quit IRC (Ping timeout: 245 seconds) | 19:24 | |
*** abelloni <abelloni!~abelloni@2001:41d0:305:1000::2a58> has quit IRC (Ping timeout: 245 seconds) | 19:24 | |
*** davidinux <davidinux!~davidinux@host-82-55-204-6.retail.telecomitalia.it> has quit IRC (Ping timeout: 245 seconds) | 19:24 | |
*** Chaser <Chaser!~Chaser@user/chaser> has quit IRC (Quit: Chaser) | 19:25 | |
*** abelloni <abelloni!~abelloni@2001:41d0:305:1000::2a58> has joined #yocto | 19:25 | |
*** davidinux <davidinux!~davidinux@host-82-55-204-6.retail.telecomitalia.it> has joined #yocto | 19:25 | |
*** sugarbeet <sugarbeet!~barbas@81.4.123.134> has joined #yocto | 19:26 | |
moto-timo | yudjinn: ok, I replicated it locally. I'll add it to the bug list. | 19:27 |
moto-timo | yudjinn: something about passing in either the --hostname or the --portmapping is affecting things in unexpected ways with the new CSRF_TRUSTED_ORIGINS "fun" | 19:28 |
moto-timo | yudjinn: or if you would care to file a bug: https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Layer%20Index | 19:28 |
yudjinn | please do, what exactly is going on? do I need to pass in both the hostname and portmapping? | 19:29 |
vmeson | khem, anyone: have you played with predictable network interface names? It's a small change in systemd/eudev but affects other recipes so it seems like a DISTRO_f | 19:29 |
vmeson | FEATURE. | 19:29 |
khem | hmm I have disabled renaming in systemd via kernel cmdline | 19:31 |
khem | many apps assume i/f names | 19:32 |
vmeson | khem: yeah, we'd have to fix that... haven't most distros moved to PNI ? | 19:33 |
JPEW | We punted on the whole thing by make a bride interface and adding interfaces to them via udev rule matching :) | 19:33 |
vmeson | JPEW: bridge interface I assume ... | 19:33 |
khem | yeah well the userspace has to be cleared | 19:33 |
JPEW | Ya | 19:33 |
JPEW | All our apps use the bridge interface; mostly because they can't handle an interface ever being down :/ | 19:34 |
vmeson | (a bride interface would have higher maintenance costs! ;-) ) | 19:34 |
yudjinn | moto-timo: I specified hostname and portmapping `-o localhost -m 8080:80,8081:443` and still hit the same issue; is there something I can change elsewhere to make this happy? | 19:35 |
JPEW | vmeson: mmm... indeed | 19:35 |
moto-timo | yudjinn: as I said, I pass the name of my workstation in as --hostname, so perhaps you can try --hostname myworkstation from what you said earlier passed in to dockersettings.py | 19:36 |
moto-timo | sorry dockersetup.py | 19:36 |
moto-timo | probably CSRF_TRUSTED_ORIGINS is requiring a FQDN (fully qualified domain name) | 19:37 |
moto-timo | not our fault, it's a Django thing | 19:37 |
moto-timo | yudjinn: so I guess try localhost.localdomain? | 19:40 |
moto-timo | yudjinn: meh. that doesn't work either. it will take longer to figure out the root cause for localhost | 19:44 |
moto-timo | https://docs.djangoproject.com/en/4.2/ref/settings/#csrf-trusted-origins | 19:48 |
moto-timo | https://forum.djangoproject.com/t/django-csrf-trusted-and-allowed-hosts-issues/23842/3 | 19:48 |
moto-timo | those are what I referenced when I fixed it for the Django 4.2 upgrade... but apparently we have not tested "localhost" | 19:48 |
jdiez | hi, I'm building a poky image based on a bsp layer provided by my board vendor. This layer changes how the bootable SD card image with a imx-mkimage config overlay that still includes the upstream imx-mkimage config. Because the upstream requires a patch (https://github.com/nxp-imx/meta-imx/blob/mickledore-6.1.22-2.0.0/meta-bsp/recipes-bsp/imx-mkimage/imx-mkimage_git.inc), the BSP layer touches the FILESEXTRAPATHS variable so | 19:48 |
jdiez | bitbake can find the patch | 19:48 |
jdiez | it works as long as I set OEROOT = "..." in my bblayers.conf; I get an image that works and all is good. However, if I try to build the extended sdk (`bitbake core-image-minimal -c populate_sdk_ext`), the build cannot find the patch; the OEROOT variable is undefined | 19:49 |
jdiez | this is the downstream imx-mkimage_git.inc: https://git.phytec.de/meta-phytec/tree/dynamic-layers/fsl-bsp-release/recipes-bsp/imx-mkimage/imx-boot-phytec_1.0.bb?h=mickledore. I would very much appreciate any guidance, I'm a bit lost :) | 19:50 |
moto-timo | yudjinn: it might be related to SECUR_PROXY_SSL_HEADER https://stackoverflow.com/a/71482883/6873276 | 19:52 |
yudjinn | moto-timo: I tried using the actual hostname of my device as well, which is "101441.lan" and that gives: `root@localhost:/# echo $HOSTNAME | 19:52 |
moto-timo | yudjinn: right, but that's inside the container... docker compose is mapping from outside to inside | 19:53 |
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV) | 19:53 | |
yudjinn | ope, bad paste: ` Origin checking failed - https://101441.lan:8081 does not match any trusted origins.` | 19:53 |
yudjinn | moto-timo: I mean, I dont think I'm messing up any of the prompts either, I'm honestly surprised it's working for you at this point | 19:55 |
jdiez | (I suspect `imx-boot-phytec` is incorrectly extending `imx-boot` in the meta-nxp layer...) | 19:55 |
yudjinn | also, the admin login on the readme shows `http://localhost:8080/admin/` but that immediately redirects to `https://localhost:8081/admin/` | 19:55 |
*** starblue <starblue!~juergen@33-131-142-46.pool.kielnet.net> has quit IRC (Ping timeout: 264 seconds) | 19:56 | |
yudjinn | moto-timo: also, passing `--no-https` trying to see if that redirect was causing issues completely breaks everything and says that `localhost` is not a part of `ALLOWED_HOSTS` even when I hard set the array to include it? | 19:59 |
moto-timo | yudjinn: to work around for now can you try `dockersetup.py --reinstall --hostname 101441.lan --portmapping 80:80,443:443` as this should be equivalent to what I am doing locally | 20:01 |
yudjinn | moto-timo: did that, failed for me, but maybe my browser was caching stuff, lemme try again. This does work, btw: `./dockersetup.py -r -o localhost -m 8080:80,8081:443 --no-https` | 20:02 |
yudjinn | moto-timo: that did work, using 80:80,443:443; I'm pretty sure the `--hostname 101441.lan --portmapping 8080:80,8081:443` didnt, though | 20:06 |
moto-timo | I literally meant 80:80,443:443 | 20:07 |
moto-timo | my hunch is the path is getting mangled with the port somewhere in the login code which is not ours | 20:08 |
moto-timo | yudjinn: somehow the POST which is what the login form does is getting mangled and it will take some time | 20:09 |
*** xmn <xmn!~xmn@pool-71-105-152-109.nycmny.fios.verizon.net> has quit IRC (Quit: xmn) | 20:11 | |
*** agrue_ <agrue_!~agrue@104-48-226-145.lightspeed.gnvlsc.sbcglobal.net> has quit IRC (Ping timeout: 255 seconds) | 20:15 | |
*** agrue <agrue!~agrue@104-48-226-145.lightspeed.gnvlsc.sbcglobal.net> has joined #yocto | 20:16 | |
*** wicki <wicki!~wicki@user/wicki> has joined #yocto | 20:20 | |
*** starblue <starblue!~juergen@33-131-142-46.pool.kielnet.net> has joined #yocto | 20:29 | |
yudjinn | moto-timo: thanks for your help on this, though! I take it this celery service is how it scrapes for new data? | 20:34 |
moto-timo | yudjinn: so, it turns out we need the :8081 appended to localhost in the CSRF_TRUSTED_ORIGINS... but currently the dockersetup.py script does not make that change in the docker/settings.py... in other words if you manually set `CSRF_TRUSTED_ORIGINS = ['https://' + os.getenv('HOSTNAME', 'layers.test'), 'https://localhost:8081']` it will work | 20:34 |
*** jmd <jmd!~user@2001:a61:2aaa:2d01:bdbd:1ae3:2ec6:37f9> has quit IRC (Remote host closed the connection) | 20:34 | |
moto-timo | patches welcome ;) | 20:35 |
moto-timo | yudjinn: celery is a task manager... it does a few different things | 20:35 |
moto-timo | yudjinn: I need to be doing other things so I should not go into detail | 20:35 |
moto-timo | FWIW, I actually came across this issue earlier and I just forgot it conveniently ;) once I remembered the issue was how docker-compose.yml and dockersetup.py are interacting it jogged the old grey matter | 20:36 |
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has quit IRC (Remote host closed the connection) | 20:44 | |
moto-timo | yudjinn: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15329 | 20:48 |
*** starblue <starblue!~juergen@33-131-142-46.pool.kielnet.net> has quit IRC (Ping timeout: 260 seconds) | 20:54 | |
rm5248 | Is there a way to list the packages that a recipe will produce? I want to figure out what module(s) are generated from the lighttpd recipe, since I need to install some lighttpd modules | 20:57 |
rburton | _will_, no | 20:58 |
rburton | especially lighttpd which generates packages depending on what modules you enable | 20:59 |
rburton | _has_, yes | 20:59 |
rburton | oe-pkgdata-util list-pkgs --recipe lighttpd | 20:59 |
rburton | you can look at the value of PACKAGES to see what packages it will potentially create, but not all of those will be created. also PACKAGES_DYNAMIC is a regex that that matches dynamically created packages. | 21:00 |
rburton | see the end of the lighttp recipe where it calls do_split_packages. that creates a new package for every module. | 21:00 |
rburton | there's no static list as it depends on the configuration of the recipe | 21:01 |
rm5248 | well, at least with the list that gives me enough to look for, thanks. | 21:01 |
fray | the key is this information is only available AFTER you build. You can get hints (see rbuton's comments) but they're only hints. | 21:02 |
rburton | some build tools demand the package list to be static and known up front. we're more flexible. | 21:03 |
rm5248 | I've already built it, so knowing the modules gets me everything I need(I think) | 21:03 |
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has joined #yocto | 21:05 | |
*** khazakar <khazakar!uid144674@id-144674.ilkley.irccloud.com> has quit IRC (Quit: Connection closed for inactivity) | 21:06 | |
*** tlwoerner <tlwoerner!~tlwoerner@pppoe-209-91-167-254.vianet.ca> has quit IRC (Quit: Leaving) | 21:07 | |
*** tlwoerner <tlwoerner!~tlwoerner@pppoe-209-91-167-254.vianet.ca> has joined #yocto | 21:07 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.240> has quit IRC (Quit: alessioigor) | 21:15 | |
khem | RP: I picked up your 4 patches regarding qemu stuff from master-next and bingo, its working great for my case, its finishing core-image-ptest-fast quicker too | 21:16 |
khem | see the top 4 patches here - https://git.yoctoproject.org/poky-contrib/log/?h=yoe/mut | 21:16 |
*** mvlad <mvlad!~mvlad@2a02:2f05:8406:100:a14e:7560:e11b:2c3a> has quit IRC (Remote host closed the connection) | 21:31 | |
*** simonew <simonew!~ile@ip1f13dd7f.dynamic.kabel-deutschland.de> has joined #yocto | 21:37 | |
*** simonew <simonew!~ile@ip1f13dd7f.dynamic.kabel-deutschland.de> has quit IRC (Quit: Konversation terminated!) | 21:52 | |
*** dmoseley <dmoseley!~dmoseley@d4-50-177-189.evv.wideopenwest.com> has quit IRC (Quit: ZNC 1.8.2 - https://znc.in) | 22:12 | |
*** dmoseley <dmoseley!~dmoseley@d4-50-177-189.evv.wideopenwest.com> has joined #yocto | 22:36 | |
*** starblue <starblue!~juergen@dslb-094-220-108-060.094.220.pools.vodafone-ip.de> has joined #yocto | 22:38 | |
*** rm5248 <rm5248!~rm5248@c-76-100-95-162.hsd1.va.comcast.net> has quit IRC (Quit: Leaving.) | 22:59 | |
*** dmoseley <dmoseley!~dmoseley@d4-50-177-189.evv.wideopenwest.com> has quit IRC (Quit: ZNC 1.8.2 - https://znc.in) | 23:00 | |
*** dmoseley <dmoseley!~dmoseley@d4-50-177-189.evv.wideopenwest.com> has joined #yocto | 23:01 | |
*** dmoseley <dmoseley!~dmoseley@d4-50-177-189.evv.wideopenwest.com> has quit IRC (Quit: ZNC 1.8.2 - https://znc.in) | 23:07 | |
*** dmoseley <dmoseley!~dmoseley@d4-50-177-189.evv.wideopenwest.com> has joined #yocto | 23:09 | |
*** Minvera <Minvera!~Minvera@user/Minvera> has quit IRC (Ping timeout: 246 seconds) | 23:17 | |
*** Starfoxxes <Starfoxxes!~Starfoxxe@ip-037-201-004-087.um10.pools.vodafone-ip.de> has quit IRC (Ping timeout: 260 seconds) | 23:32 | |
*** dmoseley <dmoseley!~dmoseley@d4-50-177-189.evv.wideopenwest.com> has quit IRC (Ping timeout: 246 seconds) | 23:44 | |
*** dmoseley <dmoseley!~dmoseley@d4-50-177-189.evv.wideopenwest.com> has joined #yocto | 23:47 | |
*** speeder <speeder!~speeder__@2001:8a0:dfde:fa00:2a57:8da0:d918:e558> has quit IRC (Remote host closed the connection) | 23:48 | |
*** speeder <speeder!~speeder__@2001:8a0:dfde:fa00:eee2:d564:5b04:89bf> has joined #yocto | 23:48 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!