Saturday, 2015-05-30

*** zalan_ <zalan_!~zalan@c-50-184-61-231.hsd1.ca.comcast.net> has joined #mer00:30
*** Termana- <Termana-!Termana@gateway/shell/panicbnc/x-lqjmfwlrtwsveswj> has joined #mer01:27
*** gabrbedd <gabrbedd!~beddingfi@li680-65.members.linode.com> has quit IRC (Ping timeout: 258 seconds)01:33
*** smokex <smokex!smokex@gateway/shell/panicbnc/x-fmfzkcazdgsyxxim> has quit IRC (Ping timeout: 255 seconds)01:33
*** Shanita <Shanita!~John@xd9be00fd.dyn.telefonica.de> has joined #mer01:44
*** plfiorini <plfiorini!~plfiorini@net-188-152-158-114.cust.dsl.teletu.it> has quit IRC (Ping timeout: 258 seconds)01:45
*** Kaskuka <Kaskuka!~John@x4d01d21f.dyn.telefonica.de> has quit IRC (Ping timeout: 264 seconds)01:48
*** shentey <shentey!~shentey@f052207133.adsl.alicedsl.de> has joined #mer01:50
*** louisdk <louisdk!~louisdk@static-5-103-130-65.seas-nve.net> has quit IRC (Ping timeout: 255 seconds)01:58
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@195-132-24-78.rev.numericable.fr> has quit IRC (Ping timeout: 245 seconds)01:58
*** shentey <shentey!~shentey@f052207133.adsl.alicedsl.de> has quit IRC (Quit: Konversation terminated!)01:59
*** jidiablo__ <jidiablo__!~xji@111.201.177.194> has joined #mer02:01
*** cybrNaut <cybrNaut!cybrNaut@unaffiliated/cybrnaut> has quit IRC (Ping timeout: 256 seconds)02:09
*** cybrNaut <cybrNaut!cybrNaut@2001:0:53aa:64c:203d:157c:bcca:66c4> has joined #mer02:11
*** jidiablo__ <jidiablo__!~xji@111.201.177.194> has quit IRC (Quit: Konversation terminated!)03:12
*** xSmurf <xSmurf!MrSmurf@gateway/vpn/mullvad/x-mnnwblhwqvmdajop> has quit IRC (Ping timeout: 244 seconds)04:04
*** xSmurf <xSmurf!MrSmurf@gateway/vpn/mullvad/x-dbuqwwsdbqzvctvh> has joined #mer04:09
*** xSmurf <xSmurf!MrSmurf@gateway/vpn/mullvad/x-dbuqwwsdbqzvctvh> has quit IRC (Ping timeout: 255 seconds)04:14
*** xSmurf <xSmurf!MrSmurf@gateway/vpn/mullvad/x-grafwnzdvfchaaxi> has joined #mer04:14
*** zalan_ <zalan_!~zalan@c-50-184-61-231.hsd1.ca.comcast.net> has quit IRC (Remote host closed the connection)04:26
*** peavey <peavey!~ambient@unaffiliated/peavey> has quit IRC (Remote host closed the connection)05:10
*** peavey <peavey!~ambient@unaffiliated/peavey> has joined #mer05:12
*** roboro <roboro!~ro@dsl-217-155-19-70.zen.co.uk> has joined #mer06:30
*** tbr <tbr!dm8tbr@cl-790.ham-01.de.sixxs.net> has quit IRC (Ping timeout: 276 seconds)06:33
*** tbr <tbr!dm8tbr@cl-790.ham-01.de.sixxs.net> has joined #mer06:37
*** harha <harha!~harha@a91-153-12-92.elisa-laajakaista.fi> has joined #mer06:45
*** gmoro <gmoro!~guilherme@193.120.208.221> has quit IRC (Ping timeout: 272 seconds)07:04
*** jstaniek <jstaniek!~jarek@89-67-130-229.dynamic.chello.pl> has joined #mer08:16
*** Morpog_PC <Morpog_PC!~Morpog_PC@185.8.85.171> has joined #mer08:23
*** r0kk3rz <r0kk3rz!~chatzilla@host-92-30-157-219.as13285.net> has joined #mer08:26
*** harha <harha!~harha@a91-153-12-92.elisa-laajakaista.fi> has quit IRC (Quit: Leaving.)08:41
*** plfiorini <plfiorini!~plfiorini@net-188-152-158-114.cust.dsl.teletu.it> has joined #mer09:15
*** harha <harha!~harha@mobile-access-6df0d3-207.dhcp.inet.fi> has joined #mer09:38
*** jstaniek <jstaniek!~jarek@89-67-130-229.dynamic.chello.pl> has quit IRC (Quit: Konversation terminated!)09:42
*** harha <harha!~harha@mobile-access-6df0d3-207.dhcp.inet.fi> has quit IRC (Quit: Leaving.)10:12
*** harha <harha!~harha@mobile-access-6df0d3-207.dhcp.inet.fi> has joined #mer10:30
*** louisdk <louisdk!~louisdk@static-5-103-130-65.seas-nve.net> has joined #mer10:52
*** nerdboy <nerdboy!~sarnold@gentoo/developer/nerdboy> has quit IRC (Ping timeout: 258 seconds)10:53
*** harha <harha!~harha@mobile-access-6df0d3-207.dhcp.inet.fi> has quit IRC (Quit: Leaving.)10:54
*** nerdboy <nerdboy!~sarnold@gatekeeper.gentoogeek.org> has joined #mer11:05
*** louisdk <louisdk!~louisdk@static-5-103-130-65.seas-nve.net> has quit IRC (Ping timeout: 245 seconds)11:19
*** M4rtinK <M4rtinK!~M4rtinK@mail.melf.eu> has joined #mer11:19
*** seingierf <seingierf!4df2cae4@gateway/web/freenode/ip.77.242.202.228> has joined #mer11:34
seingierfhi11:42
seingierfI'm having a hard time using scratchbox2 for a x86 target11:42
seingierfwondering if other people ever had to face such issues11:43
tbrexplain your issues11:43
seingierffor example I'm trying to build a program that uses bison11:44
seingierfbison in turn calls m411:44
seingierfthrough exec11:44
seingierfand it turns out it tries to open m4 files located in the host /usr/share/bison11:44
seingierfI used different mapping modes and commented lines such as /usr/bin/m4 to avoid using the accelerated programs rule11:46
seingierfI also renamed the host /usr/share/bison to /usr/share/bison.disabled and ran sb2 -t my-target -e11:47
tbrmm, I din't have to deal with m4 issues at least11:47
tbrbut maybe someone else knows11:47
seingierffor example:11:48
Stskeepsm4 is accelerated11:48
seingierfls /usr/share/bison/m4sugar/m4sugar.m411:48
seingierfreturns ok11:48
seingierfbut running bison:11:48
Stskeepsusually you want to have host tools = target arm tools11:48
seingierfyes I understand this is the usual scenario11:49
seingierfbut sb2 could be handy even in a x86 environment11:49
seingierfjust to finish my example, when using strace -f bison:11:50
seingierf[pid 29791] execve("/usr/bin/m4", ["/usr/bin/m4", "--gnu", "-I", "/usr/share/bison", "/usr/share/bison/m4sugar/m4sugar"..., "-", "/usr/share/bison/bison.m4", "/usr/share/bison/c-skel.m4"], [/* 44 vars */] <unfinished ...>11:50
seingierf[pid 29791] open("/usr/share/bison/m4sugar/m4sugar.m4", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)11:50
Stskeepsright, it'll try to use the targets data files11:50
Stskeepsdid you remember to put libsb2.so into the x86 target?11:51
Stskeepsthats usual one mistake11:51
seingierfI was thinking of it by ready the exec_rules file but I didn't11:51
seingierfactually this the one x86 target that wasn't built using mer :(11:52
Stskeepssure11:52
Stskeepsyou need to build libsb2 for that target then11:52
seingierfok11:52
seingierfif it succeeds I'll get conf_target_sb2_installed=true in the generated exec_config.lua file then?11:53
seingierf(just to double check)11:53
Stskeepspossibly11:54
Stskeepsif you are one of the few people that understands how sb2 works, i'd like your CV.. :P11:54
seingierfright I'll give it a try :)11:54
seingierfWell I was going to add that sb2 is a real pain to understand ;)11:54
seingierfit's great to use but it often feels like there's magic somewhere in it...11:55
Stskeepsindeed11:56
seingierfI'm using the mer SDK for an archlinux based distribution for raspberry PI. Just wanted to let you know :)11:57
seingierfI'm no archlinux expert but I found out that pacman uses bash process substitution feature11:58
seingierfand sb2 does not handle it with the default config files11:59
seingierffor example: on the host:12:00
seingierf$ echo <(echo)12:00
seingierf /dev/fd/6312:00
Stskeepsnod12:00
seingierfbut that won't work in a sb2 session12:00
seingierfhad to comment a line related to /proc in the fs_rules file12:00
*** r0kk3rz <r0kk3rz!~chatzilla@host-92-30-157-219.as13285.net> has quit IRC (Ping timeout: 272 seconds)12:01
seingierfmore precisely I replaced '{dir = "/proc", custom_map_funct = sb2_procfs_mapper, virtual_path = true},' with {dir = "/proc", force_orig_path = true},12:02
Stskeepsnod12:02
seingierfnot sure about side effects12:02
seingierfbu so far have seen none12:02
Stskeepswell, some binaries may not understand they're on arm12:02
[ol]If some files/directories are mapped the wrong way, I'd suggest to increase debug level («-d -L noise») and look through generated log file.12:05
[ol]Yes, it's quite long, so you'd probably search for pathname you're interested in.12:05
[ol]Also I have some fixes / improvements which are not merged into official sb2 repo because there's nobody left to review my patches.12:08
seingierfok, nice to know, thanks :)12:09
[ol]https://github.com/OlegGirko/scratchbox2/tree/sandbox12:09
[ol]These are my changes.12:09
[ol]I've also fixed some mappings to work more consistently.12:10
seingierfI'll definitly keep this one around12:11
[ol]You can build sb2 packages directly from that.12:11
[ol]If you find any bugs, please let me know by opening an issue.12:12
seingierfsure12:12
[ol]Also, if you use sb2 to build packages other than dpkg or rpm, you might need to adjust modes for your tools. You may copy obs-rpm-build mode with a different name and add your tools there.12:16
seingierfI installed the scratchbox2 package from mer into my x86 target12:34
seingierfI get the conf_target_sb2_installed=true in /tmp/sb2-seingierfx-20150530-123106.OM4548/exec_config.lua12:34
seingierfbut m4 still complains :(12:34
*** Dodo <Dodo!~dorianvog@AStrasbourg-151-1-27-48.w83-194.abo.wanadoo.fr> has joined #mer12:44
*** gaffa <gaffa!~gaffa@94.146.238.133> has joined #mer13:20
*** M4rtinK <M4rtinK!~M4rtinK@mail.melf.eu> has quit IRC (Ping timeout: 258 seconds)13:28
*** M4rtinK <M4rtinK!~M4rtinK@mail.melf.eu> has joined #mer13:42
*** gaffa <gaffa!~gaffa@94.146.238.133> has quit IRC (Ping timeout: 250 seconds)13:50
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@195-132-24-78.rev.numericable.fr> has joined #mer14:12
*** plfiorini <plfiorini!~plfiorini@net-188-152-158-114.cust.dsl.teletu.it> has quit IRC (Quit: systemctl restart plfiorini)14:22
*** cybrNaut <cybrNaut!cybrNaut@2001:0:53aa:64c:203d:157c:bcca:66c4> has quit IRC (Changing host)14:29
*** cybrNaut <cybrNaut!cybrNaut@unaffiliated/cybrnaut> has joined #mer14:29
*** zalan_ <zalan_!~zalan@c-50-184-61-231.hsd1.ca.comcast.net> has joined #mer14:30
*** zalan_ <zalan_!~zalan@c-50-184-61-231.hsd1.ca.comcast.net> has quit IRC (Remote host closed the connection)14:30
*** zalan_ <zalan_!~zalan@c-50-184-61-231.hsd1.ca.comcast.net> has joined #mer14:30
seingierfmmm I'll need to double check, but it seems bison internally uses posix_spawn rather than execve14:38
seingierfI wrote a simple test program with posix_spawn vs fork+execve and they do not behave the same under sb2...14:39
seingierfusing fork+execve I end up using the target m4 binary which is what I expect14:40
seingierfusing posix_spawn it ends up calling the host m414:40
Stskeepsok, so posix_spawn isn't hooked?14:40
seingierflooks like it14:40
*** smokex <smokex!smokex@gateway/shell/panicbnc/x-nmftwcqjrgtevhaq> has joined #mer14:54
*** smokex <smokex!smokex@gateway/shell/panicbnc/x-nmftwcqjrgtevhaq> has quit IRC (Changing host)14:54
*** smokex <smokex!smokex@unaffiliated/smokex> has joined #mer14:54
*** smokex <smokex!smokex@unaffiliated/smokex> has quit IRC (Changing host)14:54
*** smokex <smokex!smokex@gateway/shell/panicbnc/x-nmftwcqjrgtevhaq> has joined #mer14:54
*** zhxt <zhxt!~zhxt@124.192.129.80> has joined #mer14:55
*** ortylp <ortylp!~ortylp@HSI-KBW-091-089-193-060.hsi2.kabel-badenwuerttemberg.de> has joined #mer16:03
*** cloanta_ <cloanta_!~sailfish@2a02:a03f:1425:fe00:5256:a8ff:fe01:18f9> has joined #mer16:06
*** harha <harha!~harha@mobile-access-6df0d3-207.dhcp.inet.fi> has joined #mer16:17
*** harha <harha!~harha@mobile-access-6df0d3-207.dhcp.inet.fi> has quit IRC (Quit: Leaving.)16:33
*** arcean <arcean!~arcean@nat1.finemedia.pl> has joined #mer16:37
*** ortylp <ortylp!~ortylp@HSI-KBW-091-089-193-060.hsi2.kabel-badenwuerttemberg.de> has quit IRC (Remote host closed the connection)16:39
*** SfietKonstantin <SfietKonstantin!~sk@195-132-24-78.rev.numericable.fr> has joined #mer16:40
*** jgjl <jgjl!~tty57@p4FFD3540.dip0.t-ipconnect.de> has joined #mer16:43
*** shentey <shentey!~shentey@f053011116.adsl.alicedsl.de> has joined #mer16:46
*** Morpog_PC <Morpog_PC!~Morpog_PC@185.8.85.171> has quit IRC (Ping timeout: 258 seconds)16:50
*** nerdboy <nerdboy!~sarnold@gatekeeper.gentoogeek.org> has quit IRC (Changing host)16:53
*** nerdboy <nerdboy!~sarnold@gentoo/developer/nerdboy> has joined #mer16:53
*** shentey <shentey!~shentey@f053011116.adsl.alicedsl.de> has quit IRC (Quit: Konversation terminated!)17:11
*** harha <harha!~harha@mobile-access-6df0d3-207.dhcp.inet.fi> has joined #mer17:11
*** varikonniemi <varikonniemi!~q@a91-153-234-43.elisa-laajakaista.fi> has quit IRC (Quit: Leaving)17:30
*** harha <harha!~harha@mobile-access-6df0d3-207.dhcp.inet.fi> has quit IRC (Read error: Connection reset by peer)17:50
*** harha <harha!~harha@mobile-access-6df0d3-207.dhcp.inet.fi> has joined #mer17:50
*** harha <harha!~harha@mobile-access-6df0d3-207.dhcp.inet.fi> has quit IRC (Quit: Leaving.)18:04
*** gaffa <gaffa!~gaffa@94.146.238.133> has joined #mer18:17
*** zhxt <zhxt!~zhxt@124.192.129.80> has quit IRC (Ping timeout: 264 seconds)18:27
*** jgjl <jgjl!~tty57@p4FFD3540.dip0.t-ipconnect.de> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)18:37
*** Dodo <Dodo!~dorianvog@AStrasbourg-151-1-27-48.w83-194.abo.wanadoo.fr> has quit IRC (Ping timeout: 255 seconds)18:39
*** Dodo <Dodo!~dorianvog@AStrasbourg-151-1-27-48.w83-194.abo.wanadoo.fr> has joined #mer18:47
*** Dodo <Dodo!~dorianvog@AStrasbourg-151-1-27-48.w83-194.abo.wanadoo.fr> has quit IRC (Client Quit)18:48
*** Dodo <Dodo!~dorianvog@AStrasbourg-151-1-27-48.w83-194.abo.wanadoo.fr> has joined #mer18:48
*** Nokius_ <Nokius_!~Nokius@p5DDB6105.dip0.t-ipconnect.de> has joined #mer18:50
*** SfietKonstantin <SfietKonstantin!~sk@195-132-24-78.rev.numericable.fr> has quit IRC (Ping timeout: 246 seconds)18:52
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@195-132-24-78.rev.numericable.fr> has quit IRC (Ping timeout: 255 seconds)18:52
*** SfietKonstantin <SfietKonstantin!~sk@195-132-24-78.rev.numericable.fr> has joined #mer18:52
*** Nokius <Nokius!~Nokius@p5DDB5B9E.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 246 seconds)18:53
*** Nokius_ is now known as Nokius18:59
*** itbaron <itbaron!~kvirc@a91-155-238-87.elisa-laajakaista.fi> has joined #mer19:07
*** Dodo <Dodo!~dorianvog@AStrasbourg-151-1-27-48.w83-194.abo.wanadoo.fr> has quit IRC (Quit: Konversation terminated!)19:09
*** Dodo <Dodo!~dorianvog@AStrasbourg-151-1-27-48.w83-194.abo.wanadoo.fr> has joined #mer19:09
*** jstaniek <jstaniek!~jarek@89-67-130-229.dynamic.chello.pl> has joined #mer19:22
*** ced117 <ced117!~ced117@opensuse/member/ced117> has quit IRC (Ping timeout: 240 seconds)19:23
*** Dodo <Dodo!~dorianvog@AStrasbourg-151-1-27-48.w83-194.abo.wanadoo.fr> has quit IRC (Read error: Connection reset by peer)19:23
*** ced117 <ced117!~ced117@opensuse/member/ced117> has joined #mer19:37
*** jgjl <jgjl!~tty57@p4FFD3540.dip0.t-ipconnect.de> has joined #mer19:40
*** itbaron <itbaron!~kvirc@a91-155-238-87.elisa-laajakaista.fi> has quit IRC (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)19:57
*** cristi <cristi!~majeru@37.120.54.224> has joined #mer20:02
*** harha <harha!~harha@mobile-access-6df0d3-207.dhcp.inet.fi> has joined #mer20:06
*** louisdk <louisdk!~louisdk@static-5-103-130-65.seas-nve.net> has joined #mer20:14
*** harha1 <harha1!~harha@a91-153-12-92.elisa-laajakaista.fi> has joined #mer20:21
*** harha <harha!~harha@mobile-access-6df0d3-207.dhcp.inet.fi> has quit IRC (Read error: Connection reset by peer)20:21
*** cloanta_ <cloanta_!~sailfish@2a02:a03f:1425:fe00:5256:a8ff:fe01:18f9> has quit IRC (Quit: IRC for Sailfish 0.9)20:22
*** harha1 <harha1!~harha@a91-153-12-92.elisa-laajakaista.fi> has quit IRC (Client Quit)20:24
*** jgjl <jgjl!~tty57@p4FFD3540.dip0.t-ipconnect.de> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)20:33
*** merbot` <merbot`!~supybot@phost1.merproject.org> has joined #mer20:41
*** merbot <merbot!~supybot@phost1.merproject.org> has quit IRC (Remote host closed the connection)20:41
*** blue787 <blue787!~blue787@krusty.meetandspeak.com> has quit IRC (Ping timeout: 272 seconds)20:41
*** blue787 <blue787!~blue787@krusty.meetandspeak.com> has joined #mer20:43
*** harha <harha!~harha@a91-153-12-92.elisa-laajakaista.fi> has joined #mer20:45
*** jgjl <jgjl!~tty57@p4FFD3540.dip0.t-ipconnect.de> has joined #mer20:45
*** harha <harha!~harha@a91-153-12-92.elisa-laajakaista.fi> has quit IRC (Ping timeout: 245 seconds)20:50
*** blue787 <blue787!~blue787@krusty.meetandspeak.com> has quit IRC (Ping timeout: 240 seconds)20:56
*** blue787 <blue787!~blue787@krusty.meetandspeak.com> has joined #mer21:09
*** blue787 <blue787!~blue787@krusty.meetandspeak.com> has quit IRC (Ping timeout: 240 seconds)21:19
*** jgjl <jgjl!~tty57@p4FFD3540.dip0.t-ipconnect.de> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)21:21
*** jgjl <jgjl!~tty57@p4FFD3540.dip0.t-ipconnect.de> has joined #mer21:23
*** blue787 <blue787!~blue787@krusty.meetandspeak.com> has joined #mer21:34
*** jgjl <jgjl!~tty57@p4FFD3540.dip0.t-ipconnect.de> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)21:42
*** jidiablo__ <jidiablo__!~xji@111.193.60.201> has joined #mer22:00
*** bfederau <bfederau!~quassel@service.basyskom.com> has quit IRC (Read error: Connection reset by peer)22:01
*** bfederau <bfederau!~quassel@service.basyskom.com> has joined #mer22:01
*** louisdk <louisdk!~louisdk@static-5-103-130-65.seas-nve.net> has quit IRC (Ping timeout: 256 seconds)22:01
*** jstaniek <jstaniek!~jarek@89-67-130-229.dynamic.chello.pl> has quit IRC (Quit: Konversation terminated!)22:06
*** meShell <meShell!~meShell@p57990B09.dip0.t-ipconnect.de> has quit IRC (Quit: bye)22:07
*** zalan_ <zalan_!~zalan@c-50-184-61-231.hsd1.ca.comcast.net> has quit IRC ()22:28
*** zalan_ <zalan_!~zalan@2601:9:1a80:1c46:64c9:6c10:da0b:4a19> has joined #mer22:29
*** cristi <cristi!~majeru@37.120.54.224> has quit IRC (Ping timeout: 272 seconds)22:36
*** zalan_ <zalan_!~zalan@2601:9:1a80:1c46:64c9:6c10:da0b:4a19> has quit IRC (Remote host closed the connection)22:37
*** Nokius <Nokius!~Nokius@p5DDB6105.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 246 seconds)22:42
*** Nokius_ <Nokius_!~Nokius@p5DDB6437.dip0.t-ipconnect.de> has joined #mer22:42
*** louisdk <louisdk!~louisdk@static-5-103-130-65.seas-nve.net> has joined #mer22:54
*** jidiablo__ <jidiablo__!~xji@111.193.60.201> has quit IRC (Quit: Konversation terminated!)22:55
*** arcean <arcean!~arcean@nat1.finemedia.pl> has quit IRC (Read error: Connection reset by peer)23:02
[ol]seingierf: I can confirm that posix_spawn() is not implemented in sb2.23:06
*** M4rtinK <M4rtinK!~M4rtinK@mail.melf.eu> has quit IRC (Ping timeout: 265 seconds)23:10
*** zalan_ <zalan_!~zalan@c-50-184-61-231.hsd1.ca.comcast.net> has joined #mer23:30
*** louisdk <louisdk!~louisdk@static-5-103-130-65.seas-nve.net> has quit IRC (Ping timeout: 276 seconds)23:33
*** roboro <roboro!~ro@dsl-217-155-19-70.zen.co.uk> has quit IRC (Ping timeout: 245 seconds)23:34
*** SfietKonstantin <SfietKonstantin!~sk@195-132-24-78.rev.numericable.fr> has quit IRC (Remote host closed the connection)23:46

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