/srv/irclogs.ubuntu.com/2013/03/09/#ubuntu-devel.txt

YokoZarIf a confirmed bug has a patch is ready for sponsorship posted, what should I set its status to?00:02
jtaylorYokoZar: triaged is appropriate but it often doesn't really matter,make sure to subscribe  ubuntu-sponsors00:03
jtaylorand add tag patch00:05
YokoZarjtaylor: Hmm, adding tag patch isn't on the sponsorship wiki page, should it be?00:08
YokoZarjtaylor: thanks regardless :)00:09
jtaylormaybe, I don't think it matters much00:10
jtaylorit prevents a bot from adding it and posting a comment :)00:10
=== kentb is now known as kentb-out
* xnox 's new desktop's cpu fan starts with delay, no video, no bios *sigh*00:20
cjwatsonOdyX: Hmm, I wonder why printer-driver-foo2zjs recommends foomatic-db-engine - isn't that meant to be a build tool?01:27
cjwatsonOdyX: (FWIW this has broken our image builds since foomatic-db-compressed-ppds now Conflicts: foomatic-db-engine and we're trying to install both)01:28
cjwatsontkamppeter: ^-01:28
* cjwatson files bug 1152831 for that01:38
ubottubug 1152831 in foo2zjs (Ubuntu) "printer-driver-foo2zjs Recommends: foomatic-db-engine while foomatic-db-compressed-ppds Conflicts: it" [Critical,New] https://launchpad.net/bugs/115283101:38
=== jono is now known as Guest6102
psusiso these days debian has a nice gtk debconf frontend that you can chose to have d-i use from the main install boot menu... why don't we have that?03:43
SunStaror a prettier grub like debs06:02
=== tkamppeter_ is now known as tkamppeter
tkamppetercjohnston, new foo2zjs uploaded07:56
tkamppeterOdyX, hi07:57
tkamppeterOdyX, around08:01
mlankhorstwell seems i need more ram to compile llvm-3.2 on this poor panda10:42
ogra_swap FTW10:42
mlankhorstyeah I know, I think I'll hammer the physical ppa builders though instead ;D10:43
ogra_if its only a bit, you can install zram-config10:43
mlankhorstit's oom10:43
ogra_the compression gives you about 50% extra ram10:43
mlankhorstwon't be enough :)10:43
ogra_well, the pandas in the datacenter also just add a 20G swapfile on disk ... we didnt magically solder ram on top :)10:45
mlankhorstindeed, but it saves me from killing a ssd10:48
ogra_yeah, but the datacenter buildds cant easily use ccache10:54
mlankhorstneither can I :)10:55
OdyXtkamppeter: now yes ;)11:12
tkamppeterOdyX, I have sybced foo2zjs to Ubuntu and shortly after made a new upload, dropping the Recommends: foomatic-db-engine. Due to your Breaks: foomatic-db-engine in foomatic-db-compressed-ppds printer driver packages cannot recommend foomatic-db-engine any more as otherwise Ubuntu does not install.11:18
OdyXtkamppeter: hrm, that's unfortunate indeed.11:19
OdyXtkamppeter: taking a look at the big picture, is the Breaks: foomatic-db-engine correct at all ?11:19
tkamppeterOdyX, I also had to add Conflicts:  and Replaces:  foomatic-db-engine to foomatic-db-compressed-ppds as otherwise the update to the new version of foomatic-db-compressed-ppds did not work.11:19
OdyXtkamppeter: because if that's the wrong thing, then that should be fixed.11:19
tkamppeterOdyX, I would prefer to remove the Breaks:, as foomatic-db-compressed-ppds is hard-wird into Ubuntu due to a Depends: in ubuntu-desktop and I as printer driver package maintainer have often to install foomatic-db-engine, so I like to have it present together with foomatic-db-compressed-ppds.11:22
OdyXtkamppeter: the rationale was in http://bugs.debian.org/62777011:22
ubottuDebian bug 627770 in foomatic-db-engine "foomatic-db-engine doesn't work with foomatic-db-compressed-ppds" [Normal,Fixed]11:22
OdyXtkamppeter: then foomatic-searchprinter should be fixed to either fail gracefully, or work with -compressed-ppds11:23
tkamppeterOdyX, independent of this, we should remove all "Recommends: foomatic-db-engine" in any package, as with foomatic-db-compressed-ppds foomatic-db-engine gets a developer package as gcc.11:23
bl4dehi guys11:23
tkamppeterOdyX, probably foomatic-searchpackage should give a decent error message telling that no XML database is present.11:24
bl4deI'd like to help with devel of Ubuntu...bug correction, implementing new features and so on...in particular I'd like to help with Unity11:25
OdyXtkamppeter: yeah, hence cjwatson's point as I read it: foomatic-db-engine is only needed rarely by foo2zjs, and should probably rather be demoted to Suggests11:26
bl4deI have already a launchpad account, gpg key, and pbuilder configured...and now? :)11:26
OdyXtkamppeter: if foomatic-db-engine gets fixed for foomatic-searchprinter to fail gracefully, I'd be happy to drop the Conflicts in foomatic-db-compressed-ppds11:27
bl4de...anyone can help me to help? XD :)11:29
vibhavbl4de: Did you have a look here: http://developer.ubuntu.com/packaging/html/ ?11:34
cjwatsonbl4de: Does https://wiki.ubuntu.com/ContributeToUbuntu help you at all?11:34
cjwatsonbl4de: #ubuntu-unity might be useful to you as well11:35
OdyXtkamppeter: the packages which recommends foomatic-db-engine are foo2zjs, min12xxw, foomatic-db*, foomatic-filters , education-common and task-print-server , probably too late for Wheezy for those, but I can demote all the printing-related ones in experimental and file bugs for the other ones11:35
tkamppeterOdyX, what is the benefit of having foomatic-db-engine installed when one uses foo2zjs? AFAIK printer-driver-foo2zjs has a complete set of ready-made PPD files and so it does not to generate PPDs from XML at runtime.11:36
=== bl4de_ is now known as bl4de
tkamppeterOdyX, for me this Recommends: is a remainder of old on-th-fly XML->PPD times.11:37
OdyXtkamppeter: well, I've made foo2zjs build the PPDs at build-time (using foomatic-db-engine), so no it's not needed for that. I guess we can drop that altogether.11:37
OdyXtkamppeter: are there some packages shipping only xml files ?11:37
tkamppeterOdyX, this is what I did in today's upload to Ubuntu.11:37
OdyXtkamppeter: yeah, saw that, I will add that to Debian's git repository.11:38
OdyXtkamppeter: will you release a new foomatic-db-engine with the corrected foomatic-searchprinter ?11:45
OdyXtkamppeter: ah, could you eventually comment on Debian's #702227 too ?11:50
vibhav[edit]11:52
vibhav[edit]11:52
vibhav[edit]11:52
vibhav[edit]11:52
vibhav[edit]11:52
vibhavsorry people11:52
vibhav(stdupid keyboard)11:52
vibhavstupid, even11:52
cjwatsontkamppeter: Dropping the Breaks would certainly simplify upgrades; the fewer forced removals we have the better, even if we no longer install it by default12:06
cjwatsontkamppeter: Though it's no longer urgent - thanks for the fixes12:07
=== Ursinha-afk is now known as Ursinha
tkamppeterOdyX, about Debian bug 702227, CUPS backends with 750 root.root permissions/ownerships are run as root by CUPS, these backends have to run as root as they need access to resources where only root has access (files, network resources). Opening up the permissions so that "lp" can run the backends makes the backends stop working. What alwyas works would be setting the wrapper backends 750 root.root, but this can lead to some non-root backe12:59
tkamppeternds being run as root.12:59
ubottuDebian bug 702227 in cups "Permission of the backend too strict for a backend chain (beh, jasmine)" [Minor,Open] http://bugs.debian.org/70222712:59
mitya57Hi DktrKranz, may I ask you to review ubuntu-packaging-guide 0.3.1, in Debian NEW queue?14:09
mitya57It adds new packages with russian translation14:10
leex-if the installer fails on a fresh install with: The 'grub-efi' package failed to install into /target/. Without the GRUB boot loader, the installed system will not boot. And running grub-install manually gives me this: http://pastie.org/6430135 is that an installer related problem and should I commit a detailed bug report or is this just related to my hardware (hardware changes since the last ubuntu installation: new ssd, therefore the reinstall)15:00
leexno one any idea?15:12
DktrKranzmitya57: I can't right now, if you don't mind asking me again tomorrow if I don't get it first.15:32
mitya57DktrKranz: thanks a lot, will do :)15:35
OdyXtkamppeter: can I quote your line in the bugreport or can you answer to the bugreport yourself ?15:42
jbichaxnox: I guess we're going to have to reintroduce goffice-0.8 since gnucash is GTK2 only?16:07
cjwatsonleex: full bug report, please, with the installer logs (/var/log/syslog, /var/log/partman)16:22
cjwatsonleex: not so interested in your attempt to run grub-install manually since that's not what's failing16:23
cjwatson(at least I don't think so)16:23
cjwatsonleex: but the error message suggests that you haven't partitioned correctly16:23
cjwatsonsee https://www.gnu.org/software/grub/manual/grub.html#BIOS-installation16:24
leexcjwatson: since 12.10 doesn't have an alternate installer anymore I just clicked on "next", not much to do wrong there + the harddrive is new. I will run it again and submit a bugreport with syslog + partman logs17:10
tkamppeterOdyX, please feel free to quote my line.17:12
cjwatsonleex: I'm prepared to believe it's a bug in our partitioner in some edge case, certainly17:42
leexcjwatson: I am just running the installer again. I will do nothing fancy and just click next ;) and then post the results here later and if it's not my fault I will create a bug report17:43
pranithHi, can someone help nominate the patch in bug 1081307 for SRU?17:57
ubottubug 1081307 in virtualbox (Ubuntu Quantal) "virtualbox-dkms 4.1.12-dfsg-2ubuntu0.2: virtualbox kernel module failed to build [merge request]" [High,In progress] https://launchpad.net/bugs/108130717:57
tkamppeterOdyX, still there?17:58
OdyXtkamppeter: yeah :)17:59
tkamppeterOdyX, WDYT about discontinuing beh upstream?17:59
tkamppeterOdyX, nearly no one is actually using it18:00
tkamppeterOdyX, GUI frontends do not support it18:00
tkamppeterOdyX, current CUPS has better error handling than the one of the time when I created beh18:00
tkamppeterOdyX, half of the original backends have to run as root and therefore are 750 root.root. For beh to support them, beh has to be 750 root.root by itself, making the non-root backends also run as root.18:02
OdyXtkamppeter: I have no definite opinion. Marco (and jasmine upstream) might though. The only problem I see is upgradeability.18:03
tkamppeterOdyX, what do you mean with upgradeability?18:03
tkamppeterOdyX, the only way to make beh working again is to let it be 750 rott.root and let it check the permissions of the child and depending on the child's permissions run it as root or as lp, but this can make the simple script much more complex.18:05
OdyXtkamppeter: how do we ensure that people with actually setup beh backends get a sane behaviour after the upgrade that removes beh18:06
tkamppeterOdyX, that would be a problem, when removing it from foomatic-filters, queues using it will not work any more.18:06
leexcjwatson: I installed debian and now reinstalled ubuntu successfully, don't ask me what happened there... I wasn't able to install it before the debian install consistently, well good for me, but bad for bug hunting :/18:07
OdyXtkamppeter: well, unless there's a backend towards which we can auto-migrate the queues, with a similarly good behavious18:08
tkamppeterOdyX, one must check whether CUPS' error policy setting covers the functionality of beh, if not probably improvinmg beh as I described would be the better solution.18:11
jamescarrhi guys… I'm having a hell of a time with an issue I'm investigating today. Apparently mysql_config as part of libmysqlclient-dev no longer reports ssl?18:28
jamescarris there a way to view the commit history to see when this change occured?18:28
jamescarrI'm just going to manage mysql_config via puppet and add -lcrypto and -lssl back18:40
cjwatsonleex: ah well, perhaps somebody else will run across it :)18:54
jamescarrSpamapS: so like I said, I noticed -lssl and -lcypto got removed?19:06
jamescarrfrom mysql_config in libmysqlclient-dev19:06
jamescarrfor now we have our puppet manifests add it back in after installation19:06
jamescarrseems that mysql-python depends on this to compile in ssl support :(19:06
SpamapSjamescarr: thats because the openssl license and gpl are not compatible19:09
SpamapSjamescarr: so you are violating at least one if not both of those licenses19:09
jamescarrreally?19:09
jamescarroh man19:09
SpamapSjamescarr: the embedded yassl bits should still allow it to work though19:10
jamescarrembedded yassl its?19:10
jamescarr*bits I mean19:10
jamescarrSpamapS:  should mysql_config --libs or --libs_r reflect yassl?19:11
SpamapSjamescarr: no, it is embedded19:13
SpamapSjamescarr: you can test it by trying to use ssl :)19:14
jamescarryeah I noticed it connects19:14
jamescarrthe problem is with mysql-python then :)19:14
jamescarrbecause it decides whether or not ssl is supported by checking mysql_config --libs19:14
xnoxjbicha: infinity: cjwatson: RE:  goffice-0.8 does need introducing for the sake of gnucash still being gtk2 only app. Last time I raised it, and it seems to still be the case, where debian does not have a separate goffice-0.8 source package, it is simply that both 0.10 and 0.8 versions are around in sid.19:17
jamescarrweird. So if the openssl license isn't compatible with the GPL, shouldn't it be renamed to closedssl19:27
geofftthat's why it's not named freessl! ... In seriousness, that's ~why gnutls exists19:28
SpamapSjamescarr: ah, thats a bug in mysql-python then (and really silly btw)19:40
jamescarryeah!19:40
celsoHi people! I would like to ask you, for a newbie guy in the software world, what language and software should i use to make an aplication for ubuntu? (please notice that i have almost no experience on programing). Btw, i need a solution that is compatible with the new Qt option that ubuntu decided a few days.19:41
ScottKThen use Qt.19:41
SpamapSjamescarr: which python-mysql do you mean btw?19:41
SpamapSjamescarr: python-mysqld ?19:41
jamescarr1.2.3 and 1.2.419:41
jamescarrno, the pypi package19:41
SpamapSpython-mysqldb rather19:42
jamescarryep19:42
jamescarrthats it19:42
SpamapSwell pypi would be MySQLdb19:42
jamescarryeah I'm totally confused!19:42
celsoScottK: but its easy to learn?19:42
ScottKcelso: I don't know.  I haven't learned it.  There are, however, many books, online tutorials, etc, so I would imagine so.19:43
jamescarrScottK: what's that?19:44
celsoScottK: well, there is only one way to know it. thanks for the help! i am going to try it. thanks!19:44
jamescarrI missed your earlier comment19:44
ScottKjamescarr: He was asking about learning Qt/QML.19:45
SpamapScelso: there's a nice side benefit to using Qt/QML which is that the app should be portable to many other platforms19:45
celsoAh, i was going to ask that! lol by the way, i have read about Qt but Qml, is it the same?19:46
SpamapSjamescarr: yeah looking at the code, there's a huge mistake there which is assuming the openssl method is the only one19:46
jamescarryeah, scanned it on github too19:46
SpamapSjamescarr: https://github.com/farcepest/moist .. perhaps this one is smarter19:46
SpamapSterrible name19:46
celsoI am asking that because i have Qt creator but dont know what is QML19:47
jamescarrthe fear with that one is two things: it hasn't been updated recently and I don't think it is compatible with SQLAlchemy19:47
SpamapSyeah19:48
jamescarr"moist is not yet ready for prime-time"19:48
jamescarryeah, I'll file an issue on the project19:48
jamescarrthis actually broke our production setup :)19:48
celsoah i know what it is. QML is C++ components integration on Qt framework.19:49
celsoSpamapS: thanks for the help!19:49
SpamapSjamescarr: I don't see at all where it looks for ssl in the libs19:50
SpamapS#if MYSQL_VERSION_ID >= 5050019:51
SpamapS#define HAVE_OPENSSL 119:51
SpamapS#endif19:51
SpamapSjamescarr: ?19:51
jamescarrSpamapS: I am at a loss for words. That seems like it should pick it up19:51
jamescarrHmph19:51
SpamapSjamescarr: why, pray tell, aren't you using the distro package?19:53
jamescarrvirtual environments19:53
jamescarrthis doesn't matter for the virtual env though19:54
jamescarrso in other words, I should prefer the distro package19:54
jamescarrand remove the pip installation19:54
jamescarrFFS19:54
SpamapS--system-site-packages ?19:54
SpamapSjamescarr: well I tend to think unless you need 2 versions of something... the distro package (especially for C extensions) are going to be less problematic.19:55
jamescarryeah19:55
jamescarryeah19:55
jamescarrin this situation, we don't need 2 versions of mysqldb19:55
SpamapSjamescarr: although I really am surprised that the pip install doesn't DTRT19:55
* SpamapS looks at the package build for clues19:56
SpamapSexport mysqloptlibs=ssl crypto19:56
SpamapSjamescarr: maybe try that?19:56
SpamapSprobably easier than rebuilding everything :)19:57
* SpamapS heads out to do Sunny Saturday things19:58
jamescarrSpamapS: thanks for the help20:00
Siekaczhello20:43
Siekaczany Mir devs here?20:44
sladenSiekacz: try Monday-Friday daytime UTC20:45
Siekaczright, weekend20:46
ScottKSiekacz: Also this channel is for development of Ubuntu the distribution, so it's not really the ideal channel.20:57
reasz5http://twixzo.de/spiel.php?id=2224821:51
=== fisted_ is now known as fisted
xnoxSiekacz: #ubuntu-mir is what you want =)23:13

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