/srv/irclogs.ubuntu.com/2017/03/27/#ubuntu-devel.txt

=== Eleventh_Doctor is now known as Pharaoh_Atem
=== schmidtm_ is now known as schmidtm
javier4abeato: are you there?09:55
abeatojavier4, yep09:56
abeatojavier4, any luck with sending the resume registration message?09:56
javier4abeato: still struggling with it. I'm not exactly a coder, then probably it will took a little bit more than expected. I have a question:09:57
javier4I need to use a pointer to a struct ofono_netreg09:58
javier4it's defined in src/network.c.09:58
javier4better redefine the struct, or link the existent one?09:58
abeatojavier4, you do not need to have the structure defined to have a pointer to it10:01
abeatojavier4, just a typedef that must already exist10:01
abeatojavier4, just include <ofono/netreg.h>10:02
javier4-.-" I included just "netreg.h", thinking it was into default include dirs.10:03
javier4abeato: still getting10:23
javier4https://www.irccloud.com/pastebin/0zdH66bq/10:23
abeatojavier4, show me youd code, I don't think you need to access data inside ofono_netreg10:24
javier4https://www.irccloud.com/pastebin/tkm0FcPG/%23ifdef%20HAVE_CONFIG_H%20%23include%20%3Cconfig.h%3E%20%23endif%20%20%23define%20_GNU_SOURCE%20%23include%20%3Cstring.h%3E%20%23include%20%3Cstdlib.h%3E%20%23include%20%3Cstdio.h%3E%20%20%23include%20%3Cglib.h%3E%20%20%23include%20%3Cofono%2Flog.h%3E%20%23include%20%3Cofono%2Fmodem.h%3E%20%23include%20%3Cofono%2Fn10:25
javier4etreg.h%3E%20%23include%20%3Cofono%2Fspn-table.h%3E%20%20%23include%20%22common.h%22%20%23include%20%22gril.h%22%20%20%23include%20%22grilreply.h%22%20%23include%20%22grilrequest.h%22%20%23include%20%22grilunsol.h%22%20%23include%20%3Cofono%2Fnetreg.h%3E%20static%20void%20ril_network_state_change(struct%20ril_msg%20*message%2C%20%09%09%09%09%09%09%09gpointer10:26
javier4%20user_data)%20%7B%20%09struct%20ofono_netreg%20*netreg%20%3D%20user_data%3B%20%09struct%20netreg_data%20*nd%20%3D%20ofono_netreg_get_data(netreg)%3B%20%20%09g_ril_print_unsol_no_args(nd-%3Eril%2C%20message)%3B%20%20%09ril_registration_status(netreg%2C%20NULL%2C%20NULL)%3B%20%7D%20%20static%20void%20ril_strength_notify(struct%20ril_msg%20*message%2C%20gpoin10:26
javier4ter%20user_data)%20%7B%20%09struct%20ofono_netreg%20*netreg%20%3D%20user_data%3B%20%09struct%20netreg_data%20*nd%20%3D%20ofono_netreg_get_data(netreg)%3B%20%09int%20strength%20%3D%20g_ril_unsol_parse_signal_strength(nd-%3Eril%2C%20message%2C%20%09%09%09%09%09%09%09%09nd-%3Etech)%3B%20%20%09ofono_netreg_strength_notify(netreg%2C%20strength)%3B%20%7D%20%20stat10:26
javier4ic%20void%20ril_nitz_notify(struct%20ril_msg%20*message%2C%20gpointer%20user_data)%20%7B%20%09struct%20ofono_netreg%20*netreg%20%3D%20user_data%3B%20%09struct%20netreg_data%20*nd%20%3D%20ofono_netreg_get_data(netreg)%3B%20%09int%20year%2C%20mon%2C%20mday%2C%20hour%2C%20min%2C%20sec%2C%20dst%2C%20tzi%2C%20n_match%3B%20%09char%20tzs%2C%20tz%5B4%5D%3B%20%09gcha10:26
javier4r%20*nitz%3B%20%20%09nitz%20%3D%20g_ril_unsol_parse_nitz(nd-%3Eril%2C%20message)%3B%20%09if%20(nitz%20%3D%3D%20NULL)%20%09%09goto%20error%3B%20%20%09n_match%20%3D%20sscanf(nitz%2C%20%22%25u%2F%25u%2F%25u%2C%25u%3A%25u%3A%25u%25c%25u%2C%25u%22%2C%20%26year%2C%20%26mon%2C%20%09%09%09%09%26mday%2C%20%26hour%2C%20%26min%2C%20%26sec%2C%20%26tzs%2C%20%26tzi%2C%20%10:26
javier426dst)%3B%20%09if%20(n_match%20%21%3D%209)%20%09%09goto%20error%3B%20%20%09sprintf(tz%2C%20%22%25c%25d%22%2C%20tzs%2C%20tzi)%3B%20%20%09nd-%3Etime.utcoff%20%3D%20atoi(tz)%20*%2015%20*%2060%3B%20%09nd-%3Etime.dst%20%3D%20dst%3B%20%09nd-%3Etime.sec%20%3D%20sec%3B%20%09nd-%3Etime.min%20%3D%20min%3B%20%09nd-%3Etime.hour%20%3D%20hour%3B%20%09nd-%3Etime.mday%20%3D10:26
javier4%20mday%3B%20%09nd-%3Etime.mon%20%3D%20mon%3B%20%09nd-%3Etime.year%20%3D%202000%20%2B%20year%3B%20%20%09ofono_netreg_time_notify(netreg%2C%20%26nd-%3Etime)%3B%20%20%09g_free(nitz)%3B%20%20%09return%3B%20%20error%3A%20%09ofono_error(%22%25s%3A%20unable%20to%20notify%20ofono%20about%20NITZ%20(%25s)%22%2C%20%09%09%09%09%09%09__func__%2C%20nitz%20%3F%20nitz%20%310:26
javier4A%20%22null%22)%3B%20%09g_free(nitz)%3B%20%7D%20%09%09%09%09%09%09%09%20static%20gboolean%20ril_delayed_register(gpointer%20user_data)%20%7B%20%09struct%20ofono_netreg%20*netreg%20%3D%20user_data%3B%20%09struct%20netreg_data%20*nd%20%3D%20ofono_netreg_get_data(netreg)%3B%20%09ofono_netreg_register(netreg)%3B%20%20%09%2F*%20Register%20for%20network%20state%2010:26
javier4changes%20*%2F%20%09g_ril_register(nd-%3Eril%2C%20RIL_UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED%2C%20%09%09%09ril_network_state_change%2C%20netreg)%3B%20%20%09%2F*%20Register%20for%20network%20time%20update%20reports%20*%2F%20%09g_ril_register(nd-%3Eril%2C%20RIL_UNSOL_NITZ_TIME_RECEIVED%2C%20%09%09%09ril_nitz_notify%2C%20netreg)%3B%20%20%09%2F*%20Register%210:26
javier40for%20signal%20strength%20changes%20*%2F%20%09g_ril_register(nd-%3Eril%2C%20RIL_UNSOL_SIGNAL_STRENGTH%2C%20%09%09%09ril_strength_notify%2C%20netreg)%3B%20%09%09%09%20%09g_ril_register(nd-%3Eril%2C%20MTK2_RIL_UNSOL_RESPONSE_REGISTRATION_SUSPENDED%2C%20%09%09%09mtk2_reg_suspended%2C%20netreg)%3B%20%20%09%2F*%20This%20makes%20the%20timeout%20a%20single-shot%2010:26
javier4*%2F%20%09return%20FALSE%3B%20%7D%20%20%20struct%20mtk2_ril_data%20%7B%20%09GRil%20*ril%3B%20%09enum%20ofono_ril_vendor%20vendor%3B%20%09int%20sim_status_retries%3B%20%09ofono_bool_t%20init_state%3B%20%09ofono_bool_t%20ofono_online%3B%20%09int%20radio_state%3B%20%09struct%20ofono_sim%20*sim%3B%20%09int%20rild_connect_retries%3B%20%09GRilMsgIdToStrFunc%20requ10:26
javier4est_id_to_string%3B%20%09GRilMsgIdToStrFunc%20unsol_request_to_string%3B%20%09ril_get_driver_type_func%20get_driver_type%3B%20%09struct%20cb_data%20*set_online_cbd%3B%20%09int%20suspend_id%3B%20%7D%20%20static%20void%20mtk2_reg_suspended(struct%20ril_msg%20*message%2C%20gpointer%20user_data)%20%7B%20%09struct%20ofono_modem%20*modem%20%3D%20user_data%3B%20%0910:26
javier4struct%20mtk2_ril_data%20*md%20%3D%20ofono_modem_get_data(modem)%3B%20%09struct%20parcel%20rilp%3B%20%09int%20session_id%3B%20%20%09session_id%20%3D%20g_mtk2_unsol_parse_registration_suspended(md-%3Eril%2C%20message)%3B%20%09if%20(session_id%20%3C%200)%20%7B%20%09%09ofono_error(%22%25s%3A%20parse%20error%22%2C%20__func__)%3B%20%09%09return%3B%20%09%7D%20%20%10:26
javier4WTF. 0.o10:26
javier4I'm sorry.10:26
abeatolol10:26
abeatonw10:26
javier4https://pastebin.com/7E6e036N10:27
abeatojavier4, what you need is the definition of "struct netreg_data", not of ofono_netreg10:32
abeatojavier4, that struct is defined in rilmodem/network-registration.c10:33
abeatojavier4, you need to move that to a header, rilmodem/network-registration.h10:33
abeatojavier4, check rilmodem/gprs.h for an example of how that is done in other case10:33
abeatojavier4, basically whenever mtk/mtk2 need a struct from rilmodem, that is how it gets done10:34
javier4You're right. I confused a line with the next one...10:36
javier4abeato: I see that inside rilmodem/network-registration.c the struct is defined but not declare: is it implicit? I have to put the declaration inside the new header without stripping off anything from the source, right?10:37
abeatojavier4, correct10:38
=== _salem is now known as salem_
rbasakcpaelzer, pitti: any opinion on postgres being in the server packageset? It isn't currently I think.14:21
pittisounds appropriate to me14:22
pittiit has "server" in the package description, and it serves bits :)14:22
rbasakYeah that's what I was thinking :-)14:23
rbasakIt's also mostly a leaf package - you don't install the server daemon unless you want to be a server.14:23
cpaelzerrbasak: I'm fine with that as an approach to the application I brought up - we can discuss that in the DMB next week in just that scope right?14:26
javier4abeato: I solved a bunch of include issues, but now I got14:28
javier4drivers/mtk2modem/network-registration.c:125:2: error: unknown type name ‘ril_get_driver_type_func’   ril_get_driver_type_func get_driver_type;14:28
javier4then I included ril.h, and got this14:28
javier4https://www.irccloud.com/pastebin/f1LKXOgh/14:28
rbasakcpaelzer: sure14:29
camakotjaalton, So are you good with the Mesa and vulkan patches?14:33
abeatojavier4, try to add same includes as in rilmodem/gprs.h first14:40
javier4abeato: are you sure? That enum is defined inside src/ofono.h that's not included by that header.14:42
=== ali is now known as Guest59895
Guest59895why tor exit node not work in IRC14:44
abeatojavier4, then include ofono.h ;)14:47
javier4abeato: I'll try. the things that seems strange to me, is that ofono.h wasn't directly included by ril.h14:48
barryjbicha: hi.  do you have any plans on fixing LP: #1671572 for zesty?  just wondering15:08
ubottuLaunchpad bug 1671572 in chrome-gnome-shell (Ubuntu) "chrome-gnome-shell error popup when log in to non-GNOME" [Low,Triaged] https://launchpad.net/bugs/167157215:08
=== JanC_ is now known as JanC
=== dpb1_ is now known as dpb1
=== MapspaM is now known as SpamapS
jbichabarry: chrome-gnome-shell fix uploaded to zesty unapproved queue16:27
dobeyanyone know anything about sbuild and /run/user within it?16:38
naccpowersj: re: LP: #1625043, i was mostly trying to figure out if you deployed something tomcat6+java6 on 12.04 and upgraded to 14.04 -- did the tomcat6 deployment break because tomcat6 was now built with java7 ?16:47
ubottuLaunchpad bug 1625043 in tomcat7 (Ubuntu) "tomcat7 package not compliant with tomcat specification" [High,Confirmed] https://launchpad.net/bugs/162504316:47
powersjnacc: if you relied on something that had an API change then yes16:48
naccpowersj: right, i need you (or me) to do that due diligence and understand if that was supported better in that transition, etc16:49
naccpowersj: maybe by asking jamespage to take a look at that bug briefly :)16:49
powersjwhat do you mean by supported better16:49
naccpowersj: was there packaging changes, etc., so things didn't break16:49
naccpowersj: or is there precedence that LTS -> LTS tomcat upgrades require work?16:50
tjaaltoncamako: they're fine, i'll upload them after new X16:50
camakotjaalton, thanks... I'm assuming this will be the last upload for Zesty, correcT?16:50
naccjgrimm: i just realized something re: LP: #1634989 -- i think you actaully wanted 3.5.7-1ubuntu0.16.04.1 -- not that it's likely, but if there was a ubuntu16 of 3.5.7, this upload would sort after it16:51
ubottuLaunchpad bug 1634989 in rabbitmq-server (Ubuntu Yakkety) "Segfault on rabbitmq-server start" [Medium,In progress] https://launchpad.net/bugs/163498916:51
dobeywhy would anything run during a build with sbuild, be run as uid 106?16:52
tjaaltoncamako: pretty much16:52
powersjnacc: I went through the change log to check for exactly those changes, but if someone who was around could comment that would probably be good :)16:52
naccpowersj: ok, jamespage is probably our best bet -- or you could see if there are older/close tomcat6 bugs tht maybe refer to something similar16:53
jgrimmnacc, cool i'll look at that later today16:53
naccjgrimm: thanks, i'm happy to sponsor with tht fixed16:53
jgrimmnacc, thanks!16:53
naccjgrimm: np -- sorry for the delay16:56
jgrimmnacc,  no worries, was not urgent, i would have poked it it was. ;)16:57
naccpowersj: regardless, i guess, do you want to mark that bug as in progress by you? or triaged or something? (rather htan confirmed)?17:00
nacccpaelzer: similar question for you for LP: #1320709 ?17:02
ubottuLaunchpad bug 1320709 in awstats (Ubuntu) "incorrect info in /usr/share/doc/awstats/README.Debian.gz about logrotate" [Medium,Confirmed] https://launchpad.net/bugs/132070917:02
powersjnacc: hmm I'm almost tempted to put it into incomplete, but having one last comment would be good, so how about triaged17:02
powersjif you have it open :) otherwise I can go do it17:02
naccpowersj: seems reasonable, i'm happy with whatever you decide, i just want consensus in the bug and an agreement (if posisble) from the submitter17:02
naccpowersj: updated that bug17:02
powersjnacc: thanks and thanks for the ping on that one17:03
barryjbicha: great, thanks!17:33
powersjnacc: can I punt LP: #1597344 to you? :)17:40
ubottuLaunchpad bug 1597344 in apache2 (Ubuntu) "package apache2 2.4.18-2ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,Confirmed] https://launchpad.net/bugs/159734417:40
naccpowersj: sure,17:42
naccpowersj: any context (i'll just put it on the end of my triage list rightnow)17:42
powersja2enmod of php7 failure17:42
naccpowersj: ok17:43
powersjhoping you would know more about that possibly17:43
naccpowersj: thanks, will take a look17:43
naccteward: thanks for picking up LP: #167305618:01
ubottuLaunchpad bug 1673056 in nginx (Ubuntu) "Upgraded nginx-upload-progress module has showstopper" [High,In progress] https://launchpad.net/bugs/167305618:01
cpaelzernacc: I kept it confirmed instead of triaged as I would have waited on the Debian feedback to decide18:32
cpaelzernacc: reporting to Debian without and response is almost identical to not reported yet18:33
cpaelzernacc: once I can consider the position of the Debian peer to us for a given case I switch states, but I'm good with you setting triaged just as much18:33
cpaelzernacc: I guess that is down to preferences18:34
nacccpaelzer: mostly dont' want to have to re-triage it18:34
jgrimmnacc, bug1634989 updated per request18:34
naccjgrimm: thanks!18:34
jgrimmthank you!18:35
rbasak!dmb-ping19:00
ubottubdmurray, BenC, cyphermox, infinity, micahg, rbasak, sil2100: DMB ping.19:00
=== boiko_ is now known as boiko
=== salem_ is now known as _salem
mwhudsonapw, smb: do you know why the ubuntu-fan autopkgtest is failing with the new docker in zesty-proposed?22:25
mwhudsonit started failing with the 1.12.6-0ubuntu3 upload but there's no way the change in that broke the fan22:26
* mwhudson takes it to mail22:27
mwhudsonhalp23:25
mwhudsoninfinity, robru: you around (or anyone else who understands britney)23:25
infinitymwhudson: I'm around, but I make no claim to understanding britney.23:26
mwhudsoninfinity: i was wondering why britney thinks the docker autopkgtests are "always failed" on http://people.canonical.com/~ubuntu-archive/proposed-migration/zesty/update_excuses.html#runc23:27
infinitymwhudson: It's close enough to true. :P23:28
infinityBut more seriously, I'm not sure of the criteria used there.23:28
mwhudsonheh23:28
mwhudsonthe test failed, but probably because it ran against the docker in release, which has a buggy test23:29
mwhudsonat least i hope that's why it failed23:29
infinity                if ever_passed and not self.has_force_badtest(src, ver, arch):23:32
infinity                    result = 'RUNNING'23:32
infinitystgraber:force-badtest docker.io/1.12.6-0ubuntu123:32
infinity                else:23:33
infinity                    result = 'RUNNING-ALWAYSFAIL'23:33
infinity                url = 'http://autopkgtest.ubuntu.com/running'23:33
infinitySo, there you go.  It's "always failed" because of a badtest hint.23:33
infinitymwhudson: ^23:33
mwhudsoninfinity: ah hah23:34
infinitymwhudson: Any idea why the ubuntu-fan tests fails (only on amd64?) with the new docker?  Then we could promote it and that would go away.23:35
mwhudsoninfinity: no, i just sent a nastygram to apw and smb about that23:35
* infinity nods.23:36
infinityI guess, to be fair, it fails on lots of arches, but the amd64 failure is both different and new.23:36
mwhudsoninfinity: i don't think it can be a docker changed, it stopped working between ubuntu2 and ubuntu323:44
mwhudsoninfinity: which is this diff http://launchpadlibrarian.net/310436103/docker.io_1.12.6-0ubuntu2_1.12.6-0ubuntu3.diff.gz23:47
mwhudson(which, ironically, is the thing we really want in release)23:47
bdmurrayflexiondotorg: Do your actions in bug 1641915 mean you no longer want it sponsored?23:48
ubottubug 1641915 in Ubuntu theme "GtkToolButtons clip and overlap" [Undecided,In progress] https://launchpad.net/bugs/164191523:48
mwhudsoninfinity, stgraber: so is it appropriate to badtest the ubuntu-fan to let docker.io migrate?23:48
mwhudsonsomeone(tm) still needs to figure out why the test is failing but it seems letting docker migrate would strictly improve the situation23:49
mwhudson(fortunately the fixed docker autopkgtest does actually pass with the new runc so i can relax a bit on that score)23:50
flexiondotorgbdmurray It still needs sponsoring.23:52
bdmurrayflexiondotorg: I'd sponsor it if you answered my question.23:55
flexiondotorgbdmurray It was added to Zesty by jbicha I believe.23:55

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