/srv/irclogs.ubuntu.com/2011/08/21/#ubuntu-devel.txt

=== akgraner` is now known as akgraner
=== tilgovi_ is now known as tilgovi
=== asac_ is now known as asac
=== wgrant_ is now known as wgrant
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== htorque_ is now known as htorque
micahgslangasek: BTW, aptitude seems to fail miserably at multiarch deps06:21
slangasekmicahg: oh?06:22
micahgyeah06:22
micahgoh, maybe not, I'm confused now...well, I have the old e-d-s-common installed06:24
micahgbefore I installed all the i386 libs for flashplugin, it used to be able to resolve the dependencies, now it wants to remove a lot of stuff06:25
slangasekhmm06:27
slangasekhow are you invoking aptitude? interactively, or commandline?06:27
micahginteractive06:28
slangasekwell, I certainly get a lot of error output whenever I try to change the state of a package06:44
StevenKslangasek: http://wedontsleep.org/~steven/libao_1.1.0-2.debdiff06:57
slangasekStevenK: LGTM; mark libao4 Multi-Arch: same, and send it to Debian?06:59
StevenKslangasek: But what about the -dev changes?06:59
slangasekwhat about them?06:59
StevenKI had to move where the .a files are and so on, is that a problem?07:00
StevenKI'm also a little concern about the plugins07:00
slangaseknope; already allowed for by policy, and the standard way to go about it - it does mean that it may break reverse-build-depends, though, so you shouldn't upload to oneiric without an FFe07:00
slangasekwhat worries you about the plugins?07:01
StevenKslangasek: That the path changed07:01
slangasekwell, I was assuming you had tested that the library still finds its plugins ;)07:01
StevenKslangasek: I haven't yet, I wanted to check that you thought the diff was sensible first07:02
slangasekyep07:02
StevenKslangasek: Only libao4 gets Multi-Arch: , nothing else does?07:03
slangasekwell, libao-common should be made Multi-Arch: foreign (and probably also Architecture: all)07:04
slangaseklibao-dbg can probably be marked M-A: same07:04
StevenKYes, it's strange that -common isn't.07:05
slangasekand libao-dev, it depends on whether there are architecture-dependent headers in there07:05
StevenKIt contains a conffile and a manual page only for pitys sake07:05
slangaseklooks like the headers are arch-neutral, so you can mark libao-dev M-A: same as well07:06
slangasekthat will make cross-building nicer :)07:06
slangasekbtw, as long as you're in here you might as well drop the .la files from the package07:07
slangaseknothing in the archive uses them, and if something did, that something would be broken by them moving directory07:07
StevenKEven though it installs usr/include/ao/ao.h and so on?07:07
slangasekyep - as long as the files are the same across all archs, they get refcounted07:07
StevenKAhh, but dpkg won't complain like it usually does when two packages contains the same file07:08
slangasekright, multiarch handles file overlapping differently07:11
slangaseksince /usr/share/doc/*/changelog.Debian.gz exists in every package, for example07:11
StevenKslangasek: Good to know :-)07:12
StevenKNow, how to test plugin loading ...07:12
=== Rincewind is now known as WizRincewind
=== Quintasan_ is now known as Quintasan
=== tkamppeter_ is now known as tkamppeter
irgendwer4711hi, I have another problem with Bug #19350710:48
ubottuLaunchpad bug 193507 in linux (Ubuntu) "compile fails without BLK_DEV_INITRD" [Medium,Fix released] https://launchpad.net/bugs/19350710:48
irgendwer4711I got this error with  BLK_DEV_INITRD enabled10:49
salvatorehello everybody10:52
salvatoreanybody can help me10:52
salvatorewith lamp configuration?10:52
irgendwer4711no developer active here now10:52
irgendwer4711I am waiting too10:52
Hobbseesupport is in #ubuntu10:52
salvatoreok thank u!10:53
irgendwer4711for kernel problems too?10:53
salvatoreno10:53
irgendwer4711okay10:53
irgendwer4711then can you help me10:53
salvatorei am tryng to install10:53
salvatoremysql on dropbox10:53
salvatorebut i got a problem with phpmyadmin10:54
* Hobbsee has no idea on that kernel issue10:54
irgendwer4711damn...10:54
salvatoreno sorry10:54
irgendwer4711any kernel professional here?11:20
penguin42irgendwer4711: There is a #ubuntu-kernel I think specifically for kernel issues - but always ask the question rather than asking if anyone is here!11:23
irgendwer4711I asked already ;-)11:24
irgendwer4711I have another problem with Bug #193507 ; this problem occures with BLK_DEV_INITRD enabled too11:24
ubottuLaunchpad bug 193507 in linux (Ubuntu) "compile fails without BLK_DEV_INITRD" [Medium,Fix released] https://launchpad.net/bugs/19350711:24
penguin42hmm ancient bug11:25
irgendwer4711I am using LTS ubuntu11:26
penguin42irgendwer4711: Lucid or Hardy ?11:26
irgendwer4711hardy11:26
penguin42irgendwer4711: OK, so you're rebuilding your kernel just without BLK_DEV_INITRD and you get the same error?11:27
irgendwer4711no with BLK_DEV_INITRD11:27
penguin42ok, so what are you changing and what exactly is the error?11:28
irgendwer4711(.init.text+0x82e): undefined reference to `early_populate_rootfs'11:28
penguin42and which version source are you using exactly?11:29
irgendwer47112.6.24.6 I think11:29
penguin42can you check ? That fix in that bug went in 2.6.25-10.1611:30
irgendwer4711wich file11:31
irgendwer4711dpkg says "2.6.24.29.31"11:31
penguin42irgendwer4711: sounds promising11:32
irgendwer4711ok11:32
penguin42can you pastebin your config?11:32
irgendwer4711I try a diff to last working conf11:33
penguin42yeh11:33
irgendwer4711hm how to print only diffrent with diff ^^11:36
penguin42diff oldfile newfile11:37
irgendwer4711I mean with wide format11:37
penguin42I think that's sdiff - but can't remember how to get it to just show changes11:38
irgendwer4711done11:38
irgendwer4711http://pastebin.com/2KYn6DR311:39
irgendwer4711I tried to activate some energy savings options und disabled unused drivers11:40
penguin42irgendwer4711: Without having a dig in the source I'd suggest putting the CONFIG_ACPI_CUSTOM_DSDT_INITRD back the way it was?11:41
irgendwer4711but I dont have a dsdt patch file11:41
* penguin42 doesn't know much about DSDT11:42
irgendwer4711there is a file in initrd that patches the acpi tables11:42
irgendwer4711but not for mine acpi11:43
irgendwer4711but I can enable this an try11:43
penguin42irgendwer4711: Yeh looking at the Ubuntu diff the early_populate_rootfs is ifdef'd on CONFIG_ACPI_CUSTOM_DSDT_INITRD but the ifdef in init/main.c is ifdef'd on CONFIG_BLK_DEV_INITRD11:47
penguin42irgendwer4711: If you've not got the custom dsdt initrd just comment out the call in init/main.c somewhere around line 65011:48
irgendwer4711I do a new kernel make now11:48
irgendwer4711a missing dsdt patch file is not a problem, just a short message in dmesg11:49
penguin42irgendwer4711: But yeh it does look like it's using the wrong ifdef - I don't know the history of the older version where bug 193507 was fixed whether the ifdef changed from there11:49
ubottuLaunchpad bug 193507 in linux (Ubuntu) "compile fails without BLK_DEV_INITRD" [Medium,Fix released] https://launchpad.net/bugs/19350711:49
irgendwer4711wait to end of kernel make11:51
irgendwer4711okay its donw11:56
irgendwer4711no error now11:56
penguin42good11:56
irgendwer4711thank you11:56
irgendwer4711bye11:56
penguin42bah, I was going to tell him to open a new bug11:57
=== abhinav_ is now known as abhinav-
natschilHello. To prevent all packages from modifying /etc/example, do I do "dpkg-divert /etc/example --rename /dev/null" or is there some more elegant way?13:00
natschilAlternatively, how can I prevent any package from writing to /etc/example13:21
sgnbnatschil: create a dummy package with a random name containing this file?13:28
natschilwhat about dpkg-divert --divert /etc/example --rename /tmp/some_random_file_name ?13:29
cjwatsonnatschil: 'chattr +i /etc/example' would cause any attempt to write to that file to file14:23
cjwatsoner, to fail14:23
cjwatsonpersonally I would be hesitant about trying to use dpkg-divert for that because at least historically it has had odd interactions with dpkg conffiles and it doesn't do anything useful for maintainer-script-managed configuration files14:24
cjwatsonScottK: I may be able to help with k3b in the not too distant future, if somebody else can test the result; I'll queue it up14:31
natschilcjwatson: let's say im installing something that wants to change /etc/example. Will that still fail?15:07
cjwatsonnatschil: I'm not sure how to respond except by repeating what I said above15:10
natschilcjwatson: ok thanks. I think I will use dpkg-divert instead and hope for the best :/15:11
cjwatsonwell, I can repeat the fact that I do not recommend that15:11
cjwatsonchattr +i will cause *any* attempt to write to that file to fail15:11
cjwatsondpkg-divert will arrange for a very limited subset of writes to be redirected elsewhere, which doesn't cover all the things packages do with files in /etc, and which I suspect will have crazy problems even if it does sometimes work15:12
cjwatsonthe only advantage of dpkg-divert here is that it would arrange for the package to install successfully anyway15:12
cjwatson(maybe)15:13
ScottKcjwatson: I should be able to test it.15:17
ScottKHelp would be much appreciated.15:17
cjwatsonmost of them aren't too hard once you get the patterns.  xvidcap is stubbornly segfaulting right now ...15:19
directhexLaney found the mono commit which breaks on some (not all) i386 buildds15:27
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
SpamapSlamont: [ -x /usr/bin/dh_apport ] maybe ?17:04
SpamapSlamont: for the build-dep we can do an | to make it optional, right?17:05
=== phantomcircuit is now known as C4SHM0N3Y
brodercjwatson: for what it's worth, i used diversions heavily when i was at mit, and i think we whined enough that we were able to get the bugs with diversions+conffiles ironed out17:53
cjwatsonbroder: ah, that's something at least17:57
=== abhinav_ is now known as abhinav-
=== Testy is now known as JasonO
=== JasonO is now known as Guest78948
cjwatsonScottK: give http://paste.ubuntu.com/671830/ a try?18:45
cjwatson(please try not to laugh at my rusty C++)18:45
cjwatsonhmm, I wonder if my xvidcap crash is actually a libav bug20:21
cjwatsonlooks like its MAP_ANON detection fell over in 0.7 or so20:24
* cjwatson tries to construct a test that isn't "build xvidcap with this dodgy patch"20:25
=== jcastro_ is now known as jcastro
=== Quintasan_ is now known as Quintasan
=== em is now known as botten_emma
=== botten_emma is now known as boten_emma
=== boten_emma is now known as em
=== C4SHM0N3Y is now known as phantomcircuit
=== _LibertyZero is now known as LibertyZero
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== yofel_ is now known as yofel

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