**** BEGIN LOGGING AT Wed Apr 18 03:00:04 2018 Apr 18 08:36:22 Hello everyone Apr 18 08:36:41 I had created an image with the recipe postgresql Apr 18 08:37:05 But i am not able to start the postgresql server Apr 18 08:37:57 https://paste.ofcode.org/uWxrnKNynYP8s7j3Jzu6Ea Apr 18 08:39:26 Guest57132: and what is unclear about the error message? Apr 18 08:49:40 Nothing unclear https://paste.ofcode.org/7muNPa5QxvnFfydTxbxVGm Apr 18 08:50:16 well than find out why it fails? try to set a verbose flag, to find logs, etc... Apr 18 08:50:17 I would like to know if someone already get this error messages and how to solve this problem. Apr 18 09:09:34 hello guys, I'm using bitbake to build a recipe for autossh. This recipe uses autotools and aftre the do_configure() task generates config.h in ${S}/../build Apr 18 09:11:10 by the way the sources header have the #include "config.h" statement, hence the make process fail. There is a way to instruct the do_compile() process to include the config.h ? Apr 18 09:15:36 how to expand THISDIR in do_package_prepend to include the content of a file located next to the .bb? Apr 18 09:16:40 The last answer in https://stackoverflow.com/questions/35456170/bitbake-how-to-use-shell-script-content-as-body-of-pkg-postinst-or-pkg-preinst does only give me FileNotFoundError Apr 18 09:36:48 If I do: PREINST_path = d.getVar('THISDIR',d,1)+"/PREINST" then stuff suddenly works. Apr 18 09:39:37 Hello. Apr 18 09:51:20 New news from stackoverflow: Adding Micrel KSZ8895 Drivers to Yocto build Apr 18 10:32:45 fberTAB: inherit autotools-brokensep might fix your problem Apr 18 10:51:31 New news from stackoverflow: OTA update with SWupdate in yocto Apr 18 10:59:53 Hi, folks! Apr 18 11:02:09 Could you help me? Is it possible to force using precompiled rpm's in YOCTO. I mean... Use Package Feeds Area with early compiled rpm's (may be )? I tried to put them into build/tmp/deploy/rpm and run "bitbake package-index", but yocto just doing all work from scratch. Apr 18 11:04:02 acrap: Using RPMs built outside Yocto would be like installing Fedora pacakages on Centos - it might work but there's no guarantees of anything Apr 18 11:04:14 It's best to avoid this and build what you need inside Yocto Apr 18 11:04:41 Sure. But it's not my idea. Apr 18 11:05:35 acrap: the standard method for reusing a binary rpm is to write a recipe to unpack and repackage it Apr 18 11:06:00 You could write a recipe to unpack the RPM and re-package within your yocto project build Apr 18 11:06:56 seems like a solution Apr 18 11:07:47 But i don't understand what package-index bitbake task do? Apr 18 11:07:49 But i don't understand what package-index bitbake task do Apr 18 12:06:47 Can I have a conditional SRC_URI in a bitbake recipe so I can have a SRC_URI from a git repo and another local one at the same time? Apr 18 12:08:03 droman: you can generate or modify SRC_URI from a script, if that helps. Apr 18 12:12:49 droman: what is your usecase? Apr 18 12:26:52 nayfe: The idea is to be able to develop the software using a local directory, test that bitbake works well with it, and then push it to the git repository. Then, another person can build the same software, but getting the source code from the git repo. Apr 18 12:27:39 LetoThe2nd: Inside pre_configure hook or something like that? or an external script? Apr 18 12:27:58 droman: meh. you just want EXTERNALSRC, no custom magic Apr 18 12:31:44 can't you just create the git repo and use a branch ? Apr 18 12:32:18 developing using a local source directory is about the poster case of externalsrc Apr 18 12:33:27 LetoThe2nd: indeed :) Apr 18 12:33:57 nayfe: Yes, but for testing small changes I think it will be more slow than just doing it locally, and when finished making a push Apr 18 12:36:04 actually you don't even have to do the externalsrc thing manually. devtool modify is your friend, on a halfway recent release. Apr 18 12:36:15 I didn't know about that externalsrc bbclass, but the problem I think is the same, how to switch from EXTERNALSRC to remote SRC_URI inside the same recipe (to avoid duplicating the recipe). I understand that SRC_URI is fetched before any hook, so it will not be possible to do it inside a recipe? Apr 18 12:37:13 droman: https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#building-software-from-an-external-source Apr 18 12:37:42 droman: nope, look at nayfes link and the local.conf method. Apr 18 12:38:24 I see, thank you. Apr 18 12:40:32 droman: you can use SDK otherwise Apr 18 12:45:20 can wic put my zImage and device-tree.dtb into a jffs2 image for flashing? rootfs is on a different flash chip Apr 18 12:45:54 currently I have to create with mkfs.jffs2 Apr 18 13:17:00 I had a failure in my recipe under do_install() where it fails silently, but do_install() is run to completion. Isn't sh scripts run with set -e by default ? Apr 18 13:50:56 Hi! Is it possible to run qemu with an ubifs image? Apr 18 13:52:07 New news from stackoverflow: OTA update with SWupdate in yocto [on hold] Apr 18 14:15:18 Hi! Does anyone of you know a way to run qemu with an ubifs image? Apr 18 14:15:55 RyanMeulenkamp: Why do you need to do that? Apr 18 14:34:43 paulbarker: Because I made a patch for ubifs that I currently test on hardware Apr 18 14:37:25 Ah ok, was hoping you could just build a different image format. You may need to look into something like block2mtd or nandsim as ubifs expects to be talking to a raw flash device Apr 18 14:37:40 It's not something I've done before Apr 18 14:41:32 Alrigh, I'll have look. I tried some different things using nandsim, but I wouldn't get any response from qemu. Apr 18 14:45:13 Probably best to make your ubifs image available as a normal block device in qemu and enable the block2mtd driver in your test kernel Apr 18 15:22:27 New news from stackoverflow: How to add LAN and RS232 in yocto Apr 18 15:26:28 RP or rburton , do you need the ab.io ? Apr 18 15:27:42 rocko had a weird failure where it could not starte bitbake Apr 18 15:34:32 armpit: getting ready to build 2.5 but not this second Apr 18 15:35:52 * armpit used five second rule : ) Apr 18 15:36:13 I kicked on a rocko-next. it just started so you can kill it Apr 18 15:44:25 * armpit sigh "ERROR: Unable to start bitbake server" Apr 18 15:46:32 OT, but <3 https://tellmewhenitcloses.com/ Apr 18 15:48:17 RP did was fc26 added back in recently to the AB ? Apr 18 15:57:17 armpit: no Apr 18 16:08:15 armpit: looking at the logs, it says ERROR: Layer gplv2 is not compatible with the core layer which only supports these series: rocko (layer is compatible with sumo) Apr 18 16:08:38 /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-non-gpl3/build/build/bitbake-cookerdaemon.log Apr 18 16:08:45 for nightly-gplv3 Apr 18 16:09:14 armpit: perhaps use the rocko branch rather than master? Apr 18 16:09:29 * RP wonders why that error is being idden Apr 18 16:09:44 ah, ab.io does an auto-fill Apr 18 16:10:52 idden, sounds like Liverpool accent Apr 18 16:11:34 or East Ender Apr 18 17:10:04 Hello - I have some recipes that are failing to enable their systemd services on rootfs creation. If I get into my device and execute all /var/lib/opkg/info/*.postinst scripts, then everything gets good. Apr 18 17:10:18 Is there somewhere I can find a log of postinstall scripts run during rootfs creation? Apr 18 18:34:36 rburton: I sent a v2 for one patch, that fixes the ssp issue with nativesdk-perl Apr 18 18:34:47 you can cherry-pick that Apr 18 18:35:20 it all worked well with gcc8 but gcc7 needs a backport Apr 18 19:05:54 can I somehow turn license QA errors into warnings so that I can get on with development and pass the buck on file licensing to an intern? Apr 18 19:08:33 see ERROR_QA and WARN_QA Apr 18 19:08:49 defined by the distro, but you can use ovverrides to muck with them in local.conf if you absolutely have to Apr 18 19:18:02 aarcane> i'm not sure i understand what you want, did you check https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#enabling-commercially-licensed-recipes ? Apr 18 19:19:05 nayfe, I just bulk created a bunch of packages with varying licenses and many of which vary only by author name and MD5-sum Apr 18 19:19:54 I'd like to skip having to update all those license titles and md5sums, and apss that on to somebody else, issuing warnings about failing license file names or md5sums rather than errors. Also, insane.bbclass doesn't seem to mention anything. Apr 18 19:20:19 you can put LICENSE = "CLOSED" to disable license checks in recipes Apr 18 19:20:46 usually not recommended to leave it as CLOSED indefinitely, but it'll get the job done Apr 18 19:21:15 nayfe, but that doesn't emit the warnings, and I'd like to eventually upload this plethora of python .bb s uploaded somewhere so that I don't have to maintain them and others can find them helpful. Apr 18 19:22:56 sounds like moving the entry from ERROR_QA into WARN_QA for now is indeed your best bet Apr 18 19:28:53 looks like adding: ERROR_QA_remove = "license-checksum" WARN_QA_append= "license-checksum" Apr 18 19:28:54 was sufficient. but += and -= do funky things. WIsh there was more consistency with _append and += or _remove and -= Apr 18 19:31:33 be careful to add extra space when _append is used Apr 18 19:33:09 yeah, it would be really nice to have the two constructs be interchangable and function identically in all cases. Apr 18 19:36:20 there are times when each is needed and the other won't do the job, though. possibly doable, but it'd really require a complete rework of the file format and how it works Apr 18 19:36:53 Yocto is a beast. it's pumping out images reproducibly and beautifully. All I have to do is make the right .bb files and it'll do it all... so don't get me wrong. I'm quite fond of this. However... some of the idiosyncrasies are quite annoying. Apr 18 19:37:40 yeah, it's a fair criticism. there are some long standing annoyances, and the emphasis on high flexibility has its upsides and downsides. increases the learning curve substantially Apr 18 19:39:08 anyway... I think it's lunch time here, and the build server is humming away nicely Apr 18 19:46:15 aarcane: btw, using devtool helps to auto-complete license stuff :) but what will you give to the intern then ^^ Apr 18 19:49:35 aarcane: while you can degrade QA errors, they are a useful ally in keeping things sane especially for release engineering and compliance in the case of license fields Apr 18 19:50:31 this can sometimes be quite painful if you find that a package should be disregarded on license grounds and it very late in your dev phase Apr 18 19:51:33 _append _prepend += =- should have been consolidated I agree, like we have _remove but dont have -= which is good Apr 18 21:25:33 RP you still up / Apr 18 21:32:56 do images need to be called core-image-myproject-tag or can they just be called myproject-image-tag ? Apr 18 21:41:09 aarcane, technical the name just needs to match .bb file. Apr 18 21:42:19 crap. go-1.9 fails to build my apps, that go-1.10 built properly Apr 18 21:42:32 * zeddii_home sighs and wanders off. no energy to fight with go right now. Apr 18 21:54:07 its a no-go for zeddii_home Apr 18 21:55:13 I suspect 'ninja' has some problems when building DNF. if I run a fresh build (of master), it always fails on DNF running out of system resoruces, even if I drop the configured make-jobs down to say 64.. Apr 18 21:55:19 so I suspect ninja is ignoring my setting.. Apr 18 21:55:31 I finally had to raise y job count from 8k to 50k.. and the problem went away Apr 18 21:56:09 36k is roughly 192x192... so I suppose that could be the real max process count.. Apr 18 22:10:29 rburton, any plans on move beecrypt to meta-oe ? Apr 18 22:12:10 armpit: yeah i will once i actually submit the removal from core Apr 18 22:13:41 k Apr 18 23:22:45 armpit: I am, sadly Apr 18 23:31:38 RP, wow..the uninative changes good for Rocko? Apr 18 23:34:08 * armpit is running in the AB just to check Apr 18 23:43:44 armpit: they are probably generally applicable, yes. **** ENDING LOGGING AT Thu Apr 19 03:00:05 2018