/srv/irclogs.ubuntu.com/2011/11/22/#ubuntu-motu.txt

achiangis there a way to specify per-architecture maintainer scripts? i think pretty much "no" but taking a hopeful stab in the dark here00:48
cjwatsonachiang: you can do anything you like in a rules file, including generating the maintainer script dynamically00:49
cjwatsonachiang: although I would ask why00:49
broderyou could also conditionalize on dpkg-architecture within the script00:50
cjwatsonno00:50
cjwatsondpkg-architecture is only usable at build-time, being in dpkg-dev00:51
broderoh, huh. ok00:51
cjwatsonhowever, you can look at the output of 'dpkg --print-architecture' and conditionalise on *that*00:51
RAOFachiang: Mesa says hello!  If you need to have different maintainer scripts for different multiarch targets then mesa does that.00:51
broderthough i bet multiarch makes that rather complicated...00:51
cjwatsonif you have to do architecture-dependent things, I would generally suggest that approach rather than having entirely different maintainer scripts (which will be a pain to maintain)00:51
cjwatsonbroder: that depends on the use case - multiarch doesn't change 'dpkg --print-architecture', although it introduces 'dpkg --print-foreign-architectures'00:52
achiangcjwatson: hm, i asked in #ubuntu-packaging but got impatient and re-asked here. i have source package 'foo' which generates N binary packages 'foo-alice', 'foo-bob', ...00:52
achiangeach binary package has their own maintainer scripts: foo-alice.install, foo-bob.install00:52
cjwatsonthat's not a maintainer script - maintainer scripts are preinst, postinst, prerm, postrm00:52
achiangi'm discovering a need to have foo-alice install a file on armel only, but not x86 (!i386, !amd64)00:52
cjwatson.install files are dh_install configuration files00:53
StevenKThen do that in the rules file00:53
achiangi'm trying to see if there's an easier way to do this rather than create foo-alice-armel.install00:53
cjwatsonthe usual way is to have foo-alice.install.in and run sed over it00:53
broderRAOF: working on an oneiric SRU for hedgewars based on yesterday's discussion. does taking 0.9.17-1 from precise, applying http://pastebin.ubuntu.com/745496/ to it, and uploading to -proposed seem acceptable to you?00:53
RAOFIIRC you _can_ have foo-alice.install.armel00:53
StevenKOr just call install -m.... in the rules file directly00:53
cjwatsonRAOF: yeah, but you have to duplicate everything in the architecture-independent file00:54
RAOFThat is a bit annoying, yeah.00:54
achiangwell, the beauty here is that the file i want to install conflicts on x8600:54
StevenKReplaces: ?00:54
StevenKWhich is a bit of a big hammer00:54
cjwatsonman debhelper, search for 'DEBHELPER CONFIG FILES'00:55
cjwatson"In some rare cases, you may want to have different versions of these files for different architectures or OSes" ...00:55
RAOFbroder: That seems reasonable to me.00:55
cjwatsonStevenK: um00:55
cjwatsondoesn't make sense across architectures00:55
broderRAOF: excellent. up it goes, then. (the SRU for older releases is more complicated, unfortunately, due to haskell stack churn, so i may delay on those)00:56
EvilResistancebroder, no progress on that blocking bug?00:57
achiangRAOF: cjwatson: found what you guys are talking about in the debhelper man page. that solves my immediate problem, thank you. perhaps i can explain what i'm *really* doing to see if there's a better way to do it00:58
broderEvilResistance: it has been escalated to the LP devs as being important to Ubuntu, which means they should be treating it as reasonably high priority00:58
broderhaven't seen any motion on it since then, though00:58
lifelessbroder: which bug in particular ?00:58
broder(i believe that was about a week ago)00:58
EvilResistanceah00:58
broderlifeless: bug #88866500:58
ubottuLaunchpad bug 888665 in Launchpad itself "Backports can't build-depend on other backports" [Critical,Triaged] https://launchpad.net/bugs/88866500:58
lifelessah00:58
lifelessthanks00:59
broderhmm. no, it was escalated last thursday :)00:59
achiangon this project i'm working on, we have a need to provide a fake dmidecode on armel, which of course doesn't exist. the solution we've come up with is to deliver a bash script called /usr/sbin/dmidecode that simply echoes the 2 fields we need00:59
brodermy sense of time is apparently just way off whack00:59
lifelessachiang: you should compile it into upstart and hardlink that to dmidecode01:00
achianglifeless: well, we were hoping to avoid forking any more upstream packages; if we wanted to do that we could have just forked the dmidecode package and have it install our bash script on armel01:01
lifelessachiang: YHBT, HTH, HAND01:01
achiangwe already have a big ugly package full of hacks01:01
lifelessachiang: I was -totally- trolling based on systemd's approach to things.01:02
achianglifeless:  is it sad that i thought your solution was technically superior to my bash script? ;)01:02
lifelessuhm01:02
lifelessmaybe?01:02
achiangi'll just stick with what the debhelper man page says01:03
achiangthanks all01:03
broderdoes devscripts or u-d-t or similar have a "setup an schroot session with the build-deps for this package" script? it always seems like more labor than it should require04:31
helder_raptorhi alll04:34
helder_raptorwhen i type "apt-get install ****"....which script gets involved04:36
helder_raptorand where do i find it?04:36
helder_raptorwhen i type "apt-get install ****"....which script gets involved and where do i find it?04:41
micahghelder_raptor: try 'which apt-get'04:43
helder_raptorthnks04:47
helder_raptormichag: didnt get wwhat i needed05:08
helder_raptormichag: followed your way but ended up with an app05:09
helder_raptori need the script05:09
helder_raptor#apt-get05:13
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
tumbleweedbroder: I start a build and press ctrl-c when the build-deps are in place :)06:46
=== al-maisan is now known as almaisan-away
dholbachgood morning08:03
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
broderLaney: i've managed to get all of hedgewar's haskell dependencies sorted out except for Text.Show.ByteString, which is used in one file: showB = B.concat . BL.toChunks . BS.show11:56
broder(BS is Text.Show.ByteString; B is Data.ByteString.Char8)11:56
broderoh, and BL is Data.ByteString.Lazy12:02
Laneybackport haskell-bytestring-show too?12:44
broderi think i might be able to replace the functoin with showB = read . show12:47
broderand change the type declaration from (BS.Show a) => a -> B.ByteString to just (Show a) => a -> B.ByteString12:48
broder(my very rudimentary skills with monad-free haskell started to come back to me when i started to dig)12:48
broderbah. now it's failing to compile on code that's actually monadic12:53
* broder will try again tomorrow12:53
=== koolhead17 is now known as koolhead17|away
=== almaisan-away is now known as al-maisan
tumbleweedbroder: there, added existing bug report checking21:48
brodersweet21:48
tumbleweedyou promised another bug report on requestbackport, can't remember what the issue was21:49
Laneymeow21:50
* Laney wget http://people.ubuntuwire.org/~stefanor/merged.tar.gz21:50
brodertumbleweed: checking non-release pockets21:50
tumbleweedbroder: hrm, how do you want to do that. Allow oneiric-security to be specified as a source?21:51
tumbleweedLaney: did it break? :)21:52
brodertumbleweed: uh, i think i'd prefer to always pull from the newest thing in (Release, Security, Updates) but i'm not sure21:52
Laneyhave you been keeping it up to date?21:52
tumbleweedLaney: it's a day or two old, see the stamp file21:52
tumbleweedbroder: that seems sane21:53
Laneyoh21:53
brodertumbleweed: i would also phrase the bug as "please blah blah from oneiric-security"21:53
Laneythe stupid script uses the stamp file in the same cwd as itself21:53
Laneythat is annoying21:53
broderwhich will break backport-helper, but i'll deal21:53
tumbleweedLaney: I just copied what you did, but yes you'll probably want to move the stamp file)21:54
Laneys/cwd/directory/21:54
tumbleweedLaney: I'm pretty sure I saw some dups in there, btw21:54
Laneyyeah?21:54
tumbleweedcheck the december 2011 mbox :P21:54
Laneyerm21:55
* tumbleweed grumbles about developers' clocks21:55
Laneythat is amusingly wrong21:56
Laneyi wonder if he had christmas already21:56
tumbleweedI guess lpapicache isn't going to give me any alternative to walking the pockets21:58
broderyeah, that's unfortunately a snippet of code i've had to write several times21:58
tumbleweednext time you write it, put it in lpapicache21:59
tumbleweedhang on, that's me21:59
broder:)21:59
tumbleweeddamn21:59
broderi think there's probably code in backportpackage you could steal21:59
tumbleweednaah, you don't even use lpapicache22:00
broderhuh, i did. somebody must have changed it22:00
tumbleweedah, you use ubuntutools.archive22:01
tumbleweedthat was probably me who changed it22:01
tumbleweedI probably broke this use-case in the process...22:01
=== al-maisan is now known as almaisan-away
Laneythe early history looks quite different22:27
Laneyhmm22:27
tumbleweedstraw poll: should "pull-lp-source foo lucid" use Release or highest non-backport version?22:29
tumbleweedLaney: what sort of differences?22:30
Laneywell obviously the very early history isn't represented at all22:30
Laneybut then 2006-01 contains loads more stuff from the SPPHs22:30
Laneyeven excluding langpacks22:31
tumbleweedwell obviously the SPPH stuff will have katie syncs, which -changes won't22:31
Laneydid they not always show up as being Ubuntu Archive Auto Sync22:32
Laneyor whatever it is22:32
Laney?22:32
tumbleweedsyncs that weren't explicitly requested don't show up on changes, IIRC22:32
tumbleweed(but they did for a few weeks in early breezy)22:32
tumbleweedyou could see it here, (but not any more, I must have filtered it) http://people.ubuntu.com/~stefanor/upload_activity/22:33
LaneyI thought you could identify autosyncs (from SPPHs) by changed-by22:33
Laneymaybe I am misremembering22:33
Laneyalso greatest version is probably good as long as there is a way to get the release version22:33
tumbleweedLaney: thanks, I was thinking -release for that22:34
tumbleweed(because it's trivial) :P22:34
Laneywfm22:34
Laneyif documented etc22:34
tumbleweedpish, documentation :P22:34
Laneywhat happened in 2005-12?22:40
Laney-rw-r--r-- 1 laney Debian  297 Nov 21 00:41 ubuntu-changes-2005-11.mbox.out.gz22:40
ubottuError: Debian bug 297 could not be found22:40
Laney-rw-r--r-- 1 laney Debian 1.3M Nov 21 00:41 ubuntu-changes-2005-12.mbox.out.gz22:40
Laney-rw-r--r-- 1 laney Debian 119K Nov 21 00:41 ubuntu-changes-2006-01.mbox.out.gz22:40
ubottuError: Debian bug 119 could not be found22:40
tumbleweedLaney: from my previous graph, that looks like it matches our current data22:41
Laneythis is what i have in the current files22:42
Laney-rw-r--r-- 1 laney Debian  90K Oct 24 21:31 ubuntu-changes-2005-11.mbox.out.gz22:42
Laney-rw-r--r-- 1 laney Debian  87K Oct 24 21:31 ubuntu-changes-2005-12.mbox.out.gz22:42
Laney-rw-r--r-- 1 laney Debian  84K Oct 24 21:31 ubuntu-changes-2006-01.mbox.out.gz22:42
tumbleweedsomething broken in lp during that time?22:45
Laneywas that when soyuz started being used maybe?22:45
Laneycjwatson: does your memory go back this far?22:45
tumbleweedwe need an ubuntu historian22:47
Laneywhere's that thar infinity22:48
Laneyanyway, the data is probably not reliable before then22:50
* ajmitch still has mailboxes from that era22:58
Laneyheh23:00
Laneyany of them announce this new soyuz thing?23:00
ajmitchnot that I can tell from the headers23:01
ajmitchI'm just looking at dapper-changes23:02
tumbleweedthe web archives show activity, but LP SPPH doesn't23:02
tumbleweedpicked one at random23:05
tumbleweedhttps://lists.ubuntu.com/archives/dapper-changes/2005-November/000497.html is placed on 21 Dec by SPPH23:05
tumbleweedhttps://lists.ubuntu.com/archives/dapper-changes/2005-November/000545.html doesn't show up at all23:06
micahgtumbleweed: is that when it was superseded?23:06
micahgnope, theory out the window :)23:07
tumbleweedhttps://lists.ubuntu.com/archives/dapper-changes/2005-November/000580.html also 21st Dec23:08
* tumbleweed looks at ubuntu devel for that month23:08
tumbleweedFirefox 1.5 out :P23:09
micahg\o/23:09
micahgif you look at it from the perspective of 1.5 to 8 in 6 years, it looks pretty normal :)23:11
tumbleweednaww, nothing I can see23:12
Laneyerrrrm23:22
Laneyi only just got the joke behind the name "malone"23:22
Laney:-)23:22
tumbleweedwhich is?23:25
Laneybugsy malone23:25
tumbleweedoh, duh :)23:25
Laneytumbleweed: https://lists.ubuntu.com/archives/ubuntu-devel-announce/2006-February/000072.html23:29
Laneythanks to wgrant23:29
Laneyhttps://lists.ubuntu.com/archives/ubuntu-devel/2006-February/014998.html23:31
Laneythis is amusing too23:31
tumbleweedyeah, I was about to comment on "The procedure for uploads, syncs, removal and backport requests is also unchanged (for now)."23:32
ajmitchsyncs via LP were just around the corner back then23:35
Laneythere were roadworks on the corner unfortunately23:35
tumbleweedbroder: there, made lpapicache smarter and removed your code for doing this from backportpackage.23:37

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