Re: Guix Merch?

2021-12-19 Thread Pascal Lorenz
Good idea! I had myself a t-shirt and some stickers printed a few weeks ago:



> On 11. Dec 2021, at 23:23, opalvaults (ry) via  wrote:
> 
> Hello
> 
> Is there the possibility of getting GNU Guix merch (stickers, shirts, etc) at 
> some point in the future? I've seen others in #guix express interest and I 
> think it could be a good way to support some of the core developers or 
> project perhaps.
> 
> Thanks :)
> 
> 



Re: Guix segfaults, how do I roll back?

2021-12-19 Thread Wiktor Żelazny
On Sat, Dec 18, 2021 at 05:01:58PM +0100, Ricardo Wurmus wrote:

> just run
> /var/guix/profiles/per-user/$USERNAME/current-guix-110-link/bin/guix

Thank you, Ricardo, for this simple solution.

> Make sure that LD_LIBRARY_PATH is not set.

It is set, but after `unset LD_LIBRARY_PATH` Guix keeps segfaulting.
However, this

   $ /var/guix/profiles/per-user/$USERNAME/current-guix-152-link/bin/guix shell 
-C guix -- guix --version
   guix (GNU Guix) 1.3.0-13.8cc099b
   Copyright (C) 2021 the Guix authors
   License GPLv3+: GNU GPL version 3 or later 
   This is free software: you are free to change and redistribute it.
   There is NO WARRANTY, to the extent permitted by law.

works, and returns a newer commit than

   $ /var/guix/profiles/per-user/$USERNAME/current-guix-152-link/bin/guix 
--version
   guix (GNU Guix) b3a801330ed1c126a215fa8e3ff2aea0880eeba8
   Copyright (C) 2021 the Guix authors
   License GPLv3+: GNU GPL version 3 or later 
   This is free software: you are free to change and redistribute it.
   There is NO WARRANTY, to the extent permitted by law.

, so I assume that it is the new Guix, without a segfault when in a
container.

WŻ


signature.asc
Description: PGP signature


Gajim crashes

2021-12-19 Thread Caleb Herbert

Fedora 35
[caleb@bender ~]$ ls -Fla $(which gajim)
lrwxrwxrwx. 8 root root 65 Dec 31  1969 
/home/caleb/.guix-profile/bin/gajim -> 
/gnu/store/jf529bzcws11pl9ibgj8qv45dd17sgcy-gajim-1.3.1/bin/gajim*

[caleb@bender ~]$ gajim
No translations found
Dirs searched: [PosixPath('/home/caleb/.local/share'), 
PosixPath('/gnu/store/5rzslgvj7ql028ifaqar7gyr5ggwps9s-shared-mime-info-1.15/share'), 
PosixPath('/gnu/store/rsxbfi02k9vij9dd6d2q3mdbcm5k2pny-gtk+-3.24.24/share'), 
PosixPath('/gnu/store/kksi41cjrrabsxsmpk8asj5grinlnd23-gsettings-desktop-schemas-3.34.0/share'), 
PosixPath('/gnu/store/gjqq86zakkwvvaz37zljhydfm728g0a7-glib-2.62.6/share'), 
PosixPath('/gnu/store/jf529bzcws11pl9ibgj8qv45dd17sgcy-gajim-1.3.1/share'), 
PosixPath('/gnu/store/5rzslgvj7ql028ifaqar7gyr5ggwps9s-shared-mime-info-1.15/share'), 
PosixPath('/gnu/store/rsxbfi02k9vij9dd6d2q3mdbcm5k2pny-gtk+-3.24.24/share'), 
PosixPath('/gnu/store/kksi41cjrrabsxsmpk8asj5grinlnd23-gsettings-desktop-schemas-3.34.0/share'), 
PosixPath('/gnu/store/gjqq86zakkwvvaz37zljhydfm728g0a7-glib-2.62.6/share'), 
PosixPath('/gnu/store/jf529bzcws11pl9ibgj8qv45dd17sgcy-gajim-1.3.1/share'), 
PosixPath('/home/caleb/.guix-profile/share'), 
PosixPath('/home/caleb/.guix-profile/share'), 
PosixPath('/home/caleb/.guix-profile/share'), 
PosixPath('/home/caleb/.guix-profile/share'), 
PosixPath('/home/caleb/.guix-profile/share'), 
PosixPath('/home/caleb/.guix-profile/share'), 
PosixPath('/home/caleb/.local/share/flatpak/exports/share'), 
PosixPath('/var/lib/flatpak/exports/share'), 
PosixPath('/usr/local/share'), PosixPath('/usr/share')]


(..gajim-real-real:68314): GLib-GIO-ERROR **: 14:43:54.800: Settings 
schema 'org.gnome.settings-daemon.plugins.xsettings' does not contain a 
key named 'antialiasing'

Trace/breakpoint trap (core dumped)
[caleb@bender ~]$


OpenPGP_0x42E4FDF80F03CA7C.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Nginx with PHP and sqlite

2021-12-19 Thread Andreas Enge
Hello,

I would like to create a website using PHP and sqlite; so far my server
uses Nginx (and static pages), whereas the "web services" part of the Guix
documentation only explains how to add PHP to Apache.

Would anyone have a sample configuration for PHP with Nginx, preferably
with sqlite as a database backend?

Thanks for your help,

Andreas




Re: Nginx with PHP and sqlite

