/srv/irclogs.ubuntu.com/2012/10/24/#ubuntu-motu.txt

=== [ESphynx] is now known as ESphynx
ESphynxhey guys, I have an explicit dependency to 'Depends: fonts-freefont-ttf' ... but installing the i386 package on a 64 bit system says fonts-freefont-ttf:i386 is not installable :(03:12
micahgESphynx: that's weird, it's arch all03:55
ESphynxmicahg: yes I assumed it would be!03:56
ESphynxcould it be that apt-get is being stupid?03:56
micahgESphynx: does apt-cache show fonts-freefont-ttf display it as such03:56
ESphynxlet me check. on another note VirtualBox guest additions doesn't support Quantal yet in latest version and that's depressing (no copy paste)03:57
ESphynxIt does say Architecture: all03:58
ESphynxi didn't doubt that... it's just that installing an i386 package that depends on an :all package seems to expect it to be :i386 and doesn't recognize an all package as satisfying03:58
ESphynx(And there's no way to force an install regardless of a dependency check failing? :()03:59
micahghrm03:59
micahgDepends: fonts-freefont-ttf:any might help (but it really shouldn't be needed)04:00
RAOFmicahg: But you can't do that, right?04:00
ESphynxhad problems with :any before I think :P04:01
micahgin the archive, no04:01
RAOFYou can't depend on specific-arch versions; dpkg doesn't have the syntax.04:01
ESphynxI'd rather apt-get be fixed :P04:01
micahgESphynx: https://wiki.ubuntu.com/MultiarchSpec#Dependencies_involving_Architecture:_all_packages04:01
micahgright, so the font needs to be multiarch: allowed :-/04:02
ESphynxmicahg: So the problem is that fonts package should have Multi-Arch: foreign or Multi-Arch: allowed. added?04:02
ESphynxfix it fix it fix it :P plz04:03
ESphynxcan't install ecere on Quantal 64 =(04:03
micahgESphynx: why are you depending on a font?04:04
ESphynxmicahg: yeah Ecere will either look very bad or not show any test at all04:04
ESphynxany text*04:04
ESphynxand I was trying to avoid that.04:04
micahgESphynx: it doesn't use the system fonts?04:05
ESphynxit uses fontconfig to try to match fonts04:05
ESphynxbut it's its own GUI toolkit so it's rather low level...04:05
ESphynxliberation-sans I think is the one that works nicely04:05
micahgan IDE depending on a particular font certainly feels wrong04:06
ESphynx:P it doesn't depend on a particular font...04:06
micahgDepends: fonts-freefont-ttf04:06
ESphynxbut somehow in earlier versions (Of Ubuntu as well I think), fontconfig would bail and return no font at all...04:06
ESphynxfreefont is a font collection :P04:06
ESphynxthey're installed by default though :P04:07
micahgright04:07
micahgwell, even depending on a font collection seems wrong04:07
micahg(and the collection in installed by default)04:08
micahgwell, at least in Ubuntu04:08
ESphynxyes it is...04:08
ESphynxin Ubuntu04:08
ESphynxbut not in sid I think04:08
micahgESphynx: well, in theory dropping it to a recommends would fix the issue on Ubuntu04:12
* micahg wonders how it's installable on sid04:12
micahgah, it's in experimental04:12
micahgstill doesn't explain why it's installable04:13
* micahg guesses piuparts doesn't run on experimental?04:14
ESphynxmicahg: the font? it probably isn't... but I just tested in 32bit04:15
micahgESphynx: arch04:18
micahg    i386 armel armhf powerpc all (from the PTS)04:18
micahgah, ok04:19
ESphynxhmm?04:19
ESphynxwas that ecere arch?04:19
micahgyeah04:19
micahgnevermind04:19
ESphynxsome sub packages are all...04:19
micahgthose won't be installable on amd64 either04:20
* micahg would suggest dropping the font to a recommends and make your arch: all packages Multi-Arch: allowed04:20
ESphynxthe other packages were fine04:21
ESphynxThey installed fine on 64bit before , with my PPA.04:21
ESphynx(which didn't have the font thing)04:21
ESphynxrecommends won't automatically install it though, will it?04:21
micahgoh, I guess they're not dependencies04:21
micahgrecommends are installed by default, but should cause an install to fail04:22
ESphynxwell they are dependencies04:22
ESphynxso I should probably make them Multi-Arch: allowed ...04:22
ESphynxthat looks stupid to me though... I mean all , is all04:22
ESphynxwhy would it not multi arch04:22
ESphynxit's usually for docs and such04:22
micahgESphynx: because of dpkg internal magic04:23
ESphynxLOL04:23
ESphynxyou put it nicely ;)04:23
ESphynxwill do04:23
micahgESphynx: also, your packages are dependencies of the sdk so they should fail in the same way the font is04:23
ESphynxyeah I see that04:23
micahg*you arch: all04:23
ESphynxbut they didn't, at least on Precise04:23
micahgweird04:24
ESphynxI installed them successfully off the PPA on Precise 6404:24
ESphynxweird indeed.04:24
ESphynxso I'll do both of your recommendations..04:24
ESphynxbut I'm a bit depressed with the state of the whole thing :| especially the lack of copy past in my VM04:24
micahgESphynx: 64 bit quantal: http://paste.ubuntu.com/1301805/04:24
ESphynxmicahg: ah I guess that's the same thing?04:25
ESphynxi got that too.. and then I tried to install ecere-dev:i386 manually04:25
ESphynxand I got that font thing04:25
micahgESphynx: I'd also suggest dropping the samples and extras to recommends or suggests since I'm assuming the IDE works fine without them04:25
ESphynxyes it does04:25
* micahg has the font since it's pulled in by xubuntu-desktop04:25
ESphynxbut then they make up the sdk04:25
ESphynxone could just install ecere-dev =)04:26
micahgah, ok04:26
ESphynxor libecere0 to run an Ecere app (which is the dependency for an Ecere ap)04:26
micahgESphynx: wait, if it's a04:27
micahgoops04:27
ESphynxif it's a ... ?04:29
micahgI meant not to send that line :)04:29
ESphynxah =)04:29
ESphynxah well at least I'm not the only one pulling it in :P04:30
micahgESphynx: you might want to also check the length of your descriptions, they seem to wrap at around 55 chars04:30
ESphynxI have it too installed, but it's just apt-get playing dumb04:30
ESphynx55 chars?04:30
micahg(that fix wouldn't be good for an SRU, but would be good for raring)04:30
micahgit's not as wide as a normal terminal (80 characters)04:31
ESphynxA description fix you mean?04:31
micahgyeha04:31
ESphynxI was all confused with the description length thing04:31
ESphynxand the space or 2 spaces before...04:31
ESphynxhttps://github.com/ecere/sdk/blob/ppa/debian/debian/control04:31
ESphynxthat's my control file04:31
ESphynxI auto wrapped them I think.04:31
micahgESphynx: you might want to run wrap-and-sort on it04:31
ESphynxk04:31
ESphynxIf I can get copy/paste in Quantal, I'd like to do a new package and upload it to debian/unstable instead of experimental04:32
ESphynxthat can get pulled in for a SRU ? i've some bug fixes in there...04:32
ESphynxalso hoping to get the build further on ARM and PPC04:33
micahgwell, SRU rules are pretty strict, but if the bug fixes are auditable, it might be ok04:33
ESphynxHow strict are they?04:33
micahgESphynx: https://wiki.ubuntu.com/StableReleaseUpdates#When04:34
ESphynx"Bugs which do not fit under above categories, but (1) have an obviously safe patch and (2) affect an application rather than critical infrastructure packages (like X.org or the kernel)." and potentially FTBFS for ARM/PPC =)04:34
ESphynxgood to know the process =) thanks.04:35
ESphynxalso this 64 bit thing is likely the most important reason for a SRU...04:36
ESphynxit's currently unusable :| major downer04:36
micahgyeah, the control file changes (except for the description) should be fine04:37
ESphynxK so I shouldn't change the description then?04:37
micahgnot for the SRU04:37
micahgwell, unless some SRU person thinks that's fine04:38
micahg(since you're not changing any strings)04:38
ESphynxI can still upload to debian/unstable first though?04:38
ESphynxand file the SRU request as a sync from debian?04:38
micahgESphynx: well, if it's just for the control file change, I'd just prepare a debdiff for quantal and focus on the new version in unstable04:39
ESphynxno it's for a new minor release with bug fixes04:39
micahgwell, either way, it's not a straight sync from unstable -> quantal, it would be a sync to raring and at best a backport in -proposed from raring04:40
micahgthat's if the minor release meets the SRU criteria04:41
ESphynxe.g. https://github.com/ecere/sdk/commit/a0f37656a3f8d216bc42a3a3bcebeb1ac21bcab004:41
ESphynxk04:41
* micahg is not an SRU member04:42
ESphynxhehe yeah, thanks for the help anyways ;)04:42
ESphynxI have to get it in unstable first and then raring first :P04:42
RAOFNote that we're more lenient for SRUs to Universe packages.04:43
ESphynxah... so RAOF is an SRU member =) good to know :P04:43
RAOFAlso, it looks like whoever wrote that code needs to be hit with a cluebat.04:44
ESphynxwhen it's not universe it's...? :P04:44
* ESphynx wrote it04:44
ESphynx:P04:44
RAOFOne does not simply write() structures to disc ☺04:44
* ESphynx dodges04:44
ESphynxback in the days when computers performed well you did :P04:45
RAOFBecause, as you've found, even when on exactly the same architecture, C does not guarantee the memory layout of your structure.04:45
RAOFESphynx: No, back in the days when I was programming on *win32* one did :)04:45
ESphynxRAOF the whole sturct is __attribute__((packed)) though04:46
ESphynxI still don't understand why GCC 4.7 gave me a hard time with that one.. but it sure did04:46
ESphynx(that and a bunch of other things)04:47
StevenKESphynx: So, you run it with 32 bit and it writes out a struct. Then you re-install with 64 bit and read in that struct. And that's bad.04:47
ESphynxand the struct is Swap() for big endian :P04:47
ESphynx64 bit? 32 bit/04:47
ESphynxthe size of the types are the same04:48
ESphynxnothing bad there. just a bug in GCC 4.7 disregarding my attribute(packed), which I worked around :P04:48
micahgESphynx: it's a regression over precise05:08
micahg(the arch: all handling)05:08
ESphynxmicahg: yeah looks like it05:09
ESphynxyou could say that of Quantal as well (apart from including ecere of course :P)05:09
micahgBug #107067205:14
ubottuLaunchpad bug 1070672 in apt (Ubuntu Raring) "Architecture: all packages no longer treated as implicitly Multi-Arch: foreign" [High,Triaged] https://launchpad.net/bugs/107067205:14
micahgESphynx: ^^ so you don't have to worry about an SRU (aside from your bug fixes)05:16
ESphynxah great! :) thanks a lot micahg!!05:19
micahgESphynx: thanks goes to pehjota in #multiarch on OFTC05:19
ESphynxthis is gonna get backported to Quantal soon right? :)05:20
micahgslangasek: ^^05:21
slangasekmicahg: er, architecture: all packages are *not* implicitly multi-arch: foreign05:25
ESphynxthey were in Precise?05:27
slangasekno, they were not05:27
slangaseksee follow-up to the bug05:27
ESphynxslangasek: here I have a package that specifies a dependency on an 'all' package...05:28
ESphynxand it fails to satisfy that dependency even though the package is obviously already installed?05:28
slangasekcorrect05:28
ESphynxnow I can't install my software because of that :|05:29
ESphynxi see that as valid, very annoying bug :P05:29
slangasekwell, you're mistaken.  This is defined in the multiarch spec.05:31
slangasekthe arch: all package needs to be explicitly marked Multi-Arch: foreign if it indeed satisfies cross-dependencies.05:31
ESphynxslangasek: but when/why would an all package 'NOT' satisfy cross-dependencies?05:32
ESphynxand in that case the bug is that fonts SHOUD specify Multi-Arch: foreign... but that's an annoyance, it should be default?05:32
slangasekno, making it the default is not backwards-compatible, as defined in the spec05:32
ESphynxWhy wasn't I invited at the multiarch specs meeting :P05:33
ESphynxI would have said to copy MS... they got it right before anyone had X64 CPUs!!!05:34
ESphynxit has always been a breeze to run 32 bit software on a 64bit Windows05:34
RAOFMainly because you're expected to bundle all your dependencies on Windows :)05:35
ESphynxRAOF : is that the reason? I always wondered.05:36
ESphynxSo anyways, I guess we're back to I have to switch to a recommends:05:36
slangasekit's legitimate to ask for the dependent package in question to be marked M-A: foreign05:39
ESphynxslangasek: package in question is font-freefont-ttf =)05:40
ESphynxslangasek: the question though, is why was I getting away with this in Precise?05:40
ESphynxmy packages didn't have Multi-Arch: foreign either05:41
ESphynxi.e. when you apt-get install ecere-sdk05:41
ESphynxit depends on ecere-samples which is all, and not marked as Multi-Arch, and it would install on Precise 6405:41
slangasekI know of no reason that Arch: all dependency handling would've worked any differently in precise05:42
dholbachgood morning06:55
=== almaisan-away is now known as al-maisan
cjwatsonESphynx: The canonical example of why Architecture: all must not be considered to imply Multi-Arch: foreign is that of Python extensions.08:46
cjwatson(As, I think, is mentioned in the spec.)08:46
cjwatsonOr possibly that's a slightly different case.  Haven't quite had enough coffee yet.08:48
Laneyfirst use of sponsor-patch fails09:28
Laneybdrung: it looks like it doesn't consider the target of the upload in the changelog diff when downloading the source package?09:28
bdrungLaney: good question. it downloads the source from the series of the bug report.10:20
=== al-maisan is now known as almaisan-away
obounaimHello everybody.11:18
obounaimWhen I use pbuilder to create minimal environment for Ubuntu Raring I get "Unknown distribution".11:19
maxbmost likely you need an updated debootstrap11:23
obounaimhow to do it?11:23
cjwatsonsudo ln -s gutsy /usr/share/debootstrap/scripts/raring11:24
cjwatsonfor the meantime11:24
cjwatsonwe'll get a backport together at some point11:24
obounaimWould you please explain to me in more details why do I need to do this?11:31
cjwatsonBecause debootstrap needs to know about the specific distribution it's bootstrapping, and we didn't even know the name of raring until too late to include that in 12.10's debootstrap package.11:32
obounaimOk but as I can see most of Ubuntu versions  are links to the gusty file, why?11:44
maxbBecause the same logic works11:44
StevenKobounaim: Those scripts tell debootstrap how the Ubuntu release needs to be constructed, which hasn't changed since Gutsy.11:44
cjwatsonIndeed.  It used to be different, and it still might differ again in the future.11:47
obounaimOk thank you everybody.11:47
maxbI once took a look at those old scripts. Annoyingly, most of the divergence appears to be formatting, with the occasional tiny functional change interleaved11:48
cjwatsonThere were real functional changes, but it's probably easier to look at them in git.11:48
=== almaisan-away is now known as al-maisan
dholbachhttps://wiki.ubuntu.com/UbuntuOpenWeek starting in 10 minutes in #ubuntu-classroom12:50
=== dholbach_ is now known as dholbach
Laneybdrung: culmus> please make sure it's sent upstream13:39
bdrungLaney: it was on my todo list to mail it13:39
Laneyok13:40
bdrungLaney: fix sent to upstream author13:49
Laneymerci13:50
Laneyworth noting in the bug13:50
bdrungdone13:52
=== dpm__ is now known as dpm
micahgslangasek: sorry about that, ISTR something about not wanting to update all arch: all packages to be Multi-Arch: foreign, but the outcome of that discussion could've just been to wait until it was needed14:39
=== al-maisan is now known as almaisan-away
slangasekmicahg: effectively, yes :)14:58
=== yofel_ is now known as yofel
=== Ursinha-afk is now known as Ursinha
=== dpm is now known as dpm-afk
=== gallth is now known as tgall_foo
=== glebihan_ is now known as glebihan
=== Quintasan_ is now known as Quintasan
=== arand is now known as Guest36475
=== arand_ is now known as arand

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