**** BEGIN LOGGING AT Tue Apr 17 03:00:06 2018 Apr 17 05:32:41 Hi folks i have compiled rootfs with yoktu for intel Quark. When i try to install lib or something ie pahomqtt Apr 17 05:33:14 İ getiren an error make install 127 Apr 17 05:34:58 İ getiren an error when i type make install Apr 17 05:36:20 But library is compiled succeesfully with make command Apr 17 06:27:27 hi folks i have compiled image for intel quark using sdk from intel Apr 17 06:28:06 i get a error when i try to lib (ie paho mqtt ) or something Apr 17 06:28:18 make install error 127 Apr 17 06:28:44 make command works great on runtime Apr 17 06:28:57 any suggestion ? Apr 17 06:35:06 What changes to a build config necessitates a new build directory? Apr 17 06:46:15 New news from stackoverflow: Webserver on Yocto Apr 17 08:01:58 Hello guys ! I have some trouble to fetch prelink-cross on master branch of poky ? o.0 ->fatal: http://git.yoctoproject.org/cgit/cgit.cgi/prelink-cross.git/info/refs not valid: is this a git repository? any idea ? Apr 17 08:24:43 Hmm, any pointers how to add yocto hardening flags as defaults also to the generated SDK and cross compiler there? Apr 17 08:37:14 mcfrisk: DEFAULTTUNE maybe? Apr 17 08:46:16 mcfrisk: That's specific to our SDK, really. We don't ship any of the Yocto flags in our SDK, and we should probably change that. Apr 17 08:46:36 New news from stackoverflow: How do I add more python modules to my yocto/openembedded project? Apr 17 08:46:49 mcfrisk: E.g. make carroot read variables from /etc/environment and put them there. Apr 17 10:08:16 khem: http://errors.yoctoproject.org/Errors/Details/176127/ Apr 17 11:55:03 Hello, I need to install the service command on yocto Apr 17 11:55:07 suggestion? Apr 17 11:57:49 "service command"? Apr 17 11:57:57 you mean, ubuntu's upstart? Apr 17 11:59:33 if in that case, the answer is that you have to package upstart for yourself, if you *REALLY* think you need it. currently OE supports busybox init and systemd Apr 17 12:23:40 On some of my system "/sbin/syslogd -n" shows up under both syslogd.service and busybox-syslog.service. On others only under busybox-syslogservice. On the latter, it behaves like 2 separate syslogd's are running. Apr 17 13:08:34 Hi all, I was trying to create a shared library using the sdk which I built, but I get the following error "undefined reference to `__assert_fail'" is it that I cannot create shared libraries and static is supported ? Apr 17 13:17:29 New news from stackoverflow: bitbake clean fails with read-only NFS SSTATE CACHE Apr 17 13:53:47 I mean the command service Apr 17 13:54:07 in ubuntu i can understand the status of a service using Apr 17 13:54:13 service status Apr 17 13:54:21 how can i obtain this in yocto? Apr 17 13:55:17 afaik thats part of upstart, so you'll need to package and use upstart Apr 17 13:55:21 or, don't use service Apr 17 13:55:35 if you are running systemd, then systemctl will do the same Apr 17 13:58:01 franco_: very likely your image is using SystemV Apr 17 14:01:05 Recent ubuntu/debian do have a "service" command which just wraps "systemctl", should be possible to pick that up if you're using systemd Apr 17 14:02:10 Well I am trying to understand if I am using systemd or sysV Apr 17 14:02:21 i will be back :) thank you Apr 17 14:03:26 Hi, I got a dependency loop when enabling ares support in curl: https://pastebin.com/fukPAppE Apr 17 14:04:13 looks like cmake-native:do_prepare_recipe_sysroot has a bunch of non-native dependencies... ? Apr 17 14:06:58 Ok I am using systemd how can i pick service command up? Apr 17 14:07:13 @paul_barker Apr 17 14:09:08 franco_: https://access.redhat.com/articles/systemd-cheat-sheet Apr 17 14:09:58 franco_: https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#selecting-an-initialization-manager Apr 17 14:12:45 if i would like to make a separate partition with all my application data on, what would be a good way to do that ? Apr 17 14:15:17 franco_: as we said, service is part of upstart. use systemctl instead. Apr 17 14:15:48 osten: wic lets you define the partition layout as part of image construction Apr 17 14:18:53 rburton: is it with wic possible to make a partition with automatic expands and use the rest of the space on the first boot ? Apr 17 14:22:11 osten: you can make a partition layout where the last one is a set size and then you'd need to write a little script to expand it as required on first boot Apr 17 14:22:14 not a lot of work Apr 17 14:22:32 https://www.irccloud.com/pastebin/vLUZZLC7/ Apr 17 14:22:36 i believe the installer can do that if you're using that though Apr 17 14:23:24 ernstp: append needs whitespace, and maybe only do that for target builds Apr 17 14:23:53 rburton: Thanks :) Apr 17 14:26:02 what if I want to use upstart? Apr 17 14:26:06 Is it possible? Apr 17 14:26:41 rburton: I thought without class-native I was affecting only target. but I need class-target then? Apr 17 14:27:28 rburton: ubuntu dropped upstart, they've been using systemd since at least ubuntu 16.04. "service" is just a wrapper around "systemctl" now Apr 17 14:28:00 franco_: I was suggestion you could find the package in debian/ubuntu that provides "service" and write a recipe for that as it's just a thin wrapper Apr 17 14:43:26 franco_: i told you about 2.5 hours ago. if you totally want to use upstart, you have to packeg it yourself. Apr 17 14:43:56 is upstart still maintained? Apr 17 14:44:05 don't think so Apr 17 14:44:41 hello, I have a problem compiling qtwayland from meta-qt5 5.10 branch hosted by the Qt Company: https://pastebin.com/vtRxW2xi Apr 17 14:44:54 I am using i.MX6 with etnaviv Apr 17 14:45:13 franco_: see, meta-webos even has an example: http://layers.openembedded.org/layerindex/recipe/4994/ Apr 17 14:45:39 thx Apr 17 14:45:48 I am using MACHINEOVERRIDES .= ":use-mainline-bsp" to use etnaviv Apr 17 14:46:48 franco_: as that recipe is from jun 4. 2014 last update, do *NOT* expect it to work, and do *NOT* expect me/us to fix it or assist in it. upstart is dead and deprecated, systemd is the de-facto standard these days. Apr 17 14:47:48 New news from stackoverflow: openembedded layer of yocto project [closed] Apr 17 14:49:01 Sure, I will consider using systemd Apr 17 14:50:18 otavio: hello, could you please tell me how to successfully compile qtwayland with Yocto rocko and meta-qt5 when using the mainline BSP option in meta-freescale? As far as I know, you are successfully using this component Apr 17 14:50:59 otavio: I am using DISTRO_FEATURES_append = " opengl wayland" Apr 17 14:55:36 I have included the recipe postgresql on my image, why I don't have the psql utility? Apr 17 15:01:59 recipes aren't included in images, packages are. recipes emit multiple packages Apr 17 15:04:44 ok Apr 17 15:05:02 How can I use psql ? Apr 17 15:07:12 franco_: http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-dbs/postgresql/postgresql.inc#n233 Apr 17 15:07:29 -> packe is postgresql-client Apr 17 15:07:35 *package Apr 17 15:15:57 ok it works. Why I didn't find the recipe postgresql-client in this site: https://layers.openembedded.org/layerindex/branch/morty/recipes/?q=nfs? Apr 17 15:16:17 it's not a recipe Apr 17 15:16:24 this page lists recipes, not packages Apr 17 15:16:58 franco_: i linked you to the exact line where it is defined on intent. Apr 17 15:19:32 ok, but my question is: why this research https://layers.openembedded.org/layerindex/branch/morty/recipes/?q=postgresql-client Apr 17 15:19:39 lead to no result? Apr 17 15:21:34 franco_: it has been answered two wimes already: because postgresql-client is a *package*, not a *recipe*. and the layerindex only can search for recipes at the moment. Apr 17 15:44:01 if postgresql-client is a package, what is the recipe that include it? Apr 17 15:50:30 There is an oe-pkgdata-util script, I've not used it myself but may be worth a try Apr 17 15:50:51 franco_ http://lmgtfy.com/?q=yocto+postgresql-client Apr 17 15:52:01 franco_: http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-dbs/postgresql/postgresql.inc#n206 Apr 17 16:09:46 khem, it really *should* be as easy as pointing to a requirements.txt and then getting a bunch of packages autogenerated the way pip does... Apr 17 16:13:07 Hello, I have a weird error when building my yocto-2.2 image: Apr 17 16:13:47 Build Configuration: BB_VERSION = "1.32.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "arm-dey-linux-gnueabi" MACHINE = "ccimx6uluvalue" DISTRO = "dey" DISTRO_VERSION = "2.2-r1" TUNE_FEATURES = "arm armv7ve vfp thumb neon callconvention-hard cortexa7" TARGET_FPU = "hard" meta meta-poky meta-yocto-bsp = "HEAD:924e Apr 17 16:14:08 Ok, not good to post error messages here... Apr 17 16:14:26 use a pastebin Apr 17 16:16:42 https://pastebin.com/0tLSfkbx Apr 17 16:16:48 There's the error message. Apr 17 16:17:02 I'm not sure whether it is because I use Ubuntu 17.10. Apr 17 16:17:42 My collegue has the same kernel, so I suppose, he's also using Ubuntu 17.10 but I'm not sure until tomorrow because he's not in my office... Apr 17 16:18:06 have you tried building in a Ubuntu 16.04 LTS container? Apr 17 16:18:22 JakobH: my money is on ubuntu 17.10 being too new for the unsupported 2.2 release Apr 17 16:18:32 that's usually the easiest way to figure out whether it's related to the host system Apr 17 16:18:53 Ok. Apr 17 16:19:21 Well, until recently I didn't have any problems on my old machine with 16.04. Apr 17 16:19:27 i *think* there's a patch in newer branches for that problem but you'll just move the failures as there's plenty more Apr 17 16:19:53 yeah because its the newer host which has things like help2man which behave differently, and a newer compiler which can't compile some things, etc etc Apr 17 16:19:55 ...until I switched to my new machine with Ubuntu 17.10. Apr 17 16:20:16 basically: use a host OS we list as supported for the releasse you want to use, or fix the problems Apr 17 16:20:33 Ok, then I'll switch back to 16.04. Apr 17 16:21:06 Thank you very much for the opinion :) Apr 17 16:21:14 would be better to update your yocto release as 2.2 is pretty old now ;) Apr 17 16:21:25 Ok. Apr 17 16:21:30 just so you know 2.2 is no longer supported in about four weeks time Apr 17 16:21:48 Yeah, we're staying because we have problems with NetworkManager :( Apr 17 16:22:18 NetworkManager = Our modems don't work anymore. Apr 17 16:23:04 i recommend at least using old NM on new yocto Apr 17 16:33:40 fg Apr 17 16:33:43 oops Apr 17 16:37:38 building core-image-sato but display is not functional using display port. isn't core-image-sato has display enabled by-default so what can be wrong? Apr 17 17:47:39 On my pyro-system I usually see 1) busybox-syslog.service running 'syslogd -n', and 2) syslogd.service running 'syslogd', but also showing the 'syslogd -n' from busybox under its process list. But, sometimes the 'syslogd -n' is not visible in syslogd.service, and those times the system behaves as if multiple daemons are running. Does this make sense as a problem description? :) Apr 17 20:18:37 rburton_: you still around? Apr 17 20:36:16 bluelightning: or actually you around Paul? haha Apr 17 20:47:54 aehs29: depends what you want Apr 17 20:48:30 aehs29: you're in between our working hours: its nearly 10pm here and not quite 9am for bluelightning Apr 17 21:10:41 rburton_: haha I know, I was able to reproduce the python3 thing on the sdk Apr 17 21:12:45 rburton_: theres basically two ways of solving this, like I said before the sqlite3-tests package screws things up for the manifest, so thats why the __init__ file is missing from python3-sqlite3, I can either hardcode that file on the manifest or modify the import statement on persist_data.py Apr 17 21:13:15 rburton_: just wondering what you guys think its best Apr 17 21:52:20 So I'm trying to build python3-pynacl from a custom .bb file, and I get the following log output: https://pastebin.ca/4016385 and here's the .bb file, and no clue what's wrong or why it's downloading pycparser even though it's included as a depend or why it's using what looks like the wrong cffi egg.. the version doesn't match the yocto local python3-cffi of 1.11.2. https://pastebin.ca/4016386 Apr 17 21:52:31 what am I doing wrong and/or how do I fix it? Apr 17 22:06:16 aarcane: it looks like easyinstall is trying to install the pycparser for the wrong arch Apr 17 22:07:37 aehs29, I have little to no idea what that is, let alone how to fix it... However, the pynacl page on pypi says specifically to not try to use easy_install, which I don't. Apr 17 22:07:40 aarcane: apparently ccffi requires pycparser but I dont see it on DEPENDS for that recipe, it might be the reason why its trying to get it from easyinstall Apr 17 22:08:55 python-cffi.inc at line 5: DEPENDS += "libffi ${PYTHON_PN}-pycparser" Apr 17 22:13:13 but you're right that pycparser is being downloaded for no *good* reason. There's a reason, but it's not a good one, and it also doesn't explain the CFFI issue... Apr 17 22:25:20 aarcane: can you try and build pytho3-cffi separately. Apr 17 22:26:26 aarcane: and see if that tries to get pycparser Apr 17 22:28:19 aehs29, I don't know if it tries to... but when I build python3-cffi or python3-pycparser, both succeed. Apr 17 22:54:47 FMITA.. Word to the wise, never force a recompile of libffi. It'll rebuild more than 90% of your distro, including, of all things, chromium, midori, and others.. Apr 17 23:01:54 I seriously just think there's something wonky in the way upstream pynacl packages their source for distribution via pip... But I don't know what it is or how to fix it. Apr 17 23:04:26 aarcane: Im pretty sure pynacl tries to build libsodium itself, instead of checking if its already there, you may start there Apr 17 23:04:46 aehs29, I added something to try that... changed nothing. Apr 17 23:05:15 I added export SODIUM_INSTALL="system" Apr 17 23:12:36 aarcane: I think that might only work for pip, you might have to modify the setup.py file instead Apr 17 23:13:13 ugh Apr 17 23:13:34 does bitbake provide tools to create a patch? or do I have to muddle through it manually? Apr 17 23:23:55 aarcane: you may want to look into devtool Apr 18 01:01:21 ugh Apr 18 01:01:22 okay Apr 18 01:01:29 devtool helped me make a working build Apr 18 01:01:56 how do I create the .patch and add it to the original .bb, and clean up the workspace? Apr 18 01:04:49 aarcane: I think you need to commit your changes, then do devtool finish path/to/your/layer Apr 18 01:08:59 clsulliv, thanks. That git commit thing was the ticket Apr 18 01:10:51 aarcane: glad it worked, I'm not a devtool expert so I wasn't 100% on it **** ENDING LOGGING AT Wed Apr 18 03:00:03 2018