2021-12-19 Thread Julien Lepiller
The manual has an example of how to use php fpm with nginx, using 
nginx-php-location for instance.

Le 19 décembre 2021 15:47:55 GMT-05:00, Andreas Enge  a écrit :
>Hello,
>
>I would like to create a website using PHP and sqlite; so far my server
>uses Nginx (and static pages), whereas the "web services" part of the Guix
>documentation only explains how to add PHP to Apache.
>
>Would anyone have a sample configuration for PHP with Nginx, preferably
>with sqlite as a database backend?
>
>Thanks for your help,
>
>Andreas
>
>


Re: Nginx with PHP and sqlite

2021-12-19 Thread Andreas Enge
Am Sun, Dec 19, 2021 at 03:58:37PM -0500 schrieb Julien Lepiller:
> The manual has an example of how to use php fpm with nginx, using
> nginx-php-location for instance.

That was a good start, thank you! Strangely enough reconfiguring and
"herd restart nginx" was not enough, I had to reboot the (virtual)
machine.

Andreas




Re: Aarch64 build of rust-1.39.0 fails

2021-12-19 Thread Maxim Cournoyer
Hi,

phodina via  writes:

> Hi,
>
> I checked the build server and there were no substitutes [1] for
> rust-1.39.0 for the Aarch64 system.
>
> When building natively (Pinebook Pro) there is this problem:
>
> $ uname -a
> Linux valhalla 5.14.9-gnu #1 SMP PREEMPT 1 aarch64 GNU/Linux
> ~/guix$ guix build rust -K
> ...
>> /tmp/guix-build-rust-1.39.0.drv-0/mrustc/bin/mrustc
> rustc-1.39.0-src/src/libcore/lib.rs -o output/libcore.rlib
> --crate-name core --crate-type rlib -C
> emit-depfile=output/libcore.rlib.d --crate-tag 0_0_0 -g --cfg
> debug_assertions -O -L output --edition 2018
> rustc-1.39.0-src/src/libcore/slice/mod.rs:67: warn:0:Unexpected
> attribute allow_internal_unstable on associated item
> rustc-1.39.0-src/src/libcore/str/mod.rs:2173: warn:0:Unexpected
> attribute allow_internal_unstable on associated item
> In file included from output/libcore.rlib.c:7:
> output/libcore.rlib.c: In function
> ‘ZRQG2ch4core50_0_03ffi10VaListImpl0g2cb05clone5Clone0gb30g’:
> output/libcore.rlib.c:219717:10: warning: passing argument 1 of
> ‘__builtin_va_copy’ from incompatible pointer type
> [-Wincompatible-pointer-types]
> 219717 | va_copy(var3, arg0);
> | ^~~~
> | |
> | struct s_ZRG2ch4core50_0_03ffi10VaListImpl0g **
> output/libcore.rlib.c:219717:10: note: expected ‘__va_list *’ but
> argument is of type ‘struct s_ZRG2ch4core50_0_03ffi10VaListImpl0g **’
> output/libcore.rlib.c:219717:16: error: incompatible type for argument 2 of 
> ‘__builtin_va_copy’
> 219717 | va_copy(var3, arg0);
> | ^~~~
> | |
> | struct s_ZRG2ch4core50_0_03ffi10VaListImpl0g *
> output/libcore.rlib.c:219717:16: note: expected ‘__va_list’ but
> argument is of type ‘struct s_ZRG2ch4core50_0_03ffi10VaListImpl0g *’
> C Compiler failed to execute - error code 256
> Process exited with non-zero exit status 1
> BUILD FAILED
> make: *** [minicargo.mk:82: output/libstd.rlib] Error 1
> error: in phase 'build': uncaught exception:
> %exception #<&invoke-error program: "make" arguments: ("-f"
> "minicargo.mk" "output/rustc" "-j6"
> "RUSTC_TARGET=aarch64-unknown-linux-gnu" "RUSTC_VERSION=1.39.0"
> "MRUSTC_TARGET_VER=1.39" "OUTDIR_SUF=") exit-status: 2 term-signal: #f
> stop-signal: #f>
> phase `build' failed after 1006.4 seconds
> command "make" "-f" "minicargo.mk" "output/rustc" "-j6"
> "RUSTC_TARGET=aarch64-unknown-linux-gnu" "RUSTC_VERSION=1.39.0"
> "MRUSTC_TARGET_VER=1.39" "OUTDIR_SUF=" failed with status 2

This is not a Rust but a (known) mrustc issue, which is used to
bootstrap Rust starting at version 1.39.0.  It currently only supports
x86_64, although the author is interested in enabling support for other
architectures (a WIP).

Thanks,

Maxim



Re: Guix Merch?

2021-12-19 Thread Ry P.
Those look great! Were they both done DIY or through a printing shop? 
I'd be interested in researching ethical screenprinting/printing shops 
to get more of these made (and I'm sure we could get more designs 
made?). If anyone has any suggestions that would be most welcome. :)


On 12/19/21 1:36 AM, Pascal Lorenz wrote:
Good idea! I had myself a t-shirt and some stickers printed a few 
weeks ago:




On 11. Dec 2021, at 23:23, opalvaults (ry) via  wrote:

Hello

Is there the possibility of getting GNU Guix merch (stickers, shirts, 
etc) at some point in the future? I've seen others in #guix express 
interest and I think it could be a good way to support some of the 
core developers or project perhaps.


Thanks :)