/srv/irclogs.ubuntu.com/2011/02/14/#ubuntu-motu.txt

kklimondatumbleweed: what tests did fail when you were packagng eventlet? I've just tried 0.9.14, and all pass (or are skipped) on both natty and sid pbuilders.01:11
c2taruncan anyone please explain me this error http://paste.ubuntu.com/566833/03:40
micahgc2tarun : the problem is probably the line above that03:41
c2tarunmicahg: http://paste.ubuntu.com/566834/03:41
c2tarunmicahg: here are the lines above that error ^^03:43
micahgc2tarun: nope03:44
c2tarunmicahg: you mean more lines?03:44
micahgc2tarun: yeah, until there's a line with error in it03:44
persiaThat comes when the linker can't find the things to link against.  Might be libraries not installed, or not referenced by the linker.  Might be API changes.  Might be bugs.03:45
c2tarunmicahg: ya i found the line with error http://paste.ubuntu.com/566835/03:45
persiaMost common cause is the order of arguments to the linker: you need to add anything linked against before the thing linking against.  This is new behaviour with the recent toolchain, so it's not surprising if some older buildsystems fail.03:46
c2tarunpersia: are you explaining my error?03:47
micahgc2tarun: you might want to move either -lssl or -lcrypto before the bacula libs03:47
c2tarunmicahg: in rules file right?03:49
micahgc2tarun: depends on the package, usually in configure of some sort03:50
c2tarunmicahg: actually I am not able to understand the error. Can you please explain a bit.03:51
micahgc2tarun: you might want to read this: https://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition, looks like an --as-needed issue03:52
c2tarunmicahg: ok, sure :) i'll read it. thanks03:52
c2tarunmicahg: in the wiki page you gave me they used dpkg -S to search which package contains the particular library. I tried in manual pages but I think there is no information about -S can you please tell why we use -S04:17
Flannelc2tarun: dpkg -S in man dpkg is right above OPTIONS (dpkg-query portion), `man dpkg-query` gives you the normal paragraph stuff for -S04:25
c2tarunI am getting an error while building binary package, the error is due to some libraries are not directly linked. But I dont know which libraries. How can i find? I tried "dpkg -S TLSv1_method" but got an error that method not found.04:28
c2tarunping04:35
arandc2tarun: If you are looking for a specific file, apt-file might be of help.04:52
c2tarunarand: here is the error I am getting http://paste.ubuntu.com/566845/05:01
c2tarunarand: as we can see that the library libbac.so is trying to use method TLSv1_method. So I have to link the library containing TL* method. but I dont know which lib contains it and where do I put the name of that library in order to link it.05:03
micahgc2tarun: it's probably ssl or crypto05:05
micahgc2tarun: dpkg -S is when you're looking for a library that's not on the linker line, in this case, I believe you have the library, just not in the correct order05:05
c2tarunmicahg: ok, so from where can i access the order ? I mean which file is responsible for this?05:06
micahgc2tarun: usually configure05:23
persiaAlthough it can vary wildly based on the buildsystem: it's often good to examine the logs and see what command has the order, and then backtrack through the variable substitutions.05:25
c2tarunpersia: where can I find the log files, you just mentioned? ^^05:33
persiaYour build logs?  Depends how you build it.  There's usually a .build file that is the log or a symlink to the log.05:34
c2tarunpersia: I build it using pbuilder-dist natty build *.dsc.05:34
micahglast_operation.log in pbuider05:34
micahgerr, pbuilder-dist05:34
c2tarunmicahg: last_operation.log just tells me that error occured while compiling btape.c but didn't tell from where the command is issued, I mean from which file05:36
c2tarunwhereas source.build file is kind of a log for creating source package, but not binary package.05:37
persiac2tarun, That file will contain some command that had an error.  This command will have been generated by whatever build system the source uses.05:39
persiaIn most cases, the actual command is the result of variable substitution, so you have to backtrack through the various build files from the one that generated the command that had the error to the one that controls how that appears.05:40
persiaAt some point, you'll get back to the files that are available in the source package, and you can modify the appropriate file.05:40
c2tarunpersia: here is the beginning of error http://paste.ubuntu.com/566849/ I am not getting how to backtrack.05:42
persiaLook through the buildsystem files to find out what is calling libtool.05:43
persiaThen look through the buildsystem files to find out what is controlling how libtool is called.05:43
c2tarunI am sorry but what do you mean by buildsystem files?05:43
persiaThen continue until you get to the place you need to change.05:43
persiamakefiles, cmakefiles, setup.py files, Makefile.PL files, perhaps shell scripts, autotools files, whatever.  It entirely depends on how your source generates binaries.05:44
c2tarunpersia: ok05:44
=== almaisan-away is now known as al-maisan
dholbachgood morning07:27
c2tarundholbach: good morning :)07:31
dholbachhi c2tarun07:32
c2tarundholbach: hi :)07:32
micahgshould we be building with -Werror?07:57
tumbleweedthat will cause issues with all upstream packages that don't take their warnings seriously08:00
micahgwell, I'm looking at blobwars, and upstream doesn't see to like to deal with the return value of fread08:00
micahgs/see/seem08:01
micahgtumbleweed: would it be better for me to just add code to catch the return value of frad?08:03
micahg*fread08:03
micahgtumbleweed: weirdly enough, it doesn't fail in Debian08:06
tumbleweeda warning added in gcc 4.5? /me is still pulling source...08:07
micahgtumbleweed: fails for me on maverick as well (should be gcc-4.4)08:11
micahgtumbleweed: I can pastebin the error if you like08:11
tumbleweedmicahg: naah, I'll just give up on this and play on a box in EU instead08:13
micahgtumbleweed: there are only 4 instances where the return value isn't processed08:14
tumbleweedmicahg: yeah it does look buggy08:17
micahgtumbleweed: so, what should I do?08:17
tumbleweedpatch it and submit a patch upstream, I guess08:17
micahgtumbleweed: does this look ok, or should I actually process the return value? http://paste.ubuntu.com/566871/08:19
tumbleweedmicahg: catching a return value and not doing anything with it (i.e. hiding the bug) is worse than not catching it08:19
micahgtumbleweed: ok, there's one working example in the code, I"ll try to follow that08:21
tumbleweedmicahg: Many of the things that can go wrong with file handling are very unlikely to happen in normal circumstances, so just aborting can be a sane option.08:25
micahgtumbleweed: ok, I think I got it08:29
persiaBetter to retry or something, rather than abort.  A user typically can't tell the difference between an abort and the segfault that would likely otherwise occur from the failed operation.08:33
micahgtumbleweed: ok, here's the error now, I seem to be using the variable, but it's not happy http://pastebin.ubuntu.com/566877/08:33
persiaMind you, you only want to retry once or twice, or just provide some error message to the user, and go for manual retry, to avoid getting into a non-terminating loop.08:34
micahgerr, I think I see the issue :-/08:34
micahgthis is one problem after another08:35
* micahg wonders why Debian's -Werror doesn't catch this, nor upstreams08:35
* micahg is glad Firefox isn't built like this08:42
micahgfirst fread, the fseek, now fgets08:47
gesermicahg: does Debian use -D_FORTIFY_SOURCE=2 by default?08:54
micahggeser: idk08:56
geserAFAIK Debian doesn't use it and I'm not sure that's the reason for your error but most likely08:57
micahggeser: we seem to have some type of option warn_unused_result08:57
persiaGood to have that option.  I think those are the cause of a majority of our segfaults.08:58
* micahg will continue fixing this another night08:58
persia(well, maybe not a majority: use-before-set is very popular as well)08:58
=== al-maisan is now known as almaisan-away
=== warp10- is now known as warp10
RhondaWhere do I see build logs, I got informed that flightgear gives troubles in natty?15:09
RhondaI might be blind but I don't find it on launchpad.net/ubuntu/+source/flightgear …15:10
tumbleweedRhonda: linked from the builds https://launchpad.net/ubuntu/+source/flightgear/1.9.1-1.115:11
geserRhonda: is it for the flightgear package currently in the archive or for a possible sync? I know that sebner was looking at building flightgear 2.0.0-3 and had issues with "ld --no-add-needed"15:17
ari-tczewdholbach: around?15:18
dholbachari-tczew, yes, but a bit busy - how can I help?15:18
ari-tczewdholbach: sponsors overview has been hanged15:19
dholbachI guess I know the reason for it15:19
ari-tczewdholbach: btw. could you request to Launchpad remove ~ubuntu-main-sponsors? it's not needed anymore.15:20
dholbachcan somebody else please do this?15:20
dholbachI'm really quite busy15:20
dholbachand regarding the sponsoring overview, I hope this will fix it: https://code.launchpad.net/~dholbach/ubuntu-sponsoring/lp-usage/+merge/4964815:20
ari-tczewtumbleweed: ^^15:21
ari-tczewdholbach: do you mean someone else request remove ~ubuntu-main-sponsors?15:22
dholbachyes15:22
dholbachyou have my ok15:22
ari-tczewdholbach: OK will do it.15:22
dholbachthanks15:22
geserRhonda: if it was about flightgear 2.0.0-3 see http://pastebin.com/VHvQmEDk for the build failure (solutions seems to be to move "-lsgio" after "-lOpenThreads", at least it worked when I tried it manually inside my pbuilder)15:23
Rhondageser: Yes, sebner did ping me to look at it.15:24
Rhondageser: I'm looking into building the unpatched package and work through his patches after that to see wether it's related to that. :)15:27
RhondaActually natty currently is synced, not merged, so I wonder if a plain sync would work.15:27
geserRhonda: the pastebin is the error you'll get when you try to build it in natty15:28
geseryou should be able to get in Debian with binutils-gold too15:28
ari-tczewdholbach: FYI https://answers.launchpad.net/launchpad/+question/14535115:28
dholbachthanks ari-tczew15:29
Rhondageser: In his PPA he has a ubuntu15 version or such?15:29
geserRhonda: I tried the unmodified Debian package when he asked me for help about the FTBFS15:33
RhondaAh, alright.15:33
RhondaGot anywhere? :)15:33
RhondaHmm, there is no bugreport in Debian about binutils-gold. Weren't they all tested and filed?15:34
geserwhen I reordered the libs in the g++ (inside the pbuilder shell) and moved "-lsgio" after "-lOpenThreads" the linking worked15:34
geserbut I didn't look how to get this into the Makefile15:35
mvohey! I was just looking at some universe packages that look like they haven't been rebuild for py2.7 - mind if I upload them or should I get in contact with someone who coordindates it?15:53
Laneymvo: haven't heard of anyone doing that, feel free to do it16:00
Laneymaybe drop a mail to -motu if it's a lot16:00
tumbleweedmvo: go for it, I think. barry was taking care of them last time I looked16:06
alucardni3clear16:25
alucardnioopps16:25
mvothanks Laney, tumbleweed16:51
ari-tczewkklimonda: don't assign if you're want sponsorship17:37
kklimondaari-tczew: I was asked to17:38
kklimondaerm, don't assign to myself17:38
kklimondaright17:38
kklimondabut I did unassign myself.. hmm17:39
kklimondaok, it didn't work17:39
ari-tczew;)17:40
ScottKYokoZar: What does "err:dosmem:DOSMEM_MapDosLayout Need full access to the first megabyte for DOS mode" mean I need to do?18:33
keesScottK: means you need to disable mmap_min_addr, I think.  sudo dpkg-reconfigure wine1.2   should ask you about it.18:47
ScottKkees: Thanks.18:48
ScottKGotta love documentation ... They are provided "as is". It is assumed that if you are interested in this, you can pretty well figure out what to do with it.18:49
ScottKfrom a REAME.TXT18:49
ari-tczewudienz: you subscribed ubuntu-sponsors to gkamus bug, did you got enough advocates?18:53
ari-tczewI have an idea looking on udienz case on sponsors overview18:56
udienzari-tczew, gkamus not advocates by anyone right now18:56
ari-tczewwhen someone is looking for MOTU review @REVU, subscribe ubuntu-sponsors18:56
ari-tczewgeser, persia: what's the process of update policy?18:57
ari-tczew(firstly discussing)18:58
ScottKkees: That was exactly it (including dpkg-reconfigure wine1.2).  Thanks again.19:00
keesScottK: cool; you're welcome. :)19:03
ScottK(I even remembered to put it back when I was done)19:03
geserari-tczew: which policy?19:12
ari-tczewgeser: <ari-tczew> when someone is looking for MOTU review @REVU, subscribe ubuntu-sponsors19:13
geserari-tczew: I don't know if we have a process for it, but a first step would be to write a mail describing the change and rationale for it, and wait some time (1-2 weeks) for feedback. I guess mailing ubuntu-motu and ubuntu-devel would be good for asking for feedback.19:17
ari-tczewgeser: what do you think about this idea?19:18
gesernot sure myself yet, have to think about it and read your rationale, but my first questions are a) has ubuntu-sponsors the resources for it and b) is this the right path?19:20
=== zul_ is now known as zul
geserI ask about b) because I'm not sure that REVU helps us in the long run or only attracts hit-and-run packages which MOTU has to maintain and update in the future (and MOTU lacks the resouces for it)19:21
ari-tczewbut this is good way to get new packages quickly19:24
geseryes, but do those packagers stay to maintain them?19:25
LaneyWhat are you trying to achieve? Patch pilots looking at new packages?19:25
geser(that's just my opinion about REVU and shouldn't stop you)19:25
blueyedIs natty currently badly broken? I am thinking about dist-upgrading now.19:27
micahgwell, I think REVU is good for getting packages in shape, they we should throw them over to Debian once they're ready19:28
micahgbut for that use case, the sponsoring queue is certainly not appropriate19:28
ari-tczewwhat does it mean? Makefile.am:109: linker flags such as `-Wl,--no-as-needed' belong in `src_liblwmsg_la_LDFLAGS19:29
ari-tczewLaney: not exactly patch pilots, just information to MOTUs about packages which needs review19:29
tumbleweedari-tczew: I'm guessing that was from some linker flags in LIBS / CFLAGS rather than LDFLAGS19:30
Laneythat information is already available on REVU19:30
Laneyif people wish to review new packages (it's a very differnet kind of review IMO) then they can look there19:30
ari-tczewtumbleweed: I'm trying to fix ./common/.libs/liblwsmcommon.so: undefined reference to `lwmsg_handle_type_class'19:31
ari-tczewand I guess -Wl,--no-as-needed would be helpful19:31
geserari-tczew: using -Wl,--no-as-needed should be IMHO only be a last effort19:33
ari-tczewgeser: I can't find any lib related to ftbfs message19:35
geserwhich package is this?19:37
ari-tczewlikewise-open19:37
geserif --no-as-needed works than the link order needs to get fixed19:37
ari-tczewgeser: as I wrote above: Makefile.am:109: linker flags such as `-Wl,--no-as-needed' belong in `src_liblwmsg_la_LDFLAGS19:39
ari-tczewso it doesn't work19:39
tumbleweedari-tczew: that's not that it doesn't help you, it's that you were using it wrong :)19:40
tumbleweedbut yes as geser said, --no-as-needed isn't the preferred solution19:40
Raydiationwhen is feature freeze?19:52
geserFeb 24th19:54
Raydiationty19:54
kklimondanhandler: soren: could one of you accept my email to ubuntu-motu? It got sent from a wrong account.19:55
sorenkklimonda: Done.20:18
YokoZarScottK: kees is right, and you can blame him for that particular error ;)20:18
sorenkklimonda: I also approved one to ubuntu-server@20:18
YokoZarAlthough I'm unsure of its future in wine1.3 as there is dosbox integration going on (albeit not a complete sort yet)20:19
keesYokoZar: it might be nice to update that error to hint to the dpkg-reconfigure command20:19
YokoZarhmm, I suppose20:19
ScottKGood idea.20:23
kklimondasoren: thanks20:24
=== zul_ is now known as zul
bcurtiswxif i edit a file outside of quilt, is there any way i can get quilt to catch those changes and add it to my topmost patch?21:13
bcurtiswxfor those that don't dislike quilt ;)21:14
geserbcurtiswx: "quilt add $file" before you start editing and later "quilt refresh"21:55
bcurtiswxgeser, i meant after i edited the file.. did a bzr diff and added that to a patch.  Thx though :)21:55
=== Guest44544 is now known as mikeyeates
mikeyeatesHi all, I am having real trouble trying to build a deb with a bunch of php files in it.  Are there any examples of building a deb without any compiling?  I am just trying to copy the files in the dist tarball to /usr/lib/mypackage22:03
micahgmikeyeates: zend-framework22:03
mikeyeatesThanks micahg Ill have a look at it22:11
azeemmikeyeates: you should copy them to the usual staging directory (debian/tmp or debian/mypackage), not /usr/lib/mypackage directly22:12
azeemin case you tried that22:12
mikeyeatesI tried copying the rules and Makefile files from zend-framework but I keep getting permission errors (the same type as when I was trying from scratch)23:23
mikeyeates/usr/bin/make install-framework DESTDIR=/home/mike/speedy/releases/cogs-framework-0.9.1/debian/cogs-framework23:23
mikeyeatesmake[1]: Entering directory `/home/mike/speedy/releases/cogs-framework-0.9.1'23:23
mikeyeatesinstall -d -o www-data -m 755 /home/mike/speedy/releases/cogs-framework-0.9.1/debian/cogs-framework/usr/share/php/cogs-framework/23:23
mikeyeatesinstall: cannot change owner and permissions of `/home/mike/speedy/releases/cogs-framework-0.9.1/debian/cogs-framework/usr/share/php/cogs-framework/': Permission denied23:23
mikeyeatesmake[1]: *** [install-framework] Error 123:23
mikeyeatesmake[1]: Leaving directory `/home/mike/speedy/releases/cogs-framework-0.9.1'23:23
mikeyeatesmake: *** [install] Error 223:23
mikeyeatesdpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 223:23
mikeyeatesThis must be something simple, does anyone know what I am doing wrong?23:23
sorenmikeyeates: Who owns /home/mike/speedy/releases/cogs-framework-0.9.1/debian/cogs-framework/usr/share/php/cogs-framework/ ?23:24
mikeyeatesmike23:25
mikeyeatesall operations are done under my user23:25
mikeyeatesit is chmod 700 though, but I didnt make that directory23:26
Tobudo you have a www-data user?23:31
mikeyeatesyep23:33
Tobuhuh23:33
mikeyeatesI thought it was all done under the fakeroot program which should mean it works?23:33
TobuIf you use fakeroot debian/rules or debuild, anyway23:34
mikeyeatesI am using debuild23:34
mikeyeateseven sudo debian/rules binary fails in the same way23:37
mikeyeatessudo install -d -o www-data -m 755 /home/mike/speedy/releases/cogs-framework-0.9.1/debian/cogs-framework/usr/share/php/cogs-framework/23:39
mikeyeateseven that does not work23:39
TobuTry sudo strace -f install …etc23:41
mikeyeatesThis looks like the relavent part23:43
mikeyeatesmkdir("cogs-framework/", 0700)          = -1 EEXIST (File exists)23:43
mikeyeatesopen("cogs-framework/", O_RDONLY|O_NOCTTY|O_NONBLOCK|O_DIRECTORY) = 323:43
mikeyeatesfstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 023:43
mikeyeatesfchown(3, 33, 4294967295)               = -1 EACCES (Permission denied)23:43
TobuEACCESS and not EPERM, strange23:47
Tobuanyway, clean up the whole mess if you can23:47
mikeyeatesI just had a thought... I am doing this in a virtual machine with the source directory ssh mounted from the desktop machine, maybe that is borking it?23:48
mikeyeatesill try from the desktop23:48
Tobuoh yeah, fuse would be denying permission to root23:48
Tobuto prevent normal users from showing root strange stuff, like setuid files and devices23:49
mikeyeatesthanks for your help..23:49
Tobu:)23:49

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