Friday, 2016-12-30

*** rubdos <rubdos!> has quit IRC00:07
*** MWelchUK <MWelchUK!> has quit IRC00:43
*** Biliogadafr <Biliogadafr!> has quit IRC00:50
*** MWelchUK <MWelchUK!> has joined #yocto00:55
*** JordonWu <JordonWu!~quassel@> has quit IRC00:55
*** JordonWu <JordonWu!~quassel@> has joined #yocto00:57
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC01:12
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto01:14
*** Nilesh_ <Nilesh_!uid116340@gateway/web/> has joined #yocto01:59
*** psadro <psadro!~Thunderbi@2620:0:ed0:800a:72f3:95ff:fe1d:9866> has quit IRC03:14
*** psadro1 <psadro1!~Thunderbi@2620:0:ed0:800a:72f3:95ff:fe1d:9866> has joined #yocto03:14
*** denix <denix!> has quit IRC03:15
*** denix <denix!> has joined #yocto03:15
*** psadro1 is now known as psadro03:16
*** Snert_ <Snert_!~snert_@> has quit IRC03:42
*** Snert_ <Snert_!~snert_@> has joined #yocto03:42
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC03:48
*** nrossi <nrossi!uid193926@gateway/web/> has joined #yocto04:03
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC05:16
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto05:16
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto05:17
*** tlab_ <tlab_!~tlab@> has joined #yocto05:52
*** tlab <tlab!~tlab@> has quit IRC05:55
*** paulg <paulg!> has quit IRC06:18
*** psadro <psadro!~Thunderbi@2620:0:ed0:800a:72f3:95ff:fe1d:9866> has quit IRC06:21
*** psadro <psadro!~Thunderbi@2620:0:ed0:800a:72f3:95ff:fe1d:9866> has joined #yocto06:25
*** hamis <hamis!~irfan@> has joined #yocto06:37
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC07:02
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto07:18
*** linulin <linulin!> has quit IRC07:25
*** behanw <behanw!uid110099@gateway/web/> has quit IRC07:41
*** poor-man <poor-man!d97eb626@gateway/web/freenode/ip.> has joined #yocto07:55
*** ant_work <ant_work!> has joined #yocto08:00
*** crankslider <crankslider!~slidercra@unaffiliated/slidercrank> has joined #yocto08:29
*** JordonWu_ <JordonWu_!~quassel@> has joined #yocto08:47
*** JordonWu <JordonWu!~quassel@> has quit IRC08:47
*** pohly <pohly!> has joined #yocto08:56
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC09:08
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto09:11
*** crankslider <crankslider!~slidercra@unaffiliated/slidercrank> has quit IRC09:15
*** deva <deva!> has joined #yocto09:17
devaIs there a way to show how much space each of the packages are taking up on an image?09:18
devaI have been poking around in the build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/XYZ/image folder for XYZ being each of the packages in that dir and it appears to contain the complete install dir from each package09:19
devaHowever a lot of these files are not contained in the final image09:20
boucman_workdeva: on the target, you probably can ask your package manager09:22
devaI use opkg. Any idea how to do that with that package manager?09:22
boucman_workon the host, i'm not sure... the size of tthe packages in tmp/deploy might be a good aproximation09:22
boucman_workdeva: no, but opkg --help is very usefull09:23
devaboucman_work, Of course :-) Sorry for being lazy there :p09:23
boucman_worknp, I also think there is a script on the host called oe_pkgdata or something like that but my yocto build env isn't readily available right now for me to check09:26
*** linulin <linulin!~foo@> has joined #yocto09:27
*** rob_w <rob_w!~rob@unaffiliated/rob-w/x-1112029> has joined #yocto09:37
*** Snert__ <Snert__!> has joined #yocto09:39
*** Snert <Snert!> has quit IRC09:40
*** JoiF <JoiF!~jofr@> has joined #yocto09:42
devaI have found the package libx11-locale which takes up quite a bit of space. Can I somehow use bitbake to tell me which recipe depends on it?09:44
devaopkg tells me it is part of "root set" which I suppose means that it is somehow part of my IMAGE_INSTALL?09:46
boucman_workdeva: you should probably check LINGUAS in the mega-manual and in your distro configuration, to remove languages you don't plan to support09:52
*** JordonWu_ <JordonWu_!~quassel@> has quit IRC09:53
*** poor-man <poor-man!d97eb626@gateway/web/freenode/ip.> has quit IRC09:55
*** jku_ <jku_!~jku@> has joined #yocto09:56
*** jku_ is now known as jku09:56
*** pedr0_ <pedr0_!5bce002b@gateway/web/freenode/ip.> has joined #yocto10:10
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC10:23
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto10:24
*** agust <agust!> has joined #yocto10:38
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC11:20
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto11:29
*** ant_work <ant_work!> has quit IRC11:29
*** linulin_ <linulin_!~foo@> has joined #yocto11:32
*** linulin <linulin!~foo@> has quit IRC11:35
*** igor1 <igor1!~igor@> has joined #yocto11:40
*** linulin_ <linulin_!~foo@> has quit IRC11:44
*** linulin <linulin!~foo@> has joined #yocto12:05
*** rubdos <rubdos!> has joined #yocto12:07
pedr0_Hi all, I have created a recipe which generates a static library, the library recipe uses autotools and I can see that it is actually installed under ./tmp/sysroots/qemux86/usr/lib/ooc/libooc.a - nevertheless another recipe which depends on that can't find the library and it fails to link12:22
*** linulin <linulin!~foo@> has quit IRC12:22
nrossipedr0_: if you are using the poky distro be warned it forces a "--disable-static" policy (with exclusions on certain recipes) - see meta/conf/distro/include/no-static-libs.inc12:38
pedr0_I can't file that in my tree12:39
pedr0_I have files such as ...12:39
pedr0_Would you know a quick hack to check that is actually the problem ? I wonder if I am simply doing sth stupid in my recipe as I am a newbye12:40
nrossipedr0_: you can check "bitbake <recipe> -e" and see if EXTRA_OECONF has "--disable-static" in it12:41
pedr0_EXTRA_OECONF=""     cnf = d.getVar('EXTRA_OECONF', True) or ""12:43
pedr0_build@pocky:~/poky/build$ bitbake  -e ttysnoop  | grep EXTRA_OECONF # $EXTRA_OECONF [2 operations] EXTRA_OECONF=""     cnf = d.getVar('EXTRA_OECONF', True) or ""12:43
nrossipedr0_: without the link errors, and knowning what you are trying to statically link. I wouldn't know whats going wrong tbh12:43
pedr0_| /home/build/poky/build/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.9.2/ld: cannot find -looc12:44
nrossipedr0_: is it "" for both recipes (the linked and the one linking?12:44
*** Nilesh_ <Nilesh_!uid116340@gateway/web/> has quit IRC12:44
pedr0_wait, I did check the one generating the static lib12:44
pedr0_yes that is empty as well12:45
nrossipedr0_: have your got the full command that is doing the linking? e.g. "gcc.....-looc"12:45
pedr0_ i586-poky-linux-gcc  -m32 -march=i586 --sysroot=/home/build/poky/build/tmp/sysroots/qemux86  -O2 -pipe -g -feliminate-unused-debug-types   -c -o ttysnoop.o ttysnoop.c12:45
pedr0_ i586-poky-linux-gcc  -m32 -march=i586 --sysroot=/home/build/poky/build/tmp/sysroots/qemux86 -o ttysnoop ttysnoop.o main.c -g -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -looc12:46
nrossipedr0_: ah, your "libooc.a" is in a "ooc/" subdir, you will need to point the linker to that path "-L <sysroot>/usr/lib/ooc/"12:46
pedr0_I have already tried12:46
pedr0_I might have done a tremendous mistale12:48
pedr0_where would you put the -L <sysroot>/usr/lib/ooc/, in the recipe itself as OE_EXTRAMAKE.. ?12:49
pedr0_i586-poky-linux-gcc  -m32 -march=i586 --sysroot=/home/build/poky/build/tmp/sysroots/qemux86 -o ttysnoop ttysnoop.c main.c -g /usr/lib/ooc/libooc.a | i586-poky-linux-gcc: error: /usr/lib/ooc/libooc.a: No such file or directory12:50
nrossipedr0_: depends, normally its populated for you by pkg-config or such12:50
pedr0_I am utterly lost12:50
pedr0_build@pocky:~/poky/build$ find ./ -name libooc.a ./tmp/sysroots/qemux86/usr/lib/ooc/libooc.a12:50
pedr0_build@pocky:~/poky/build$ find ./ -name libooc.a12:51
pedr0_it's there !12:51
nrossipedr0_: ...-gcc .... -L <sysroot>/usr/lib/ooc -looc12:54
nrossipedr0_: its there but it is not in the search path12:54
nrossipedr0_: you need to tell gcc/ld that it needs to search the ooc subdir12:54
pedr0_it's the same12:54
pedr0_you can tell the .a file directly, I tried that as well12:54
pedr0_EXTRA_OEMAKE = " LDFLAGS=-L/usr/lib/ooc/"12:54
pedr0_Makefile:$(CC) -o $@ $^ -g $(LDFLAGS) -looc12:55
pedr0_| i586-poky-linux-gcc  -m32 -march=i586 --sysroot=/home/build/poky/build/tmp/sysroots/qemux86 -o ttysnoop ttysnoop.c main.c -g -L/usr/lib/ooc/ -looc | /home/build/poky/build/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.9.2/ld: warning: library search path "/usr/lib/ooc/" is unsafe for cross-compilation | /home/build/poky/build/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.9.2/l12:55
nrossiif you tell it directly, you cant point at the hosts /usr/lib/ooc12:55
*** Biliogadafr <Biliogadafr!> has joined #yocto12:55
nrossipedr0_: you need to point at the cross-compilation sysroot12:55
pedr0_ --sysroot=dir            Use dir as the logical root directory for headers and libraries.  For example, if the compiler normally searches for headers in /usr/include and libraries in            /usr/lib, it instead searches dir/usr/include and dir/usr/lib.12:56
pedr0_I don't think so, after the -sysroot option the gcc will point to /home/build/poky/build/tmp/sysroots/qemux86/usr/lib/ooc/12:57
pedr0_I reckon, judging from the man page12:57
nrossipedr0_: sorry, was afk, No the -L/-I args dont work like that. You would need to use "-L=usr/lib/ooc"13:06
pedr0_bah, I do not know13:07
nrossi-L/usr/lib/ooc ==> is treated as exactly that, /usr/lib/ooc13:07
nrossiyou can check by running gcc with "--verbose"13:07
pedr0_would that search on my local machine or under the yocto tree ?13:07
nrossipedr0_: "gcc ... -L=usr/lib/ooc -looc" is probably what you are after13:08
pedr0_*-L=/usr/lib/ooc* ?13:09
nrossiheres the excerpt from the gcc directory-options docs "If dir begins with =, then the = is replaced by the sysroot prefix; see --sysroot and -isysroot. "13:09
*** dv_ <dv_!~quassel@> has quit IRC13:09
nrossisorry i forget the "/" is front of the usr/lib13:09
pedr0_ah, good catch13:09
*** dv_ <dv_!~quassel@> has joined #yocto13:09
pedr0_ok, let us get at the bottom of this13:10
pedr0_EXTRA_OEMAKE = " LDFLAGS=-L/usr/lib/ooc/"13:10
pedr0_results into:13:10
pedr0_i586-poky-linux-gcc  -m32 -march=i586 --sysroot=/home/build/poky/build/tmp/sysroots/qemux86 -o ttysnoop ttysnoop.c main.c -g -L/usr/lib/ooc/ -looc | /home/build/poky/build/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.9.2/ld: warning: library search path "/usr/lib/ooc/" is unsafe for cross-compilation13:10
nrossiyep, because "-L/usr/lib... is refering to the host rootfs '/13:11
pedr0_I need to add the yocto rootfs at the -L I guess13:11
nrossior change it to "-L=/usr/lib/ooc"13:11
pedr0_Ti devo una cena13:12
pedr0_thanks a lot13:15
*** caiortp <caiortp!~inatel@> has joined #yocto13:15
pedr0_it works now13:15
nrossipedr0_: :)13:15
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has joined #yocto13:18
*** pedr0_ <pedr0_!5bce002b@gateway/web/freenode/ip.> has quit IRC13:39
*** jku <jku!~jku@> has quit IRC13:46
*** phoo1234567 <phoo1234567!> has joined #yocto13:49
*** Biliogadafr <Biliogadafr!> has quit IRC13:58
*** igor2 <igor2!~igor@> has joined #yocto14:07
*** igor1 <igor1!~igor@> has quit IRC14:09
*** sjolley <sjolley!sjolley@nat/intel/x-wblpxcoxzaauobym> has quit IRC14:27
*** sjolley <sjolley!~sjolley@> has joined #yocto14:28
*** igor1 <igor1!~igor@> has joined #yocto14:37
*** igor2 <igor2!~igor@> has quit IRC14:38
*** Biliogadafr <Biliogadafr!> has joined #yocto14:39
*** igor1 <igor1!~igor@> has quit IRC14:42
*** igor1 <igor1!~igor@> has joined #yocto14:42
*** hamis <hamis!~irfan@> has quit IRC15:11
*** manuel_ <manuel_!~manuel@> has joined #yocto15:14
*** Circuitsoft <Circuitsoft!6b02642a@gateway/web/freenode/ip.> has joined #yocto15:17
CircuitsoftHas anyone ever tried using squashfs as an initrd?15:17
*** JoiF <JoiF!~jofr@> has quit IRC15:17
*** linulin <linulin!> has joined #yocto15:21
*** juergbi` is now known as juergbi15:39
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC15:44
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto15:50
*** deva <deva!> has left #yocto15:51
*** sjolley1 <sjolley1!~sjolley@> has joined #yocto16:08
*** sjolley <sjolley!~sjolley@> has quit IRC16:11
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC16:13
*** manuel_ <manuel_!~manuel@> has quit IRC16:15
*** manuel_ <manuel_!~manuel@> has joined #yocto16:16
*** benjamirc <benjamirc!~besquive@> has joined #yocto16:17
*** benjamirc <benjamirc!~besquive@> has quit IRC16:59
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto17:00
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC17:06
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto17:06
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto17:07
*** Biliogadafr <Biliogadafr!> has quit IRC17:18
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC17:25
*** igor1 <igor1!~igor@> has quit IRC17:39
*** zauberstuhl <zauberstuhl!> has joined #yocto17:42
zauberstuhlhey, I have a class with xyz_do_patch() and it contains: bbwarn "cp ${FILE} ${FILE}.orig"; cp ${FILE} ${FILE}.orig      I can see the warning with the right command but it seams like cp is not executed since the orig file is missing. what am I missing here? Thanks17:45
*** hanthings <hanthings!> has joined #yocto17:49
zauberstuhloh lord.. nevermind forget that I asked17:52
*** RP <RP!> has quit IRC17:53
*** JaMa <JaMa!~martin@> has joined #yocto18:28
*** igor1 <igor1!~igor@> has joined #yocto18:28
*** benjamirc <benjamirc!besquive@nat/intel/x-hpefmgqtbefnlxxv> has joined #yocto18:36
*** RP11 <RP11!> has joined #yocto18:47
*** hanthings <hanthings!> has quit IRC18:53
*** tlab_ is now known as tlab18:56
*** nrossi <nrossi!uid193926@gateway/web/> has quit IRC19:03
*** Biliogadafr <Biliogadafr!> has joined #yocto19:32
*** slidercrank <slidercrank!~slidercra@unaffiliated/slidercrank> has joined #yocto19:36
*** igor3 <igor3!~igor@> has joined #yocto19:38
*** igor1 <igor1!~igor@> has quit IRC19:40
*** fitzsim` is now known as fitzsim19:52
*** brrm <brrm!> has quit IRC20:00
*** brrm <brrm!> has joined #yocto20:01
*** rob_w <rob_w!~rob@unaffiliated/rob-w/x-1112029> has quit IRC20:06
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto20:13
*** igor3 <igor3!~igor@> has quit IRC20:21
*** caiortp <caiortp!~inatel@> has quit IRC20:31
*** Churak <Churak!d0362487@gateway/web/freenode/ip.> has joined #yocto21:25
ChurakHey all21:25
*** Churak <Churak!d0362487@gateway/web/freenode/ip.> has quit IRC21:30
*** rubdos <rubdos!> has quit IRC21:53
*** RP11 <RP11!> has quit IRC21:55
*** sjolley1 <sjolley1!~sjolley@> has quit IRC22:01
*** hanthings <hanthings!> has joined #yocto22:03
*** Snert__ is now known as Snert22:04
*** pohly <pohly!> has quit IRC22:08
*** rubdos <rubdos!> has joined #yocto22:11
*** hanthings <hanthings!> has quit IRC22:19
*** zauberstuhl <zauberstuhl!> has quit IRC22:22
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has quit IRC22:27
*** RP1 <RP1!> has joined #yocto22:55
*** bfederau <bfederau!> has quit IRC23:01
*** fmeerkoetter <fmeerkoetter!> has quit IRC23:01
*** bfederau <bfederau!> has joined #yocto23:01
*** fmeerkoetter <fmeerkoetter!> has joined #yocto23:01
*** JaMa <JaMa!~martin@> has quit IRC23:05
*** clement <clement!> has quit IRC23:18
*** clement <clement!> has joined #yocto23:18
*** Biliogadafr <Biliogadafr!> has quit IRC23:28
*** Biliogadafr <Biliogadafr!> has joined #yocto23:29
*** manuel_ <manuel_!~manuel@> has quit IRC23:35
*** Biliogadafr <Biliogadafr!> has quit IRC23:38
*** phoo1234567 <phoo1234567!> has quit IRC23:43
*** clement_ <clement_!> has joined #yocto23:45
*** clement <clement!> has quit IRC23:45
*** clement_ <clement_!> has quit IRC23:50
*** clement <clement!> has joined #yocto23:50
*** seebs <seebs!> has quit IRC23:54
*** clement <clement!> has quit IRC23:55
*** clement <clement!> has joined #yocto23:55

Generated by 2.11.0 by Marius Gedminas - find it at!