Thursday, 2023-07-06

*** Wouter0100670440 <Wouter0100670440!~Wouter010@entry.nbg.netvos.nl> has quit IRC (Quit: The Lounge - https://thelounge.chat)00:27
*** Wouter0100670440 <Wouter0100670440!~Wouter010@entry.nbg.netvos.nl> has joined #yocto00:27
*** Circuitsoft <Circuitsoft!uid393878@id-393878.lymington.irccloud.com> has quit IRC (Quit: Connection closed for inactivity)00:30
*** Entei[m] <Entei[m]!~daienkaim@2001:470:69fc:105::1:714b> has joined #yocto01:06
*** sakoman <sakoman!~steve@dhcp-72-234-106-30.hawaiiantel.net> has quit IRC (Quit: Leaving.)01:12
*** starblue3 <starblue3!~juergen@dslb-088-078-102-228.088.078.pools.vodafone-ip.de> has quit IRC (Ping timeout: 240 seconds)01:41
*** starblue3 <starblue3!~juergen@dslb-178-006-091-162.178.006.pools.vodafone-ip.de> has joined #yocto01:44
*** marinaro <marinaro!~marinaro@195.231.75.40> has joined #yocto02:14
*** sakoman <sakoman!~steve@dhcp-72-234-106-30.hawaiiantel.net> has joined #yocto02:24
*** TundraMan <TundraMan!~marka@135-23-92-18.cpe.pppoe.ca> has joined #yocto02:26
*** marka <marka!~marka@135-23-92-18.cpe.pppoe.ca> has quit IRC (Ping timeout: 260 seconds)02:27
*** jclsn <jclsn!~jclsn@2a04:4540:653c:e00:2ce:39ff:fecf:efcd> has quit IRC (Ping timeout: 240 seconds)02:59
*** jclsn <jclsn!~jclsn@2a04:4540:6547:200:2ce:39ff:fecf:efcd> has joined #yocto03:02
*** pabigot <pabigot!~pab@67-1-127-71.tcso.qwest.net> has quit IRC (Ping timeout: 245 seconds)03:43
*** pabigot <pabigot!~pab@8.sub-75-236-142.myvzw.com> has joined #yocto03:57
*** pabigot <pabigot!~pab@8.sub-75-236-142.myvzw.com> has quit IRC (Ping timeout: 245 seconds)04:01
*** pabigot <pabigot!~pab@115.sub-75-236-151.myvzw.com> has joined #yocto04:16
*** amitk <amitk!~amit@58.84.62.190> has joined #yocto04:24
*** wooosaiiii <wooosaiiii!~Thunderbi@89-212-21-243.static.t-2.net> has quit IRC (Quit: wooosaiiii)04:25
*** wooosaiiii <wooosaiiii!~Thunderbi@89-212-21-243.static.t-2.net> has joined #yocto04:25
*** sakoman <sakoman!~steve@dhcp-72-234-106-30.hawaiiantel.net> has quit IRC (Quit: Leaving.)04:29
*** pabigot <pabigot!~pab@115.sub-75-236-151.myvzw.com> has quit IRC (Ping timeout: 245 seconds)04:46
*** pabigot <pabigot!~pab@148.sub-75-236-152.myvzw.com> has joined #yocto05:00
*** nemik <nemik!~nemik@207.237.248.190> has quit IRC (Ping timeout: 260 seconds)05:14
*** nemik <nemik!~nemik@76.74.126.42> has joined #yocto05:14
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has joined #yocto05:14
*** nemik <nemik!~nemik@76.74.126.42> has quit IRC (Ping timeout: 252 seconds)05:18
*** nemik <nemik!~nemik@207.237.248.190> has joined #yocto05:19
*** Guest98 <Guest98!~Guest98@31.145.189.2> has joined #yocto05:32
mischiefRP: i'm back at it... this seems like an SELinux issue, which i have 0 experience with :-(05:50
mischiefif i remove "--xattrs --xattrs-include='*'" from the copytree command, all is good05:51
mischiefstrace reveals that we are setting the SELinux xattrs right before the EPERM from tar..05:51
mischief28579 mknodat(3, "./bootstrap", 0555)   = 005:52
mischief28579 setxattr("/proc/self/fd/3/./bootstrap", "security.selinux", "system_u:object_r:var_lib_t:s0", 31, 0) = 005:52
mischief28579 openat(3, "./bootstrap", O_WRONLY|O_CREAT|O_NOCTTY|O_NONBLOCK|O_CLOEXEC, 0555) = -1 EACCES (Permission denied)05:52
*** adrianf <adrianf!~adrian@2a02:169:59a6:0:5488:f785:9061:cf6c> has joined #yocto06:07
*** Guest98 <Guest98!~Guest98@31.145.189.2> has quit IRC (Quit: Client closed)06:12
*** manuel1985 <manuel1985!~manuel198@62.99.131.178> has joined #yocto06:16
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has joined #yocto06:23
*** tgamblin <tgamblin!~tgamblin@2001:1970:5b1f:ab00:71eb:b8e9:8589:9ca5> has quit IRC (Remote host closed the connection)06:27
*** tgamblin <tgamblin!~tgamblin@2001:1970:5b1f:ab00:d875:6297:4e81:e577> has joined #yocto06:28
*** mckoan|away is now known as mckoan06:43
mckoangood morning06:43
*** pabigot <pabigot!~pab@148.sub-75-236-152.myvzw.com> has quit IRC (Ping timeout: 250 seconds)06:48
*** Thorn_ <Thorn_!~Thorn@2001:8a0:dfd7:d500:5029:e7d3:19f1:39d> has joined #yocto06:53
*** Thorn <Thorn!~Thorn@user/thorn> has quit IRC (Ping timeout: 240 seconds)06:55
*** zpfvo <zpfvo!~fvo@i59F5CEA8.versanet.de> has joined #yocto06:59
*** pabigot <pabigot!~pab@135.sub-75-236-157.myvzw.com> has joined #yocto07:01
*** wooosaiiii <wooosaiiii!~Thunderbi@89-212-21-243.static.t-2.net> has quit IRC (Quit: wooosaiiii)07:05
*** wooosaiiii <wooosaiiii!~Thunderbi@89-212-21-243.static.t-2.net> has joined #yocto07:05
*** rfuentess <rfuentess!~rfuentess@static-5-51-117-151.ftth.abo.bbox.fr> has joined #yocto07:05
*** barometz <barometz!~dvanb@92-109-61-249.cable.dynamic.v4.ziggo.nl> has quit IRC (Quit: you can't fire me!)07:05
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has quit IRC (Quit: alessioigor)07:06
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has joined #yocto07:06
*** barometz <barometz!~dvanb@92-109-61-249.cable.dynamic.v4.ziggo.nl> has joined #yocto07:07
*** Kubu_work <Kubu_work!~kubu@arennes-654-1-262-155.w2-13.abo.wanadoo.fr> has joined #yocto07:09
*** gsalazar <gsalazar!~gsalazar@139.0.166.178.rev.vodafone.pt> has joined #yocto07:13
*** Guest98 <Guest98!~Guest98@31.145.189.2> has joined #yocto07:16
Guest98hi, morning everyone.07:16
Guest98i have TARGET_LDFLAGS += "..." definitions in myrecipe.bb. i want to export this definition as target_link_libraries(exe ${TARGET_LDFLAGS}) in CMakeListst.txt, how can i do it? if i can't do this, i have to manually add all the definitions in TARGET_LDFLAGS to target_link_libraries and delete them from the recipe as well.07:16
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has quit IRC (Ping timeout: 240 seconds)07:17
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has quit IRC (Quit: alessioigor)07:32
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has joined #yocto07:32
*** amitk_ <amitk_!~amit@58.84.62.171> has joined #yocto07:33
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has quit IRC (Client Quit)07:37
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has joined #yocto07:37
*** ptsneves <ptsneves!~Thunderbi@031011128221.dynamic-3-poz-k-0-2-0.vectranet.pl> has joined #yocto07:38
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has quit IRC (Client Quit)07:39
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has joined #yocto07:39
LetoThe2ndyo dudX07:43
Guest98hi08:01
*** florian_kc <florian_kc!~florian@dynamic-046-114-091-101.46.114.pool.telefonica.de> has joined #yocto08:07
RPmischief: Ah. Is this under pseudo? I think pseudo may need to learn some "magic" to help with security attributes :/08:09
*** ptsneves <ptsneves!~Thunderbi@031011128221.dynamic-3-poz-k-0-2-0.vectranet.pl> has quit IRC (Ping timeout: 246 seconds)08:16
mischiefRP: sigh, no08:16
mischiefit's a stupid tar bug.08:16
RPmischief: ah, right, yes. I'm paging in context! Did ubuntu patch that?08:18
mischiefhttps://bugzilla.redhat.com/show_bug.cgi?id=1886540 https://www.mail-archive.com/bug-tar@gnu.org/msg06220.html for some reference and the fix appears to be in an unreleased tar in https://git.savannah.gnu.org/cgit/tar.git/commit/?id=0b74885e81b90d6ab4890b195dce99ca9109fe5908:18
*** vladest <vladest!~Thunderbi@217.192.139.41> has joined #yocto08:18
mischiefi do not know, let me check the ubuntu sources i guess08:18
*** vladest <vladest!~Thunderbi@217.192.139.41> has quit IRC (Client Quit)08:19
*** vladest <vladest!~Thunderbi@217.192.139.41> has joined #yocto08:20
mischiefbased on my reading of whats in https://git.launchpad.net/ubuntu/+source/tar/, no08:21
mischiefi don't like it but i think i am going to just have to build tar from source in our yocto container08:22
*** xtopher__ <xtopher__!sid495823@id-495823.tinside.irccloud.com> has quit IRC (Ping timeout: 246 seconds)08:25
*** xtopher__ <xtopher__!sid495823@id-495823.tinside.irccloud.com> has joined #yocto08:25
*** ndec <ndec!sid219321@id-219321.tinside.irccloud.com> has quit IRC (Ping timeout: 246 seconds)08:25
*** ndec <ndec!sid219321@id-219321.tinside.irccloud.com> has joined #yocto08:26
*** ChanServ sets mode: +v ndec08:26
*** Crofton <Crofton!sid401373@id-401373.lymington.irccloud.com> has quit IRC (Ping timeout: 246 seconds)08:26
*** Crofton <Crofton!sid401373@id-401373.lymington.irccloud.com> has joined #yocto08:30
Guest98im trying to pass TARGET_LDFLAGS += "..."  to CMakeLists like that :08:30
Guest98EXTRA_OECMAKE += "-DTARGET_LDFLAGS=${TARGET_LDFLAGS}"08:30
RPmischief: buildtools tarball didn't help? Perhaps we should be adding a patch from tar upstream and rebuilding?08:30
Guest98as far as i read,  i can export the variable in this way. but im getting error. any idea?08:30
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #yocto08:32
*** nemik <nemik!~nemik@207.237.248.190> has quit IRC (Ping timeout: 246 seconds)08:33
*** nemik <nemik!~nemik@76.74.126.42> has joined #yocto08:33
*** xmn <xmn!~xmn@cpe-72-225-198-203.nyc.res.rr.com> has quit IRC (Ping timeout: 260 seconds)08:34
mischiefRP: buildtools is built by yocto itself right? with the yocto metadata?08:35
mischiefhttps://git.yoctoproject.org/poky/tree/meta/recipes-extended/tar/tar_1.34.bb08:36
mischiefthis release of tar is from 2 years ago and does not contain the patch.08:36
*** xmn <xmn!~xmn@cpe-72-225-198-203.nyc.res.rr.com> has joined #yocto08:37
*** nemik <nemik!~nemik@76.74.126.42> has quit IRC (Ping timeout: 246 seconds)08:39
*** nemik <nemik!~nemik@207.237.248.190> has joined #yocto08:39
*** ptsneves <ptsneves!~Thunderbi@84.47.155.82> has joined #yocto08:49
*** nemik <nemik!~nemik@207.237.248.190> has quit IRC (Ping timeout: 245 seconds)08:53
*** nemik <nemik!~nemik@76.74.126.42> has joined #yocto08:53
*** manuel1985 <manuel1985!~manuel198@62.99.131.178> has quit IRC (Remote host closed the connection)08:55
*** florian_kc <florian_kc!~florian@dynamic-046-114-091-101.46.114.pool.telefonica.de> has quit IRC (Read error: Connection reset by peer)08:55
*** manuel1985 <manuel1985!~manuel198@62.99.131.178> has joined #yocto08:55
*** nemik <nemik!~nemik@76.74.126.42> has quit IRC (Ping timeout: 246 seconds)08:58
*** nemik <nemik!~nemik@207.237.248.190> has joined #yocto08:58
RPmischief: correct08:59
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has joined #yocto09:00
*** static_rocket <static_rocket!~static@2001:470:69fc:105::2:4ec5> has quit IRC (Remote host closed the connection)09:00
Alban[m]1rburton: Regarding the useradd dependency problem, I just noticed that appending to USERADDSETSCENEDEPS didn't work because there is a class-target override on this variable. Now using USERADDSETSCENEDEPS:append:class-target I can see that the do_package_setscene task do have the extra dependency. But I'm still unsure which dependency I should add to get the pulseaudio group. I used pulseaudio:do_populate_sysroot_setscene because other09:01
Alban[m]1dependencies in USERADDSETSCENEDEPS use this task as well, but I have no idea what this task does.09:01
*** amitk_ <amitk_!~amit@58.84.62.171> has quit IRC (Ping timeout: 246 seconds)09:04
mischiefRP: so.. buildtools can't help me in that case unfortunately09:09
mischiefand unfortunately ubuntu 18 has too old gettext to build HEAD of tar so now i have to fix that too :)09:09
*** xmn <xmn!~xmn@cpe-72-225-198-203.nyc.res.rr.com> has quit IRC (Quit: ZZZzzz…)09:11
RPmischief: I was meaning we might consider adding that patch as a backport so the next buildtools would have it. You could also patch tar locally and build a new buildtools?09:11
RP("bitbake buildtools-tarball")09:11
mischiefi have to get that new buildtools into the build container somehow though09:13
mischiefwe need to upgrade from ubuntu 18 to 22 anyway; since ubuntu 18 is sorta EOL'd and ubuntu 22 has a new coccinelle :)09:14
*** amitk_ <amitk_!~amit@58.84.62.171> has joined #yocto09:22
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has quit IRC (Quit: alessioigor)09:24
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has joined #yocto09:24
*** amsobr <amsobr!~amsobr@2a01:14:113:9e60:a7b9:a1d8:d8c0:fd61> has quit IRC (Quit: Konversation terminated!)09:28
mischiefRP: is there some kind of automation the yocto project uses that could exercise this? testing oe.path.copytree or archiver.bbclass on a SELinux enabled host?09:36
RPmischief: we don't have any selinux enabled hosts to test on09:38
*** amitk_ <amitk_!~amit@58.84.62.171> has quit IRC (Ping timeout: 245 seconds)09:38
mischiefi think fedora, alma linux and opensuse leap all support it and they are described as supported hosts for yocto. does nobody use those in the automation infrastructure?09:40
*** zpfvo <zpfvo!~fvo@i59F5CEA8.versanet.de> has quit IRC (Ping timeout: 246 seconds)09:43
*** kpo <kpo!~kpo@031011130236.dynamic-3-poz-k-1-0-0.vectranet.pl> has quit IRC (Ping timeout: 260 seconds)09:45
*** amitk_ <amitk_!~amit@58.84.62.171> has joined #yocto09:51
*** starblue3 <starblue3!~juergen@dslb-178-006-091-162.178.006.pools.vodafone-ip.de> has quit IRC (Ping timeout: 245 seconds)09:56
*** amitk_ <amitk_!~amit@58.84.62.171> has quit IRC (Ping timeout: 245 seconds)09:57
*** starblue3 <starblue3!~juergen@dslb-178-006-091-162.178.006.pools.vodafone-ip.de> has joined #yocto09:58
*** zpfvo <zpfvo!~fvo@i59F5CEA8.versanet.de> has joined #yocto09:58
*** nemik <nemik!~nemik@207.237.248.190> has quit IRC (Ping timeout: 246 seconds)09:59
*** nemik <nemik!~nemik@76.74.126.42> has joined #yocto09:59
*** amitk_ <amitk_!~amit@58.84.62.171> has joined #yocto10:03
*** nemik <nemik!~nemik@76.74.126.42> has quit IRC (Ping timeout: 246 seconds)10:03
*** nemik <nemik!~nemik@207.237.248.190> has joined #yocto10:04
*** Guest98 <Guest98!~Guest98@31.145.189.2> has quit IRC (Quit: Client closed)10:10
*** Guest98 <Guest98!~Guest98@31.145.189.2> has joined #yocto10:10
*** Wouter0100670440 <Wouter0100670440!~Wouter010@entry.nbg.netvos.nl> has quit IRC (Quit: The Lounge - https://thelounge.chat)10:12
*** Wouter0100670440 <Wouter0100670440!~Wouter010@entry.nbg.netvos.nl> has joined #yocto10:12
*** arkanoid <arkanoid!~arkanoid@2001:b07:2ee:9731:a85d:eeff:fecc:37dc> has quit IRC (Ping timeout: 264 seconds)10:25
*** amitk_ <amitk_!~amit@58.84.62.171> has quit IRC (Ping timeout: 245 seconds)10:33
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has quit IRC (Quit: alessioigor)10:44
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has joined #yocto10:44
*** amitk_ <amitk_!~amit@58.84.62.171> has joined #yocto10:48
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has quit IRC (Quit: alessioigor)10:50
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has joined #yocto10:50
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has quit IRC (Quit: Client closed)10:52
Guest98when trying to build myproject on yocto with cmake, it cannot find string, iostream, vector, limits headers. could it be a problem with sysroot somehow? i handled my own .cpp and .hpp files. any idea?10:57
rburtonGuest98: sounds like your cmakelists is doing Bad Things11:01
mcfriskGuest98: not using cmake.bbclass and the toolchain file provided by it?11:02
rburtonbecause lots of cmake recipes work just fine11:02
*** amitk_ <amitk_!~amit@58.84.62.171> has quit IRC (Ping timeout: 246 seconds)11:02
*** amitk_ <amitk_!~amit@58.84.62.171> has joined #yocto11:04
*** amitk_ <amitk_!~amit@58.84.62.171> has quit IRC (Ping timeout: 246 seconds)11:09
*** ptsneves <ptsneves!~Thunderbi@84.47.155.82> has quit IRC (Ping timeout: 245 seconds)11:15
Guest98rburton rookie doing rookie things. i shouldnt have override CMAKE_CXX_FLAGS, should have append.11:16
Guest98i found a line like that:11:16
Guest98set(CMAKE_CXX_FLAGS "-DOPENCV_ACTIVE -DRASPBERRYPI4 -O3 -Wall -fmessage-length=0 -pthread")11:16
Guest98modify to:11:16
Guest98set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DOPENCV_ACTIVE -DRASPBERRYPI4 -O3 -Wall -fmessage-length=0 -pthread")11:16
Guest98problem solved, thanks. "cmakelists is doing Bad Things", it even helped me understand. :D11:16
*** zpfvo <zpfvo!~fvo@i59F5CEA8.versanet.de> has quit IRC (Ping timeout: 245 seconds)11:26
rburtonyeah thats the sort of thing :)11:29
*** ptsneves <ptsneves!~Thunderbi@031011128221.dynamic-3-poz-k-0-2-0.vectranet.pl> has joined #yocto11:36
*** zpfvo <zpfvo!~fvo@i59F5CEA8.versanet.de> has joined #yocto11:41
*** xmn <xmn!~xmn@cpe-72-225-198-203.nyc.res.rr.com> has joined #yocto11:44
*** jetm- <jetm-!~jetm@ec2-54-80-147-190.compute-1.amazonaws.com> has quit IRC (Quit: ZNC 1.7.2 - https://znc.in)11:50
*** philmd- <philmd-!~philmd@ec2-54-80-147-190.compute-1.amazonaws.com> has quit IRC (Quit: ZNC 1.7.2 - https://znc.in)11:50
*** jetm- <jetm-!~jetm@ec2-54-80-147-190.compute-1.amazonaws.com> has joined #yocto11:53
*** ptsneves1 <ptsneves1!~Thunderbi@031011128221.dynamic-3-poz-k-0-2-0.vectranet.pl> has joined #yocto11:54
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has quit IRC (Ping timeout: 246 seconds)11:55
*** amitk_ <amitk_!~amit@58.84.62.171> has joined #yocto11:55
*** philmd- <philmd-!~philmd@ec2-54-80-147-190.compute-1.amazonaws.com> has joined #yocto11:56
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has quit IRC (Quit: alessioigor)12:00
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has joined #yocto12:00
*** amitk_ <amitk_!~amit@58.84.62.171> has quit IRC (Ping timeout: 245 seconds)12:01
*** florian <florian!~florian@pd9f8273f.dip0.t-ipconnect.de> has joined #yocto12:06
*** amitk_ <amitk_!~amit@58.84.62.171> has joined #yocto12:12
*** marinaro <marinaro!~marinaro@195.231.75.40> has quit IRC (Ping timeout: 245 seconds)12:23
*** amitk_ <amitk_!~amit@58.84.62.171> has quit IRC (Ping timeout: 252 seconds)12:37
*** pbsds <pbsds!~pbsds@84.20.102.94> has quit IRC (Quit: The Lounge - https://thelounge.chat)12:44
*** florian <florian!~florian@pd9f8273f.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 246 seconds)12:50
*** ptsneves1 <ptsneves1!~Thunderbi@031011128221.dynamic-3-poz-k-0-2-0.vectranet.pl> has quit IRC (Ping timeout: 246 seconds)12:53
*** Guest41 <Guest41!~Guest41@89-84-109-199.abo.bbox.fr> has joined #yocto13:09
Guest41Hi, I need to patch a file called "simple.script" that is in busybox local files. How to do it ? I can't use the method described here because this file is not in the sources so it can't be commited https://wiki.yoctoproject.org/wiki/TipsAndTricks/Patching_the_source_for_a_recipe13:11
Guest98maybe u can add your "simple.script" file with .bbappend13:14
rburtonGuest41: in your layer have a bbappend for busybox, set FILESEXTRAPATHS, and then just put the modified simple.script in files/13:18
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has joined #yocto13:25
*** vladest <vladest!~Thunderbi@217.192.139.41> has quit IRC (Ping timeout: 245 seconds)13:25
rfs613question regarding libraries built by yocto for use on the host (eg foobar-native packages)13:26
rfs613builing openssl-native for example produces build/tmp/sysroots-components/x86_64/openssl-native/usr/lib/libcrypto.so.1.113:27
rfs613s/builing/building/13:27
rfs613but when building curl-native, the binary links to libcurl.so from the sysroot, however it uses the host libcrypto, not the sysroot one.13:28
*** Guest41 <Guest41!~Guest41@89-84-109-199.abo.bbox.fr> has quit IRC (Ping timeout: 246 seconds)13:28
rfs613i'm picking on curl just as an example here. Wondering in general, what determines if library from sysroot versus the build host gets used?13:29
*** Xagen <Xagen!~Xagen@4.14.206.69> has joined #yocto13:34
sudiprfs613: I went into a devshell and did a ldd on curl, it shows it has linked with libcrypto from recipe-sysroot-native13:38
*** jetm- <jetm-!~jetm@ec2-54-80-147-190.compute-1.amazonaws.com> has quit IRC (Quit: ZNC 1.7.2 - https://znc.in)13:38
*** philmd- <philmd-!~philmd@ec2-54-80-147-190.compute-1.amazonaws.com> has quit IRC (Quit: ZNC 1.7.2 - https://znc.in)13:38
sudipkhem: another example of devshell advantage :)13:38
rfs613sudip: could you try using ldd without using devshell, and tell me which libcrypto it shows?13:40
sudipwithout devshell it will just show you whatever libcrypto you have in your host,13:41
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has joined #yocto13:44
*** Guest98 <Guest98!~Guest98@31.145.189.2> has quit IRC (Quit: Client closed)13:45
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has quit IRC (Read error: Connection reset by peer)13:48
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has joined #yocto13:48
rfs613hmm i don't see that here. But really I am trying to understand how it works. Is bitbake modfying LD_LIBRARY_PATH for example, or something similar?13:49
*** sakoman <sakoman!~steve@dhcp-72-234-106-30.hawaiiantel.net> has joined #yocto13:51
sudipit will have its own LDFLAGS, but you can see more on what its doing in the run.do_compile script, for me its at tmp/work/x86_64-linux/curl-native/8.1.2-r0/temp/run.do_compile13:53
*** jpanisbl <jpanisbl!~jpanis@154.21.205.77.rev.sfr.net> has joined #yocto14:01
*** zpfvo <zpfvo!~fvo@i59F5CEA8.versanet.de> has quit IRC (Ping timeout: 246 seconds)14:01
rfs613yes, I see it sets LDFLAGS to pass -L flag... also I see a wrapper script that prefixes to LD_LIBRARY_PATH14:02
*** pabigot <pabigot!~pab@135.sub-75-236-157.myvzw.com> has quit IRC (Ping timeout: 252 seconds)14:11
*** jpanisbl <jpanisbl!~jpanis@154.21.205.77.rev.sfr.net> has quit IRC (Quit: Konversation terminated!)14:14
*** zpfvo <zpfvo!~fvo@i59F5CEA8.versanet.de> has joined #yocto14:16
*** pabigot <pabigot!~pab@29.sub-75-236-191.myvzw.com> has joined #yocto14:27
*** Kubu_work <Kubu_work!~kubu@arennes-654-1-262-155.w2-13.abo.wanadoo.fr> has quit IRC (Ping timeout: 245 seconds)14:27
*** Wouter0100670440 <Wouter0100670440!~Wouter010@entry.nbg.netvos.nl> has quit IRC (Quit: The Lounge - https://thelounge.chat)14:42
*** Wouter0100670440 <Wouter0100670440!~Wouter010@entry.nbg.netvos.nl> has joined #yocto14:42
yudjinn[m]running into a super confusing error. I have a job that should ONLY run when a large rebuild happens; I handled that by doing a check_breaking_change[depends] += " libgcc:do_compile ". Now, locally, this works as expected. but my CI uses SSTATE from an NFS mount, and this task runs (incorecctly) even when it doesnt need to rebuild that job. I can even go through the logs and see that libgcc only uses a setscene. I'm at a loss, as I've been14:44
yudjinn[m]trying to resolve this for weeks14:44
*** Kubu_work <Kubu_work!~kubu@yte33-h01-176-145-81-141.dsl.sta.abo.bbox.fr> has joined #yocto14:49
rburtonyudjinn[m]: how do you define a large rebuild? how does that [depends] do what you want?14:51
yudjinn[m]rburton: so I have a task in my image recipe that runs only when libgcc is recompiled. I basically want to have this run ONLY when it it fully recompiled (like changes were detected in libgcc). Otherwise, If it's just using the cached one (because I made a change in something downstream of libgcc), the task should not run. My understanding was that if bitbake detected no changes, it would run a `do_compile_setscene` instead of a `do_compile`14:55
yudjinn[m]so the task wouldnt run14:55
yudjinn[m]edit: it runs a do_package_setscene not do_compile_setscene; the do_compile task is nowhere in my log, but it still runs that task that depends on do_compileh14:58
*** adrianf <adrianf!~adrian@2a02:169:59a6:0:5488:f785:9061:cf6c> has quit IRC (Quit: Leaving)15:02
*** manuel1985 <manuel1985!~manuel198@62.99.131.178> has quit IRC (Ping timeout: 246 seconds)15:04
rburtonyudjinn[m]: do_compile vs do_compile_setscene is an internal thing and unrelated to what you're trying to do.15:07
rburtonthe tasks form a graph and if sstate is present chunks can be removed, so an image from sstate will just do libgcc:write_package_rpm and skip out the actual compile15:08
*** Kubu_work <Kubu_work!~kubu@yte33-h01-176-145-81-141.dsl.sta.abo.bbox.fr> has quit IRC (Ping timeout: 245 seconds)15:10
*** adrianf <adrianf!~adrian@2a02:169:59a6:0:5488:f785:9061:cf6c> has joined #yocto15:15
rburtonyudjinn[m]: whats the use case for 'run a task in an image if libgcc was rebuild in this build run'?  what if libgcc was build in a previous build?15:20
rburtonlike the user did bitbake zlib; bitbake theimage15:20
*** mckoan <mckoan!~marco@host-95-229-48-41.business.telecomitalia.it> has quit IRC (Read error: Connection reset by peer)15:21
*** Kubu_work <Kubu_work!~kubu@2a04:cec0:1022:eaee:231d:1008:b9be:6655> has joined #yocto15:30
*** mckoan <mckoan!~marco@host-95-229-48-41.business.telecomitalia.it> has joined #yocto15:32
yudjinn[m]rburton: so I provide swupdate images as well as rpm repos, but I manage whether or not an image can use one or the other based on if something "breaking" (I defined as libgcc) has occurred. So this is expected to happen if, say, we update gcc version/recipe -> causes bitbake recompile -> run this `check_breaking_change` task; else, anything downstream (say, networkmanager), wouldnt cause this task to run15:38
rburtonthat sounds fragile and hard to actually detect15:38
yudjinn[m]its more my attempt at saying "if you HAD to rebuild gcc, this SHOULD be set as a swupdate update, not an rpm".15:39
rburtonwhat if someone else builds libgcc and your image pulls the sstate15:39
yudjinn[m]The only thing that has write access to that sstate is our master branch CI15:39
yudjinn[m]this task is almost entirely for making sure that certain version strings are correctly updated by the time they hit our initial "smoke test" CI jobs. If it detects you changed something that causes a rebuild, namely you made a change that caused a recompile of libgcc over the master sstate, then it requires you also bump a version in that PR. Otherwise, if you correctly updated the version, it still runs that task, but the result is just15:41
yudjinn[m]info saying "You did the right thing" rather than a bb.error15:41
rburtonpersonally, sounds like you're trying to embed too much process into the details of the build.  whether or not libgcc happened to be rebuilt in _this bitbake invocation_ shouldn't be deciding logic.  i'm presuming if the pipeline fails then the builds sstate is thrown away, right?15:44
yudjinn[m]correct, but once it hits master, it is fully rebuilt and is the new "master"15:44
rburtoni suggest you rethink your process, not sure how you'd even be able to know that libgcc:do_compile happened in _this build in particular_ from another recipe, ignoring the details about how fragile that is and needs a very specific build/sstate setup15:46
*** zpfvo <zpfvo!~fvo@i59F5CEA8.versanet.de> has quit IRC (Ping timeout: 245 seconds)15:47
rburtoni guess you could make libgcc:do_compile drop a file in the build tree somewhere and look for that, but i'm not sure how you'd be sure it wasn't a stale file (you could expect a clean build tree every run, but again, fragile)15:47
yudjinn[m]what do you mean? If i made no change for an MR, it would setscene the entire image. If I made a change to a recipe that was downstream of libgcc, this specific task doesnt run. if its upstream -> causes a recompile due to dependency rebuild. If that happens, if version is correctly updated -> no error; else, error15:48
yudjinn[m]but once that is merged, that becomes the new sstate. so new MRs just rerun the logic15:48
yudjinn[m]and its "technically" not just gcc. we also have a task-depends of linux:do_compile; so as we change KConfigs, this also throws an error if we dont correctly set it as a breaking change in the FS.15:50
*** rfuentess <rfuentess!~rfuentess@static-5-51-117-151.ftth.abo.bbox.fr> has quit IRC (Remote host closed the connection)15:55
*** florian <florian!~florian@pd9f8273f.dip0.t-ipconnect.de> has joined #yocto15:56
*** zpfvo <zpfvo!~fvo@i59F5CEA8.versanet.de> has joined #yocto16:03
*** cperon <cperon!~cperonmat@2001:470:69fc:105::2d1a> has quit IRC (Remote host closed the connection)16:07
*** zpfvo <zpfvo!~fvo@i59F5CEA8.versanet.de> has quit IRC (Remote host closed the connection)16:09
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has quit IRC (Quit: alessioigor)16:15
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has joined #yocto16:15
*** mckoan is now known as mckoan|away16:16
*** Kubu_work <Kubu_work!~kubu@2a04:cec0:1022:eaee:231d:1008:b9be:6655> has quit IRC (Quit: Leaving.)16:17
*** pbsds <pbsds!~pbsds@84.20.102.94> has joined #yocto16:25
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has quit IRC (Quit: alessioigor)16:26
*** ptsneves <ptsneves!~Thunderbi@031011128221.dynamic-3-poz-k-0-2-0.vectranet.pl> has quit IRC (Ping timeout: 260 seconds)16:26
*** amitk_ <amitk_!~amit@58.84.62.190> has joined #yocto16:45
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has joined #yocto16:52
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has quit IRC (Client Quit)16:55
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has joined #yocto16:56
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has quit IRC (Client Quit)16:59
*** amitk_ <amitk_!~amit@58.84.62.190> has quit IRC (Remote host closed the connection)16:59
*** gsalazar <gsalazar!~gsalazar@139.0.166.178.rev.vodafone.pt> has quit IRC (Ping timeout: 246 seconds)17:34
*** tlwoerner <tlwoerner!~tlwoerner@pppoe-209-91-167-254.vianet.ca> has quit IRC (Ping timeout: 246 seconds)17:54
*** PhoenixMage <PhoenixMage!~phoenix@206.83.122.183> has quit IRC (Remote host closed the connection)17:56
*** florian <florian!~florian@pd9f8273f.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 246 seconds)18:18
*** tlwoerner <tlwoerner!~tlwoerner@pppoe-209-91-167-254.vianet.ca> has joined #yocto18:29
*** manuel1985 <manuel1985!~manuel198@2a02:1748:dd5c:f290:c5b2:fdff:b718:9edf> has joined #yocto18:30
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has quit IRC (Quit: Client closed)18:38
*** cb5r <cb5r!~cb5r@user/cb5r> has joined #yocto19:09
*** nerdboy <nerdboy!~nerdboy@gentoo/developer/nerdboy> has quit IRC (Ping timeout: 246 seconds)19:17
*** Thorn <Thorn!~Thorn@user/thorn> has joined #yocto19:23
*** Thorn_ <Thorn_!~Thorn@2001:8a0:dfd7:d500:5029:e7d3:19f1:39d> has quit IRC (Ping timeout: 246 seconds)19:25
*** amitk <amitk!~amit@58.84.62.190> has quit IRC (Ping timeout: 245 seconds)19:28
*** nerdboy <nerdboy!~nerdboy@47.143.129.243> has joined #yocto19:31
*** nerdboy <nerdboy!~nerdboy@gentoo/developer/nerdboy> has quit IRC (Remote host closed the connection)20:00
*** nerdboy <nerdboy!~nerdboy@47.143.129.243> has joined #yocto20:01
*** Wouter0100670440 <Wouter0100670440!~Wouter010@entry.nbg.netvos.nl> has quit IRC (Quit: The Lounge - https://thelounge.chat)20:22
*** Wouter0100670440 <Wouter0100670440!~Wouter010@entry.nbg.netvos.nl> has joined #yocto20:22
*** Minvera <Minvera!~Minvera@user/Minvera> has joined #yocto20:34
*** beneth <beneth!~beneth@xmpp.beneth.fr> has joined #yocto20:44
khemsudip:  doing ldd on a cross compiled package is iffy regardless, you might have different results in final rfs20:50
sudipkhem: yes, agreed. that was just to show <rfs613> the difference20:58
zeddiirburton: https://git.yoctoproject.org/poky-contrib/log/?h=zedd/kernel21:03
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has quit IRC (Quit: Leaving)21:12
*** Xagen <Xagen!~Xagen@4.14.206.69> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)21:19
*** goliath <goliath!~goliath@user/goliath> has joined #yocto21:22
*** adrianf <adrianf!~adrian@2a02:169:59a6:0:5488:f785:9061:cf6c> has quit IRC (Ping timeout: 260 seconds)21:26
*** manuel1985 <manuel1985!~manuel198@2a02:1748:dd5c:f290:c5b2:fdff:b718:9edf> has quit IRC (Ping timeout: 240 seconds)22:02
*** Minvera <Minvera!~Minvera@user/Minvera> has quit IRC (Ping timeout: 246 seconds)22:10
mischiefRP: today i tried a slightly different approach that i think will work22:48
mischiefi wrote a tar wrapper in python that just removes any --xattr arguments :)22:48

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!