T2 IRC Log: 2010-07-29

This is the log as captured by an IRC bot in the channel. The statements are those of the individual people and might not neccessarily reflect the policy and legal rules as set forth by the T2 SDE Project.

« prev | next »

--- Log opened Thu Jul 29 00:00:49 2010
01:15 -!- ian_wiz [~ian@c-98-236-69-69.hsd1.pa.comcast.net] has joined #t2
01:16 < ian_wiz> Hello all - where does t2 store/pull the configs for embedded targets?
01:34 -!- ian_wiz [~ian@c-98-236-69-69.hsd1.pa.comcast.net] has quit [Quit: Leaving]
03:00 -!- dileks [~quassel@static-ip-62-75-147-89.inaddr.intergenia.de] has quit [Ping timeout: 240 seconds]
09:44 -!- T-One [~T-One@194.183.141.238] has joined #t2
10:25 -!- espeer [~kvirc@41-133-197-243.dsl.mweb.co.za] has joined #t2
10:26 -!- mtr [~michael@v29762.1blu.de] has joined #t2
10:31 < espeer> is there anyone here that knows how the .cache files are generated?
10:32 < espeer> very curious about how the deps are automatically calculated, or are they?
11:06 < rogermason> Hello. I'm trying to include ghc in a target. However, ghc needs ghc to install. I'd be content just to install a ghc binary. Is it sufficient to unpack a binary distribution inside build/$target/usr/local/... ?
11:07 -!- espeer [~kvirc@41-133-197-243.dsl.mweb.co.za] has quit [Ping timeout: 276 seconds]
11:14 <@rxr> re
11:15 <@rxr> rogermason: yes, unfortunately ghc needs itself
11:15 <@rxr> rogermason: just unpacking it in the host will not help, as it would not be found inside the sandbox
11:16 <@rxr> in order to include it properly in a target sandbox we would need a way to cross comppile it :-(
11:18 <@rxr> do you already program in haskell?
11:18 <@rxr> http://www.t2-project.org/packages/ghc.html
11:21 < rogermason> I have flirted with it, no more. However, I use pandoc from time to time and that depends on ghc and haskell-platform.
11:28 < rogermason> What does the t2 haskell package do, given that it can't install ghc without ghc?
11:36 <@rxr> you can install it with emerge if you have ghc once
11:37 -!- T-One [~T-One@194.183.141.238] has quit [Read error: Connection reset by peer]
11:37 <@rxr> I think ghc is cross compilable, with some configure tweaks it should be possible to include ghc in a target when ghc can be cross comppiled / bootstrapped in stage 1
11:37 -!- T-One [~T-One@194.183.141.238] has joined #t2
11:37 [Users #t2]
11:37 [@ChanServ] [ CIA-33] [ mjungwirth] [ rogermason] [ T-One] [ Toonami]
11:37 [@rxr ] [ koan ] [ mtr ] [ Stealth ] [ TobiX] [ zod ]
11:37 -!- Irssi: #t2: Total of 12 nicks [2 ops, 0 halfops, 0 voices, 10 normal]
11:39 < rogermason> Ah yes, I see. I'll install it with Emerge-Pkg. Thanks.
11:39 <@rxr> with Emerge you still need a ghc binary once :-(
11:52 < rogermason> Yes. I assume I can just unpack a binary downloaded from the haskell site then remove it once Emerge has finished.
11:53 <@rxr> yes, that is how I packaged it once
13:30 < rogermason> Trying to build science/root in trunk: g++ -O2 -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFI\
13:30 < rogermason> G -pthread -o main/src/rmain.o -c main/src/rmain.cxx
13:30 < rogermason> g++ -m32 -O2 -Wl,-rpath,/opt/root/lib -o bin/root.exe main/src/rmain.o \
13:30 < rogermason> -Llib -lCore -lCint -lMathCore -lRint -lm -ldl -pthread -rdy\
13:30 < rogermason> namic
13:30 < rogermason> lib/libMathCore.so: undefined reference to `TMath::ROOT::GenerateInitInstance()'
13:32 -!- Baldzius [~aldas@87-198-133-94.ptr.magnet.ie] has joined #t2
13:32 < Baldzius> moin
13:35 <@rxr> hi Baldzius
13:35 [Users #t2]
13:35 [@ChanServ] [ CIA-33 ] [ mtr ] [ T-One ] [ zod]
13:35 [@rxr ] [ koan ] [ rogermason] [ TobiX ]
13:35 [ Baldzius] [ mjungwirth] [ Stealth ] [ Toonami]
13:35 -!- Irssi: #t2: Total of 13 nicks [2 ops, 0 halfops, 0 voices, 11 normal]
13:38 < Baldzius> hey rxr
13:58 < CIA-33> rene * r36995 /trunk/package/x11/hicolor-icon-theme/parse-config: * added hicolor-icon-theme dependency filter
14:02 < CIA-33> rene * r36996 /trunk/package/ (6 files in 6 dirs):
14:02 < CIA-33> * removed all read flist filter EOL terminatior ($), as I
14:02 < CIA-33> noticed this is already appended globally
14:04 < CIA-33> rene * r36997 /trunk/package/gnome2/desktop-file-utils/desktop-file-utils.desc: * build desktop-file-utils with the gnome2 prefix as all other gnome2 packages, too
14:06 < CIA-33> rene * r36998 /trunk/package/gnome2/desktop-file-utils/ (parse-config update-desktop-database.postinstall):
14:06 < CIA-33> * filter out the update-desktop-database read files, globally
14:06 < CIA-33> * added postinstall script to run it
14:47 < CIA-33> rene * r36999 /trunk/package/gnome2/gobject-introspection/gobject-introspection.desc:
14:47 < CIA-33> * changed gobject-introspection build priority (127.300 -> 126.500),
14:47 < CIA-33> to build it before the gstreamer packages, now depending on it
15:46 -!- dgroves [~dg@host86-174-2-186.range86-174.btcentralplus.com] has joined #t2
15:47 -!- dgroves [~dg@host86-174-2-186.range86-174.btcentralplus.com] has left #t2 ["Leaving."]
16:27 <@rxr> some packages are really doing worst case stuff, like zope installing another python flavour :-((((
16:36 -!- CIA-33 [~CIA@208.69.182.149] has quit [Ping timeout: 252 seconds]
17:03 -!- CIA-30 [~CIA@208.69.182.149] has joined #t2
17:26 -!- T-One [~T-One@194.183.141.238] has quit [Quit: Verlassend]
17:38 -!- CIA-30 [~CIA@208.69.182.149] has quit [Ping timeout: 246 seconds]
18:21 -!- CIA-32 [~CIA@208.69.182.149] has joined #t2
18:44 < CIA-32> rene * r37007 /trunk/package/base/sysstat/sysstat.desc: * updated sysstat (9.1.2 -> 9.1.4)
18:59 < CIA-32> aldas * r37008 /branches/8.0/package/x11/hicolor-icon-theme/parse-config:
18:59 < CIA-32> * merged r36995 from trunk to branches/8.0:
18:59 < CIA-32> added hicolor-icon-theme dependency filter
19:01 < CIA-32> aldas * r37009 /branches/8.0/package/gnome2/desktop-file-utils/ (3 files):
19:01 < CIA-32> * merged r36997 and r36998 from trunk to branches/8.0:
19:01 < CIA-32> build desktop-file-utils with the gnome2 prefix as all other gnome2 packages, too
19:01 < CIA-32> filter out the update-desktop-database read files, globally * added postinstall script to run it
19:07 -!- mjungwirth2 [~mjungwirt@213.174.252.112] has joined #t2
19:11 -!- ian_wiz [~ian@c-98-236-69-69.hsd1.pa.comcast.net] has joined #t2
19:29 < CIA-32> aldas * r37010 /branches/8.0/package/ (1035 files in 1027 dirs): (log message trimmed)
19:29 < CIA-32> * merged r36926, r36937, r36968, r37000, r37002, r37003, r37004 and r37005 from trunk to branches/6.0:
19:29 < CIA-32> some more regenerated .cache files
19:29 < CIA-32> moved develop/libv4l -> multimedia/
19:29 < CIA-32> added pygoocanvas (0.14.1) - Python binding goocanvas a cairo-based canvas widget for GTK+
19:29 < CIA-32> updated yet more .cache files from the latest reference build, this time for a start those .cache files removing 3 times or more depes than they add
19:29 < CIA-32> yet more .cache files that are rather better than worse
19:34 <@rxr> guess i got a .cache fan here :-) Baldzius
19:35 < Baldzius> pain in the ass :)
19:35 <@rxr> to merge I guess?
19:36 < Baldzius> yep
19:37 <@rxr> sorry
19:37 <@rxr> I split the commit up to help, I hope it does, and also to keep the changes at a size I could at least scroll over
19:38 <@rxr> I think I'll add some glue to the Commit script to automatically add .cache files on package commits if it find useful ones in the build/...
19:38 < Baldzius> not so bad
19:39 < Baldzius> there were couple changes for packages in between
19:39 < Baldzius> like libv4l moved to multimedia
19:39 <@rxr> with coloring and warning if the changes look too noisy
19:39 < Baldzius> and some new package
19:39 <@rxr> yeah, ...
19:43 < Baldzius> still struggling with net-tools on bubuntu
19:43 <@rxr> http://www.t2-project.org/packages/vlan.html
19:43 < Baldzius> strangely I get config.h lost
19:43 < Baldzius> when compile starts up
19:43 <@rxr> where, when?
19:43 <@rxr> just with this net-tools thing or with other stuff, too ?
19:44 < Baldzius> net-tools only
19:44 < Baldzius> on t2 host all is fine
20:05 < Baldzius> config.h: config.in Makefile
20:05 < Baldzius> @echo "Configuring the Linux net-tools (NET-3 Base Utilities)..." ; echo
20:05 < Baldzius> @if [ config.status -nt config.in ]; \
20:05 < Baldzius> then ./configure.sh config.status; \
20:05 < Baldzius> else ./configure.sh config.in; \
20:05 < Baldzius> fi
20:05 < Baldzius> this is a problem
20:08 <@rxr> the newer then ?
20:10 < Baldzius> this makes no sense, why it crashes only on ubuntu
20:10 <@rxr> maybe copy defaults to other things?
20:11 <@rxr> maybe touching the file in the t2 .conf helps ?
20:16 < Baldzius> this chunk of code doesn't seem to run on t2
20:16 < Baldzius> at all
20:16 < Baldzius> t2 host I mean
20:18 < Baldzius> == 07/29/10 19:18:05 =[1]=> Finished building package net-tools.
20:18 < Baldzius> what a heck
20:18 <@rxr> a touch ?
20:19 < Baldzius> no, removed config.h section from Makefile
20:19 < Baldzius> ./configure.sh really doesn't get called on t2 host at all
20:19 < Baldzius> I compared build logs files
20:20 < Baldzius> ===[build_this_package:948 (last $?=0)> make CC=x86_64-t2-linux-gnu-gcc CPP=x86_64-t2-linux-gnu-cpp CXX=x86_64-t2-linux-gnu-g++ prefix=/usr docdir=/usr/doc/n
20:20 < Baldzius> et-tools CC_FOR_BUILD=cc BUILDCC=cc BUILD_CC=cc HOSTCC=cc HOST_CC=cc STRIP=x86_64-t2-linux-gnu-strip AR=x86_64-t2-linux-gnu-ar LD=x86_64-t2-linux-gnu-ld AS=x
20:20 < Baldzius> 86_64-t2-linux-gnu-as RANLIB=x86_64-t2-linux-gnu-ranlib NM=x86_64-t2-linux-gnu-nm LD=x86_64-t2-linux-gnu-gcc COPTS=
20:20 < Baldzius> make[1]: Entering directory `/t2/8.0/src.net-tools.default.20100729.171637.4860.aldasvm/net-tools-1.60/man'
20:20 < Baldzius> make[1]: Nothing to be done for `all'.
20:20 < Baldzius> same on ubuntu now
20:21 < Baldzius> ===[build_this_package:948 (last $?=0)> make CC=i686-t2-linux-gnu-gcc CPP=i686-t2-linux-gnu-cpp CXX=i686-t2-linux-gnu-g++ prefix=/usr docdir=/usr/doc/net-tools CC_FOR_BUILD=cc BUILDCC=cc BUILD_CC=cc HOSTCC=cc HOST_CC=cc STRIP=i686-t2-linux-gnu-strip AR=i686-t2-linux-gnu-ar LD=i686-t2-linux-gnu-ld AS=i686-t2-linux-gnu-as RANLIB=i686-t2-linux-gnu-ranlib NM=i686-t2-linux-gnu-nm LD=i686-t2-linux-gnu-gcc COPTS=
20:21 < Baldzius> Configuring the Linux net-tools (NET-3 Base Utilities)...
20:21 < Baldzius> ^^ without patch
20:21 < Baldzius> and crashes
20:22 <@rxr> feel free to commit that patch if you like :-)
20:23 < Baldzius> still mysterious for me
20:23 < Baldzius> why it wasn't crashing before
20:23 < Baldzius> ubuntu changed something in make?
20:24 < Baldzius> as it seems it was plainly skipped
20:24 < Baldzius> before
20:24 <@rxr> isn't the .config copied? guess timing, cp, or FS / kernel timing precision
20:25 < Baldzius> config is copied
20:25 < Baldzius> only ./configure.sh wan't never called
20:25 < Baldzius> you can try manually call it, it will crash
20:25 < Baldzius> not really crash but will wait for input
20:41 -!- Baldzius [~aldas@87-198-133-94.ptr.magnet.ie] has quit [Quit: Leaving]
20:52 < ian_wiz> rxr, do you have a moment?
20:54 <@rxr> theoretically
20:55 < ian_wiz> good answer :)
20:56 <@rxr> what's up?
20:56 < ian_wiz> just a quick one, as I'm working on building for an embedded target.
20:56 < ian_wiz> where does t2 pull the defconfigs for the boards? is there a directory holding them, or is it just merely to attach a "name" to the build?
20:57 -!- mjungwirth2 [~mjungwirt@213.174.252.112] has quit [Quit: Nettalk6 - www.ntalk.de]
20:57 <@rxr> we do not have a "global" board config thing, yet (IIRC)
20:57 <@rxr> what I usually do (for embedded projects) is to group all board support glue in the target
20:58 <@rxr> while the linux kernel config generally can be overloaded with targe/.../linux.conf
20:58 <@rxr> target/... obviously, ...
20:58 <@rxr> but usually some esotieric board glue patchery is needed, especially for ARM linux
20:58 < ian_wiz> ok, i have kernel config handled, i will just need to examine the glue in the target.
20:58 < ian_wiz> ha. esoteric for sure.
20:59 <@rxr> does your board only need a kernel config, or do you need additional patches?
20:59 <@rxr> is it a custom board or a generic board?
21:00 < ian_wiz> custom to an extent, omapl138
21:00 < ian_wiz> hawkboard.org
21:00 <@rxr> ah, you asked some days ago? or are you a 2nd one with this board :-)?
21:01 < ian_wiz> no no, same one. ha. i'm waiting on my beagle to get here.
21:01 < ian_wiz> and also have a leopardboard which is a TI DM365 Davinci based.
21:01 <@rxr> well, if you need some kernel (and u-boot) patches you can drop them in target/.../pkg_linux26.patch
21:02 <@rxr> if you have many many patches it is nicer to store them as many files in target/.../packgae/linux26/*.patch
21:02 <@rxr> the first option is older, the 2nd option is new-style
21:02 < ian_wiz> i'm punishing myself by trying to both cross compile to arm, AND take baby steps into moving Puppy LInux to arm.
21:02 < ian_wiz> ok, that's a start, as I have all of the patches for both boards, just wasn't sure how to incorporate them.
21:02 <@rxr> of course one usually cross compiles everything for embedded stuff
21:03 <@rxr> e.g. I would not do the pain and native compile anything on such slow boards, ...
21:04 < ian_wiz> exactly. hopefully with the new 1GHz Beagle, I can start to do some native compiles. Some.
21:08 < ian_wiz> alright, thanks rxr! i will be around, i'm sure ttyl
21:08 -!- ian_wiz [~ian@c-98-236-69-69.hsd1.pa.comcast.net] has quit [Quit: Leaving]
21:15 [Users #t2]
21:15 [@ChanServ] [ CIA-32] [ mjungwirth] [ rogermason] [ TobiX ] [ zod]
21:15 [@rxr ] [ koan ] [ mtr ] [ Stealth ] [ Toonami]
21:15 -!- Irssi: #t2: Total of 11 nicks [2 ops, 0 halfops, 0 voices, 9 normal]
21:31 -!- TobiX [tobias@88.198.6.61] has quit [Ping timeout: 264 seconds]
21:34 -!- TobiX [tobias@zoidberg.org] has joined #t2
--- Log closed Fri Jul 30 00:00:49 2010