/srv/irclogs.ubuntu.com/2012/08/27/#ubuntu-arm.txt

ogra_infinity, ah, great, i thought they were disabled by higher order or some such ... my bamboo-feeder tests every new omap3 server image that comes down the drain automatically now so we can see about 1h later if it is installable, at least vm testing is constantly covered with that for omap308:01
* ogra_ sighs about gvfs .... the archive skew killed all arm builds, fun08:05
suihkulo1kimeh09:03
=== suihkulo1ki is now known as suihkulokki
xranbyrsalveti: ogra_: http://paste.ubuntu.com/1169507/ - pvr-omap4      dkms/pvr-omap4 fails to compile09:04
xranbyduring installation of the pvr-omap4 package09:04
ogra_what release ?09:04
xranbyquantal09:05
suihkulokkican ubuntu still accept the patch from bugs.debian.org/676533 for the 12.10 release ?09:05
ogra_wrong pvr version ;)09:05
ogra_xranby, 1.9 was uploaded on the weekend, you want that one09:05
ogra_not sure where its stuck ... probably sitting in binary NEW09:06
xranbyah09:06
xranbyi thought it had been processed by now09:06
ogra_suihkulokki, i dont see why not, can you file a bug ?09:07
=== doko__ is now known as doko
lilstevieogra_, your bamboo feeder is awesome I must say :p09:09
ogra_heh, thanks09:09
ogra_i just finished a virtual version that uses oamp3 qemu VMs09:10
ogra_once i'm done i'll package that as an arm testing suite09:10
ogra_xranby, https://launchpad.net/ubuntu/+source/pvr-omap4/1.9.0.5.1.1-0ubuntu1/+build/3742590 ... waits for libdri209:10
xranbywhich version of libdri2 ?09:11
xranbythere is a libdri2-1 in the archive09:11
xranbyand a libdri2-dev09:12
ogra_lets see09:12
* ogra_ gives the pvr build back09:13
* lilstevie wishes there was a qemu tegra09:13
xranbyogra_: thats really odd. why do your builders fail to find libdri2-1 when i can install it on my panda..09:16
* xranby checking /etc/apt*09:16
ogra_might be that pvr needs it in main09:17
ogra_iirc restricted doesnt allow using universe b-deps09:18
xranbyogra_: i tested a manual build of the sourcepackage: pvr-omap4_1.9.0.5.1.1-0ubuntu1_armhf.deb  pvr-omap4-dbg and pvr-omap4-dev     got built fine09:40
xranbyand they install correctly09:40
xranbyi am still missing libegl1-sgx-omap4  and libgles2-sgx-omap4      that did not got produced from the build09:41
xranbyby the build09:41
xranbywell from the looks of it.. this new package should not build those two package..09:43
* xranby are still puzzled why es2_gears fails09:43
suihkulokkiogra_: https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/104216209:55
ubot2`Ubuntu bug 1042162 in openssl "Please enable arm assembler optimisations in openssl " [Undecided,New]09:55
ogra_suihkulokki, merci :)09:56
sveinseHow can I find the changes from mainstream kernel to the ubuntu modified one? Point is; I have a custom 2.6.37 omap kernel and I'm looking for the ureadahead patch.11:28
ogra_there are no arm specific changes for omap3 afaik11:28
ogra_we just use what mainline provides11:28
sveinseand ureadahead works and has meaning?11:29
ogra_only omap4 and ac100 use custom kernels11:29
ogra_ureadahed doesnt support Sd cards yet so makin it work would be moot11:29
ogra_(and i dont think there are any non mainlined kernel changes required for ureadahead)11:30
sveinseoh, what is there to support? I mean being a block device like all other block devs11:30
* sveinse admitting not fully knowing what ureadahead really does11:31
sveinseThe goal is to reduce the bootup time. In our product, the kernel is booted within 4 secods. But the main (qt4/qws) app fires up 30 seconds after that. All this time is spent in initramfs and booting, so I'm looking for optimizations ...11:34
sveinseI was under the impression that precise could boot very quickly (due to ureadahead), and this is what I'm hunting for11:35
ogra_well, did you try bootchart ? did it show anything obvious?11:59
jimericksonhow come the Aug-27 image of armhf-omap4 is only 22 MB?12:05
sveinseogra_, working on it12:05
ogra_jimerickson, messed up buildds12:06
ogra_just sotiung it with the IS team12:06
jimericksonok thanks12:06
janimoogra_, are the live image build logs somewhere public?12:24
janimoI remember getting mails last  year with links to some but I forget where they pointed at12:24
sveinseogra_: You have experience running omap3, right. How is the X performance in OMAP3515? Do you know FH?12:37
ogra_http://people.canonical.com/~ubuntu-archive/cd-build-logs/ubuntu/quantal/ and http://people.canonical.com/~ubuntu-archive/livefs-build-logs/quantal/12:37
ogra_janimo, ^^^12:38
ogra_sveinse, no idea, i havent run omap3 desktop in a long time12:38
janimoogra_, thanks12:38
sveinseWe're currently running framebuffer Qt/QWS on a VGA screen. There's a discussion internally if we gain something by running a single window Qt on X. E.g. video support and such12:42
hrwsveinse: 30s boot is long indeed13:07
hrwsveinse: tried with other card or usb storage for rootfs?13:07
sveinsePerhaps a stupid question, and totally OT here. But how do I cross compile for i386 on amd64? I'm used to using arm-linux-gnueabi-gcc, but there is no such i386-linux-gnu-gcc AFAICS14:12
* ogra_ would just use a chroot14:13
* lilstevie uses pbuilder (so chroot like ogra_ said)14:14
sveinsethanks. Not as trivial as I'd hoped, since you must move everything inside the chroot for it to work. But ok14:17
sveinsepity. I hoped it was possible to bind mount a directory from the main FS into the chroot there a second... But naah.14:20
ogra_sure you can14:20
lilstevieI don't see why you couldn't14:20
lilstevieunless something has changed recently14:21
* ogra_ does bind mount /dev in his chroots all the time14:21
* lilstevie used to bind mount ~/image_patches when modifying omap images for the tf10114:21
ogra_no reason why you shouldnt be able to user other dirs ...14:21
ogra_*use14:21
sveinseogra_ very true. I do the same when I come to think of it. I think it might be my chroot script which is too "intelligent" in respect of mount...14:22
sveinseYou're going to frown, but is it possible to create a arm chroot and replace gcc & binutils & make (etc.) with arm-linux-gnueabi-gcc toolset from the host?14:25
ogra_yeah, people call that OBS :P14:26
sveinseI mean with binfmt+qemu I there is no principal difference from running i386 vs armel as long as all libs are available14:26
ogra_right, thats what opensuse build serivce does :)14:26
=== prpplague^2 is now known as prpplague
janimolilstevie, do you know if the sensors on the transformer require some android specific userspace binaries to work well? It seems they need at least some ioctls to get started14:26
ogra_but using self rolled gcc's for everything14:26
lilsteviejanimo, I would have no clue, I really do not see much point for most sensors under ubuntu14:27
=== zyga is now known as zyga-afk
janimowell, at least screen orientation via accel would be nice14:27
janimoalso light sensor for screen dimming14:27
janimoat least some x86 laptops have the latter14:27
lilsteviejanimo, however I do believe the mpl stuff should work without much userspace interaction14:27
janimobut probably using platfrom specific code14:28
lilstevieeh, autobright would be nice14:28
janimolilstevie, mpl or mpu?14:28
lilsteviebut accel is a lot of effort from past experience with xorg and accelerometers14:28
lilsteviempl14:28
lilsteviethat is the brand14:28
janimoah14:28
janimoI thought Motion Processing Unit as that's how the gyro+accel are referred to in many places14:29
janimoI have no experience with X and accel, no idea if it works on x86 or some exisiting ubuntu hw  at all14:29
lilsteviejanimo, years ago we tried it with the iPhone 3G14:29
janimoindeed no use in sensor capabilities if userspace support is not here14:29
lilsteviebut that was karmic14:29
lilstevieand it was horrible14:30
janimothere's no unified accel interface/low level lib in linux either14:30
janimoonly platform specifics in each app afaik14:30
lilsteviebut I mean I guess if you could hook it in with xrandr it might be a little bit more bearable14:31
penguin42can someone try bug 501277 on ARM, it looks fixed on other archs, but I notice the arm* files look like they're missing14:47
ubot2`Launchpad bug 501277 in gdb "gdb "catch syscall" doesn't work, missing syscalls/amd64-linux.xml" [Undecided,Fix released] https://launchpad.net/bugs/50127714:47
ogra_janimo, there seems to be a kernel fix for the vm.min_kbytes issue with USB WLAN ... might be good to have that in the ac100 kernel15:06
janimoogra_, did not know about that bug, is it in marvin24 branch?15:14
janimoif so I plan on tracking  that close to release time anyway15:14
ogra_janimo, huh ?15:14
janimoogra_, vm.min_kbytes fix for USB WLAN15:14
ogra_we added the sysctl.d file so often in the past that i'm surprised you dont remember it15:14
janimooh, it was not me who added it I guess15:15
janimoor if so, it is one of those ugly things I force myself to forget15:15
infinityHeh.15:15
ogra_well, its the issue where you get oopses in demsg all the time ...15:15
janimoanyway I certainly did not know it relates to USB WLAN15:15
infinityIt relates to some drivers, ish.15:15
ogra_iirc you added it for mx5 :)15:15
infinityBut apw did express concern with the way it was "fixed" in that driver in the ac100 tree.15:16
janimoI think  I forgot all my mx5 dealings altogether15:16
ogra_right, and someone (ericm or cooloney) has a fix for that by setting the right value from the kernel15:16
ogra_infinity, so i have an intresting morning with celbalrai15:16
janimoI will certainly add it to ac100 if there's a patch already15:16
ogra_s/have/had/ all fixed now15:16
infinityogra_: Yeah, you nick hilighted me in passing, I went and read a bit of it.15:17
ogra_seems we accidentially ended up with an armel chroot ... at the same time the new live-build grew support for building foreign arches in qemu-static chroots ... guess what happened when the machine reported armel to live-build :)15:18
infinityogra_: It was always an armel chroot, which was a non-issue until today.15:18
infinityogra_: Or, rather, until livecd-rootfs 2.76.15:18
ogra_well, until new live-build i guess then15:19
infinityogra_: Thanks for hunting that down.15:19
ogra_well, i wanted images :P15:19
infinityPassing --architecture to live-build as a result of -A is definitely not what we want. :/15:19
ogra_yep15:20
infinityOr maybe it's that --architecture is DTWT.  Pick one.15:20
infinityBut we can worry about that later.  Thanks for fixing for now.15:20
* ogra_ twiddles thumbs waiting for the publisher15:23
ogra_ubuntu@panda:~$ apt-cache madison libdri2-1|grep main15:24
ogra_ubuntu@panda:~$15:24
ogra_*twiddle*15:24
infinityHrm?15:24
infinityWas there an MIR when I wasn't looking?15:24
ogra_mterry has moved it it seems15:24
ogra_bug 104215115:25
ubot2`Launchpad bug 1042151 in libdri2 "MIR: libdri2 needs to be in main for pvr-omap4 (restricted) to build" [High,Fix committed] https://launchpad.net/bugs/104215115:25
infinityAhh, I was going to work with rsalveti on that today, I guess he got impatient.15:25
infinityOh, or you got impatient.15:25
ogra_and yeah, i added a MIR :) not sure you looked though15:25
infinityAnd no, mterry can't move things.  "Fix Committed" is the cue for someone (like me) to fix it. ;)15:26
* infinity fixes.15:26
ogra_just waiting for it to move so https://launchpad.net/ubuntu/+source/pvr-omap4/1.9.0.5.1.1-0ubuntu1/+build/3742590 can finally build15:26
ogra_aha15:26
ogra_i thoguht the MIR team did the actual movin too nowadays15:26
infinityWell, if the team member who approves happens to be an AA, sure.15:27
infinityBut not all of them are.15:27
ogra_ah15:27
ogra_yeah, i know asac isnt15:27
ogra_not that he does many MIR reviews lately :)15:27
* ogra_ wonders why lubuntu-desktop takes so much longer than ubuntu-server ... the resulting image is 200MB smaller15:28
ogra_likely more suqashfs fiddling15:29
infinityYeah, but desktoppy crap has all those irksome postinsts and triggers that, like... Do stuff.15:29
ogra_oh, yeah that too15:29
janimoI am looking forward to lubuntu on the ac100. Had not used lxde before but if it is snappier than unity-2d was I am all for it15:30
ogra_i was playing with it over the weekend and ended up with a completely new desktop due to playing around :)15:31
ogra_my test machine is now running a funny awn setup +openbox and pcmanfm15:32
ogra_htop shows below 100M used right after boot :)15:32
ogra_intrestingly i needed xcompmgr to get awn working .... t does seem to work realyl fast and flawless15:33
ogra_ven better than metacitys builtin compositor15:33
ogra_*even15:33
* ogra_ sighs about his typing15:33
ogra_infinity, so what do we do to get pvr installed by default (i'm not even sure that works with dkms packages) ... ?15:35
ogra_we cant just depends on it with ubuntu-desktop ...15:35
ogra_we could add it to ship and set the "install third party drivers" box in ubiquity by default, but that will also pull in other stuff15:36
infinityogra_: We can't install it by default, see the tech-board decision about the "install non-free" checkbox.15:36
infinityogra_: But I really have no idea what we can/should do, given that nothing works without it. :/15:36
ogra_infinity, well, the desktop wont start if we dont have it15:36
ogra_and the license seems to even permit it15:36
ogra_infinity, that decision was for flash though ... i cant imagine they would block us if its for a driver15:38
ogra_bug 723831 btw15:39
ubot2`Launchpad bug 723831 in ayatana-design "Installer – The option to 'install third-party software' when installing Ubuntu should be selected by default (aka "make Youtube work")" [High,Confirmed] https://launchpad.net/bugs/72383115:39
ogra_",We have always made some clearly stated concessions for hardware drivers (graphics, wlan) which http://www.ubuntu.com/project/about-ubuntu/licensing points out. But we unanimously feel that Flash does not at all fall into this category"15:40
infinityogra_: The decision has to do with freeness, not flash specifically.15:40
ogra_pitti in comment #1915:40
infinityogra_: Though, I can sort of see the "maybe we can hand-wave drivers past this" thing.15:40
ogra_yeah15:41
infinityI haven't even looked at how the drivers-common thing works, since it's replaced jockey.15:41
ogra_i implemented the arm bits15:41
ogra_it checks /proc/cpuinfo and works down a list of possible drivers15:42
ogra_but that doesnt help in the installer15:42
ogra_it wont run before the desktop is up15:42
ogra_catch2215:42
infinityRight.  Well, we could just add it to the squashfs, then, in the subarch section.15:44
infinitySame place we add the u-boot variant and kernel.15:44
ogra_how would dkms handle that ?15:44
ogra_i.e. would we end up with a reboot trigger in the squashfs etc15:45
ogra_does the build work at all ...15:45
infinityDunno, never tried to dkms in a chroot, but I suspect it'll just pick the highest-versioned kernel installed in the root and be happy.  Maybe.15:45
ogra_hehe, high hopes15:45
infinityReboot triggers end up in the livefs anyway, that's nothing new.15:45
infinityThey get cleared at boot.15:45
ogra_but yeah, i guess putting it into livecd-rootfs is the best15:45
infinityAs long as it doesn't fall over on trying to guess anything about the running kernel (which, if it does, is a bug in dkms anyway, I'd say), it should DTRT, ish.15:46
ogra_well, lets just add it once pvr is there15:47
ogra_and see what happens15:47
ogra_preferably at a time where lamont is up to recover the machine though :)15:47
infinityI don't see how it would break the builder.15:48
ogra_well, i dont know how qemu did it on the weekend either ...15:48
ogra_fact is celbalrai was dead for two days15:48
ogra_lubuntu-armhf-ac100 on celbalrai.buildd finished at 2012-08-27 15:46:44 (success)15:49
ogra_yay15:49
infinityogra_: FTBFS.  Enjoy.15:56
infinityhttps://launchpadlibrarian.net/113731856/buildlog_ubuntu-quantal-armhf.pvr-omap4_1.9.0.5.1.1-0ubuntu1_FAILEDTOBUILD.txt.gz15:56
ogra_bah15:57
infinityMissing an entry in pvr-omap4.dirs, I assume.15:57
ogra_must be a buildd error  :P15:57
ogra_the buildd  tarball should just ship /build/buildd/pvr-omap4-1.9.0.5.1.1/debian/pvr-omap4/usr/lib/pvr-omap4-egl/ld.so.conf15:57
ogra_:P15:58
infinityUh huh.15:58
ogra_rsalveti, https://launchpadlibrarian.net/113731856/buildlog_ubuntu-quantal-armhf.pvr-omap4_1.9.0.5.1.1-0ubuntu1_FAILEDTOBUILD.txt.gz15:58
* ogra_ defers friendly :)15:58
infinityOh, I'll just fix it. :P15:58
ogra_hrm, the only thing i realyl dislike about lubuntu is that it defaults to chromium16:02
ogra_which is broken on arm for 2/3 of a cycle16:02
infinityogra_: Test-build successful and uploaded.16:24
infinityrsalveti: ^16:24
infinityogra_: And built just in time, should hit this upcoming :03 publisher run, if you want to play with it.16:31
* rsalveti back on-line16:48
rsalvetiinfinity: what was the issue?16:48
infinityrsalveti: http://launchpadlibrarian.net/113734702/pvr-omap4_1.9.0.5.1.1-0ubuntu1_1.9.0.5.1.1-0ubuntu2.diff.gz16:49
rsalvetihm, that's interesting, that rules didn't change from previous driver16:50
rsalvetiand built fine when I tested with pdebuild16:50
* rsalveti checking the diff again16:50
rsalvetiyup, nothing changed at that perspective from the previous one, which built fine as well16:53
rsalvetimight be a result of the new compat/source version16:55
infinityrsalveti: Weird.  Was that directory in pvr-omap4.dirs before?  Or maybe made in another target and the build-arch/build-any split broke you?16:55
rsalvetiinfinity: thanks anyway, sorry for not catching it before16:55
rsalvetinot so sure, will try to investigate it more to try to understand what happened there16:56
rsalvetiinfinity: ogra_: I also pushed 2 fixes at the xserver and modesettings driver this weekend, so it should finally work fine at this point17:04
rsalvetithe video-omap one should work out-of-the-box and the pvr will be enabled once the pvr-omap4 package is installed17:04
=== nrirclog105 is now known as nrirclog
ogra_oh, curious, why did my panda not have the headers instaled17:18
rsalvetiogra_: with which kernel?17:19
ogra_3.517:19
ogra_came with a dist upgrade17:20
ogra_rsalveti, hmm, ouch17:20
rsalvetiwho installs it by default?17:20
ogra_seems you still depend on dos2unix ... thats still in universe17:20
rsalvetiwe can fix that in a patch if needed17:20
rsalvetilet me check that17:20
rsalvetiso we don't need another mir17:21
rsalvetiogra_: but can you at least try to see if it all works for you?17:21
ogra_rsalveti, on it, thoguht where was that compiz PPA again ?17:24
rsalvetiwe requested the team to publish it for arm as well, don't know if that was done, and we'd also need to change it to use the official branch17:25
rsalvetiwhich I'm not that sure it happened already17:25
rsalvetiogra_: check if you're at least able to run es2gears or glmark2-es217:26
ogra_k17:26
rsalvetiogra_: infinity: talking about glmark2, got a patch to fix the ftbs with the latest mesa: bug 104089517:27
ubot2`Launchpad bug 1040895 in glmark2 "FTBFS when building against latest mesa (9.0 based)" [High,In progress] https://launchpad.net/bugs/104089517:27
rsalvetimesa updated the abi (actually fixing the abi)17:27
rsalvetibut one function was changed to return int to void, which broke glmark217:27
infinityrsalveti: Sure, I can sponsor that.17:32
rsalvetiand I'm actually afraid of other issue that might happen with latest mesa17:33
rsalvetithey updated the headers for most of the standards17:33
rsalvetiwe'll probably know easily in a rebuild17:33
* infinity throws it at sbuild.17:34
ogra_rsalveti, hmm, didnt look great17:35
* ogra_ reboots the panda 17:35
rsalvetiogra_: what happened?17:35
rsalvetiogra_: if you built the new module, a reboot is needed17:35
ogra_some dri message "couldnt open pipe window" or some such17:35
ogra_why ?17:36
ogra_cant you just make dkms modprobe it ?17:36
rsalvetidid you have the older one installed already?17:36
ogra_nope17:36
rsalvetihm, then I believe it was supposed to work17:36
ogra_was a virgin milestone install, just upgraded regulary until unity-2d was removed17:36
rsalvetican you provide your xorg.log and the output at your console?17:36
ogra_hmm, i rebooted already, i dont think xorg keeps a backup17:37
rsalvetiyup, there's a 1.log17:37
ogra_thats for display 117:37
rsalvetithe log.old actually17:38
ogra_but there is a .old ;)17:38
* ogra_ saves it17:38
* rsalveti trying to get his brain started, didn't sleep at the plane17:38
ogra_oh, where are you ?17:38
infinitySD.17:38
rsalvetigoing to plumbers, at Washington atm17:38
ogra_ah17:39
rsalvetigot a 4 hours delay at the first flight17:39
infinityOh, almost in SD. :P17:39
* ogra_ is envious17:39
infinityrsalveti: Why a day early?17:39
rsalvetiinfinity: 1k $ less17:39
infinityAhh.17:39
ogra_jetlag :P17:39
infinityIt was cheap here, regardless.17:39
infinityThough a day early wouldn't have hurt my feelings.17:39
rsalvetiI believe there might be some other conferences and stuff to do tomorrow as well17:40
ogra_OMAP: Failed to load module "omap_pvr" (module does not exist, 0)17:40
ogra_hmpf17:40
rsalvetiogra_: check your dkms log17:41
rsalvetior rebuild the module/reinstall pvr-omap417:41
ogra_and lsmod agrees17:41
ogra_ok17:41
rsalvetimaybe this issue with the lack of headers interfered with your module17:42
rsalvetigetting dkms to skip the build part of it17:42
rsalvetior similar17:42
infinityWell, yeah, it won't build unless you have headers installed.17:42
infinityThat's a bit of a no-brainer.17:42
ogra_well, it wasnt an "issue" theyjust came in when i installed omyp4pvr17:42
ogra_god !17:42
infinityBut installing the headers SHOULD cause DKMS builds.17:42
ogra_this kbd is really not for my fingers it seems17:42
infinity"oh my 4" seems like an appropriate subarch name.17:43
ogra_haha17:44
infinityrsalveti: Is the "de $Place" appelation on the end of names still really common down there, or do you just like to show off and have a longer name? :P17:45
infinityI'd totally be "Adam Conrad of Calgary", but it sounds stupid in English.17:46
rsalvetiinfinity: lol17:48
rsalvetiit's still common to have sur names from both families17:49
rsalvetibut the father part is the last17:49
infinityAhh.  So, not the placename bit, like in some cultures.17:49
rsalvetiwell, we have kind of everything around here hehe :-)17:50
infinity;)17:50
ogra_infinity, oh, btw, riku asked about bug 1042162 do we have any objections ? (i assume not)17:50
ubot2`Launchpad bug 1042162 in openssl "Please enable arm assembler optimisations in openssl " [Undecided,New] https://launchpad.net/bugs/104216217:50
rsalvetihm, interesting17:51
ogra_ (EE) OMAP: Failed to load module "omap_pvr" (module does not exist, 0)17:54
ogra_hmm, no go17:54
rsalvetiogra_: is pvr-omap4 installed?17:55
ogra_indeed it is17:55
rsalvetithat comes from the pvr-omap4 package17:55
rsalvetiwhich the video-omap one tries to load17:55
ogra_ubuntu@panda:~$ dpkg -L pvr-omap4|wc -l17:57
ogra_1417:57
rsalvetitry starting X by hand, and give me the output17:57
ogra_not much in there17:57
rsalvetiXorg -verbose 1017:57
ogra_in fact only ld.so.conf, alt_ld.so.conf and copyright17:57
ogra_is it supposed to be like that ?17:57
rsalvetinops17:58
ogra_ubuntu@panda:~$ apt-cache show  pvr-omap4|grep Installed17:58
ogra_Installed-Size: 4717:58
ogra_YAY17:58
rsalvetimaybe some other issue with infinity's change17:59
ogra_the new was of space saving17:59
ogra_way17:59
rsalvetibut at least it seems the video-omap is loaded automatically already17:59
ogra_oh, probaby i shoudl remove that xorg.conf i created when testing -omap a month ago :P18:00
rsalvetiyup, there's nothing at the pvr-omap4 package18:00
rsalvetiplease :-)18:00
ogra_still loads OMAP :)18:00
ogra_so that side is fine ;)18:01
oratedHello! What is the right method to use qemu-user-static and chroot for compiling/installing packages offline like an emulator. I'm trying to compile OpenCV from source on BeagleBoard XM and its taking long. Which one is right method here - http://paste.ubuntu.com/1170326/ ?18:01
rsalvetiogra_: weird, some other issue is happening with this driver18:02
ogra_yeah, 47 bytes doesn definitely not look right18:02
ogra_orated, after installing apt-get install qemu-user-static just use the qemu-debootstrap command ... after bootstrapping everythinng behaves like any other chtoor in the world18:04
ogra_i really wouldnt try to build on an SD card (as 2.) seems to suggest) ... just do it in a chroot on the host18:05
* ogra_ is out ... if there is anything to sponsor later i'll drop in for a moment 18:06
oratedOne moment ogra_ ... I'd like to confirm the steps please18:07
oratedapt-get install qemu-user-static18:07
orated   cp /usr/bin/qemu-arm-static18:07
oratedqemu-debootstrap18:07
orated?18:07
oratedI've not done bootsrapping before18:08
rsalvetiogra_: there's a way to use tofrodos instead of dos2unix, which is already in main18:08
rsalvetiogra_: should have a patch later in the day, and will test with my panda again18:08
infinityrsalveti: What are you using dos2unix for?18:12
rsalvetiinfinity: pvr build system is using it to generate the build files18:13
infinityrsalveti: Just to strip ^M or something?18:14
infinityrsalveti: Pretty sure that can be done with something as simple as tr.18:14
GrueMasterSeems like it could just use tr or something.18:14
GrueMasterI might even have an old shell script for that.18:14
rsalvetiafaik it was using during it while generating a few files, so not just a simple convert thing18:15
rsalvetineed to dig at the dirty pvr build system18:15
GrueMasterAh, here we go.  "tr -d '\015' <$1 >$2"18:16
infinityrsalveti: Well, it might also be sane to tr the files in question during the package build and ship them translated, and patch out the part where it does it during the module build.18:16
infinityrsalveti: Shipping icky DOSy files in the package seems wrong.18:16
infinityGrueMaster: What do you have against '\r'? :)18:16
rsalvetiyup, but it's a pain to maintain as a package patch18:17
rsalvetias it changes mostly at every update18:17
infinityrsalveti: No, I mean do it in debian/rules during binary-arch.18:17
GrueMasterNothing.  Like I said, old script (i.e. 1996 from my AIX days).18:17
infinityrsalveti: Don't mangle the source package, just the results in debian/pvr-whatever18:17
rsalvetisure, but would also need a patch to remove the dos2unix calls18:18
infinityrsalveti: So what's shipped in the binary packages is sane and reasonable (and readable).18:18
infinityrsalveti: Yeah, but removing the dos2unix bits is at least maintainable. ;)18:18
infinityrsalveti: And you have to patch those bits one way or the other.18:18
rsalvetihurricanes and earthquakes, sounds like a perfect timing to visit us18:18
rsalvetiinfinity: yup, agree18:19
rsalvetisomething to do at my next flight18:22
rsalvetibbl18:24
oratedHi infinity! When I was searching for offline package compilation/installation I found old log - http://irclogs.ubuntu.com/2012/06/23/%23ubuntu-devel.txt - and as you can see, step1 here -http://paste.ubuntu.com/1170326/ -is based on your reply in the log. Could you please guide me which method is right so that I can complete OpenCV source compilation and other relevant installations?18:25
infinityorated: Assuming you have a rootfs (like ubuntu-core), then those directions seem fine.18:27
infinityorated: If your goal is package building, though, I recommend mk-sbuild from ubuntu-dev-tools, and just using sbuild/schroot.18:28
oratedinfinity: Umm, before someone suggested bootstrapping and now mk-sbuild ;) I'm really confused now. I've only done basic chroot before from liveUSB/CD. I'm not aware of bootstrapping or sbuild/schroot. I'm having difficulty completing source installation of OpenCV on BB XM, that I thought of trying emulator. What's the difference in trying -18:33
oratedapt-get install qemu-user-static, cd /media/rootfs, cp /usr/bin/qemu-arm-static usr/bin/,  cp /etc/resolv.conf etc/resolv.conf, chroot . ?18:34
infinityorated: mk-sbuild will end up using debootstrap on the backend.  Most of these tools do.18:35
infinityorated: But yeah, if you have a rootfs unpacked in /media/rootfs (like ubuntu-core, for instance), then those quick and dirty directions work fine.18:35
oratedinfinity: Well, then could you explain a bit more how to use mk-sbuild in my case?18:37
infinityhttps://wiki.edubuntu.org/SecurityTeam/BuildEnvironment <-- A good writeup.18:38
infinityhttp://wiki.debian.org/mk-sbuild <-- A bit less verbose18:39
oratedThanks, I'll try that18:40
=== Ursinha` is now known as Ursinha

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