IRC channel logs


back to list of logs

<davexunit>is there any reason why a program would fail to open a file given an absolute path to the store?
<davexunit>I'm packaging a game called "abbaye" and its segfaulting when loading an image. the source specifies /usr as the prefix, but I substituted /usr for the output directory and get a path like /gnu/store/41ggg63r7633ys0h0drwq4jy1wfnyy9b-abbaye-1.13/share/abbaye/graphics/intro.png
<davexunit>and that file definitely exists, but gdb is telling me the file isn't found anyway :(
*davexunit goes to get a pizza
<davexunit>nvm, the files are being loaded but a segfault is happening for another reason.
<davexunit>well it looks like the problem really is loading these images.
<davexunit>I just can't figure out why it doesn't work. the paths are correct.
<davexunit>I think my problem lies with sdl-image. seems that PNG support doesn't work.
<davexunit>ha, needed to propagate some inputs! w00t.
<davexunit>yay the game works!
<phant0mas>good morning guix
<civodul>Hello Guix!
<davexunit>hello #guix
<civodul>hey, davexunit
<davexunit>I recompiled guix last night with the latest master and now I get errors about libgcrypt when trying to build or install new packages. :(
<davexunit>I'm not at home to debug but I figured I would mention my sadness in case someone else has encountered this.
<davexunit>dynamic-link can't open the file
<civodul>i noticed that --with-libgcrypt-prefix is inappropriate on Debian derivatives nowadays
<civodul>because is in $prefix/lib/x86_64-linux-gnu, not $prefix/lib
<civodul>so we must adjust for that
<davexunit>oh okay. thanks, that's useful. now I have a starting point for resolving this.
<civodul>the workaround is to manually set the right file name in guix/config.scm...
<davexunit>will do. thanks for your help.