IRC log

gentoo_sunrise_tommy_jbergstroem.txt

Original download: gentoo_sunrise_tommy_jbergstroem.txt



23-10-2009 06:46:03 < scarabeus!n=scarab@gentoo/developer/scarabeus: can be different or just do || die
23-10-2009 06:46:12 < scarabeus!n=scarab@gentoo/developer/scarabeus: if you are seriously lazy :D
23-10-2009 06:46:20 < scarabeus!n=scarab@gentoo/developer/scarabeus: ArneBab: migth be nice
23-10-2009 06:46:22 < scarabeus!n=scarab@gentoo/developer/scarabeus: :]
23-10-2009 06:48:03 < ArneBab!n=quassel@91.89.37.123: ok,  linux-info_pkg_setup is in pkg_setup just before kernel detection
23-10-2009 06:48:20 < ArneBab!n=quassel@91.89.37.123: http://dpaste.com/111013/
23-10-2009 06:48:31 < ArneBab!n=quassel@91.89.37.123: (pastebin abuse... :)
23-10-2009 06:49:26 -!- mrpouet!n=mrpouet@gentoo/developer/mrpouet has joined #gentoo-sunrise
23-10-2009 06:49:26 -!- mode/#gentoo-sunrise [+o mrpouet] by ChanServ!ChanServ@services.
23-10-2009 06:58:09 < ArneBab!n=quassel@91.89.37.123: scarabeus: is this version ok?
23-10-2009 06:59:32 < scarabeus!n=scarab@gentoo/developer/scarabeus: linux-info add as last item
23-10-2009 06:59:35 < scarabeus!n=scarab@gentoo/developer/scarabeus: iirc
23-10-2009 06:59:40 < scarabeus!n=scarab@gentoo/developer/scarabeus: in that function
23-10-2009 07:00:32 < ArneBab!n=quassel@91.89.37.123: last item in pkg_setup? 
23-10-2009 07:03:23 < ArneBab!n=quassel@91.89.37.123: I put it as first, because I thought it might provide the kernel_is
23-10-2009 07:04:52 < ArneBab!n=quassel@91.89.37.123: I just checked it - you're right. 
23-10-2009 07:05:13 < ArneBab!n=quassel@91.89.37.123: scarabeus: http://dpaste.com/111019/
23-10-2009 07:07:45 < scarabeus!n=scarab@gentoo/developer/scarabeus: ok feel free to commit it :]
23-10-2009 07:08:59 < dm-madman!n=rrs@cpe-76-189-228-141.neo.res.rr.com: if you don't define src_compile, it uses a default one, so how would I tell it to do nothing for src_compile?
23-10-2009 07:09:47 < scarabeus!n=scarab@gentoo/developer/scarabeus: dm-madman: src_compile() { : }
23-10-2009 07:10:09 < scarabeus!n=scarab@gentoo/developer/scarabeus: ArneBab: btw dm-madman brought me to an idea, remove the complete src_compile phase
23-10-2009 07:10:12 < scarabeus!n=scarab@gentoo/developer/scarabeus: it should still work
23-10-2009 07:11:01 < ArneBab!n=quassel@91.89.37.123: ok - checking it right now
23-10-2009 07:18:01 < dm-madman!n=rrs@cpe-76-189-228-141.neo.res.rr.com: Is this method of installing something considered acceptable? http://pastebin.ca/1639751
23-10-2009 07:24:23 < Tommy[D]!i=bnc@gentoo/developer/tommy: dm-madman: What reason would be there for not doing anything in src_compile?
23-10-2009 07:24:58 < dm-madman!n=rrs@cpe-76-189-228-141.neo.res.rr.com: Tommy[D]: it doesn't need to be compiled?
23-10-2009 07:25:16 < Tommy[D]!i=bnc@gentoo/developer/tommy: ArneBab: is "kernel_is" even defined, if you call it before linux-info_pkg_setup?
23-10-2009 07:25:42 < Tommy[D]!i=bnc@gentoo/developer/tommy: dm-madman: the default src_compile checks, if there are configure/makefile, else does nothing ;)
23-10-2009 07:25:42 < dm-madman!n=rrs@cpe-76-189-228-141.neo.res.rr.com: the way they packaged this thing, there is no compiling.  It's all in python
23-10-2009 07:26:06 < dm-madman!n=rrs@cpe-76-189-228-141.neo.res.rr.com: Tommy[D]: oh, cool.  I thought it would fail if no Makefile
23-10-2009 07:26:54 < Tommy[D]!i=bnc@gentoo/developer/tommy: ArneBab: do only some people have to change that udev rule or all people?
23-10-2009 07:27:10 < dm-madman!n=rrs@cpe-76-189-228-141.neo.res.rr.com: Tommy[D]: the 'cp -r *' seemed like kind of an ugly way to install, but they provided no other kind of install instructions...
23-10-2009 07:27:13 < Tommy[D]!i=bnc@gentoo/developer/tommy: dm-madman: no, we try to use sane default functions :)
23-10-2009 07:30:01 < ArneBab!n=quassel@91.89.37.123: Tommy[D]: I'm not sure - I had to change it. 
23-10-2009 07:30:33 < ArneBab!n=quassel@91.89.37.123: without src_compile works
23-10-2009 07:31:05 < Tommy[D]!i=bnc@gentoo/developer/tommy: ArneBab: if everyone has to do the change, drop the info, do the change in the ebuild
23-10-2009 07:32:11 < ArneBab!n=quassel@91.89.37.123: users of anthing but MobilePre don't have to change it - and I'm reluctat to change the default they provide. 
23-10-2009 07:37:22 -!- pmw!n=pmw@75-175-222-152.cdrr.qwest.net has quit ["Lost terminal"]
23-10-2009 07:39:53 < ArneBab!n=quassel@91.89.37.123: so I'd keep it in as an info to teh users, that they might have to change the line. 
23-10-2009 07:40:25 < ArneBab!n=quassel@91.89.37.123: But forcing ti might break the install for others (else upstream would liekly have done it). 
23-10-2009 07:41:59 < Tommy[D]!i=bnc@gentoo/developer/tommy: ArneBab: no need for unpack or cd to die
23-10-2009 07:42:37 < ArneBab!n=quassel@91.89.37.123: changed
23-10-2009 07:44:02 < dm-madman!n=rrs@cpe-76-189-228-141.neo.res.rr.com: unpack doesn't need it?  surprised...
23-10-2009 07:48:40 < Tommy[D]!i=bnc@gentoo/developer/tommy: will be back later......
23-10-2009 07:49:22 < ArneBab!n=quassel@91.89.37.123: ok - just drop me a line then, if I can commit or not
23-10-2009 07:49:47 < ArneBab!n=quassel@91.89.37.123: current version - http://dpaste.com/111027/
23-10-2009 07:50:01 < ArneBab!n=quassel@91.89.37.123: (I need to be going...)
23-10-2009 07:50:30 < jbergstroem!n=lfe@bergstroem.nu: ArneBab: i would move epatch to src_prepare and use EAPI=2
23-10-2009 07:50:38 < jbergstroem!n=lfe@bergstroem.nu: no need for unpack/cd then
23-10-2009 07:51:52 < jbergstroem!n=lfe@bergstroem.nu: you would use epatch "${FILESDIR}/${P}"-*.patch as well
23-10-2009 07:55:30 -!- mschiff_!n=mschiff@e176102245.adsl.alicedsl.de has joined #gentoo-sunrise
23-10-2009 07:56:32 -!- mschiff!n=mschiff@e176101102.adsl.alicedsl.de has quit [Read error: 60 (Operation timed out)]
23-10-2009 07:57:25 < ArneBab!n=quassel@91.89.37.123: ok, done and works
23-10-2009 07:57:43 < ArneBab!n=quassel@91.89.37.123: http://dpaste.com/111030/
23-10-2009 07:57:45 < ArneBab!n=quassel@91.89.37.123: cu later
23-10-2009 07:57:55 < jbergstroem!n=lfe@bergstroem.nu: you can use ${PN} in the einfo lines
23-10-2009 07:59:32 < jbergstroem!n=lfe@bergstroem.nu: i would probably use le 2 6 8  instead of negating ge
23-10-2009 08:02:01 -!- noisebleed!n=quassel@gentoo/contributor/noisebleed has quit [Remote closed the connection]
23-10-2009 08:17:51 -!- noisebleed!n=quassel@lula.inescn.pt has joined #gentoo-sunrise
23-10-2009 08:26:15 -!- jlec!n=abraxxas@134.94.85.9 has quit [Client Quit]
23-10-2009 08:31:44 -!- jlec!n=abraxxas@134.94.85.9 has joined #gentoo-sunrise
23-10-2009 08:31:45 -!- thrasibule!n=quassel@user-0cdfpd7.cable.mindspring.com has joined #gentoo-sunrise
23-10-2009 08:36:09 < CIA-24!n=CIA@208.69.182.149: 03jbergstroem * r9398 10proj/sunrise/sunrise/dev-python/pymongo/ (ChangeLog Manifest pymongo-1.0.ebuild pymongo-1.1.ebuild): dev-python/pymongo: Version bump
23-10-2009 08:37:54 -!- mrpouet!n=mrpouet@gentoo/developer/mrpouet has quit ["Quitte"]
23-10-2009 08:41:56 -!- mrpouet!n=mrpouet@221.141.68-86.rev.gaoland.net has joined #gentoo-sunrise
23-10-2009 08:42:03 -!- mode/#gentoo-sunrise [+o mrpouet] by ChanServ!ChanServ@services.
23-10-2009 08:50:26 -!- weaver!n=wvr@gentoo/developer/weaver has quit [Read error: 145 (Connection timed out)]
23-10-2009 09:01:12 -!- weaver!n=wvr@gentoo/developer/weaver has joined #gentoo-sunrise
23-10-2009 09:02:49 -!- mrpouet!n=mrpouet@gentoo/developer/mrpouet has quit ["Quitte"]
23-10-2009 09:04:15 -!- mrpouet!n=mrpouet@gentoo/developer/mrpouet has joined #gentoo-sunrise
23-10-2009 09:04:15 -!- mode/#gentoo-sunrise [+o mrpouet] by ChanServ!ChanServ@services.
23-10-2009 09:05:54 -!- mren|off is now known as mren
23-10-2009 09:07:48 -!- frostwork!n=frostwor@p4FD1E1CE.dip.t-dialin.net has quit ["reboot"]
23-10-2009 09:23:18 < CIA-24!n=CIA@208.69.182.149: 03jbergstroem * r9399 10proj/sunrise/sunrise/dev-db/mongodb/ (ChangeLog Manifest mongodb-1.0.0.ebuild mongodb-1.0.1.ebuild): dev-db/mongodb: Version bump
23-10-2009 09:25:31 -!- ABCD!n=ABCD@gentoo/developer/abcd has quit [Read error: 104 (Connection reset by peer)]
23-10-2009 09:25:40 -!- natureshadow!n=Naturesh@2a01:198:456:5a62:213:77ff:fe6d:531b has joined #gentoo-sunrise
23-10-2009 09:25:41 -!- ABCD!n=ABCD@gentoo/developer/abcd has joined #gentoo-sunrise
23-10-2009 09:31:05 < ArneBab!n=quassel@91.89.37.123: jbergstroem: done - http://dpaste.com/111059/
23-10-2009 09:32:31 > ohnobinki: arnebab: does ``le'' mean ``<=''?
23-10-2009 09:33:18 < ArneBab!n=quassel@91.89.37.123: I guess - jbergstroem suggested it, and it sounds reasonable... 
23-10-2009 09:33:28 > ohnobinki: the die message would appear to be incorrect if the version is exactly 2.6.8
23-10-2009 09:34:38 < chithead!n=chithanh@gentoo/user/chithead: le = less or equal
23-10-2009 09:35:00 > ohnobinki: ``>='' = more or equal...
23-10-2009 09:35:26 < chithead!n=chithanh@gentoo/user/chithead: >= <= etc. are high level constructs
23-10-2009 09:35:50 > ohnobinki: chithead: ?
23-10-2009 09:36:14 < chithead!n=chithanh@gentoo/user/chithead: le, lt, ge, eq etc. are probably inspired by assembly language, which is what real men use
23-10-2009 09:36:16 > ohnobinki: lol, IMO, the die message should be ``kernel > 2.6.8 needed'' OR ``kernel >= 2.6.9 needed''
23-10-2009 09:36:43 > ohnobinki: actually, I think I don't even think that's an opinion
23-10-2009 09:37:33 < Tommy[D]!i=bnc@gentoo/developer/tommy: ArneBab: is "kernel_is" even defined, if you call it before linux-info_pkg_setup?
23-10-2009 09:38:18 < ArneBab!n=quassel@91.89.37.123: putting it before linux-info_pkg_setup works - the eclass looks as if it's a function
23-10-2009 09:39:24 > ohnobinki: arnebab: but the function might use data that the eclass grabs during its overridden pkg_setup
23-10-2009 09:39:48 < Tommy[D]!i=bnc@gentoo/developer/tommy: ArneBab: does it die, if you do "kernel_is ge" instead of "kernel_is le"?
23-10-2009 09:39:58 < chithead!n=chithanh@gentoo/user/chithead: "! kernel_is ge 2.6.9 || die" would correspond to "kernel >=2.6.9 needed"
23-10-2009 09:40:17 < ArneBab!n=quassel@91.89.37.123: that's why I had it after linx-info... at first
23-10-2009 09:40:20 < chithead!n=chithanh@gentoo/user/chithead: or "kernel_is 2.6.9 "
23-10-2009 09:40:42 > ohnobinki: tommy[d]: it looks like kernel_is should work before linux-info_pkg_setup is called
23-10-2009 09:40:57 < ArneBab!n=quassel@91.89.37.123: I'll see if it dies
23-10-2009 09:41:02 < ArneBab!n=quassel@91.89.37.123: with ge
23-10-2009 09:41:17 -!- jlec!n=abraxxas@134.94.85.9 has left #gentoo-sunrise []
23-10-2009 09:41:18 < Tommy[D]!i=bnc@gentoo/developer/tommy: ohnobinki: how? where is it defined?
23-10-2009 09:41:19 > ohnobinki: lol, 2.6.8 is both <= and >= 2.6.8
23-10-2009 09:41:56 > ohnobinki: tommy[d]: kernel_is calls the linux-info_get_any_version() bash function just like its pkg_setup does
23-10-2009 09:42:12 > ohnobinki: maybe I didn't look deeply enough?
23-10-2009 09:43:55 < ArneBab!n=quassel@91.89.37.123: jepp, bails out when I die when kernel ge 2 6 8
23-10-2009 09:43:59 -!- sping!n=sping@78.52.97.59 has joined #gentoo-sunrise
23-10-2009 09:44:37 < ArneBab!n=quassel@91.89.37.123: http://dpaste.com/111063/
23-10-2009 09:44:59 > ohnobinki: arnebab: thanks
23-10-2009 09:45:12 -!- jroo!i=janne@83.145.237.39 has left #gentoo-sunrise []
23-10-2009 09:45:14 < * ArneBab!n=quassel@91.89.37.123 just said he'd die when kernel ge 2 68 ??? need to be more careful with words :) 
23-10-2009 09:45:20 < Tommy[D]!i=bnc@gentoo/developer/tommy: die "Kernel > 2.6.8 needed."; <<< no need for the dot and the semicolon
23-10-2009 09:45:45 < ArneBab!n=quassel@91.89.37.123: http://dpaste.com/111066/
23-10-2009 09:46:21 < Tommy[D]!i=bnc@gentoo/developer/tommy: you didnt test this version, it wont patch
23-10-2009 09:47:38 > ohnobinki: arnebab: why are all of your einfo messages prefixed with ${PN}?
23-10-2009 09:47:51 > ohnobinki: I think that portage's einfo system will do all the labeling required for you
23-10-2009 09:47:55 < ArneBab!n=quassel@91.89.37.123: because I thought I should do that
23-10-2009 09:48:00 < ArneBab!n=quassel@91.89.37.123: argl... 
23-10-2009 09:49:11 < ArneBab!n=quassel@91.89.37.123: Tommy[D]: I thought "that change was so small..."
23-10-2009 09:49:59 < ArneBab!n=quassel@91.89.37.123: no, actually it was the change to move epatch into src_prepare
23-10-2009 09:50:03 -!- natureshadow!n=Naturesh@2a01:198:456:5a62:213:77ff:fe6d:531b has quit ["The quick brown fox jumps over the lazy dog."]
23-10-2009 09:50:09 -!- natureshadow1!n=Naturesh@2a01:198:456:5a62:21f:3cff:fe6d:264e has joined #gentoo-sunrise
23-10-2009 09:50:21 -!- natureshadow1 is now known as natureshadow
23-10-2009 09:50:25 < jbergstroem!n=lfe@bergstroem.nu: ArneBab: did you use EAPI=
23-10-2009 09:50:26 < jbergstroem!n=lfe@bergstroem.nu: 2
23-10-2009 09:50:28 > ohnobinki: arnebab: isn't src_prepare only available with EAPI?
23-10-2009 09:50:32 < ArneBab!n=quassel@91.89.37.123: not yet - I dn't know how
23-10-2009 09:50:41 < ArneBab!n=quassel@91.89.37.123: ouch!
23-10-2009 09:50:41 > ohnobinki: you tried without knowing it ;-)
23-10-2009 09:51:27 < ArneBab!n=quassel@91.89.37.123: http://dpaste.com/111067/
23-10-2009 09:51:35 < ArneBab!n=quassel@91.89.37.123: japp - happens at times
23-10-2009 09:51:49 > ohnobinki: arnebab: I think proper syntax is to put EAPI="2"
23-10-2009 09:51:57 > ohnobinki: and it has to go before the inherit line
23-10-2009 09:52:00 < jbergstroem!n=lfe@bergstroem.nu: ge/le/et al are flags passted to test
23-10-2009 09:52:36 < Tommy[D]!i=bnc@gentoo/developer/tommy: move the EAPI line above the inherit line
23-10-2009 09:52:53 < ArneBab!n=quassel@91.89.37.123: ok
23-10-2009 09:53:44 < Tommy[D]!i=bnc@gentoo/developer/tommy: ArneBab: why not simply "kernel_is le 2 6 8 || die " message"
23-10-2009 09:53:46 < ArneBab!n=quassel@91.89.37.123: is there still much to do, before I can commit and put a mental "done" after it, so I can get my mind back to studying? 
23-10-2009 09:54:09 < Tommy[D]!i=bnc@gentoo/developer/tommy: or && in this case
23-10-2009 09:54:09 < ArneBab!n=quassel@91.89.37.123: that's nicer, yes
23-10-2009 09:54:25 < Tommy[D]!i=bnc@gentoo/developer/tommy: shouldnt be much left
23-10-2009 09:54:39 < ArneBab!n=quassel@91.89.37.123: ok
23-10-2009 09:55:06 < ArneBab!n=quassel@91.89.37.123: http://dpaste.com/111068/
23-10-2009 09:55:30 > ohnobinki: jbergstroem: wait, ${PN} in einfo is a good thing?
23-10-2009 09:55:46 < jbergstroem!n=lfe@bergstroem.nu: ohnobinki: why is it bad?
23-10-2009 09:56:33 > ohnobinki: because portage already associates messages with the package category/name-version
23-10-2009 09:57:05 > ohnobinki: for example, when it spits out all the einfo after a long merge, all the einfo from a package is prefixed with a simple ``package name'' header
23-10-2009 09:57:21 > ohnobinki: and when you have logging enables, it gets put in a file with that package's name/version
23-10-2009 09:57:30 > ohnobinki: so it'd be duplicating information
23-10-2009 09:57:35 < Tommy[D]!i=bnc@gentoo/developer/tommy: ohnobinki: and did you have a look at the latest version?
23-10-2009 09:57:41 < jbergstroem!n=lfe@bergstroem.nu: ohnobinki: i'm just saying that instead of printing dev-db/mysql you could just as well use dev-db/${PN}
23-10-2009 09:57:42 > ohnobinki: tommy[d]: yes
23-10-2009 09:57:53 < Tommy[D]!i=bnc@gentoo/developer/tommy: ohnobinki: where is PN in einfo there?
23-10-2009 09:58:12 > ohnobinki: tommy[d]: it hasn't been for a few posts...
23-10-2009 09:59:02 < Tommy[D]!i=bnc@gentoo/developer/tommy: ArneBab: looks ok for commit
23-10-2009 09:59:09 > ohnobinki: jbergstroem: I probably read your suggestion above out of context? :-/
23-10-2009 09:59:11 < ArneBab!n=quassel@91.89.37.123: great
23-10-2009 09:59:34 < Tommy[D]!i=bnc@gentoo/developer/tommy: ohnobinki: its ok to use PN instead of the package name in einfo, just prefixing every line with PN isnt suggested
23-10-2009 09:59:54 > ohnobinki: ok
23-10-2009 10:00:15 < ArneBab!n=quassel@91.89.37.123: this will be the commit
23-10-2009 10:00:17 < ArneBab!n=quassel@91.89.37.123: sunrise-commit -d -c "New Ebuild for bug 145009 thanks to dm-madman, Tommy[D], ohnobinki, jbergstroem, hobbes78 and Carsten Lohrke"
23-10-2009 10:00:20 < Willikins!i=nobody@gentoo/bot/Willikins: ArneBab: https://bugs.gentoo.org/145009 "New package: media-sound/madfuload"; Gentoo Linux, Ebuilds; NEW; hobbes78@seznam.cz:maintainer-wanted@g.o
23-10-2009 10:01:00 < Tommy[D]!i=bnc@gentoo/developer/tommy: do you have an account?
23-10-2009 10:02:30 < ArneBab!n=quassel@91.89.37.123: jepp
23-10-2009 10:02:40 < ArneBab!n=quassel@91.89.37.123: (at least I had one half a year ago or so)
23-10-2009 10:03:45 < Tommy[D]!i=bnc@gentoo/developer/tommy: then no need to present that command, i will see the result anyway :)
23-10-2009 10:03:50 < ArneBab!n=quassel@91.89.37.123: :)
Nathan Phillip Brink <ohnobinki at oh no publishing dot net> a.k.a. binki a.k.a. apostrophe