unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Trying to update my Guix on Android
@ 2024-07-03 17:37 Tobias Alexandra Platen
  2024-07-06 21:23 ` Julien Lepiller
  0 siblings, 1 reply; 3+ messages in thread
From: Tobias Alexandra Platen @ 2024-07-03 17:37 UTC (permalink / raw)
  To: guix-devel

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Trying to update my Guix on Android
  2024-07-03 17:37 Trying to update my Guix on Android Tobias Alexandra Platen
@ 2024-07-06 21:23 ` Julien Lepiller
  2024-07-07 13:47   ` Tobias Alexandra Platen
  0 siblings, 1 reply; 3+ messages in thread
From: Julien Lepiller @ 2024-07-06 21:23 UTC (permalink / raw)
  To: guix-devel, Tobias Alexandra Platen

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 <guix@platen-software.de> 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.
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Trying to update my Guix on Android
  2024-07-06 21:23 ` Julien Lepiller
@ 2024-07-07 13:47   ` Tobias Alexandra Platen
  0 siblings, 0 replies; 3+ messages in thread
From: Tobias Alexandra Platen @ 2024-07-07 13:47 UTC (permalink / raw)
  To: Julien Lepiller, guix-devel

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
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://www.gnu.org/">here</a>.</p>
<hr>
<address>Apache/2.4.29 Server at gnu.org Port 80</address>
</body></html>

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-07-07 14:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-03 17:37 Trying to update my Guix on Android Tobias Alexandra Platen
2024-07-06 21:23 ` Julien Lepiller
2024-07-07 13:47   ` Tobias Alexandra Platen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).