**** BEGIN LOGGING AT Mon Oct 16 03:00:02 2017 Oct 16 07:27:40 hi Im on krogoth and trying to compile postgress but im having the issue that it is trying to use my root fs cc1plus: warning: include location "/usr/include/postgresql" is unsafe for cross-compilation [-Wpoison-system-directories] Oct 16 07:51:10 i think i fixed it Oct 16 07:52:02 by using postgresql in the PACKAGECONFIG_append_pn-qtbase instead of sql-psql but what is the differers ? Oct 16 09:37:50 Hey guys! Is it ok for a Raspberry Pi 3 image build using wic not to include required .dtbs? I use meta-raspberrypi and meta-rpi from Jumptec and my image seems not complete and is not booting Oct 16 09:41:23 luneff: aren't those both BSP layers? are you mixing them on purpose? Oct 16 09:42:23 LetoThe2nd, layers.conf example from meta-rpi says to place it after meta-raspberrypi. meta-rpi makes Qt work better etc, it is not a full BSP Oct 16 09:42:49 luneff: ah, rpi seems to depend on raspberrypi. nevertheless i would leave out rpi first and make the simpler case work, then go forward step by step Oct 16 09:42:59 Hi, I wish to create an fit image with recovery ramdisk inside, I was wondering the cleanest way to do it ? 1) how to make an image depends on another one (recovery)? Where may i run mkimage with my custom its file? I tried to use kernel-fitimage but it seems to be for another purpose? am i wrong ? thanks Oct 16 09:43:22 luneff: and of course you have made sure you do not mix branches, right? Oct 16 09:45:36 LetoThe2nd, morty, morty, morty everywhere except meta-qt5 which I use master branch for 5.9.2. I assume it is ok use morty in late 2017? :-) Oct 16 09:47:46 luneff: sounds fine to me :-) Oct 16 09:48:31 luneff: which image are you building? Oct 16 09:49:03 LetoThe2nd, trying to do qt5-image. omxplayer failed to build, but the rest seems fine. Except the wic image (sdcard-raspberrypi.wic) doesn't seem to boot Oct 16 09:50:32 I.e. sdcard-raspberrypi.wks Oct 16 09:52:37 luneff: um. well the .wks does not specify any needed packages, its jsut the actual memory layout. so if your image/distro are not aware that kernel+dtb need to installed, wic can't help it Oct 16 09:53:20 LetoThe2nd, so that's the proper way to make bootable sd card for a RPi? I'm trying scripts/ folder of meta-rpi now, but it seems hackish for me :-) Oct 16 09:55:14 luneff: i'm no rpi guy so i can only give generic answers. looking at http://git.yoctoproject.org/cgit.cgi/meta-raspberrypi/tree/conf/machine/include/rpi-base.inc also suggests that there is quite some hackery involved for the dtbs Oct 16 09:55:22 luneff: what MACHINE hav you set? Oct 16 09:55:30 LetoThe2nd, raspberrypi3 Oct 16 09:56:05 luneff: if the is a failure in omxplayer, maybe the do_rootfs did not end correctly ? Oct 16 09:56:36 nayfe: thats also possible, that the rootfs never even got correctly generated Oct 16 09:56:37 nayfe, I've excluded omxplayer from the build (edited the image file package list) and it finished ok resulting in .wic file Oct 16 09:56:55 luneff: i would suggest ti bitbake -e your image and look at IMAGE_BOOT_FILES Oct 16 09:58:34 IMAGE_BOOT_FILES="bcm2835-bootfiles/* Image;kernel7.img"; no single dts/dtb so the image is silently failing to boot:-( Oct 16 10:01:34 trying meta-rpi scripts/create_sdcard_image.sh output to boot Oct 16 10:30:22 didn't boot either ;-( got a warning about fat32 not fitting into desired partition; doing fat16 then Oct 16 10:34:47 found a hint to use 'rpi-sdimg' in IMAGE_FSTYPES; got a Image-hifiberry-amp.dtbo: No such file or directory error :-) Oct 16 10:41:34 yeah, booting now :-) Oct 16 11:25:27 Hi, how can i add postgtessql support to qt if added PACKAGECONFIG_append =" sql-psql" to a qtbase_%.bbappend. but compilaton hangs on cc1plus: warning: include location "/usr/include/postgresql" is unsafe for cross-compilation [-Wpoison-system-directories] Oct 16 11:47:22 hmwel: looks like your postgresql recipe is broken Oct 16 11:48:50 nayfe: Ty, then i was looking in the wrong place Oct 16 11:50:12 hmwel: which postgresql recipe do you use ? Oct 16 11:51:20 nayfe: the default one from krogoth Oct 16 11:58:40 hmwel: maybe you can backport master version see if it solves the issue? Oct 16 12:02:19 nayfe: tnx going to try that Oct 16 12:02:32 or stay with a other db Oct 16 12:03:57 hehe indeed :) Oct 16 13:16:12 has anyone here recently build any images from meta-debian? Oct 16 13:46:21 Is there a way to add a defconfig file to u-boot without patching? Oct 16 13:46:41 CTtpollard: meta-debian isn't exactly yocto-endorsed Oct 16 13:47:32 rburton: I know, I've found the cause of my issue anyway :) Oct 16 13:47:43 Strike that. Is there a way for me to see what bbappend files are being picked up? Oct 16 13:47:55 bitbake-layers Oct 16 13:48:43 * CTtpollard curses ncurses Oct 16 13:49:42 rburton: Thanks Oct 16 13:52:08 Evidently, it sees my bbappend file. So I'd like to ask the orignal question again.. how can I add a defconfig-file to u-boot? (or rather, add any file to a working directory, this happens to be "configs/zynq_mud_defconfig" ?) Oct 16 13:59:41 JoiF: don't know if it works with u-boot too, but with the linux kernel adding file://defconfig to SRC_URI does the trick Oct 16 14:02:04 JoiF: regard you question on how to "add any file to a working directory", it depends on what's the purpose of the file in the working directory: is it needed for configure/compile reason? it's just a file that will be installed on the target? Oct 16 14:02:49 JoiF: generally speaking, with do_configure_prepend() function you can copy your files basically everywhere Oct 16 14:05:11 JoiF: more generally speaking, there are multiple ways (some "tricky" than others) to move file around in .bb/.bbappend Oct 16 14:08:54 zero_note: That's basically what I've been trying Oct 16 14:09:11 except I didn't call it "defconfig" but "zynq_mud_defconfig" Oct 16 14:10:20 Hi, I wish to create an fit image with recovery ramdisk inside, I was wondering the cleanest way to do it ? 1) how to make an image depends on another one (recovery)? Where may i run mkimage with my custom its file? I tried to use kernel-fitimage but it seems to be for another purpose? am i wrong ? thanks Oct 16 14:10:52 rburton: is someone working on the git do_install issue? Oct 16 14:18:22 So the exact package/recipe is u-boot-xlnx. I've added recipes-bsp/u-boot/u-boot-xlnx%.bbappend file, that does the same as described in section 2.2.3 of the Kernel Development Manual (hoping that the same applies, even though this isn't the Kernel). Oct 16 14:19:37 If I rename my defconfig file to some gibberish, it complains that it can't find it, but when it can find it, it doesn't seem to go anywhere inside the tmp/work/....u-boot-xlnx.../git directory. Oct 16 14:25:21 rburton: I hit the perl world issue. will send a v2 Oct 16 14:26:03 JoiF: Oct 16 14:26:24 JoiF: are you using a custom machine or an existing one? Oct 16 14:26:31 zero_note: Custom Oct 16 14:26:55 JoiF: so you should have you .conf in you own layer, am I wrong? Oct 16 14:27:06 zero_note: Indeed. Oct 16 14:27:50 zero_note: /conf/machine/.conf Oct 16 14:28:01 zero_note: To be exact Oct 16 14:28:16 JoiF: ok, have you used UBOOT_CONFIG keyword to set your u-boot configuration? Oct 16 14:29:08 zero_note: I've done this defconfig business previously by creating a patch that "patches in" the defconfig file, but doing it that way just seems.. retarded.. ;) Oct 16 14:30:03 zero_note: No, I do not. Only a "UBOOT_MACHINE" option Oct 16 14:31:46 JoiF: take a look here http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-UBOOT_CONFIG ;) Oct 16 14:34:40 zero_note: Thanks! Oct 16 14:35:03 zero_note: But the comma there confuses me in "mx6qsabreauto_config,sdcard" Oct 16 14:37:37 JoiF: as doc says "sdcard specifies the IMAGE_FSTYPES to use for the U-boot image.", which part confuses you? Oct 16 14:45:23 I don't see what this does for me .. I've checked out the meta-fsl-arm layer this example is referring to, but there those configuration files aren't there? It seems to be referring to configuration files that are already in upstream u-boot? Oct 16 14:46:22 I'm trying to add my own configuration files to u-boot before compiling, because I have a custom board and my configs aren't upstream.. Oct 16 14:56:52 zero_note: It's already complaining that it can find neither my "zynq_mud_defconfig" and "zynq_mud_config" files, which match my UBOOT_MACHINE name (zynq_mud_config), but I'm trying to figure out how to get those/that files/file in there. Oct 16 14:57:39 JoiF: those files are upstream, and for what I've tried a kernel-like approach (for the defconfig management) does not work Oct 16 14:58:47 zero_note: What files are upstream? Oct 16 14:59:13 zero_note: The files mentioned in the example? Oct 16 15:00:04 JoiF: exactly Oct 16 15:01:14 halstead: I stopped the patchtest cron, there is something wrong on the test cycle, so I am looking into it Oct 16 15:02:19 Thanks for the note lsandov . Please let me know if any changes are needed. Oct 16 15:02:20 JoiF: (give me 2 mins and I'll share with you to the shortest solution, at least the one that works for me) Oct 16 15:09:56 JoiF: https://pastebin.com/7b6c632B , hope it helps Oct 16 15:41:05 zero_note: Thanks! This particular bit seems to work now. :D Oct 16 15:41:29 zero_note: Of course, other stuff is broken, but that has nothing to do with this thing. ;) Oct 16 15:42:21 JoiF: yw :) Oct 16 17:36:09 rburton: where is the ongoing oe-core 2.5 merge-window patches? Oct 16 17:36:28 rburton: i'd like to rebase mine and confirm it is all right Oct 16 18:04:05 HI, does anyone know if there is a one liner that includes all packages with ptests into a build? Oct 16 18:07:19 Also anyone know if there is already script to consolidate ptest results into something like this? Oct 16 18:07:19 https://wiki.yoctoproject.org/wiki/Ptest_6964efddd31c479386d1643c1025bc102710392f Oct 16 18:09:47 Guest38326: add 'ptest-pkgs' to EXTRA_IMAGE_FEATURES in local.conf, iirc Oct 16 18:09:57 something like that, anyway Oct 16 18:10:44 yea kergoth, that adds ptest packages to packages that are in your build but wondering if you can include all packages with ptests into your build Oct 16 18:11:17 i don't really see the point in tryin got include every package available in all your configured layers into an image Oct 16 18:11:31 seems pretty silly to me, but iirc someone was working on a world-image, maybe that would be worth checking into Oct 16 18:13:59 ok kergoth, thanks verymuch Oct 16 18:40:08 otavio: ross/mut are mine. lots of reverts and WIP patches in it though Oct 16 21:00:52 I can't find the documentation that explains the use of the DIRFILES variable. Oct 16 21:01:03 doesn't seem to be in the megamanual Oct 16 21:03:39 nathani_: try git grep DIRFILES from source code :( Oct 16 21:06:19 I'm having a transaction error between two of my packages that install into the same directory. From what I can tell DIRFILES might help me solve this Oct 16 21:09:01 nathani_: check the FILES_ variable, that is the one that holds the files that go into a particular package Oct 16 21:10:28 nathani_: the intersection of all packages should be empty, meaning that each file only belongs to a single package, no more Oct 16 21:10:51 nathani_: log would be more useful Oct 16 21:13:01 oh, haha. That's a little embarrassing. It seems these packages are installing their git directories into my package Oct 16 21:13:39 nathani_: that does not sound good he Oct 16 21:14:26 I was inheritging the bin_package class Oct 16 21:14:46 I didn't expect that behavior.. Oct 16 21:31:19 nathani_: right. good you fix the issue **** ENDING LOGGING AT Tue Oct 17 03:00:02 2017