*** nslu2-log_ <nslu2-log_!~nslu2-log@milla.nas-admin.org> has joined #yocto | 00:01 | |
*** nslu2-log <nslu2-log!~nslu2-log@milla.nas-admin.org> has quit IRC | 00:04 | |
*** nslu2-log_ is now known as nslu2-log | 00:04 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 00:12 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 00:15 | |
JPEW | khem: Wants doesn't mean it has to wait, it just means it starts the generation | 00:15 |
---|---|---|
JPEW | Effectively, it's saying: "start ssh key generation no later than when I create the SSH sockets" | 00:16 |
JPEW | But it is *not* saying "wait until key generation is complete before creating the socket". That would be After= | 00:16 |
*** nslu2-log_ <nslu2-log_!~nslu2-log@milla.nas-admin.org> has joined #yocto | 00:20 | |
*** rcw <rcw!~rcw@45.72.241.84> has quit IRC | 00:20 | |
*** nslu2-log <nslu2-log!~nslu2-log@milla.nas-admin.org> has quit IRC | 00:23 | |
*** nslu2-log_ is now known as nslu2-log | 00:23 | |
*** kpo_ <kpo_!~kpo@bwu34.internetdsl.tpnet.pl> has quit IRC | 00:26 | |
*** kpo_ <kpo_!~kpo@bwu34.internetdsl.tpnet.pl> has joined #yocto | 00:26 | |
*** rcw <rcw!~rcw@45.72.241.84> has joined #yocto | 00:26 | |
*** nslu2-log_ <nslu2-log_!~nslu2-log@milla.nas-admin.org> has joined #yocto | 00:37 | |
*** nslu2-log <nslu2-log!~nslu2-log@milla.nas-admin.org> has quit IRC | 00:40 | |
*** nslu2-log_ is now known as nslu2-log | 00:40 | |
*** rcw <rcw!~rcw@45.72.241.84> has quit IRC | 00:44 | |
JPEW | khem, RP: Sent an RFC to the mailing list that I think will do what you are asking | 00:45 |
JPEW | ...ish. systemd is really fuzzy on when "init" is "complete" :) | 00:45 |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 00:53 | |
*** samvlewis <samvlewis!~samvlewis@45.32.247.239> has quit IRC | 00:54 | |
*** samvlewis <samvlewis!~samvlewis@45.32.247.239> has joined #yocto | 00:54 | |
*** nslu2-log_ <nslu2-log_!~nslu2-log@milla.nas-admin.org> has joined #yocto | 00:55 | |
*** nslu2-log <nslu2-log!~nslu2-log@milla.nas-admin.org> has quit IRC | 00:58 | |
*** nslu2-log <nslu2-log!~nslu2-log@milla.nas-admin.org> has joined #yocto | 00:59 | |
*** nslu2-log_ <nslu2-log_!~nslu2-log@milla.nas-admin.org> has quit IRC | 01:01 | |
*** samvlewis <samvlewis!~samvlewis@45.32.247.239> has quit IRC | 01:12 | |
*** samvlewis <samvlewis!~samvlewis@45.32.247.239> has joined #yocto | 01:18 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 01:28 | |
*** samvlewis <samvlewis!~samvlewis@45.32.247.239> has quit IRC | 01:36 | |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has joined #yocto | 01:39 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 01:43 | |
*** samvlewis <samvlewis!~samvlewis@45.32.247.239> has joined #yocto | 01:49 | |
*** lexano <lexano!~lexano@CPEb03956d8c2f4-CM98524a70e35e.cpe.net.cable.rogers.com> has quit IRC | 02:09 | |
*** lexano <lexano!~lexano@CPEb03956d8c2f4-CM98524a70e35e.cpe.net.cable.rogers.com> has joined #yocto | 02:10 | |
*** kpo_ <kpo_!~kpo@bwu34.internetdsl.tpnet.pl> has quit IRC | 02:17 | |
*** kpo_ <kpo_!~kpo@bwu34.internetdsl.tpnet.pl> has joined #yocto | 02:18 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 02:32 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 02:36 | |
*** lexano <lexano!~lexano@CPEb03956d8c2f4-CM98524a70e35e.cpe.net.cable.rogers.com> has quit IRC | 02:41 | |
*** lexano <lexano!~lexano@CPEb03956d8c2f4-CM98524a70e35e.cpe.net.cable.rogers.com> has joined #yocto | 02:43 | |
kergoth | rburton: am i rememberign wrong, or did you have something to lint python code that's in classes? | 02:43 |
kergoth | RP: should think about running https://github.com/netromdk/vermin against bitbake (and possibly oe-core libs) as a CI/autobuilder operation to check against our defined dependent python versions | 02:46 |
*** hpsy1 <hpsy1!~hpsy@92.118.12.70> has joined #yocto | 02:47 | |
*** hpsy <hpsy!~hpsy@92.118.12.85> has quit IRC | 02:49 | |
*** nslu2-log_ <nslu2-log_!~nslu2-log@milla.nas-admin.org> has joined #yocto | 02:54 | |
*** nslu2-log <nslu2-log!~nslu2-log@milla.nas-admin.org> has quit IRC | 02:56 | |
*** nslu2-log_ is now known as nslu2-log | 02:56 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 03:29 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 03:32 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 03:37 | |
*** nslu2-log_ <nslu2-log_!~nslu2-log@milla.nas-admin.org> has joined #yocto | 03:37 | |
*** nslu2-log <nslu2-log!~nslu2-log@milla.nas-admin.org> has quit IRC | 03:39 | |
*** nslu2-log_ is now known as nslu2-log | 03:39 | |
*** alejandrohs <alejandrohs!~alejandro@2605:6000:1306:9479::a59> has quit IRC | 04:19 | |
*** ericch <ericch!~ericch@pool-108-34-251-214.prvdri.fios.verizon.net> has quit IRC | 04:25 | |
*** nslu2-log_ <nslu2-log_!~nslu2-log@milla.nas-admin.org> has joined #yocto | 04:31 | |
*** nslu2-log <nslu2-log!~nslu2-log@milla.nas-admin.org> has quit IRC | 04:34 | |
*** nslu2-log_ is now known as nslu2-log | 04:34 | |
*** jobroe <jobroe!~manjaro-u@p579eb9ab.dip0.t-ipconnect.de> has joined #yocto | 04:51 | |
*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-pbqjixdcjaqoljgk> has quit IRC | 05:02 | |
*** agust <agust!~agust@p508b6ab0.dip0.t-ipconnect.de> has joined #yocto | 05:16 | |
*** beneth <beneth!~beneth@irc.beneth.fr> has joined #yocto | 05:27 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 05:32 | |
*** AndersD <AndersD!~AndersD@h-98-128-162-82.NA.cust.bahnhof.se> has joined #yocto | 05:39 | |
*** MiskaX <MiskaX!trop0y73ze@rankki.sonarnerd.net> has quit IRC | 05:41 | |
*** pohly <pohly!~pohly@p54849295.dip0.t-ipconnect.de> has joined #yocto | 05:42 | |
*** sxiii <sxiii!~sw@cm-84.214.223.252.getinternet.no> has quit IRC | 05:45 | |
*** Yatekii <Yatekii!~yatekii@huesser.dev> has quit IRC | 05:48 | |
*** AndersD <AndersD!~AndersD@h-98-128-162-82.NA.cust.bahnhof.se> has quit IRC | 05:52 | |
*** feddischson <feddischson!~feddischs@HSI-KBW-095-208-248-060.hsi5.kabel-badenwuerttemberg.de> has joined #yocto | 05:53 | |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has quit IRC | 06:04 | |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has joined #yocto | 06:04 | |
*** zandrey <zandrey!~zandrey@cable-static2-2-7.rsnweb.ch> has quit IRC | 06:06 | |
*** chris_ber <chris_ber!~quassel@213.138.44.181> has joined #yocto | 06:15 | |
*** dmoseley <dmoseley!~dmoseley@24.96.56.90> has quit IRC | 06:16 | |
*** dmoseley <dmoseley!~dmoseley@24.96.56.90> has joined #yocto | 06:16 | |
*** sxiii <sxiii!~sw@cm-84.214.223.252.getinternet.no> has joined #yocto | 06:22 | |
*** paulg <paulg!~paulg@24-212-228-244.cable.teksavvy.com> has quit IRC | 06:22 | |
*** zeddii <zeddii!~zeddii@CPE04d4c4975b80-CM64777d5e8820.cpe.net.cable.rogers.com> has quit IRC | 06:23 | |
*** ArnaudP <ArnaudP!~ArnaudP@111988HD51007.ikexpress.com> has quit IRC | 06:23 | |
*** ArnaudP <ArnaudP!~ArnaudP@111988HD51007.ikexpress.com> has joined #yocto | 06:24 | |
*** nslu2-log_ <nslu2-log_!~nslu2-log@milla.nas-admin.org> has joined #yocto | 06:34 | |
*** geheimnis` <geheimnis`!~geheimnis@23.226.237.192> has quit IRC | 06:34 | |
*** marka <marka!~marka@198-84-181-245.cpe.teksavvy.com> has quit IRC | 06:35 | |
*** nslu2-log <nslu2-log!~nslu2-log@milla.nas-admin.org> has quit IRC | 06:36 | |
*** nslu2-log_ is now known as nslu2-log | 06:36 | |
*** geheimnis` <geheimnis`!~geheimnis@23.226.237.192> has joined #yocto | 06:40 | |
*** zandrey <zandrey!~zandrey@193.8.40.126> has joined #yocto | 06:46 | |
*** zeddii <zeddii!~zeddii@CPE04d4c4975b80-CM64777d5e8820.cpe.net.cable.rogers.com> has joined #yocto | 06:46 | |
*** carlsb3rg <carlsb3rg!c147afcf@193.71.175.207> has quit IRC | 06:48 | |
*** nslu2-log_ <nslu2-log_!~nslu2-log@milla.nas-admin.org> has joined #yocto | 06:50 | |
*** fl0v0 <fl0v0!~fvo@88.130.221.235> has joined #yocto | 06:51 | |
*** nslu2-log <nslu2-log!~nslu2-log@milla.nas-admin.org> has quit IRC | 06:52 | |
*** nslu2-log_ is now known as nslu2-log | 06:53 | |
*** marka <marka!~marka@198-84-181-245.cpe.teksavvy.com> has joined #yocto | 06:57 | |
*** koty0f <koty0f!~filip@212.27.194.162> has joined #yocto | 06:58 | |
*** hpsy1 <hpsy1!~hpsy@92.118.12.70> has quit IRC | 07:05 | |
*** w00die <w00die!~w00die@212.91.255.186> has quit IRC | 07:05 | |
*** w00die <w00die!~w00die@212.91.255.186> has joined #yocto | 07:07 | |
*** C-o-r-E <C-o-r-E!~corey@modemcable069.166-70-69.static.videotron.ca> has quit IRC | 07:14 | |
*** C-o-r-E <C-o-r-E!~corey@modemcable149.12-178-173.mc.videotron.ca> has joined #yocto | 07:16 | |
*** rob_w <rob_w!~rob@unaffiliated/rob-w/x-1112029> has joined #yocto | 07:17 | |
*** gsalazar <gsalazar!5e3dbd6b@gateway/web/cgi-irc/kiwiirc.com/ip.94.61.189.107> has joined #yocto | 07:20 | |
*** gsalazar <gsalazar!5e3dbd6b@gateway/web/cgi-irc/kiwiirc.com/ip.94.61.189.107> has quit IRC | 07:24 | |
*** gsalazar <gsalazar!5e3dbd6b@gateway/web/cgi-irc/kiwiirc.com/ip.94.61.189.107> has joined #yocto | 07:28 | |
*** fbre <fbre!91fdde45@145.253.222.69> has joined #yocto | 07:28 | |
*** manuel1985 <manuel1985!~manuel@62.99.131.178> has joined #yocto | 07:31 | |
fbre | Hi! I'm searching for a magic kernel menuconfig switch which enables USB for me. I have switched on a lot of switches already but I don't see such message on console: [ 5267.508825] usb 1-1.1: new full-speed USB device number 4 using ci_hdrc | 07:35 |
fbre | I think I'm still missing the magic menuconfig switch for ci_hdrc | 07:35 |
fbre | Do you know which entry is for ci_hdrc? | 07:36 |
fbre | Currently, I don't see console messages when I'm plugging in/out an USB dongle | 07:37 |
fbre | ...and dmesg logging either | 07:37 |
*** lucaceresoli <lucaceresoli!~lucaceres@77.244.183.192> has joined #yocto | 07:40 | |
*** lucaceresoli_ <lucaceresoli_!~lucaceres@77.244.183.192> has joined #yocto | 07:44 | |
*** lucaceresoli <lucaceresoli!~lucaceres@77.244.183.192> has quit IRC | 07:44 | |
*** lucaceresoli_ <lucaceresoli_!~lucaceres@77.244.183.192> has quit IRC | 07:50 | |
*** lucaceresoli_ <lucaceresoli_!~lucaceres@77.244.183.192> has joined #yocto | 07:51 | |
*** nslu2-log_ <nslu2-log_!~nslu2-log@milla.nas-admin.org> has joined #yocto | 07:52 | |
*** nslu2-log <nslu2-log!~nslu2-log@milla.nas-admin.org> has quit IRC | 07:54 | |
*** nslu2-log_ is now known as nslu2-log | 07:55 | |
*** fbre <fbre!91fdde45@145.253.222.69> has quit IRC | 08:01 | |
*** mckoan|away is now known as mckoan | 08:02 | |
*** nslu2-log <nslu2-log!~nslu2-log@milla.nas-admin.org> has quit IRC | 08:06 | |
*** fbre <fbre!91fdde45@145.253.222.69> has joined #yocto | 08:07 | |
*** dleppich <dleppich!~dleppich@81.20.119.6> has joined #yocto | 08:08 | |
*** wertigon <wertigon!~per@c-e961225c.021-396-7673741.bbcust.telenor.se> has joined #yocto | 08:09 | |
dleppich | Hello guys :) I'm quite new to the yocto project and embedded linux in general. Do you know of any simple tasks to get hands on and dig into the yocto project? I already read some websites and quick start guides, but don't really know what to do next. I will need Yocto at my work soon and want to prepare as good as possible.. | 08:11 |
wertigon | Quick question about SDK; so I have built the SDK and everything work as intended, however, I get a lot of targets which blows the size of the SDK to ~6GB uncompressed. Any way to slim these down? | 08:11 |
*** goliath <goliath!~goliath@clnet-p04-043.ikbnet.co.at> has joined #yocto | 08:11 | |
wertigon | dleppich: Hmm, I find making a personal small project works best | 08:12 |
qschulz | dleppich: look at the YoctoProject youtube channel. There are a few tutorials for beginners here :) Otherwise, like wertigon said try to build a small project with Yocto. You can use qemu if you don't have a board available yet | 08:13 |
wertigon | No idea what your setup is, and there are a million ways to go | 08:13 |
fbre | dleppich: I would search YouTube for "yocto tutorial for beginners" | 08:13 |
qschulz | dleppich: start small to not get overwhelmed | 08:13 |
wertigon | dleppich: If you have a board available, one good way to get started is to get an LED to blink :) | 08:14 |
wertigon | And on that topic, maybe see if you can create an LED controller for a USB LED strip? | 08:15 |
*** lucaceresoli__ <lucaceresoli__!~lucaceres@78-134-51-148.v4.ngi.it> has joined #yocto | 08:15 | |
dleppich | I have the BeagleBone Black and a SAMA5D3 XPlained available. Bringing an LED to live sounds interesting, but where is the connection to the yocto project? I already worked with Raspberrys and Arduinos in the past and controlled different kinds of electronics. I know how to write a program doing this. | 08:15 |
dleppich | Would the task here be to write a recipe for such a program and use yocto to build an image with my program inside and burn this to the board? | 08:16 |
wertigon | Exactly | 08:16 |
wertigon | It is a starting point at least :) | 08:16 |
*** lucaceresoli_ <lucaceresoli_!~lucaceres@77.244.183.192> has quit IRC | 08:17 | |
dleppich | You wrote something about writing an LED controller. How exactly do I do this? Or do ask differently (I'm not that lazy): What do I have to learn to do this? I never wrote a controller nor do I know how they are used or work.. | 08:17 |
wertigon | Build on what you know and are comfortable with; for my use case, I have played around a bit with robotics so ROS and image recognition through USB camera | 08:17 |
wertigon | LED controller is pretty much just buy an LED strip powered by USB (available @ ikea) and plug it in | 08:18 |
wertigon | Preferrably an RGB one | 08:19 |
wertigon | Lots of places carry it, is cheap hardware (around $20 for a package) | 08:19 |
wertigon | And then you simply learn to communicate with that and figure out a way to communicate | 08:20 |
*** lucaceresoli__ <lucaceresoli__!~lucaceres@78-134-51-148.v4.ngi.it> has quit IRC | 08:20 | |
dleppich | Okay, you mean a real hardware LED controller. I know these little "boxes". But what do you mean by writing a controller? Some embedded system which is able to e.g. play various animations on the strip and be controlled by some input? | 08:20 |
wertigon | So say, in the end you can either press a button or remotely send a command that allows you to send mode and color ranges somehow | 08:20 |
dleppich | Ah okay, think I go it | 08:20 |
*** gourve_l <gourve_l!~laurent@static-176-175-104-214.ftth.abo.bbox.fr> has quit IRC | 08:20 | |
wertigon | More like some Human Interface to the LED strip :) | 08:20 |
wertigon | No need to reinvent the wheel too much ya? | 08:21 |
dleppich | I did something like this on Arduino before, what exactly would be the difference to do this with yocto? Just writing the recipe again, right? | 08:21 |
wertigon | Yeah, you learn to work with Yocto basically | 08:22 |
dleppich | I also know how to use GPIO pins on the raspberry pi for example, but not how to do this on arbitrary platforms to manually control pins. What is the general approach on other boards? | 08:22 |
wertigon | If you want more of a challenge, hook up a USB webcam and ROS, and try to work with some image recognition (like, make it recognize an item and blink LED if that item is shown) | 08:22 |
*** gourve_l <gourve_l!~laurent@40.72.95.92.rev.sfr.net> has joined #yocto | 08:23 | |
ptsneves | dleppich its linux, so the gpio kernel entry points are the same just with different pin number/id | 08:23 |
dleppich | That sounds interesting but I never worked with image recognition before and I think it would be too much out of scope for my future projects, but I might dive into this in my freetime :) | 08:24 |
ptsneves | i also do not think the program is the relevant thing if you want to learn yocto I would suggest instead taking some random meson,makefile project etc and try to create a recipe | 08:24 |
ptsneves | starting by using the devtool | 08:24 |
wertigon | Anyway, my SDK is 2.3GB compressed - is there any way to make it smaller? | 08:25 |
dleppich | ptsneves: That sounds like a good way to go. Are there any references out there, what projects are easy to write recipes for to get started? Because I have no clue what projects to look for to be honest. I'm a "normal" Linux user I'd say but had nothing to do with self compiling and building projects before | 08:26 |
qschulz | dleppich: create an image and flash it first. Once that's done, add a package to your image, check it's installed. Then create a recipe for some code you find on the internet (or your company's). That's probably going to be the first hurdle since it is not uncommon to have code not meant to be cross-compiled | 08:26 |
wertigon | used bitbake myimage -c populate_sdk to generate | 08:26 |
qschulz | dleppich: YoctoProject YT channel, tutorials playlist. | 08:26 |
qschulz | dleppich: very accessible | 08:26 |
dleppich | wertigon, ptsneves and qschulz: Thanks so far! I will go through your recommendations and should be busy for quite a while! Thanks again :) | 08:27 |
wertigon | ^^d | 08:27 |
*** Ox861726f6c64 <Ox861726f6c64!~Ox861726f@gateway/tor-sasl/ox861726f6c64> has joined #yocto | 08:28 | |
wertigon | Or phrased another way; I don't need qemu in my Yocto SDK since our devs all have hardware access | 08:29 |
ptsneves | dleppich: Follow qschulz order and change do the recipe i said at the end. There are many, depending on what you want to do, cmake autotools meson or make | 08:29 |
wertigon | Any way to remove qemu from the SDK? | 08:29 |
ptsneves | wertigon why do you not use devtool from yocto? | 08:30 |
*** psnsilva__ <psnsilva__!~psnsilva@207.15.249.5.rev.vodafone.pt> has quit IRC | 08:30 | |
wertigon | ptsneves: Short answer; our guys are hooked on Windows :D | 08:32 |
*** camus1 <camus1!~Instantbi@58.246.136.202> has joined #yocto | 08:32 | |
wertigon | So they develop in Visual Studio but need the gcc crosscompiler + libraries + target files | 08:32 |
ptsneves | :) i did not know yocto generated sdks for windows | 08:32 |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has quit IRC | 08:32 | |
*** camus1 is now known as kaspter | 08:32 | |
wertigon | It does with mingw-layer | 08:33 |
ptsneves | wow that is very neat. I use the mingw layer but never for sdk. Ok let me check the exact variable | 08:33 |
wertigon | Basicly we have the base OS (my responsibility) and then the App that Does Stuff(tm) (think proprietary protocol firewall) | 08:34 |
wertigon | They need to be able to build the App... On Windows... Using our crosscompiler | 08:34 |
fbre | Visual Studio supports projects for building Linux programs. Just use it and setup your cross-compiler for your platform | 08:36 |
ptsneves | ok so there are variables called SDK_DEPENDS and SDK_RDPEPENDS. They are set in poky/meta/classes/populate_sdk_base.bbclass: | 08:36 |
ptsneves | SDK_RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}" | 08:37 |
ptsneves | SDK_DEPENDS = "virtual/fakeroot-native xz-native cross-localedef-native nativesdk-qemuwrapper-cross ${@' '.join(["%s-qemuwrapper-cross" % m for m in d.getVar("MULTILIB_VARIANTS").split()])} qemuwrapper-cross" | 08:37 |
ptsneves | so modify the TOOLCHIN_TARGET_TASK and TOOLCHAIN_HOST_TASAK | 08:37 |
ptsneves | TOOLCHAIN_HOST_TASAK and set it to your hearts desire :) | 08:37 |
wertigon | Ok so if I set TOOLCHAIN_TARGET_TASK = "beagleboard" and TOOLCHAIN_HOST_TASK = "win32" that should pretty much only compile beagleboard support? | 08:38 |
wertigon | For win32 I guess | 08:39 |
ptsneves | no, unless you have some package called beagleboard | 08:39 |
wertigon | And yes, probably not exactly those values, but in theory | 08:39 |
ptsneves | https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#var-TOOLCHAIN_TARGET_TASK | 08:39 |
wertigon | Ok, I'll have a look, thanks :) | 08:40 |
ptsneves | imagine these variables as the image install of the sdk. One is for cross libraries others are for host binaries like the cross compiler | 08:40 |
ptsneves | wertigon let me know if this helped. I am very curious what will be the value of these variables for the windows sdk case | 08:43 |
*** psnsilva <psnsilva!~psnsilva@2001:818:dae7:b100:f19e:6519:4064:1cca> has joined #yocto | 08:46 | |
*** lucaceresoli <lucaceresoli!~lucaceres@77.244.183.192> has joined #yocto | 08:52 | |
*** kpo_ <kpo_!~kpo@bwu34.internetdsl.tpnet.pl> has quit IRC | 08:56 | |
*** eduardas <eduardas!~eduardas@85.254.96.13> has joined #yocto | 08:56 | |
*** paulg <paulg!~paulg@24-212-228-244.cable.teksavvy.com> has joined #yocto | 09:00 | |
*** kpo_ <kpo_!~kpo@bwu34.internetdsl.tpnet.pl> has joined #yocto | 09:03 | |
*** pev <pev!~pev@cpc123816-trow7-2-0-cust2.18-1.cable.virginm.net> has joined #yocto | 09:03 | |
*** fbre <fbre!91fdde45@145.253.222.69> has quit IRC | 09:09 | |
*** sstiller <sstiller!~sstiller@p200300f07f13f9014137f624ecf6b07a.dip0.t-ipconnect.de> has joined #yocto | 09:15 | |
wertigon | ptsneves: Did a second recon of the SDK rootfs, it appears I can cut most of it down by *not* providing qemu in the SDK | 09:19 |
wertigon | For some reason the mingw SDK provides Qemu to *all* thinkable architectures and each Qemu binary is 100 MB | 09:19 |
*** jmiehe <jmiehe!~Thunderbi@p578c106e.dip0.t-ipconnect.de> has joined #yocto | 09:20 | |
ptsneves | great. I can tell you from experience you can make very very slim sdks but then you need to manually add glibc and stlibc++ cross canadian compiler etc. Regardless, what is the current size you have now? | 09:20 |
wertigon | So that's roughly 26*100MB and I feel like that is a LOT of wasted space ^^; | 09:21 |
wertigon | Current SDK size unwrapped: | 09:21 |
wertigon | 6.5G according to du -hs | 09:22 |
ptsneves | huge. I do not know what are your dependencies but that seems massive for one target | 09:22 |
wertigon | Yeah, definitely | 09:22 |
wertigon | 2.3 GB is qemu binaries | 09:23 |
wertigon | Then of course Windows binaries are inefficient | 09:23 |
ptsneves | i would say 100MB is about what should be expected | 09:23 |
ptsneves | yeah, it could be that there is a static linking of the windows runtime and this makes binares big | 09:23 |
wertigon | Aye, that sounds more in line | 09:23 |
wertigon | It is not unusual for BSPs to be several GB in size on Windows | 09:28 |
wertigon | And here BSP is roughly another 2 GB | 09:28 |
rburton | should be trivial to change the nativesdk qemu to build just the target arch | 09:29 |
rburton | qemu-native builds all arches because then it can be built once | 09:29 |
wertigon | Yeah, I think I should build a Linux SDK and find out the differences | 09:29 |
*** micka <micka!~micka@reverse-75.fdn.fr> has quit IRC | 09:37 | |
*** micka <micka!~micka@reverse-75.fdn.fr> has joined #yocto | 09:42 | |
*** rob_w_ <rob_w_!~bob@host-82-135-31-73.customer.m-online.net> has joined #yocto | 09:49 | |
*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-gfnzclsgwcrefetp> has joined #yocto | 10:14 | |
RP | zeddii: looks like we have a kernel issue with 3.2 M3 - beaglebone doesn't boot :( | 10:20 |
*** pev <pev!~pev@cpc123816-trow7-2-0-cust2.18-1.cable.virginm.net> has quit IRC | 10:29 | |
RP | I think M3 rc1 is bad enough we'll need an rc2 | 10:30 |
*** la_croix <la_croix!~la_croix@cpc97624-walt24-2-0-cust98.13-2.cable.virginm.net> has quit IRC | 10:30 | |
*** la_croix <la_croix!~la_croix@cpc97624-walt24-2-0-cust98.13-2.cable.virginm.net> has joined #yocto | 10:33 | |
*** amboar <amboar!~amboar@ozlabs.org> has joined #yocto | 10:39 | |
*** kpo_ <kpo_!~kpo@bwu34.internetdsl.tpnet.pl> has quit IRC | 10:41 | |
*** kpo_ <kpo_!~kpo@bwu34.internetdsl.tpnet.pl> has joined #yocto | 10:42 | |
amboar | hello | 10:43 |
amboar | we're hitting https://github.com/systemd/systemd/issues/16878 with systemd 246.2 in openbmc | 10:43 |
amboar | this is fixed by patches in 246.4 | 10:43 |
amboar | can it be bumped? I can send a patch, just trying to figure out where | 10:44 |
RP | amboar: which release is that in? We do take stable updates for components | 10:48 |
amboar | ah, I think we're on dunfell? | 10:51 |
amboar | RP: dunfell | 10:52 |
RP | amboar: that should be acceptable | 10:52 |
*** pev <pev!~pev@cpc123816-trow7-2-0-cust2.18-1.cable.virginm.net> has joined #yocto | 10:55 | |
RP | sakoman: ^^^ | 10:55 |
*** hpsy <hpsy!~hpsy@92.118.12.70> has joined #yocto | 10:56 | |
qschulz | dunfell is 244.3? | 10:57 |
qschulz | master is 246.2 | 10:57 |
qschulz | according to http://layers.openembedded.org/layerindex/recipe/122137/ | 10:58 |
amboar | ah, maybe we're somewhere on master then | 10:58 |
amboar | :) | 10:58 |
amboar | my unscientific check was grepping for dunfell | 10:58 |
*** Bunio_FH <Bunio_FH!~bunio@81-18-201-214.static.chello.pl> has quit IRC | 10:59 | |
amboar | qschulz: ah, that "Other Branches" section is great | 11:00 |
qschulz | amboar: yeah that's an awesome feature! | 11:00 |
qschulz | amboar: so if RP says it's fine for backporting on dunfell, it probably is fine for master? | 11:00 |
amboar | right; I'd hope so | 11:00 |
amboar | I'd probably skip the backport | 11:01 |
amboar | the bug was introduced in 246 | 11:01 |
amboar | 245 doesn't have the issue | 11:01 |
RP | yes, that uprev would be great for master | 11:02 |
pev | Hm, just got a new machine and installed with Ubuntu 20.04 and dunfell. Did a couple of full core-image-minimal builds for qemuarm and qemuarmv5. qemuarm seems to work but v5 I noticed that ubuntu spots a bunch of crashes during build and the resultant armv5 doesn't appear to run. Is that a known issue? | 11:04 |
RP | pev: we've don't test v5 anymore. It should work and this is the first time I've seen it reported that it doesn't | 11:09 |
*** kpo_ <kpo_!~kpo@bwu34.internetdsl.tpnet.pl> has quit IRC | 11:14 | |
*** kpo_ <kpo_!~kpo@bwu34.internetdsl.tpnet.pl> has joined #yocto | 11:16 | |
*** Bunio_FH <Bunio_FH!~bunio@188.146.146.186.nat.umts.dynamic.t-mobile.pl> has joined #yocto | 11:17 | |
*** foo59 <foo59!55dd880c@c136-12.icpnet.pl> has joined #yocto | 11:20 | |
pev | RP: Ah, OK. I'll see if I can work out what's going on easily. Just trying to do a parallel Debian 10 install on the same machine as I was using that previously with no errors that I was aware of... | 11:21 |
*** mort is now known as mortbot | 11:24 | |
*** mortbot is now known as mort | 11:24 | |
*** berton <berton!~berton@181.220.78.182> has joined #yocto | 11:42 | |
*** la_croix <la_croix!~la_croix@cpc97624-walt24-2-0-cust98.13-2.cable.virginm.net> has quit IRC | 11:53 | |
*** la_croix <la_croix!~la_croix@cpc97624-walt24-2-0-cust98.13-2.cable.virginm.net> has joined #yocto | 11:54 | |
*** dmation <dmation!~dmation@90.253.232.39> has joined #yocto | 11:59 | |
*** pev <pev!~pev@cpc123816-trow7-2-0-cust2.18-1.cable.virginm.net> has quit IRC | 11:59 | |
*** pev <pev!~pev@cpc123816-trow7-2-0-cust2.18-1.cable.virginm.net> has joined #yocto | 11:59 | |
*** foo59 <foo59!55dd880c@c136-12.icpnet.pl> has quit IRC | 12:02 | |
*** cengiz_io <cengiz_io!~cengiz_io@159.89.7.238> has quit IRC | 12:20 | |
*** cengiz_io <cengiz_io!~cengiz_io@159.89.7.238> has joined #yocto | 12:21 | |
zeddii | RP: have we pinged Kevin @ WindRiver yet ? Some kernel merge may have caused it, but I don't have the h/w here to try. | 12:36 |
*** la_croix <la_croix!~la_croix@cpc97624-walt24-2-0-cust98.13-2.cable.virginm.net> has quit IRC | 12:36 | |
*** la_croix <la_croix!~la_croix@cpc97624-walt24-2-0-cust98.13-2.cable.virginm.net> has joined #yocto | 12:39 | |
zeddii | RP, actually Kevin has a patch this morning: [kernel-meta yocto-5.8&master] beaglebone: Switch to sdhci-omap driver | 12:39 |
*** lucaceresoli <lucaceresoli!~lucaceres@77.244.183.192> has quit IRC | 12:41 | |
*** lucaceresoli <lucaceresoli!~lucaceres@77.244.183.192> has joined #yocto | 12:41 | |
*** Bunio_FH <Bunio_FH!~bunio@188.146.146.186.nat.umts.dynamic.t-mobile.pl> has quit IRC | 12:42 | |
RP | zeddii: ah, hopefully we can get that merged, rebuilt and get another test... | 12:43 |
RP | seebs: around? | 12:44 |
*** rcw <rcw!~rcw@45.72.241.84> has joined #yocto | 12:44 | |
*** leon-anavi <leon-anavi!~Leon@78.130.197.211> has joined #yocto | 12:44 | |
*** Bunio_FH <Bunio_FH!~bunio@81-18-201-214.static.chello.pl> has joined #yocto | 12:46 | |
zeddii | RP: yep, merging now, will send the bumps in the next few mins. | 12:47 |
RP | zeddii: thanks. I also filed a bug about an x86 backtrace that looked problematic | 12:48 |
*** rizzitello <rizzitello!~quassel@24.105.220.210> has joined #yocto | 13:02 | |
dleppich | Hey guys, is it a good idea to write a recipe based on a git repository or should I better grab the sources directly from a tarball? The problem I see with git is that it is not version stable (or am I missing an option to set a specific commit / tag / branch?). | 13:03 |
rburton | set SRCREV to the specific SHA | 13:03 |
rburton | either is good, neither is 'better' | 13:03 |
*** C-o-r-E <C-o-r-E!~corey@modemcable149.12-178-173.mc.videotron.ca> has quit IRC | 13:03 | |
rburton | some tarballs are easier to build than git as there may be files in the tarballs which you need more tools to rebuild from git | 13:04 |
*** C-o-r-E <C-o-r-E!~corey@modemcable069.166-70-69.static.videotron.ca> has joined #yocto | 13:04 | |
rburton | and tarballs can be cached/mirrored more easily | 13:04 |
dleppich | k, thanks | 13:05 |
*** rizzitello <rizzitello!~quassel@24.105.220.210> has quit IRC | 13:06 | |
*** camus1 <camus1!~Instantbi@58.246.136.202> has joined #yocto | 13:06 | |
zeddii | if you think the recipe will ever need to be source debugged locally, or uprev'd / patched frequently, git is much better imho. | 13:07 |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has quit IRC | 13:07 | |
*** camus1 is now known as kaspter | 13:07 | |
*** ericch <ericch!~ericch@pool-108-34-251-214.prvdri.fios.verizon.net> has joined #yocto | 13:08 | |
ptsneves | big amount of git repositories kills parsing. Was just in a meeting where multiple teams said it got so bad they started having pre-mirror of the git as a form of cache | 13:09 |
dleppich | I just started learning yocto and tried to write a recipe for htop. Whatever I try, I did not get it working. I also googled for a recipe for htop and found one in the meta-openembedded layer (which is not working for me as well). Can someone please help me figure out what to do to get my recipe working / explain why it is not working? | 13:10 |
ptsneves | dleppich can you post a paste of the error you have when using the meta-openembedded? | 13:12 |
dleppich | I just tried and now everything is in flames... I need to check what I messed up with | 13:15 |
ptsneves | Hey guys. When i run -c clean on a recipe, and if the make clean target is broken we cannot clean the directory ever | 13:15 |
ptsneves | we are stuck. -c cleanall is affected as well. Has anybody hit this issue? | 13:16 |
dleppich | I had this issue as well. I just removed everything inside of workspace manually, but I'm quite sure this is not the way to go | 13:17 |
zeddii | ptsneves: did you try setting CLEANBROKEN="1" in the recipe ? | 13:17 |
zeddii | or alternatively, carry a patch that fixes the clean target in the Makefiles (and send it to the upstream project of course). | 13:17 |
ptsneves | The cleanbroken is a good tip, althoug i am fixing the Makefile indeed. Regardless the situation of an unrecoverable error even with cleanall is very not intuitive | 13:19 |
*** Sandrita <Sandrita!d0586e2e@gateway/web/cgi-irc/kiwiirc.com/ip.208.88.110.46> has quit IRC | 13:19 | |
*** Sandrita83 <Sandrita83!d0586e2e@gateway/web/cgi-irc/kiwiirc.com/ip.208.88.110.46> has joined #yocto | 13:19 | |
dleppich | I have a reproducible htop problem now :) I created a new recipe with "devtool add htop https://github.com/htop-dev/htop". That worked. Trying to build it fails: "bitbake htop". Output: https://pastebin.com/e6EZT95M | 13:20 |
ptsneves | checking for addnwstr in -lncursesw6... nochecking for addnwstr in -lncursesw... nochecking for addnwstr in -lncurses... noconfigure: error: You may want to use --disable-unicode or install libncursesw. | 13:22 |
paulbarker | dleppich: I recommend adding the meta-openembedded layer and using the htop recipe from there | 13:22 |
ptsneves | notice that error | 13:22 |
dleppich | paulbarker: I think in a solution oriented approach I would do that, but my goal is to learn yocto and to understand this issue, in order to learn to fix it. | 13:23 |
ptsneves | either you add the dependency to libncurses or you disable it with build flags. Most likely adding DEPENDS += "ncurses" is what you need, as i do not imagine htop without ncurses :) | 13:23 |
rburton | ptsneves: only if you use AUTOREV | 13:23 |
* paulbarker dleppich: Ah in that case making your own recipe is definitely the way to go! | 13:23 | |
rburton | (re git repos causing build slowdown) | 13:23 |
qschulz | dleppich: though IIRC we highly discourage people to get tarball from github.. basically, tags and releases can be "redone" meaning your source has changed without you knowing (or requiring some work on your end). Though it's still possible if someone rebases master/main branch, it is pretty well-known this is a very bad practice | 13:24 |
* paulbarker always forgets that irccloud posts messages differently when you press ctrl+enter | 13:24 | |
dleppich | ptsneves: I added the DEPENDS already on my own (I forgot the +). Still, in both cases it produces the same error (or it seems to be the same) | 13:25 |
qschulz | dleppich: do not build on arch please :) | 13:27 |
ptsneves | dleppich then try EXTRA_OECONF += "--disable-unicode", although this is a hunch. I have never looked at the htop build system. I would suggest that you have a look at the recipe of meta-openembedded and cross check with what you understand and not. You can ask here what does not make sense for you | 13:27 |
*** dlan <dlan!~dennis@222.65.91.131> has joined #yocto | 13:27 | |
*** dlan <dlan!~dennis@gentoo/developer/dlan> has joined #yocto | 13:27 | |
*** pev <pev!~pev@cpc123816-trow7-2-0-cust2.18-1.cable.virginm.net> has quit IRC | 13:28 | |
qschulz | dleppich: https://docs.yoctoproject.org/ref-manual/ref-system-requirements.html?highlight=ubuntu#supported-linux-distributions | 13:28 |
dleppich | qschulz: I know, but this issue doesn't seem to be OS related to me, or am I wrong? | 13:29 |
qschulz | make sure that all packages defined in the sections below are installed on your host as well. There is almost no chance this has an impact on your error but it might be an issue in the long term | 13:29 |
dleppich | I installed all packages listed there | 13:30 |
dleppich | And I have no troubles using packages which are shipped in the meta layers already included. I got first issues when writing / generating my own recipes | 13:30 |
ptsneves | @qschultz i do not think this has anything to do with the environment. This is not a native package and the libraries missing are for target. | 13:30 |
qschulz | ptsneves: 1) you can use autocompletion for any nick :D 2) yes, still.. arch is known to break/change often and is definitely not supported. So staying within tested boundaries is better when someone's starting their Yocto journey :) | 13:31 |
dleppich | ptsneves: I tried this "EXTRA_OECONF += ..."-magic, but still getting an error: https://pastebin.com/jfHQ5U3D | 13:32 |
dleppich | I saw that there is a CROPS (or spelled similar) docker container to use yocto inside of it. Is that a solution that is usable in daily use? | 13:32 |
rburton | does anyone still use ccache or is everyone using icecream now? | 13:34 |
ptsneves | dleppich so definitely for some reason the libncurses is not being considered by the htop build system. | 13:35 |
rburton | vmeson: it looks like WR still at least test ccache builds. do you know of anyone actually using it? | 13:35 |
ptsneves | my employer does | 13:36 |
ptsneves | rburton my employer does | 13:37 |
ptsneves | dleppich are you inheriting autotools. Also could you pastebin the recipe? | 13:37 |
dleppich | yep: https://pastebin.com/g72LwkjC | 13:39 |
dleppich | I just added "ncurses" to DEPENDS (the other was auto generated by devtool) and the "--disable-unicode" to EXTRA_OECONF. The rest was generated | 13:40 |
*** tgamblin <tgamblin!~tgamblin@CPE64777de11593-CM64777de11590.cpe.net.cable.rogers.com> has quit IRC | 13:41 | |
ptsneves | dleppich as expected there is a quirk to get htop to build. You need a patch so that htop build system uses pkgconfig properly | 13:45 |
ptsneves | http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/htop/files/0001-Use-pkg-config.patch | 13:45 |
ptsneves | then it shall detect libncurses properly | 13:46 |
dleppich | I also tried that with my dockerized yocto-setup: https://pastebin.com/EnPyPUT (same issue) | 13:49 |
dleppich | ptsneves: This patch doesn't work for me as well (or I did it wrong): https://pastebin.com/StTDpcdL | 13:49 |
ptsneves | ok then i would need to try it out localy | 13:50 |
ptsneves | which i can do only a bit later | 13:50 |
ptsneves | nothing seems wrong on your part though | 13:50 |
dleppich | That's the exact error I get: https://pastebin.com/riaxfYRY | 13:50 |
dleppich | ptsneves: Okay, that makes me feel a little bit less dumb. Thanks so far! | 13:51 |
qschulz | dleppich: http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/htop/files/0001-Use-pkg-config.patch | 13:51 |
dleppich | qschulz, I just tried that without success :/ | 13:52 |
qschulz | dleppich: how did you "try"? | 13:52 |
dleppich | I added the patch to a newly created "files" folder next to the .bb file and added this file to the SRC_URI variable (https://pastebin.com/StTDpcdL) | 13:53 |
*** maudat <maudat!~moda@bras-vprn-mtrlpq2848w-lp130-10-174-92-198-55.dsl.bell.ca> has joined #yocto | 13:55 | |
dleppich | I'm sorry to have that many questions and I hope I can give some help back one day in the future.. But, I have another and maybe simpler issue with a self created recipe for an ncurses based tetris game I found on github. A part was generated by "devtool" and I already figured out a way to fix compilation problems due to "bad git usage". The issue is, that my recipe does not create an executable "tetris" in the final image. This is my recipe: https:// | 14:00 |
dleppich | pastebin.com/XirhqYg7 | 14:00 |
dleppich | https://pastebin.com/XirhqYg7 | 14:00 |
rburton | your install lines are almost right, bindir not base_bindir and install-d (make directory) before you put something into it | 14:01 |
rburton | so remove base_ and swap those two lines around | 14:01 |
dleppich | I got these lines from another package, but have no clue what they mean. Could you please explain them to me or give me a hint where I can find some good reference? | 14:02 |
rburton | 'man install' :) | 14:03 |
rburton | install -d is basically mkdir | 14:03 |
rburton | the other line is a glorified cp | 14:03 |
dleppich | 'man install' says: "treat all arguments as directory names; create all components of the specified directories".. I would never guess that this is something similar to mkdir | 14:05 |
*** rizzitello <rizzitello!~quassel@24.105.220.210> has joined #yocto | 14:06 | |
dleppich | What are ${D} ${S} and ${bindir}. I would guess that ${bindir} might be the directory of the future "bin", like /usr/bin. ${S} could be the source directory. Am I correct this far? What is ${D} | 14:06 |
paulbarker | dleppich: You can find these in the reference manual, e.g. https://www.yoctoproject.org/docs/3.1.2/ref-manual/ref-manual.html#var-D | 14:08 |
dleppich | paulbarker, thanks | 14:08 |
dleppich | rburton, I think I got your changes and explanations, but the "bitbake ncurses-tetris" is still failing: https://pastebin.com/ttaJ4Z96 | 14:11 |
dleppich | This is my current recipe: https://pastebin.com/M4401M40 | 14:11 |
rburton | for an executable you want 0755, to be executable | 14:13 |
dleppich | True, but this does not solve the error above | 14:14 |
eduardas | hello, which bitbake variable contains just the cross-compilation prefix for toolchain? | 14:17 |
eduardas | I am trying to cross-compile open-plc-utils with the projects Makefile | 14:18 |
eduardas | which takes the variable CROSS for this purpose | 14:18 |
eduardas | OpenWRT has TARGET_CROSS for this | 14:19 |
eduardas | https://github.com/openwrt/packages/blob/openwrt-18.06/utils/open-plc-utils/Makefile | 14:19 |
eduardas | can not find a Yocto equivalent | 14:19 |
wertigon | Huh, strange | 14:21 |
wertigon | I look at the qemu architectures generated | 14:21 |
*** pev <pev!~pev@cpc123816-trow7-2-0-cust2.18-1.cable.virginm.net> has joined #yocto | 14:21 | |
wertigon | and all of them are in... EXCEPT the one I use, arm64 | 14:22 |
paulbarker | eduardas: Does the Makefile ignore $CC? | 14:22 |
wertigon | I want the opposite to be true, I want arm64 qemu if anything | 14:22 |
wertigon | when doing populate_sdk | 14:22 |
*** kpo_ <kpo_!~kpo@bwu34.internetdsl.tpnet.pl> has quit IRC | 14:24 | |
*** kpo_ <kpo_!~kpo@bwu34.internetdsl.tpnet.pl> has joined #yocto | 14:25 | |
eduardas | paulbarker: no, but I think it ignores LD ,because I've grepped LD=$(CROSS)ld | 14:25 |
*** mihai <mihai!~mihai@unaffiliated/mihai> has joined #yocto | 14:25 | |
paulbarker | eduardas: I'd recommend patching the makefile then, Yocto usually sets CC and LD to include some required flags if I remember correctly | 14:26 |
paulbarker | You can examine the run.do_compile file to see what is set | 14:28 |
eduardas | paulbarker: ok, but I'd still like to know whether there is a bitbake variable that contains just the toolchain prefix | 14:28 |
*** rob_w_ <rob_w_!~bob@host-82-135-31-73.customer.m-online.net> has quit IRC | 14:28 | |
eduardas | paulbarker: I've already looked at it, could not find it | 14:28 |
paulbarker | eduardas: I'm unsure of one myself, other than searching the reference manual | 14:28 |
*** stacktrust <stacktrust!~stacktrus@cpe-67-250-48-90.nyc.res.rr.com> has quit IRC | 14:29 | |
paulbarker | Maybe https://www.yoctoproject.org/docs/3.1.2/ref-manual/ref-manual.html#var-CROSS_COMPILE ? | 14:30 |
*** stacktrust <stacktrust!~stacktrus@cpe-67-250-48-90.nyc.res.rr.com> has joined #yocto | 14:31 | |
eduardas | paulbarker: thank you | 14:31 |
ptsneves | eduardas beware The OpenEmbedded build system sets the CROSS_COMPILE variable only in certain contexts (e.g. when building for kernel and kernel module recipes). | 14:32 |
ptsneves | you should use TARGET_SYS instead as it is guaranteed to exist everywhere | 14:33 |
eduardas | https://pastebin.com/arTvvShz | 14:33 |
eduardas | still does not work, though... not sure which flag is improper here | 14:34 |
eduardas | ptsneves: seems TARGET_PREFIX is set correctly in my recipe | 14:36 |
*** tgamblin <tgamblin!~tgamblin@CPE64777de11593-CM64777de11590.cpe.net.cable.rogers.com> has joined #yocto | 14:38 | |
ptsneves | honestly eduardas it seems your compiler is defective | 14:38 |
ptsneves | did you build it in yocto | 14:38 |
eduardas | ptsneves: yes, this is latest stable yocto release | 14:40 |
eduardas | dunfell | 14:41 |
*** kpo_ <kpo_!~kpo@bwu34.internetdsl.tpnet.pl> has quit IRC | 14:41 | |
*** kpo_ <kpo_!~kpo@bwu34.internetdsl.tpnet.pl> has joined #yocto | 14:42 | |
ptsneves | one funny thing why is your version % | 14:43 |
ptsneves | not that it is the root cause | 14:43 |
*** koty0f <koty0f!~filip@212.27.194.162> has quit IRC | 14:44 | |
ptsneves | eduardas can you print the spec by running the ${CC} --version | 14:45 |
eduardas | ptsneves: bitbake -c devshell does not work for this recipe for some reason | 14:47 |
eduardas | ptsneves: not sure how I'm supposed to get into the compilation environment properly otherwise | 14:47 |
ptsneves | you just find the compiler in the sysroot | 14:47 |
eduardas | ptsneves: oh, ok... a moment | 14:47 |
ptsneves | or you can just prepend bbwarn $(${CC} --version) | 14:48 |
paulbarker | eduardas: Have you patched the Makefile so it doesn't override CC, LD, etc? | 14:48 |
eduardas | ptsneves: arm-poky-linux-gnueabi-gcc (GCC) 9.3.0 | 14:49 |
ptsneves | sorry only -v | 14:49 |
*** jobroe <jobroe!~manjaro-u@p579eb9ab.dip0.t-ipconnect.de> has quit IRC | 14:50 | |
ptsneves | by the way what recipe is failing? a bad spec would fail very early | 14:50 |
eduardas | paulbarker: no, I haven't yet, since passing the prefix via CROSS seemed to work for OpenWRT... still wanted to try this approach.. will patch if nothing else works | 14:50 |
*** rizzitello <rizzitello!~quassel@24.105.220.210> has quit IRC | 14:51 | |
eduardas | ptsneves: https://pastebin.com/rq22xM3T | 14:51 |
*** xtron1 <xtron1!~xtron@110.93.212.98> has joined #yocto | 14:51 | |
*** rizzitello <rizzitello!~quassel@24.105.220.210> has joined #yocto | 14:52 | |
eduardas | ptsneves: GCC output you asked for: https://pastebin.com/dSdbXJin | 14:52 |
*** d32 <d32!2ef3c527@46.243.197.39> has joined #yocto | 14:54 | |
armpit | YPTM: armpit is on | 14:54 |
d32 | Hi, | 14:56 |
JaMa | YPTM: JaMa is on | 14:56 |
*** sno <sno!~sno@p5b25b0d4.dip0.t-ipconnect.de> has quit IRC | 14:57 | |
*** sno <sno!~sno@p5b25b0d4.dip0.t-ipconnect.de> has joined #yocto | 14:59 | |
smurray | YPTM: Scott Murray is on | 15:00 |
qschulz | dleppich: are you sure you saved and recompiled with the saved recipe? because your FILES is commented but it is incorrect | 15:01 |
qschulz | and the default FILES_${PN} will just work in your case | 15:01 |
*** rizzitello <rizzitello!~quassel@24.105.220.210> has quit IRC | 15:02 | |
*** tgamblin <tgamblin!~tgamblin@CPE64777de11593-CM64777de11590.cpe.net.cable.rogers.com> has quit IRC | 15:03 | |
*** eduardas <eduardas!~eduardas@85.254.96.13> has quit IRC | 15:05 | |
d32 | I'm trying to solve "cfg80211: failed to load regulatory.db". I'm building core-image-minimal for linux-fslc 5.0.7. Looking at wireless-regdb_2019.06.03.bb this seems to be the file that installs the required files in /lib/firmware and I'm thinking this might solve the failure. Can someone tell me how to get my project to use and build this file? | 15:06 |
*** rizzitello <rizzitello!~quassel@24.105.220.210> has joined #yocto | 15:06 | |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has quit IRC | 15:07 | |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has joined #yocto | 15:07 | |
*** rizzitello <rizzitello!~quassel@24.105.220.210> has quit IRC | 15:08 | |
*** rizzitello <rizzitello!~quassel@24.105.220.210> has joined #yocto | 15:10 | |
qschulz | d32: create a new image recipe based on core-image-minimal if you want and add this package to IMAGE_INSTALL or whatever the name of the variable for including packages in core-image-minimal is | 15:12 |
qschulz | d32: highly suggesting taking the time to follow the Live coding sessions on YoctoProject Youtube channel | 15:13 |
dleppich | qschulz, yes, I'm using vim and when reopening the recipe it is in the state I posted: https://pastebin.com/M4401M40. | 15:14 |
dleppich | But I found the issue: I forgot a $ in the install line just before {bindir} | 15:14 |
dleppich | Now I'm fighting another issue. The Makefile is unable to cross-compile the game. I took a look at it and it was using 'g++' directly. I replaced it with $(CC) and created a patch for this change, which did not succeed. | 15:15 |
dleppich | I wanted to try to cross compile it by hand to check what I am missing, but I don't know where the cross compiler is located, can you help me out? | 15:16 |
tlwoerner | paulbarker: what's the tool called (license scanning)? | 15:17 |
paulbarker | tlwoerner: scancode-tk class in meta-spdxscanner | 15:17 |
tlwoerner | paulbarker: thanks! | 15:18 |
*** Konsgnx <Konsgnx!~Konsgnx3@66-109-34-138.tvc-ip.com> has joined #yocto | 15:18 | |
dleppich | And a general question: I wrote a patch file to (hopefully but still not working correctly) make the Makefile cross compile. Is there a way I can check if my patch get applied in bitbake? | 15:20 |
rburton | read log.do_patch | 15:21 |
qschulz | dleppich: UGH the dollar sign :D | 15:22 |
dleppich | Where can I find this? | 15:22 |
rburton | tmp/work/*/*/*/temp/log.do_compile | 15:22 |
dleppich | qschuld: Yeah, I only found it by accident :D | 15:22 |
*** florian <florian!~florian_k@Maemo/community/contributor/florian> has quit IRC | 15:23 | |
qschulz | dleppich: I suspect CXXFLAGS/LDFLAGS are also overriden? or if multiple makefile/cmake are in play, g++ is hardcoded in other places | 15:23 |
d32 | qschulz: Thanks, yes I have seen most of the live coding sessions and they have been very informative for me. What I did until now is IMAGE_INSTALL_append = " wireless-regdb-static" in core-image-minimal.bbappend. But I realize now I wrote it in my recipes-core folder, which probably should be recipes-connectivity? | 15:23 |
qschulz | dleppich: CXX and not CC I think also | 15:23 |
dleppich | I tried it with CXX as well | 15:24 |
*** stacktrust <stacktrust!~stacktrus@cpe-67-250-48-90.nyc.res.rr.com> has quit IRC | 15:24 | |
qschulz | d32: does not matter. check your bbappend is found by running bitbake-layers show-appends | 15:24 |
qschulz | if it's there, it's used :) | 15:24 |
dleppich | qschulz: In both cases $(CC) and $(CXX) the log file tells me, that g++ is being used: "g++ -c main.cpp -lncurses ..." | 15:25 |
dleppich | Where does this information come from? I do not set either of these variables in the makefile | 15:26 |
*** chris_ber <chris_ber!~quassel@213.138.44.181> has quit IRC | 15:26 | |
rburton | <insert rant about how makefiles are hard to write correctly here> | 15:26 |
qschulz | dleppich: bitbake <recipe> -e | grep -e "^SRC_URI=" | 15:26 |
qschulz | do you have your patch in there? | 15:26 |
qschulz | does your patch ends with ".patch" or ".diff"? | 15:27 |
dleppich | rburton: Sorry for being too bad :/ | 15:27 |
qschulz | dleppich: oh no, he was complaining about the original author :) | 15:27 |
rburton | it's not your makefile! :) | 15:27 |
qschulz | dleppich: you see what all people have to go through :) | 15:27 |
dleppich | rburton: But I still don't know how to write it better :P | 15:28 |
dleppich | grep output is: SRC_URI="file://0001-Make-makefile-crosscompile.patch" | 15:28 |
qschulz | dleppich: https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/conf/bitbake.conf#n519 for CC and CXX setting | 15:28 |
qschulz | dleppich: well... you kinda have an issue there, where's the git repo in that variable :D? | 15:28 |
qschulz | you probably forgot += in SRC_URI | 15:28 |
qschulz | dleppich: that's the point of rburton, it's hard to write a good makefile. People here usually recommend cmake or meson | 15:29 |
dleppich | This is my recipe: https://controlc.com/fafa05f7 | 15:30 |
dleppich | I have multiline SRC_URI | 15:30 |
dleppich | I seem to have a talent on finding "easy" tasks to get into Yocto :D | 15:30 |
qschulz | d32: do you actually have an issue? because what you did seem correct to me | 15:31 |
qschulz | dleppich: why do you not have the git repo in there then? | 15:31 |
qschulz | (there = SRC_URI) | 15:31 |
dleppich | I have no clue.. The git repo is in the recipe file | 15:32 |
qschulz | dleppich: you don't need your FILES_${PN} BTW | 15:32 |
dleppich | True, on my way finding out the $ bug, I forgot to comment it out again | 15:33 |
qschulz | dleppich: also... are you SURE that you're reading the log.do_compile **symlink**? because it'll keep the old logs as well | 15:33 |
dleppich | qschulz: Yes, I'm following the symlink | 15:34 |
*** tgamblin <tgamblin!~tgamblin@2607:fea8:e2e1:1110::52bc> has joined #yocto | 15:34 | |
*** stacktrust <stacktrust!~stacktrus@cpe-67-250-48-90.nyc.res.rr.com> has joined #yocto | 15:34 | |
qschulz | dleppich: are you using devtool build tetris? or bitbake tetris? | 15:35 |
dleppich | bitbake ncurses-tetris | 15:35 |
qschulz | also, to check if the patch is applied, check first in log.do_patch, and to be extra super sure, you can go in the build directory of this recipe | 15:35 |
dleppich | I did not know there is a devtool build.. But after trying it out I get the same issue: "file format not recognized" | 15:36 |
qschulz | what | 15:36 |
qschulz | dleppich: so... you did devtool add <> for the recipe right? | 15:36 |
dleppich | Full error: https://controlc.com/08a677a0 | 15:36 |
dleppich | Yes, 'devtool add ncurses-tetris <GIT_REPO>' | 15:37 |
qschulz | dleppich: probably because it's x86 and not arm | 15:37 |
qschulz | dleppich: mmmm where did you put your patch? | 15:37 |
dleppich | in 'workspace/recipes/ncurses-tetris/files | 15:37 |
dleppich | I set the machine to "qemuarm" in the local.conf | 15:38 |
qschulz | mmmmm... not sure about devtool | 15:38 |
qschulz | handling patches directly | 15:38 |
*** dmation <dmation!~dmation@90.253.232.39> has quit IRC | 15:38 | |
qschulz | basically, when you're using devtool, modify the sources directly | 15:38 |
qschulz | so in workspace/sources/ncruses-tetris | 15:38 |
dleppich | This is the output of 'bitbake ncurses-tetris': https://controlc.com/313b17ef | 15:39 |
qschulz | modify whatever you need, there. Commit for every change. Once finished, devtool finish and it'll create patches fro you and should add them to SRC_URI IIRC | 15:39 |
qschulz | dleppich: it's fine, I just wanted to make sure you weren't forcing a task of the recipe to be run (-c task) | 15:40 |
dleppich | I have no log.do_patch btw.. | 15:40 |
qschulz | dleppich: well, that's an issue :) | 15:40 |
dleppich | Do I have to somewhere register the patch file? Because I just created it in a newly created 'files' folder and added it to the SRC_URI variable (which seem not to be updated correctly) | 15:41 |
qschulz | dleppich: I'm not sure devtool handles it correctly that's my point | 15:41 |
qschulz | aaaaand... technically it's a non-issue | 15:41 |
qschulz | because devtool is made so that you modify the source code directly, then you commit those changes (in devtool workspace), then devtool finish | 15:42 |
dleppich | Okay, I just saw devtool today for the first time and wasn't aware of it's capabilities. I thought I had to write the patch by hand with the diff tool | 15:42 |
qschulz | dleppich: I know patches and other files (not tarball, git repos, etc...) are installed into workspace/sources/<recipe>/oe-local-files. So I don't know really if your thing works | 15:42 |
armpit | YPTM: is over | 15:43 |
*** xtron1 <xtron1!~xtron@110.93.212.98> has quit IRC | 15:43 | |
qschulz | dleppich: nope :) obviously not a perfect tool, but very helpful :) | 15:43 |
ecdhe | dleppich: you can go manually generate patches too (I was unaware that devtool would do it for you and had a lengthy manual process before) | 15:43 |
qschulz | dleppich: sorry that wasn't clear.. when doing devtool modify <recipe>, if the recipe has patches it puts them into workspace/sources/<recipe>/oe-local-files | 15:44 |
dleppich | I checked out the 'oe-workdir' symlink and it points to a directory where my patch is also inside (I never put it in there) | 15:44 |
qschulz | ecdhe: how do you make your devtool'ed recipe use those manually crafted patches then? | 15:44 |
qschulz | dleppich: not workdir, oe-local-files | 15:44 |
dleppich | I have no 'oe-local-files' | 15:45 |
qschulz | dleppich: anyway, I would give up on making devtool take patches :) | 15:45 |
*** xtron <xtron!~xtron@110.93.212.98> has joined #yocto | 15:45 | |
qschulz | dleppich: AH! I think devtool does not execute the patch step once you have the sources! | 15:46 |
dleppich | qschulz: Kk ^^ But how would you patch "normally"? | 15:46 |
*** xtron <xtron!~xtron@110.93.212.98> has quit IRC | 15:46 | |
dleppich | Is there a command to clear the sources or do I just 'rm -rf' them? | 15:46 |
qschulz | because to show you the sources, it fetches them and applies the patches on top in the workspace | 15:46 |
qschulz | dleppich: either you modify manually in workspace/sources/<recipe>, until you're happy | 15:46 |
qschulz | those changes will be taken even without committing | 15:47 |
*** xtron <xtron!~xtron@110.93.212.98> has joined #yocto | 15:47 | |
qschulz | (provided your recipe is dispalyed when you do devtool status) | 15:47 |
qschulz | then you can commit and run devtool finish when you're happy | 15:47 |
*** mrc3 <mrc3!~mrc3@linaro/mrc3> has quit IRC | 15:47 | |
*** xtron <xtron!~xtron@110.93.212.98> has quit IRC | 15:48 | |
dleppich | Okay, so what do I have to do to clear my broken status and start it again? Without doing everything manually and without starting a new project? | 15:48 |
*** xtron <xtron!~xtron@110.93.212.98> has joined #yocto | 15:48 | |
qschulz | halstead: there is a missing redirect from http to https on docs.yoctoproject.org if that was not on prupose :) | 15:49 |
qschulz | halstead: (hi /me waves) | 15:49 |
*** Konsgnx <Konsgnx!~Konsgnx3@66-109-34-138.tvc-ip.com> has quit IRC | 15:49 | |
qschulz | dleppich: you're good, just remove from SRC_URI your patch, re-apply it to the sources in the workspace, and remove the file from workspace/recipes/) | 15:49 |
*** Konsgnx <Konsgnx!~Konsgnx3@66-109-34-138.tvc-ip.com> has joined #yocto | 15:49 | |
qschulz | dleppich: AH! apparently one could do devtool sync! | 15:50 |
qschulz | (reading the docs help :D) | 15:50 |
qschulz | dleppich: FYI: https://docs.yoctoproject.org/ref-manual/ref-devtool-reference.html | 15:51 |
qschulz | (maybe devtool sync would pick up and apply your patch) | 15:52 |
dleppich | devtool sync was not working for me (or I have used it wrong). For now I removed my patch from the recipe and deleted the files directory | 15:53 |
dleppich | Now I will try to apply the patch in the sources and use devtool to do the magic | 15:53 |
ecdhe | qschulz: I made devtool put the code into the workspace, edit the code, and build to test my edit. If my edit built and had desireable behavior, I committed it as a patch, then used `git format-patch' to generate a patch file, which I then copy to meta-my-layer/recipes-kernel/linux/files/, which is on my FILESEXTRAPATHS_prepend; then I can add the the patches by adding them to my SRC_URI. | 15:53 |
*** dev1990 <dev1990!~dev@dynamic-81-168-186-230.ssp.dialog.net.pl> has quit IRC | 15:54 | |
qschulz | ecdhe: exactly what I did before I discovered devtool finish :) (still doing it "your" way sometimes though :) ) | 15:55 |
qschulz | dleppich: I barely use devtool honestly so I discover as mucha s you do | 15:55 |
dleppich | qschulz: Sorry, it still doesn't work. I now directly edited the Makefile in workdir/sources/ncurses-tetris from 'g++' to '$(CXX)' | 15:56 |
RP | JPEW: I assume you'll send a v2 of the sshkey systemd patch? (looked good to me with the tweak, thanks) | 15:56 |
dleppich | 'devtool status' and 'devtool finish' do nothing | 15:56 |
JPEW | RP: Will do | 15:57 |
qschulz | dleppich: workspace/sources | 15:57 |
dleppich | qschulz: What do you mean? | 15:58 |
*** xtron <xtron!~xtron@110.93.212.98> has quit IRC | 15:59 | |
*** xtron <xtron!~xtron@103.113.103.8> has joined #yocto | 15:59 | |
qschulz | dleppich: it's workspace/sources/ncurses-tetris, not workdir | 16:00 |
d32 | qschulz: I have re-checked, and found out my mistake. I tried to use the wireless-regdb-static in core-image-minmal.bbappend. But then I got an error mesage saying nothing RPROVIDES 'wireless-regdb-static' After some googling it looked like core-image-base would have more chance of succes so I built with that. As a result I did not get an error | 16:00 |
d32 | message, but I realize now I did not have a core-image-base.bbappend...so it never got into the image. So my new question is how to resolve the RPROVIDES error. | 16:00 |
dleppich | qschulz: Yup, typo ^^ | 16:00 |
qschulz | dleppich: but if devtool status returns nothing... not great, because it does for me | 16:00 |
dleppich | I think I will purge my current progress and start over with 'devtool add' | 16:01 |
qschulz | d32: which yocto release are you using? | 16:02 |
qschulz | dleppich: devtool modify ncurses-tetris -n otherwise should put it back into your devtool workspace layer | 16:02 |
d32 | qschulz: 2.7.4 | 16:03 |
qschulz | d32: yeah, does not exist in 2.7.4 | 16:04 |
qschulz | d32: you need to add meta-openembedded/meta-networking to your bblayers.conf | 16:06 |
qschulz | d32: http://layers.openembedded.org/layerindex/recipe/100831/ | 16:06 |
d32 | qschulz: OK thanks a lot I will try it! | 16:08 |
*** warthog9 <warthog9!warthog9@proxy.monkeyblade.net> has quit IRC | 16:08 | |
dleppich | qschulz: Not that I get it wrong this time. I have a clean recipe created with 'devtool add'. I added the do_configure and do_install things I had before. Now I get the file format error | 16:08 |
dleppich | qschulz: Now I go into workspace/sources/tetris/ (I renamed it) and edit Makefile from 'g++' to '$(CXX)', right? | 16:08 |
*** warthog9 <warthog9!warthog9@proxy.monkeyblade.net> has joined #yocto | 16:08 | |
*** dleppich_ <dleppich_!~dleppich@80.152.190.82> has joined #yocto | 16:09 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 16:09 | |
dleppich_ | hmm, weird reconnect | 16:09 |
qschulz | dleppich_: yeah that should help | 16:09 |
qschulz | probably still missing CXXFLAGS and LDFLAGS but that should put you in the right direction | 16:09 |
*** fl0v0 <fl0v0!~fvo@88.130.221.235> has quit IRC | 16:10 | |
dleppich_ | Now that I edited Makefile, 'devtool status' is just listing me the 'tetris' recipe | 16:10 |
dleppich_ | What to do next? | 16:10 |
qschulz | devtool build tetris or bitbake tetris? | 16:11 |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 16:12 | |
*** rob_w <rob_w!~rob@unaffiliated/rob-w/x-1112029> has quit IRC | 16:12 | |
*** dleppich <dleppich!~dleppich@81.20.119.6> has quit IRC | 16:12 | |
*** stephano <stephano!~stephano@c-73-164-244-205.hsd1.or.comcast.net> has joined #yocto | 16:12 | |
dleppich_ | qschulz: both crash on do_package with the 'file format not recognized' error | 16:13 |
*** w00die <w00die!~w00die@212.91.255.186> has quit IRC | 16:14 | |
*** lxc6 <lxc6!d9d0c05b@217-208-192-91-no98.tbcn.telia.com> has joined #yocto | 16:14 | |
qschulz | dleppich_: they are doing the same thing so only calling one is fine | 16:14 |
dleppich_ | Okay | 16:15 |
*** w00die <w00die!~w00die@212.91.255.186> has joined #yocto | 16:15 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 16:15 | |
lxc6 | is there a variable containing the directory name from where oe-init-build-env was invoked? | 16:16 |
dleppich_ | As it is not working now and also not applying the patch (there is no do_patch log file and do_compile shows that 'g++' was being used the first time, now telling 'tetris is up to date'), what do I have to do next? | 16:16 |
paulbarker | lxc6: I don't believe so. What do you need it for? | 16:16 |
lxc6 | paulbarker need to invoke a shell script from a bitbake recipe. | 16:17 |
qschulz | lxc6: add this shell script to SRC_URI of the recipe? | 16:18 |
qschulz | dleppich_: worked for me /me shrugs | 16:20 |
*** khem <khem!~khem@unaffiliated/khem> has quit IRC | 16:21 | |
qschulz | dleppich_: ahah, wait... forgot the do-install task | 16:21 |
lxc6 | qschulz the SRC_URI is described from the bb recipe source dir? how do you mean it helps med to trigger that shell script at a certain call point? | 16:22 |
qschulz | dleppich_: yeah.. works for me. You probably are not modifying the correct sources? | 16:23 |
dleppich_ | I modified 'workspace/sources/tetris/Makefile' | 16:23 |
*** ptsneves <ptsneves!b0dd7824@176.221.120.36> has quit IRC | 16:24 | |
qschulz | dleppich_: well, I did too... and it compiles | 16:24 |
*** mckoan is now known as mckoan|away | 16:25 | |
qschulz | dleppich_: tested on thud. I only added your do_install and do_configure to the devtool'ed recipe and modified the makefile, nothing else | 16:25 |
*** jmiehe <jmiehe!~Thunderbi@p578c106e.dip0.t-ipconnect.de> has quit IRC | 16:25 | |
dleppich_ | qschulz: This is how my files look right now: https://controlc.com/4ece85c5 | 16:26 |
qschulz | dleppich_: mmmm.... youi have run devtool finish once in the past right? | 16:26 |
qschulz | check that's in nowhere in your layers outside of devtool workspace | 16:26 |
dleppich_ | nope | 16:26 |
dleppich_ | how exactly do I invoke devtool finish? | 16:26 |
qschulz | dleppich_: I do have rm -rf *.o instead of rm *.o tbf | 16:27 |
qschulz | dleppich_: forget about devtool finish for now. | 16:28 |
dleppich_ | well, that shouldn't change anything, right? | 16:28 |
qschulz | dleppich_: also, don't take tetris binary from ${S} that'll bite you later, you should not specify anything | 16:28 |
*** mrc3 <mrc3!~mrc3@linaro/mrc3> has joined #yocto | 16:28 | |
qschulz | dleppich_: try and we'll see :) | 16:29 |
dleppich_ | qschulz: I mean, if I 'rm *.o' or 'rm -rf *.o'. These are only files without any directories.. But I'll try it | 16:29 |
dleppich_ | Now it worked.. | 16:30 |
dleppich_ | qschulz: When I remove the '-rf', it works as well.. Somehow this change in the recipe have forced bitbake to update something | 16:31 |
qschulz | dleppich_: no it does not "work as well" | 16:31 |
qschulz | because your .o files are not removed somehow? | 16:32 |
qschulz | in poky, everyone is doing `rm -f` | 16:32 |
dleppich_ | Okay, so the force flag was important.. | 16:32 |
qschulz | dleppich_: apparently, no fucking idea why though | 16:32 |
qschulz | maybe someone knows but I don't :) | 16:32 |
dleppich_ | qschulz: Anyway.. my qemuarm image did correctly build with bitbake and I just ran tetris inside it <3 | 16:33 |
dleppich_ | qschulz: Thanks so much for helping me for so long, you are my personal hero of today! | 16:33 |
dleppich_ | After all this struggle, I should give this tetris guy a merge request with some changes to his makefile :D | 16:33 |
*** xtron1 <xtron1!~xtron@110.93.212.98> has joined #yocto | 16:34 | |
qschulz | dleppich_: our pleasure :) have fun with yocto | 16:34 |
dleppich_ | qschulz: Thanks! I have really learned a lot today! Bye :) | 16:35 |
*** dleppich_ <dleppich_!~dleppich@80.152.190.82> has quit IRC | 16:35 | |
*** zandrey <zandrey!~zandrey@193.8.40.126> has quit IRC | 16:36 | |
marex | qschulz: what is it with the rm -f ? | 16:36 |
*** xtron <xtron!~xtron@103.113.103.8> has quit IRC | 16:37 | |
marex | qschulz: if you do rm *.o and there are no .o files, rm will return error code , if you do rm -f *.o and there are no .o files, it will return 0 (success) | 16:37 |
*** dev1990 <dev1990!~dev@dynamic-81-168-186-230.ssp.dialog.net.pl> has joined #yocto | 16:53 | |
*** feddischson <feddischson!~feddischs@HSI-KBW-095-208-248-060.hsi5.kabel-badenwuerttemberg.de> has quit IRC | 16:58 | |
*** dev1990 <dev1990!~dev@dynamic-81-168-186-230.ssp.dialog.net.pl> has quit IRC | 17:10 | |
*** rizzitello <rizzitello!~quassel@24.105.220.210> has quit IRC | 17:11 | |
kiwi_29 | hello. I have a software which is hosted on git. When I clone it ...it has 3 directories. Each has a different software to compile using configure, make and make install . I am sort of confused, how to implement a single recipe to compile source from all three directories. Any ideas or links to recipes which does something like this? | 17:13 |
*** Yatekii <Yatekii!~yatekii@huesser.dev> has joined #yocto | 17:13 | |
*** dev1990 <dev1990!~dev@dynamic-81-168-186-230.ssp.dialog.net.pl> has joined #yocto | 17:15 | |
*** khem <khem!~khem@unaffiliated/khem> has joined #yocto | 17:18 | |
marex | kiwi_29: add a top-level makefile or split your repo (that's likely the proper approach) | 17:23 |
kiwi_29 | It is an opensource project, I cannot change it :( marex | 17:23 |
paulbarker | kiwi_29: May be easier to just write 3 recipes, use a common .inc file to specify SRC_URI and SRCREV | 17:24 |
marex | kiwi_29: it is an open source project, so you should be able to change it :) | 17:25 |
kiwi_29 | Hi paulbarker ... many thanks .. I was veering towards that solutions ... I guess ..thats it then | 17:25 |
marex | kiwi_29: what project is that ? | 17:25 |
kiwi_29 | marex ... true.. but there is no time to go through that cycle of submitting changes..and waiting for it to get approved ...also it is not a yocto compatible project ... as in I do not know if the maintainers want any yocto related changes | 17:27 |
*** mihai <mihai!~mihai@unaffiliated/mihai> has quit IRC | 17:28 | |
*** manuel1985 <manuel1985!~manuel@62.99.131.178> has left #yocto | 17:29 | |
marex | kiwi_29: you can track a local patch | 17:30 |
marex | kiwi_29: might be better to fix the upstream, esp. if you ever plan to upgrade in the long run | 17:30 |
*** xtron1 <xtron1!~xtron@110.93.212.98> has quit IRC | 17:31 | |
kiwi_29 | is there a way to change environment variable S in recipe multiple times? | 17:40 |
kiwi_29 | in the shell version of do_<something> I could not change using S = syntax | 17:40 |
zeddii | no. but you don't need to. | 17:40 |
zeddii | it's just a variable, you can use it as reference point, or use ${WORKDIR} | 17:41 |
kiwi_29 | configure from autotools autotools_do_configure only uses path from S | 17:41 |
kiwi_29 | https://git.yoctoproject.org/cgit.cgi/poky/plain/meta/classes/autotools.bbclass | 17:42 |
zeddii | you may need to call the even lower functions directly. | 17:42 |
zeddii | or just create three recipes :D all cloning that same repo. | 17:42 |
kiwi_29 | on it ;) | 17:42 |
zeddii | I've called the autotools functions directly in the past, but don't think I have any like that at the moment. | 17:43 |
zeddii | but many of the go recipes I maintain are invoking a bunch of builds in various source directories. | 17:43 |
zeddii | heh. I see paulbarker recommended the same thing :D | 17:44 |
kiwi_29 | :D | 17:44 |
zeddii | if your do_compile is python, you might be able to set the var, but I'm not sure how well it would work. | 17:45 |
zeddii | I quick grep shows that other recipes are mucking with it: | 17:45 |
zeddii | meta/recipes-multimedia/alsa/alsa-tools_1.2.2.bb: dd.setVar("S", os.path.join(d.getVar("S"), subdir)) | 17:46 |
zeddii | and in fact, that one is then invoking autotools | 17:46 |
zeddii | so have a closer look at that. | 17:46 |
marex | well, isnt there already a recipe for that project anyway ? check the layerindex first ? | 17:47 |
marex | kiwi_29: ^ | 17:47 |
lxc6 | If I define SRC_URI to a local file isn't that file supposed to be copied to $WORKDIR? | 17:47 |
kiwi_29 | thanks marex | 17:55 |
*** ptsneves <ptsneves!b0dd7824@176.221.120.36> has joined #yocto | 17:58 | |
*** sakoman <sakoman!~steve@rrcs-66-91-142-162.west.biz.rr.com> has quit IRC | 18:01 | |
*** sakoman <sakoman!~steve@99.197.43.113> has joined #yocto | 18:01 | |
*** lucaceresoli <lucaceresoli!~lucaceres@77.244.183.192> has quit IRC | 18:02 | |
*** lucaceresoli <lucaceresoli!~lucaceres@77.244.183.192> has joined #yocto | 18:02 | |
*** sakoman <sakoman!~steve@99.197.43.113> has quit IRC | 18:07 | |
*** sakoman <sakoman!~steve@99.197.43.113> has joined #yocto | 18:29 | |
*** sakoman <sakoman!~steve@99.197.43.113> has quit IRC | 18:40 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 18:41 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 18:41 | |
*** NiksDev <NiksDev!~NiksDev@192.91.75.30> has quit IRC | 18:44 | |
*** NiksDev <NiksDev!~NiksDev@192.91.101.30> has joined #yocto | 18:44 | |
*** sakoman <sakoman!~steve@99.197.43.113> has joined #yocto | 18:48 | |
*** dmoseley <dmoseley!~dmoseley@24.96.56.90> has quit IRC | 18:53 | |
*** sakoman <sakoman!~steve@99.197.43.113> has quit IRC | 18:58 | |
*** dmoseley <dmoseley!~dmoseley@24.96.56.90> has joined #yocto | 18:59 | |
*** sakoman <sakoman!~steve@99.197.43.113> has joined #yocto | 19:03 | |
*** psnsilva <psnsilva!~psnsilva@2001:818:dae7:b100:f19e:6519:4064:1cca> has quit IRC | 19:06 | |
*** psnsilva <psnsilva!~psnsilva@2001:818:dae7:b100:62e7:1c6c:fe39:b439> has joined #yocto | 19:07 | |
*** pev <pev!~pev@cpc123816-trow7-2-0-cust2.18-1.cable.virginm.net> has quit IRC | 19:08 | |
*** sakoman <sakoman!~steve@99.197.43.113> has quit IRC | 19:09 | |
*** georgem <georgem!~georgem@216.21.169.52> has quit IRC | 19:12 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 19:15 | |
*** georgem <georgem!~georgem@216.21.169.52> has joined #yocto | 19:15 | |
*** sstiller <sstiller!~sstiller@p200300f07f13f9014137f624ecf6b07a.dip0.t-ipconnect.de> has quit IRC | 19:22 | |
*** lucaceresoli <lucaceresoli!~lucaceres@77.244.183.192> has quit IRC | 19:27 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 19:27 | |
*** sakoman <sakoman!~steve@99.197.43.113> has joined #yocto | 19:32 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 19:32 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 19:44 | |
*** tgamblin <tgamblin!~tgamblin@2607:fea8:e2e1:1110::52bc> has quit IRC | 19:44 | |
*** NiksDev <NiksDev!~NiksDev@192.91.101.30> has quit IRC | 20:00 | |
*** NiksDev <NiksDev!~NiksDev@192.91.101.30> has joined #yocto | 20:00 | |
*** gsalazar <gsalazar!5e3dbd6b@gateway/web/cgi-irc/kiwiirc.com/ip.94.61.189.107> has quit IRC | 20:02 | |
zeddii | Crofton|cloud: for the first time ever, I was able to boot a zcu102 image in qemu. does that count as a boot test :P | 20:02 |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has quit IRC | 20:05 | |
*** camus1 <camus1!~Instantbi@58.246.136.202> has joined #yocto | 20:05 | |
*** camus1 is now known as kaspter | 20:08 | |
*** lucaceresoli <lucaceresoli!~lucaceres@77.244.183.192> has joined #yocto | 20:14 | |
*** tgamblin <tgamblin!~tgamblin@CPE64777de11593-CM64777de11590.cpe.net.cable.rogers.com> has joined #yocto | 20:21 | |
*** beneth <beneth!~beneth@irc.beneth.fr> has left #yocto | 20:35 | |
*** lexano <lexano!~lexano@CPEb03956d8c2f4-CM98524a70e35e.cpe.net.cable.rogers.com> has quit IRC | 20:44 | |
*** lexano <lexano!~lexano@CPEb03956d8c2f4-CM98524a70e35e.cpe.net.cable.rogers.com> has joined #yocto | 20:49 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 20:56 | |
*** pev <pev!~pev@cpc123816-trow7-2-0-cust2.18-1.cable.virginm.net> has joined #yocto | 20:58 | |
*** Konsgnx <Konsgnx!~Konsgnx3@66-109-34-138.tvc-ip.com> has quit IRC | 21:00 | |
Crofton|cloud | grrr | 21:04 |
Crofton|cloud | How long have you been there .... | 21:04 |
*** pohly <pohly!~pohly@p54849295.dip0.t-ipconnect.de> has quit IRC | 21:11 | |
*** pev <pev!~pev@cpc123816-trow7-2-0-cust2.18-1.cable.virginm.net> has quit IRC | 21:12 | |
*** berton <berton!~berton@181.220.78.182> has quit IRC | 21:17 | |
*** bsmerbeck <bsmerbeck!4a6132e0@pool-74-97-50-224.prvdri.fios.verizon.net> has joined #yocto | 21:22 | |
bsmerbeck | So I'm scratching my head on this one. Trying to install a python package on my image, and use a systemd service that gets removed after first boot to run a setup of a postgresql database among other commands and functions. I install the package (psycopg2) by using ROOTFS_POSTPROCESS_COMMAND. It simply runs a `python3 setup.py install`. In the | 21:25 |
bsmerbeck | initscript (set to run after postgresql.service), the package is needed. Using `journalctl` the log shows that the module isn't recognized. HOWEVER, when I su to the user the systemd service runs as, and just do a simple `python3; import psycopg2`, it works without error. Any thoughts on why it's not recognized in the systemd service? | 21:25 |
*** lucaceresoli <lucaceresoli!~lucaceres@77.244.183.192> has quit IRC | 21:28 | |
*** bsmerbeck <bsmerbeck!4a6132e0@pool-74-97-50-224.prvdri.fios.verizon.net> has quit IRC | 21:35 | |
*** wertigon <wertigon!~per@c-e961225c.021-396-7673741.bbcust.telenor.se> has quit IRC | 21:57 | |
*** dagmcr <dagmcr!sid323878@gateway/web/irccloud.com/x-tvtcywbcxqyywjvn> has quit IRC | 22:04 | |
*** ukembedded <ukembedded!sid304355@gateway/web/irccloud.com/x-wpwrpcrbfruwccux> has quit IRC | 22:04 | |
*** rsalveti <rsalveti!uid117878@gateway/web/irccloud.com/x-svetjwmbwdypbltn> has quit IRC | 22:04 | |
*** Tartarus <Tartarus!sid72705@gateway/web/irccloud.com/x-hsofequfhuqotzwe> has quit IRC | 22:04 | |
*** ndec <ndec!sid219321@linaro/ndec> has quit IRC | 22:04 | |
*** fancer <fancer!fancer@gateway/web/irccloud.com/x-nztgsvisgylzvqld> has quit IRC | 22:04 | |
*** darknighte <darknighte!sid214177@pdpc/supporter/professional/darknighte> has quit IRC | 22:04 | |
*** ndec <ndec!sid219321@linaro/ndec> has joined #yocto | 22:05 | |
*** dagmcr <dagmcr!sid323878@gateway/web/irccloud.com/x-hhxgyvilgfkanbar> has joined #yocto | 22:05 | |
*** rsalveti <rsalveti!uid117878@gateway/web/irccloud.com/x-lhyggrdugkbossmz> has joined #yocto | 22:05 | |
*** fancer <fancer!fancer@gateway/web/irccloud.com/x-zbtufgayjibdgmtu> has joined #yocto | 22:06 | |
*** darknighte <darknighte!sid214177@pdpc/supporter/professional/darknighte> has joined #yocto | 22:06 | |
*** Tartarus <Tartarus!sid72705@gateway/web/irccloud.com/x-etljggmhaktzsznq> has joined #yocto | 22:06 | |
*** ukembedded <ukembedded!sid304355@gateway/web/irccloud.com/x-smoghejpsvobcqeq> has joined #yocto | 22:07 | |
RP | sakoman: as a headsup warning, the new buildtools has some issues with oe-selftest :( | 22:17 |
RP | sakoman: that is why master/master-next are now struggling | 22:18 |
sakoman | Bummer, sorry to hear that :-( | 22:18 |
RP | sakoman: I think I have an idea to fix it, its just a pain to enable | 22:24 |
RP | (need a new build tools, then more testing) | 22:24 |
sakoman | RP: I'll wait till your testing is complete before pulling anything into dunfell | 22:26 |
sakoman | Is this something we should hold the release for? | 22:26 |
sakoman | I suspect it is only an issue for autobuilder users | 22:27 |
RP | sakoman: no, its only the autobuilder | 22:28 |
*** agust <agust!~agust@p508b6ab0.dip0.t-ipconnect.de> has quit IRC | 22:29 | |
sakoman | Doing another round of dunfell hw testing on imx6 and stm32mp -- so far looks good | 22:30 |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 22:31 | |
*** qschulz <qschulz!~weechat@ns326003.ip-37-187-106.eu> has quit IRC | 22:33 | |
*** Ox861726f6c64 <Ox861726f6c64!~Ox861726f@gateway/tor-sasl/ox861726f6c64> has quit IRC | 22:33 | |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has quit IRC | 22:34 | |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has joined #yocto | 22:34 | |
RP | sakoman: I merged the changes for dunfell while I remember | 22:35 |
sakoman | Thanks! | 22:35 |
*** qschulz <qschulz!~weechat@ns326003.ip-37-187-106.eu> has joined #yocto | 22:36 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 22:36 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 22:36 | |
*** C-o-r-E <C-o-r-E!~corey@modemcable069.166-70-69.static.videotron.ca> has quit IRC | 22:37 | |
*** C-o-r-E <C-o-r-E!~corey@modemcable149.12-178-173.mc.videotron.ca> has joined #yocto | 22:39 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 22:42 | |
*** samvlewis <samvlewis!~samvlewis@45.32.247.239> has quit IRC | 22:45 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 22:46 | |
*** samvlewis <samvlewis!~samvlewis@45.32.247.239> has joined #yocto | 22:51 | |
*** ericch <ericch!~ericch@pool-108-34-251-214.prvdri.fios.verizon.net> has quit IRC | 22:51 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 23:11 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 23:11 | |
RP | sakoman: did you run a perf test build for dunfell? Next question is when to build the release? | 23:14 |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 23:15 | |
* RP -> Zzzz | 23:18 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 23:20 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 23:24 | |
sakoman | RP: the perf test is queued | 23:32 |
sakoman | We can build whenever convenient | 23:33 |
*** camus1 <camus1!~Instantbi@58.246.136.202> has joined #yocto | 23:57 | |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has quit IRC | 23:58 | |
*** camus1 is now known as kaspter | 23:58 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!