*** pitillo has quit IRC | 01:32 | |
*** pitillo has joined #crux-devel | 01:32 | |
*** frinnst has quit IRC | 03:49 | |
*** pitillo has quit IRC | 05:35 | |
*** pitillo has joined #crux-devel | 05:37 | |
*** acrux has quit IRC | 06:31 | |
*** acrux has joined #crux-devel | 06:33 | |
jaeger | apparently I'm a moron who can't build firefox without dbus | 07:56 |
---|---|---|
jaeger | http://pastebin.com/tgYk5UT2 | 08:04 |
pitillo | jaeger: have you rebuilt xulrunner? | 08:07 |
jaeger | yes | 08:07 |
jaeger | ah, need to add "ac_add_options --disable-dbus" to mozconfig, now it builds | 08:09 |
jaeger | it's already in the xulrunner mozconfig but not in the firefox one | 08:09 |
pitillo | ummm good catch then | 08:10 |
jaeger | perhaps nobody else has tried to build it without dbus installed yet | 08:11 |
pitillo | yes, I'm testing it now under vbox because I think I have dbus in all machines... | 08:18 |
pitillo | adding the ac_var may be affects to dbus detection in the case the machine has it (not sure really) and it'll be built always without dbus support (without detecting it) | 08:18 |
jaeger | I imagine that is the case | 08:26 |
*** jue has joined #crux-devel | 09:09 | |
pitillo | same here, fyi if it could be interesting | 09:35 |
jaeger | hrmm... how annoying is it to build gudev these days? guess I'll have to try it | 09:41 |
jaeger | yuck, upower needs libudev.la to build... :/ | 10:12 |
jue | well, that's a good reason to keep the .la file | 10:17 |
jaeger | it also seems to fail because libudev.so isn't in /lib | 10:18 |
jue | don't know why we remove it in the current udev-port, though | 10:18 |
jue | oops, that's strange | 10:18 |
jaeger | why is libudev.so in /usr/lib and libudev.so.0{,.9.3} in /lib? | 10:18 |
jue | well, the .so is only needed if you compile/build stuff but not at run-time | 10:21 |
jue | +link | 10:21 |
jaeger | well, I don't see any hard-coded references to it in upower's source via grep but the build definitely looks for /lib/libudev.so, not /usr/lib/libudev.so | 10:22 |
jaeger | the error comes from gcc | 10:23 |
jue | hmm, in libudev.pc we have /usr/lib as libdir | 10:24 |
jaeger | just wondered why we'd split them into separate directories. is it just because you don't need libudev.so to boot? | 10:24 |
jue | yes, and it's easier to move the lib than to adjust the pkgconfig stuff | 10:25 |
jaeger | yeah | 10:25 |
jue | btw, many other ports do it the same way | 10:27 |
jaeger | It wouldn't be a problem if gcc/linker/whatever can find them but in this case it can't | 10:27 |
jaeger | could add -L${exec_prefix}/usr/lib to libudev.pc, I suppose | 10:28 |
jue | even not if we have the .la file in /usr/lib? | 10:28 |
jaeger | yes | 10:28 |
jaeger | I'm working with a udev port that builds extras and leaves the .la file in | 10:28 |
jaeger | gcc: /lib/libudev.so: No such file or directory | 10:30 |
jue | hmm, having the symlink in /lib and /usr/lib would fix the issue, but I'd like to know what's wrong here | 10:32 |
jaeger | there's not even any -ludev in the upower Makefile that I see, though it does link gudev | 10:33 |
jue | jaeger: how can I reproduce the error? | 10:33 |
jaeger | you could try to build upower, I guess... not sure other than that | 10:34 |
jaeger | it has some annoying deps, though | 10:34 |
jaeger | I could send you some build logs or straces if you think it would help | 10:35 |
jue | hehe, yes, I see -> No package 'polkit-backend-1' found | 10:36 |
jaeger | this is all part of my gnome junk so it's kinda convoluted | 10:36 |
jaeger | http://pastebin.com/0uJTvyHD <-- upower build log, though it doesn't offer much | 10:39 |
jaeger | the strace isn't telling me a lot, either, except for showing the failed stat64() and access() calls | 10:46 |
jue | jaeger: I guess it's because we have libdir=/lib in libudev.la | 10:47 |
jaeger | that's the only reason I can think of, it doesn't seem to cause problems for other packages that don't use the .la file I guess | 10:48 |
jue | I'd suggest to edit the file and try again | 10:49 |
jaeger | the inconsistency feels messy to me | 10:49 |
jaeger | it builds with /usr/lib in libudev.la | 10:50 |
jue | I'll fix the udev port, we should keep the .la file, but it has to be in /usr/lib | 10:52 |
jue | with the correct content of course ;) | 10:52 |
jaeger | :) | 10:52 |
jaeger | still feels weird to me to have the /lib and /usr/lib split but I'll give it a try | 10:52 |
jue | jaeger: why? it make no sense to have all the .la files and .so symlink in /lib | 10:55 |
jaeger | probably because I'm not all that familar with libtool and the like | 10:56 |
jaeger | if I move libudev.la to /usr/lib and correct the libdir inside it, how does libtool know to find it there? | 10:57 |
jue | look at /usr/lib, you'll see a lot of .so file that are symlinks to /lib | 10:57 |
jue | libtool searchs the usual lib locations | 10:58 |
jaeger | libtool: link: cannot find the library `/lib/libudev.la' or unhandled argument `/lib/libudev.la' | 10:59 |
jue | jaeger: give me some seconds | 11:01 |
jaeger | no problem, I don't mean to make you do more work :) | 11:03 |
*** pitillo has quit IRC | 11:14 | |
*** pitillo has joined #crux-devel | 11:16 | |
jue | jaeger: that's ok, you've found a serious issue | 11:19 |
jue | jaeger: plases try that -> http://1fce82d5daa00eb6.paste.se/ | 11:19 |
jaeger | ok, trying | 11:24 |
jaeger | seems to work | 11:24 |
jaeger | comparing the two, why does that work? | 11:28 |
jue | it's now configured with libdir=/usr/lib and the libraries are moved to /lib, so the pc- and the la-file are both ok | 11:30 |
jaeger | hrmm, interesting | 11:30 |
jaeger | I must have missed something when I tried it with my port, didn't work | 11:30 |
jaeger | but this new one works, thanks for helping with that | 11:30 |
jue | thanks for testing and the report ;) | 11:31 |
jaeger | no problem :) | 11:31 |
jaeger | missed it in the initial test because I wasn't building gnome stuff | 11:31 |
jaeger | gotta go to a lunch meeting, back in a bit. thanks again :) | 11:43 |
*** acrux has quit IRC | 12:52 | |
*** acrux has joined #crux-devel | 12:54 | |
jaeger | starting a new ISO bootstrap with the latest udev/etc. updates | 13:56 |
*** acrux has quit IRC | 14:38 | |
*** acrux has joined #crux-devel | 14:40 | |
*** jue has quit IRC | 17:36 | |
*** deus_ex has quit IRC | 21:18 | |
*** deus_ex has joined #crux-devel | 21:21 | |
*** mavrick61 has quit IRC | 21:37 | |
*** mavrick61 has joined #crux-devel | 21:38 |
Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!