You are here

IRC logs for #guix, 2015-02-27 (GMT)

2015-02-26
2015-02-28
TimeNickMessage
[00:00:15]<toothbrush0>Gaah, i don't suppose anybody has dared do anything with Boost Library binary stuff? <http://www.boost.org/doc/libs/1_57_0/more/getting_started/unix-variants....
[00:15:47]<mark_weaver>toothbrush0: what do you mean? we already have boost in guix.
[00:15:55]<mark_weaver>what do you mean by "binary stuff" ?
[00:18:12]<toothbrush0>well, i don't quite know how it's supposed to work, and a package i'm building requires it, but claims not to be able to find the required library ("checking for main in -lboost_filesystem-mt... no
[00:18:16]<toothbrush0>")
[00:18:57]<toothbrush0>mark_weaver: section 5.1 of the page i linked to talks about "Boost binaries"
[00:25:21]* mark_weaver looks
[00:26:25]<mark_weaver>we have libboost_filesystem, but not libboost_filesystem_mt. that might have to do with multi-threading support. maybe we are missing some needed flags in our boost package.
[00:26:45]<mark_weaver>boost has a very unusual build system
[00:28:12]<toothbrush0>Ah!
[00:28:23]<toothbrush0>yeah i have absolutely no idea what's going on there.
[00:28:39]<toothbrush0>thanks for the pointer though
[00:28:44]<toothbrush0>i hadn't made the connection
[00:28:48]* tschwing_ has joined #guix
[00:28:55]* tschwinge has quit (Remote host closed the connection)
[00:29:04]* pecg has quit (Quit: WeeChat 1.1.1)
[00:29:10]* fotis2 has quit (Quit: No Ping reply in 180 seconds.)
[00:29:17]* fotis2 has joined #guix
[00:30:05]<mark_weaver>debian's boost-filesystem1.55-dev package doesn't have the '_mt' suffix on that library name either.
[00:30:36]<toothbrush0>Hm.
[00:31:09]<mark_weaver>ah, but old versions of boost had variants both and without the _mt suffix.
[00:31:20]<mark_weaver>e.g. in boost 1.42
[00:32:20]<mark_weaver>my wild guess is that long ago, boost made separate libraries for multi-thread and single-thread, and now they just have the multi-thread ones..
[00:32:48]<toothbrush0>i wonder if i could try some kind of search-and-replace from filesystem_mt -> filesystem....
[00:33:21]<mark_weaver>that might be the right thing, dunno.
[00:33:27]* mark_weaver goes afk
[00:34:19]* toothbrush0 has quit (Quit: leaving)
[01:12:19]* Emulatorman has joined #guix
[01:42:29]* arescorpio has joined #guix
[02:20:59]* grantix has quit (Ping timeout: 255 seconds)
[02:40:53]* cpc26_ has joined #guix
[02:43:11]* cpc26 has quit (Ping timeout: 256 seconds)
[02:43:36]* Emulatorman has quit (Read error: Connection reset by peer)
[02:48:42]* Emulatorman has joined #guix
[03:20:21]* ArneBab_ has joined #guix
[03:23:57]* ArneBab has quit (Ping timeout: 264 seconds)
[03:25:30]* OrangeShark has joined #guix
[03:32:41]* grantix has joined #guix
[04:06:10]* paroneay` has joined #guix
[04:10:20]* paroneayea has quit (Ping timeout: 255 seconds)
[04:12:46]* paroneay` is now known as paroneayea
[04:25:41]* mongrol has quit (Quit: Connection reset by beer)
[04:53:05]* Emulatorman has left #guix ()
[05:17:38]* arescorpio has quit (Excess Flood)
[05:23:18]* iyzsong will package font-adobe-source-han-sans, for my name's sake ;-)
[05:27:10]* OrangeShark has quit (Quit: Leaving)
[05:45:17]* phant0mas has joined #guix
[05:45:32]* phant0mas has quit (Remote host closed the connection)
[06:06:14]* tschwing_ is now known as tschwinge
[06:06:23]* tschwinge has quit (Changing host)
[06:06:23]* tschwinge has joined #guix
[06:11:54]<mark_weaver>iyzsong: ah, good! :)
[06:51:46]* mtakkman has joined #guix
[06:56:43]* mongrol has joined #guix
[06:58:54]* mtakkman has quit (Ping timeout: 256 seconds)
[07:07:57]<rekado>I'm having trouble wrapping solfege; I can use wrap-program to wrap the executable such that PYTHONPATH is set to include pygtk, but pygtk has propagated inputs pycairo and gobject which also need to be in the PYTHONPATH.
[07:08:06]<rekado>I'm not sure I'm doing this right.
[07:08:27]* grantix has quit (Remote host closed the connection)
[07:09:07]* ph4nt0mas has joined #guix
[07:11:29]* grantix has joined #guix
[07:38:49]<rekado>how can I access the propagated inputs of an input in a build phase?
[07:38:57]<rekado>or is this something I shouldn't want to be doing?
[07:54:25]<rekado>even if I add pycairo and gobject as direct inputs to solfege (to make it easier to add their paths to PYTHONPATH with wrap-program) I'm missing dependencies.
[07:54:44]<rekado>it really feels like I'm doing something I should not be attempting to do.
[07:56:30]<rekado>I would like to be able to just add all python inputs and their inputs to the PYTHONPATH, so that I can wrap "/bin/solfege".
[07:59:31]<mark_weaver>rekado: I think the way this is supposed to work is that the 'native-search-path' specification for PYTHONPATH in the python and python-2 packages is supposed to ensure that PYTHONPATH is automatically set in the 'set-paths' phase to the right thing.
[08:00:20]<mark_weaver>but I suppose that's looking through native inputs, not normal inputs.
[08:08:31]* nee` has joined #guix
[08:08:49]<mark_weaver>maybe best to wait for civodul to answer your questions. my knowledge of this area is too weak, and it's late here.
[08:10:18]<rekado>heh, okay.
[08:11:13]<rekado>I'll try to just use wrap-program with (getenv "PYTHONPATH") if it's set in the set-env phase already.
[08:18:02]* zacts has joined #guix
[08:27:15]* effa has joined #guix
[09:09:08]* toothbrush0 has joined #guix
[09:28:46]<Sleep_Walker>mark_weaver: ok!
[09:28:48]<Sleep_Walker>thanks
[09:34:15]<toothbrush0>Silly question time: how do i set environment variables when calling (system* ..) ?
[09:34:29]<toothbrush0>I'm not good at finding this sort of thing in TFM :/
[09:42:38]<toothbrush0>Ah, nvm.
[10:03:33]* mtakkman has joined #guix
[10:05:28]* ewemoa has quit (Quit: WeeChat 1.0.1)
[10:11:40]* ewemoa has joined #guix
[10:12:24]* mtakkman has quit (Ping timeout: 245 seconds)
[10:34:50]* toothbrush0 has quit (Remote host closed the connection)
[10:49:47]* toothbrush0 has joined #guix
[10:51:08]* toothbru1h0 has joined #guix
[10:51:08]* toothbru1h0 has quit (Client Quit)
[10:51:48]* toothbrush0 has left #guix ()
[10:52:12]* toothbrush0 has joined #guix
[10:59:57]* effa` has joined #guix
[11:02:00]* effa has quit (Ping timeout: 256 seconds)
[11:03:04]<toothbrush0>How should i handle packaging the (apparently absent) "mpc", which is the command-line client to Music Playing Daemon, since its name conflicts with multiprecision?
[11:26:35]<effa`> /bye
[11:26:41]* effa` has quit (Remote host closed the connection)
[11:31:15]* effa has joined #guix
[11:31:29]<iyzsong>I don't know too, but many distro have one named 'libmpc' to avoid conflict.
[11:44:45]* ewemoa has quit (Quit: WeeChat 1.0.1)
[11:54:47]<taylanub>toothbrush0: maybe mpc-player
[11:54:53]<taylanub>toothbrush0: best to ask the mailing list
[11:55:41]<taylanub>toothbrush0: environment variables can be set like (setenv "CC" "gcc"). they will be carried on to the rest of the build process I think, i.e. including all remaining build phases.
[12:06:27]* ewemoa has joined #guix
[12:07:51]* Emulatorman has joined #guix
[12:15:53]* davexunit has joined #guix
[12:17:34]<davexunit>I finally updated my dedicated guix machine
[12:17:40]<davexunit>really liking the new artwork that greets me
[12:17:41]* ArneBab has joined #guix
[12:20:58]* ArneBab_ has quit (Ping timeout: 264 seconds)
[12:21:20]* mtakkman has joined #guix
[12:24:55]* ArneBab has quit (Ping timeout: 246 seconds)
[12:25:00]* ArneBab_ has joined #guix
[12:31:27]* ArneBab_ has quit (Ping timeout: 272 seconds)
[12:32:30]* ArneBab has joined #guix
[12:39:24]* ArneBab has quit (Ping timeout: 250 seconds)
[12:49:02]* mtakkman has quit (Ping timeout: 264 seconds)
[12:51:11]* ArneBab has joined #guix
[12:56:51]* ArneBab has quit (Ping timeout: 255 seconds)
[12:58:46]* mtakkman has joined #guix
[13:00:22]* ArneBab has joined #guix
[13:09:31]* ArneBab has quit (Ping timeout: 265 seconds)
[13:10:38]* civodul has joined #guix
[13:11:56]<civodul>Hello Guix!
[13:12:02]<davexunit>hey civodul
[13:24:29]* mtakkman has quit (Ping timeout: 245 seconds)
[13:29:28]* ewemoa has quit (Quit: WeeChat 1.0.1)
[13:32:35]<davexunit>since $HOME/.bashrc is generated by guix and read-only, should I configure it via my OS config file?
[13:33:01]* ewemoa has joined #guix
[13:33:29]<davexunit>I want to set my $PS1 and such
[13:37:49]* ArneBab has joined #guix
[13:49:10]* taylanub has quit (Ping timeout: 250 seconds)
[13:50:36]* ArneBab has quit (Ping timeout: 265 seconds)
[13:50:58]<civodul>davexunit: it's not supposed to be read-only, that's a bugg
[13:51:00]<civodul>*bug
[13:51:37]<civodul>i guess that's because useradd preserves the permissions of skeleton files
[13:52:37]<civodul>mark_weaver: i'll push the (setenv LC_ALL ...) patch i posted along with my other core-updates changes
[13:52:42]<civodul>it should be fine
[13:56:22]* taylanub has joined #guix
[13:56:25]<davexunit>civodul: oh okay, so the skeletons are just examples, basically?
[13:56:32]<davexunit>cool
[13:59:57]* ArneBab has joined #guix
[14:03:25]* effa` has joined #guix
[14:05:10]* effa has quit (Ping timeout: 252 seconds)
[14:05:18]* phant0mas has joined #guix
[14:07:02]* taylanub has quit (Ping timeout: 265 seconds)
[14:07:16]<civodul>davexunit: more than examples; these are the files that useradd installs for new accounts
[14:07:22]<civodul>so new user accounts are usable out of the box
[14:07:57]<rekado_>I think the python build system should pass make-flags to the build phase, so that things like "--compiler=gcc" can be passed.
[14:08:04]<rekado_>I'm testing a change to this effect right now.
[14:08:17]* taylanub has joined #guix
[14:08:44]<rekado_>For some reason it's looking for "cc" when distutils.ccompiler is used and it won't be persuaded by the CC environment variable.
[14:09:23]* toothbrush0 has left #guix ("ERC Version 5.3 (IRC client for Emacs)")
[14:09:43]<civodul>ok
[14:10:31]<davexunit>civodul: okay, I'm just thinking about how to reconcile my version controlled dotfiles that I carry with me to all of my machines and these auto-generated files
[14:13:11]<davexunit>does anyone know how to make evince work
[14:13:29]<davexunit>I see this:
[14:13:31]<davexunit>WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
[14:13:34]<davexunit>and then it exits
[14:14:28]<civodul>i have this warning but it's not fatal
[14:14:46]<civodul>try "export DBUS_FATAL_WARNINGS=0"
[14:15:19]* ArneBab has quit (Ping timeout: 272 seconds)
[14:15:39]* civodul goes afk a bit
[14:16:17]<davexunit>hmm, wonder why it segfaults then...
[14:16:22]<davexunit>I'll just use xpdf for now
[14:21:24]* rekado_ uses Emacs for PDFs.
[14:22:42]<davexunit>I tried opening the pdf with emacs and it didn't do anything
[14:22:48]<davexunit>so I imagine I have to setup something else
[14:24:43]* ArneBab has joined #guix
[14:30:32]<rekado_>davexunit: do you have ghostscript installed? Emacs uses ghostscript (or mupdf) to convert the pages to images.
[14:30:57]* ArneBab has quit (Ping timeout: 256 seconds)
[14:31:00]<davexunit>oh okay, that must be it.
[14:31:17]* ArneBab has joined #guix
[14:31:22]<davexunit>perhaps the input should be propagated?
[14:47:36]* Emulatorman1 has joined #guix
[14:48:46]* Emulatorman has quit (Ping timeout: 246 seconds)
[14:53:18]* alezost has joined #guix
[14:58:09]* phant0mas has quit (Remote host closed the connection)
[15:08:18]* jgay has joined #guix
[15:08:19]* jgay has quit (Changing host)
[15:08:19]* jgay has joined #guix
[15:13:27]<civodul>davexunit: it's not on GuixSD, is it?
[15:13:33]<civodul>that Evince segfaults
[15:13:47]<davexunit>it is
[15:13:52]<civodul>oh
[15:14:01]<davexunit>I'm working from home today from my guixsd machine
[15:14:13]<civodul>i don't have gs installed in my profile, so that must be something else
[15:14:31]<civodul>could you just get a backtrace? it might give an idea
[15:14:43]<davexunit>I can try to debug later, I just don't have the time now.
[15:15:20]<civodul>sure