Re: Trying to update my Guix on Android

2024-07-07 Thread Tobias Alexandra Platen
I copied those files from my debian system, will try with guix system
later:

adb push /etc/protocols /system/etc/
adb push /etc/services /system/etc/
adb push /etc/resolv.conf /system/etc/

And none of the files differ
OnePlus6T:/etc # diff protocols /system/etc/protocols 
OnePlus6T:/etc # diff services /system/etc/services   
OnePlus6T:/etc # diff resolv.conf /system/etc/resolv.conf  

This one is working:
/gnu/store/q7527zanapb5cqqsyj46m3q3yr8a3vvz-curl-8.5.0/bin/curl
http://gnu.org


301 Moved Permanently

Moved Permanently
The document has moved http://www.gnu.org/;>here.

Apache/2.4.29 Server at gnu.org Port 80


This one does not:
OnePlus6T:/data/guixandroid #
/gnu/store/q7527zanapb5cqqsyj46m3q3yr8a3vvz-curl-8.5.0/bin/curl
https://gnu.org   
curl: (60) server certificate verification failed. CAfile: none
CRLfile: none
More details here: https://curl.se/docs/sslcerts.html


curl failed to verify the legitimacy of the server and therefore could
not establish a secure connection to it. To learn more about this
situation and how to fix it, please visit the web page mentioned above.

Guix pull fails for the same reason

/gnu/store/q7527zanapb5cqqsyj46m3q3yr8a3vvz-curl-8.5.0/bin/curl
http://gnu.org

zcat /var/log/guix/drvs/r6/39b2xgqihb2r1p8wqw25miid09s8mc-isrg-root-
x2.pem.drv.gz

View build log at
'/var/log/guix/drvs/r6/39b2xgqihb2r1p8wqw25miid09s8mc-isrg-root-
x2.pem.drv.gz'.
cannot build derivation `/gnu/store/qlqq5kddrjmwsj8qfgcadklmmf7kx54j-
le-certs-1.drv': 1 dependencies couldn't be built
guix pull: error: build of
`/gnu/store/qlqq5kddrjmwsj8qfgcadklmmf7kx54j-le-certs-1.drv' failed
1|OnePlus6T:/data/guixandroid # zcat
/var/log/guix/drvs/r6/39b2xgqihb2r1p8wqw25miid09s8mc-isrg-root-
x2.pem.drv.gz

Starting download of /gnu/store/5ryjiaii7gn8imh2xix4mak2yk6gmgrl-isrg-
root-x2.pem
>From https://letsencrypt.org/certs/isrg-root-x2.pem...
In procedure getaddrinfo: Temporary failure in name resolution



Re: Trying to update my Guix on Android

2024-07-06 Thread Julien Lepiller
These files need to be in /etc. Glibc will only look in that directory. I think 
at the time my phone had a symlink already, and I assumed it was the case for 
everyone.

Le 3 juillet 2024 19:37:17 GMT+02:00, Tobias Alexandra Platen 
 a écrit :
>I folled this old blog post from April 24, 2018:
>https://guix.gnu.org/en/blog/2018/guix-on-android/
>
>I installed Guix some long time ago, new I tried a guix pull because my
>instance is too old. I remember that I once got emacs working.
>
>guix package: warning: Your Guix installation is 87 days old.
>guix package: warning: Consider running 'guix pull' followed by
>'guix package -u' to get up-to-date packages and security updates.
>
>zcat /var/log/guix/drvs/nz/ad...4h-hello-2.12.1.tar.gz.drv.gz 
>
>Starting download of /gnu/store/3d..a3-hello-2.12.1.tar.gz
>
>From https://ftpmirror.gnu.org/gnu/hello/hello-2.12.1.tar.gz...
>In procedure getaddrinfo: Temporary failure in name resolution
>
>I pushed the files from my laptop:
>adb push /etc/protocols /system/etc/
>adb push /etc/services /system/etc/
>adb push /etc/resolv.conf /system/etc/
>and tried nameserver 8.8.8.8 once.
>
>/system/bin/curl is working, anything that uses glibc is broken.
>