IRC logs for #automotive for Tuesday, 2016-11-15

*** jlrmagnus has joined #automotive00:06
*** chbae has quit IRC00:46
*** jlrmagnus has quit IRC00:56
*** mdurnev has joined #automotive01:24
*** rdale has quit IRC03:34
*** rdale has joined #automotive03:35
*** AlisonChaiken has joined #automotive04:17
*** dirkb has joined #automotive05:58
*** jobol has joined #automotive06:03
*** jobol has quit IRC06:04
*** jbocklage123 has joined #automotive07:08
*** yannick__ has quit IRC07:34
*** gunnarx has joined #automotive07:55
*** rajm has joined #automotive08:11
zeenixMorning08:20
*** kbroulik has joined #automotive08:24
jbocklage123morning08:30
*** kooltux_ has joined #automotive08:36
*** gunnarx has quit IRC08:44
*** ctbruce has joined #automotive08:44
rajmmorning!08:53
*** leon-anavi has joined #automotive09:05
leon-anavihi09:08
*** toscalix has joined #automotive09:13
zeenixleon-anavi: i'll be shortly sending a patch to fix rust build on Fedora 2509:14
leon-anavihi zeenix ok09:16
leon-anavithank you09:16
leon-anaviwhat kind of problem are you experiencing with meta-rust on fedora?09:16
zeenixleon-anavi: gcc6 has more warnings09:18
zeenixleon-anavi: i think it might not be a good idea to build with -Werror09:18
zeenixleon-anavi: http://paste.fedoraproject.org/481415/20159514/09:20
leon-anaviok, so you are working on GDP09:20
leon-anaviwe updated meta-rust to a newer version in AGL09:20
leon-anaviI have to check if ATS are interested in updating RVI SOTA client and meta-rust in GDP too.09:21
*** toscalix has quit IRC09:31
zeenixleon-anavi: at the moment, i'd not want to update anything in gdp09:31
zeenixleon-anavi: but rather patch stuff09:31
zeenixGDP Master i mean09:31
zeenixdo you want me to send you a patch or should I solve through bbappend in gdp?09:32
* zeenix wonders why rust-native-llvm and rust-native are both built09:34
*** toscalix has joined #automotive09:37
zeenixmorning toscalix09:41
toscalixhi zeenix09:43
leon-anavihi toscalix09:47
toscalixhi09:47
leon-anavizeenix, for short term in will be better to have bbapend in GDP and long term it will be better to move to newer version of meta-rust and RVI SOTA client.09:55
zeenixleon-anavi: sounds good09:57
*** jbocklage123 has quit IRC10:03
zeenixleon-anavi: do you know what is enabling -Werror for rust?10:07
leon-anavinot sure about that. We have to check the documentaiton10:11
*** CTtpollard has joined #automotive10:27
CTtpollardmorning10:28
*** rajm has quit IRC10:29
zeenixCTtpollard: morning10:30
*** rajm has joined #automotive10:35
*** clopez has quit IRC10:56
*** clopez has joined #automotive11:01
*** CTtpollard has quit IRC11:08
*** CTtpollard has joined #automotive11:39
*** Net147 has quit IRC12:20
*** rajm has quit IRC12:25
leon-anavidl9pf, regarding 1080i... I was wondering about the same. I will try setting it through u-boot env.12:32
dl9pfleon-anavi: hmm, could be in weston.ini12:34
dl9pfmode 1920x1080i12:34
*** CTtpollard has quit IRC12:34
dl9pfbut i've seen no good doc so far12:34
dl9pfand the p vs i  is just eyeroll12:34
dl9pfthe soc supports it ... so    ^^o_o12:35
dl9pfleon-anavi: can you try on your porter inn weston.ini:   mode=1920x1080i   ?12:36
leon-anaviI see that "mode=1280x720" works12:38
leon-anavitrying 1920x1080i now12:38
*** CTtpollard has joined #automotive12:38
leon-anavi1920x1080i fails on my monitor12:39
leon-anaviwhat should be the value of bootargs_video for 1080i?12:40
dl9pfuff, dunnow12:40
leon-anavisetenv May be something like... bootargs_video 'vmalloc=384M video=HDMI-A-1:1920x1080-32@30'12:41
leon-anaviI read 1080i flashes 30 times per second while 1080p 60 times per second12:41
leon-anavi(I reading 1080p vs 1080i for dummies) :)12:42
JEEBuhh, i and p is just field based vs frame based12:43
JEEBso with the same bandwidth you can either have 60(/1.001) fields or 30(/1.001) frames12:44
JEEBof course, that's just because you are only sending half the height (every second line) in a field12:45
JEEBof course I do not know what that means in the context of weston, to be honest :P12:46
dl9pfwe're trying to start weston in 1080i ... and also wondering what video= string the kernel takes ...12:46
zeenixi having multiple issues building rust* here on my fedora12:46
zeenixleon-anavi: have you seen this? http://paste.fedoraproject.org/481874/21398014/12:47
dl9pfso   .... video=<conn>:<xres>x<yres>[M][R][-<bpp>][@<refresh>][i][m][eDd]12:48
dl9pfthat would mean then12:48
leon-anavizeenix, I don't remember seeing this error while building meta-rust on Debian and Ubuntu.12:49
dl9pfvideo=HDMI-A-1:1920x1080-32@30i  ??12:49
leon-anavizeenix, can you follow the error and check if directory /home/zeenix/checkout/GDP/genivi-dev-platform/gdp-src-build/tmp/work-shared/rust-1.7.0-r0/rustc-1.7.0/mk/cfg/x86_64-unknown-linux-gnu.mk exists?12:49
dl9pfhttps://wiki.archlinux.org/index.php/kernel_mode_setting#Forcing_modes_and_EDID  < ---   in that section12:49
*** CTtpollard has quit IRC13:03
*** toscalix_ has joined #automotive13:05
smurraydl9pf: just looked at my porter with a samsung monitor, afaict the samsung is saying it's in 1080p, but it's not @60 Hz, but 53 Hz and what I'd guess is a lower pixel clockrate13:07
smurraydl9pf: I believe the gechic said 1080p, but I can't really unpack it again atm13:07
dl9pfsmurray: no worries, we know it now an can figure it out here.13:08
leon-anaviyes, the info provided by Stephen is great :)13:10
leon-anavinow we know why we are having this problem :)13:10
zeenixleon-anavi: nope, there is no mk dir even under tmp/work-shared/rust-1.7.0-r0/rustc-1.7.013:13
zeenixleon-anavi: it could be because of my unsuccessful attempt to patch rust13:13
leon-anavizeenix, this is strange. Have you tried rebuilding the recipe from scratch?13:14
zeenixseems there is some special way i need to employ in bbappend file to patch rust?13:14
furyhi guys13:14
zeenixleon-anavi: i did cleansstate, yes13:14
leon-anavizeenix, it could be because of the patch13:14
furyhow's it hangin?13:14
leon-anavihi fury13:14
zeenixleon-anavi: removed the bbappend and patch and i still see the same13:17
zeenixran cleansstate for rust, rust-llvm and rust-cross-arm to be sure13:18
leon-anaviplease run both clean and cleansstate13:21
zeenixah, after running clean, i get the known issue(?): http://paste.fedoraproject.org/481959/79216168/13:24
zeenixbut then i re-run bitbake and i get the same error as before13:25
zeenixleon-anavi: only for rust or other rust targets too?13:25
leon-anavitry for the recipe that fails13:25
*** toscalix has quit IRC13:27
zeenixyup, tried again but still the same. Ran both clean and cleansstate first13:28
zeenixleon-anavi: how about the first issue, that's known isn't it?13:29
zeenixthis one: https://paste.fedoraproject.org/481959/79216168/13:30
zeenixat least rajm noticed it: https://at.projects.genivi.org/jira/browse/GDP-375?focusedCommentId=14056&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1405613:31
leon-anavihm... zeenix can you please share some details which GDP image and for which device are you building it?13:32
zeenixleon-anavi: of course. http://paste.fedoraproject.org/481986/47921685/13:34
leon-anaviok, cool - raspberrypi3 and what image are you bitbaking?13:35
alirazahi13:38
alirazaIs this error familiar13:38
alirazaERROR: miranda-image-11.0.0-r0 do_image_sdcard: Function failed: do_image_sdcard (log file is located at /home/aliraza/genivi-baseline/build/tmp/work/imx6qsabrelite-poky-linux-gnueabi/miranda-image/11.0.0-r0/temp/log.do_image_sdcard.14788)13:38
alirazaERROR: Logfile of failure stored in: /home/aliraza/genivi-baseline/build/tmp/work/imx6qsabrelite-poky-linux-gnueabi/miranda-image/11.0.0-r0/temp/log.do_image_sdcard.1478813:38
alirazaLog data follows:13:38
aliraza| DEBUG: Executing python function set_image_size13:38
aliraza| DEBUG: Python function set_image_size finished13:38
aliraza| DEBUG: Executing shell function do_image_sdcard13:38
aliraza| dd: failed to open '/miranda-image-imx6qsabrelite-20161115132625.rootfs.sdcard': Permission denied13:38
aliraza| WARNING: exit code 1 from a shell command.13:38
aliraza| ERROR: Function failed: do_image_sdcard (log file is located at /home/aliraza/genivi-baseline/buil13:38
radiofreeyou're trying to write something to / as non-root?13:39
alirazaThat came out as a result o f 'bitbake miranda-image'...how do I specify that work as root?13:40
zeenixleon-anavi: was trying to bitbake genivi-dev-platform13:41
zeenixleon-anavi: but after i ran into issues with rust, i was only bitbaking rust13:41
radiofreealiraza: i don't know, i don't even know if that's the problem. the log would seem to suggest that though13:41
leon-anavizeenix, I recommend you bitbake rvi-sota-client or genivi-dev-platform.13:41
leon-anavithey will build all required dependencies from meta-rust13:42
zeenixleon-anavi: deps are already built since i started with genivi-dev-platform?13:42
* zeenix tries anyway13:44
radiofreealiraza: oh, to specify that command as root you'd do "sudo bitbake miranda-image" but you probably don't want to do that13:44
radiofreeconfigure the directory for whatever "do_image_sdcard" is seems like the correct thing to do13:45
zeenixleon-anavi: also, how do you patch rust source tree? I can't do it the usual yocto way afaict13:45
leon-anavizeenix, I don't know. It is very specific because your built has been interrupted and I am not sure at what stage.13:45
leon-anaviin general yes13:46
*** aliraza has quit IRC13:46
leon-anavibut it could be specific if you need to patch a rust crate13:46
leon-anavizeenix, what is the GNU/Linux distro on go.cd servers?13:46
*** dirkb has quit IRC13:51
*** mdurnev has quit IRC13:55
zeenixleon-anavi: sorry i didn't understand the question about go.cd13:55
zeenixleon-anavi: ah13:56
zeenixleon-anavi: i think it runs either debian or ubuntu13:56
leon-anaviwhat is the GNU/Linux distribution installed on the go.cd server?13:56
leon-anaviok13:56
leon-anaviI am also building on Ubuntu and Debian13:56
*** CTtpollard has joined #automotive13:57
zeenixleon-anavi: i'll bet this known issue the real issue: http://paste.fedoraproject.org/482052/21824914/13:57
zeenixcause that's the first time build fails13:57
zeenixleon-anavi: that error happens on ubuntu too13:59
zeenixleon-anavi: since rob uses ubuntu14:00
leon-anaviwell, I can give it a try14:03
leon-anavion my machine14:03
leon-anavilet me wipe out tmp and sstate before that to make sure that I am building from scratch14:03
*** toscalix_ has quit IRC14:13
zeenixi'm also building on our ubuntu-running build server14:17
zeenixleon-anavi: so any hints about how do i go about patching the rust code then? this is the patch http://paste.fedoraproject.org/482103/47921951/14:18
CTtpollardadd the patch to the recipe?14:19
zeenix<zeenix> leon-anavi: also, how do you patch rust source tree? I can't do it the usual yocto way afaict14:20
zeenixCTtpollard: otherwise, i already added bbappend etc14:21
*** toscalix has joined #automotive14:22
CTtpollardI'm unaware why it can't be patched by bitbake, meta-rust contains recipes for rust/cross/llvm which all contain carried patches14:22
leon-anavizeenix, I am rebuilding from scratch rvi-sota-client on ubuntu 16.04. Let me see if it will have any issues.14:23
zeenixCTtpollard: i saw some magic in the recipe regarding patching and bitbake failed to apply my patch (tried various patch levels) and then found out that the source tree wasn't even fetched before patch was attempted14:26
leon-anavirvi-sota-client depends on rust-llvm-native and bitbake is building it right now here: 1: rust-llvm-native-1.7.0-r0 do_compile (pid 8670)14:28
leon-anaviI have no issues building rust-llvm-native. The build of rvi-sota-client continues...14:44
leon-anaviCurrently 8 running tasks (861 of 1185)14:45
zeenixleon-anavi: same on my ubuntu host i think, is it possible that build is not able to handle interruptions?14:47
zeenixi remove the build dir completely and started tthe build from scratch14:48
zeenixnow I'm back to my patch now applying: http://paste.fedoraproject.org/482177/79221275/14:48
zeenixIf i don't apply the patch, gcc6 won't like some of the things it seems14:49
zeenixs/seems/sees/14:49
zeenixthe source dir should be somehere there, shouldn't it? http://paste.fedoraproject.org/482187/14792215/14:53
leon-anavizeenix, gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 2016060914:54
zeenixleon-anavi: yeah, new gcc is the test14:55
leon-anaviis fedora shipped by default with gcc 6?14:59
zeenixyes15:00
zeenix6.2 even15:00
zeenixthis is F25 though, not exactly released15:00
leon-anaviI don't think it is good idea to work with unstable version of a GNU/Linux distribution on your host.15:03
leon-anaviaccording to Fedora wiki GCC was switched to 6.0 in Fedora 2415:04
leon-anaviPlease correct me if I am wrong: GDP is based on Yocto Project release Krogoth (2.1), right?15:06
radiofreeindeed it did15:06
radiofree6.215:06
CTtpollardleon-anavi: Yes15:06
leon-anaviok15:06
leon-anaviCTtpollard, thanks15:06
leon-anaviYocto 2.1 Krogoth has been released on April 29, 2016. At that time the stable version of Fedora has been 23 (released on November 3, 2015)15:07
leon-anaviFedora 23 is with GCC 5 and most probably there will be no issues with meta-rust on it.15:08
radiofreefedora 23 was 5.3.115:08
leon-anaviradiofree, thanks for the confirmation15:08
zeenixleon-anavi: F23 is pretty old by now15:08
zeenixleon-anavi: F25 is not at all unstable15:08
zeenixleon-anavi: pretty close to a release, the remaining issues stopping the release don't apply to me15:09
* CTtpollard has been using 14.04 for 14 months just for bitbake15:09
leon-anavizeenix, I am just saying that building a distro on host with another distro which has not been released (aka is not stable) is an experimental work.15:09
zeenixleon-anavi: anyway, would be good to know how to patch rust anyway from my bbappend file, regardless of my host/distro15:09
zeenixleon-anavi: i'm ready to put up all the needed work to get it working15:11
zeenixjust need guidance in certain areas on how exactly should I handle things15:12
zeenixalso w/ gcc 6 in F24, I'm going to hit issues in there too i'm sure15:13
leon-anaviI am not exactly sure that is the problem and why the patch cannot be applied.15:13
leon-anaviI cannot reproduce it on my env because I use stable long term releases of Ubuntu for building. Eventually I can setup an lxc container with Fedora 24 or 25 and gcc 615:14
zeenixleon-anavi: can you not just take my patch and try to apply that?15:14
zeenixand bbappend file15:14
zeenixon ubuntu?15:14
zeenixas you can see in a paste above, there is no rust source tree to be found under /tmp so I'm not very surprised that patch fails to apply15:15
leon-anaviunder /tmp or under tmp/ ?15:16
zeenixerr.. tmp i meant15:16
leon-anaviok15:16
zeenix<zeenix> the source dir should be somehere there, shouldn't it? http://paste.fedoraproject.org/482187/14792215/15:16
zeenixor am I looking in the wrong location?15:17
leon-anaviI need to explore the details to confirm it.15:17
zeenixthis is my change to meta-genivi-dev if you'd want to try yourself: http://paste.fedoraproject.org/482243/92230781/15:18
zeenixleon-anavi: sure thing15:18
*** jlrmagnus has joined #automotive15:19
leon-anavizeenix, just give some time. I am waiting for the current rvi-sota-client build to finish.15:20
leon-anavizeenix, can you please paste me the exact error that you are getting while building stuff from meta-rust with GCC 6.0 before applying your patch?15:20
leon-anavizeenix, ok - rvi-sota-client and its meta-rust dependencies are fine with gcc 5 on the host: http://pastebin.com/2ZRerj9t15:27
leon-anaviI entered devshell for rust and I see src/libbacktrace/dwarf.c15:30
zeenixleon-anavi: where is the directory?15:32
zeenixleon-anavi: but you already had rust* built15:32
leon-anavitmp/work-shared/rust-1.7.0-r0/rustc-1.7.0/src/libbacktrace/dwarf.c15:32
zeenixleon-anavi: try a cleansstate of rust and try with the patch15:33
zeenixi only have patches dir under tmp/work-shared/rust-1.7.0-r0/rustc-1.7.0/15:34
zeenixleon-anavi: i wont be able to provide you with the original gcc 6 failure today as i need to run to my Swedish class in 25 mins :(15:38
leon-anaviok15:39
leon-anavican you gather all these logs and report the GCC 6 issue in JIRA?15:39
zeenixsure15:39
leon-anaviI applied your patch but do_compile now fails with it15:40
zeenixthe patch from bbfile just applies even after a cleansstate?15:41
CTtpollardIt will need a routine to check the host gcc version before applying it15:41
zeenixleon-anavi: yeah since patch didn't apply here, i didn't get to test it :(15:42
leon-anaviok :)15:42
zeenixmy intention right now was to see if you can get the patch applies through bbfile with a clean build or not15:43
leon-anaviso this patch has not been tested at all, right?15:43
zeenixs/applies/applied/15:43
zeenixleon-anavi: yup15:43
zeenixit has not been15:43
zeenixshould have made that clear, sorry15:43
leon-anaviok15:44
leon-anaviwhy don't you first apply the changes manually through the devshell?15:44
leon-anaviafter that when you have it built and tested you can proceed with the bbapend file.15:44
leon-anaviright now the bbappend files seems fine but the patch itself fails the build.15:45
zeenixsure, i didn't think of that15:45
zeenixleon-anavi: ah ok, so you tried with a clean build and bbappend worked?15:45
*** aliraza has joined #automotive15:46
zeenixcoming up with the working patch won't be issue i think15:46
leon-anaviI built rvi-sota-client successfully. After that I added your patch to meta-genivi-dev and gave it a try15:46
leon-anavithe bbappend that you have created works fine here but the problem is within the patch15:46
leon-anaviand since I don't have your env with GCC 6.0 I cannot reproduce the main problem15:47
zeenixleon-anavi: that's why I asked you to try a clean build with the bbappend15:47
leon-anavithat's why I asked you if you can provide the generic error log on GCC 6.0 (before you did the patch)15:47
zeenixcause the reason the patch doesn't apply here is that it's being applied before the source dir is created15:47
leon-anavizeenix, I have some work to do. Can you please gather all logs and report them in JIRA?15:48
zeenixleon-anavi: as I promised, I'll be able to do that tomorrow15:48
leon-anaviI don't think this is a high priority task because you are working on experimental Fedora version which is about to be released.15:49
leon-anaviYou will not have any build issues with a stable version with GCC 5 like 23 which was available when YP 2.1 was released.15:49
zeenixi'm right now more interested in why the patch doesn't apply (on a clean build), which is not related to my disto (version) afaik15:50
zeenixthe patch itself is low-prio, i know15:50
leon-anaviI really need to finalize other tasks before the end of the day. I will be happy to assist you as soon as we have all logs together in JIRA.15:51
zeenixsure thing, thanks for helping!15:51
leon-anaviI just did rm -rf tmp/ and rm -rf sstate-cache/ to see if the patch will be applied15:56
*** praneeth has quit IRC16:06
*** praneeth has joined #automotive16:06
zeenixleon-anavi: cool, i definitely owe you beers already :)16:06
leon-anavi:)16:07
* zeenix runs to his Swedish class16:07
leon-anavihave fun at the Swedish class :) I will ping you with some updates later.16:08
*** rdale has quit IRC16:13
*** aliraza has quit IRC16:14
leon-anavizeenix, seems to be applied even on a clear build without any issues.16:21
leon-anaviWaiting for your full report in JIRA. Please mark down that this is with GCC 6.0 on unstable and unreleased version of Fedora :)16:22
CTtpollardDoes yocto2.2 release support GCC6.2?16:23
leon-anavihonestly, no idea16:26
leon-anaviit is an excellent question though. We need to have a look.16:26
*** rdale has joined #automotive16:27
*** ctbruce has quit IRC16:54
smurrayI think it does, but am not certain17:10
smurraythere are definitely patches in krogoth for host gcc 6 support17:16
smurrayjust asked on #oe, should work from krogoth onwards17:24
smurrayit's possible F25 is packaging something more bleeding edge. I'm not in a position to test until tomorrow, unfortunately.17:24
CTtpollard6.217:25
*** AlisonChaiken has quit IRC17:29
*** jlrmagnus has quit IRC17:33
*** toscalix has quit IRC17:37
smurraydl9pf: let me know if the tweak to add the fw for the tp-link adapter should be made more board specific17:38
smurraydl9pf: I'm boarding soonish, though17:38
*** kooltux_ has quit IRC17:53
*** jlrmagnus has joined #automotive18:17
*** leon-anavi has quit IRC18:25
*** AlisonChaiken has joined #automotive18:34
murphywhat hardware do you suggest if i wanted to do a build?19:24
murphyive seen those double din android systems19:24
*** ctbruce has joined #automotive20:35
*** Net147 has joined #automotive22:03
*** ctbruce has quit IRC23:31
*** jlrmagnus has quit IRC23:58

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!