guix on a foreign distribution: how to upgrade to new release

2019-06-28 Thread Andy Tai
did not do anything except to continue to do guix pull && guix package -u periodically. Now guix --version continues to show it is at version 1.0.0. I wonder if this is as expected or I missed something that I should do after a new guix release, to upgrade to the new version? Thank

guix package conflict

2019-08-09 Thread Andy Tai
he best approach to fix this? -- Andy Tai, a...@atai.org, Skype: licheng.tai, Line: andy_tai, WeChat: andytai1010 Year 2019 民國108年 自動的精神力是信仰與覺悟 自動的行為力是勞動與技能

Re: guix package conflict

2019-08-11 Thread Andy Tai
will install the same package at the same version, > but with updated inputs. Then all the propagated inputs end up > being the same, so there is no conflict. > > Carlo > -- Andy Tai, a...@atai.org, Skype: licheng.tai, Line: andy_tai, WeChat: andytai1010 Year 2019 民國108年 自動的精神力是信仰與覺悟 自動的行為力是勞動與技能

Thanks

2019-10-11 Thread Andy Tai
This is not a question but a thanks for Ludo and all Guix contributors for working on this GNU System Distribution which is critical for Free Software's future and the realization of an advanced GNU OS for the world. Thanks -- Andy Tai, a...@atai.org, Skype: licheng.tai, Line: andy_tai, W

Re: GNU Guix 1.1.0 released

2020-04-15 Thread Andy Tai
; *** daemon: Make 'profiles/per-user' non-world-writable > (<https://issues.guix.gnu.org/issue/37744>) > *** linux-boot: Don't ignore options when mounting root file system > (<https://issues.guix.gnu.org/issue/37977>) > *** Files produced by syslogd are no longer world-readable > (<https://issues.guix.gnu.org/issue/40405>) > > ** Native language support > *** Updated translations of the manual > > The manual is fully translated into Spanish, more than 85% complete in > French > and German, and has preliminary translations into Russian and Chinese. > > *** Updated translations of messages > > This version of Guix is fully translated in Brazilian Portuguese, French, > German, and Spanish, and partially translated in 10 other languages. > > Please report bugs to bug-g...@gnu.org > Join guix-de...@gnu.org and #guix on Freenode for discussions. > > Thanks to everyone who contributed to this release! > > Ludovic, on behalf of the Guix team. > -- Andy Tai, a...@atai.org Year 2010 民國99年 自動的精神力是信仰與覺悟 自動的行為力是勞動與技能

building package: gcc 7.5.0 referenced instead of latest gcc; not sure why

2021-02-22 Thread Andy Tai
Hi, I checked out guix git following instructions in https://github.com/pjotrp/guix-notes/blob/master/INSTALL.org#fetch-repository-with-git and everything checked out and built fine. the gcc installed is version 10.2.0 ./pre-inst-env gcc --version gcc (GCC) 10.2.0 Copyright (C) 2020 Free Softwa

building package: gcc 7.5.0 referenced instead of latest gcc; not sure why

2021-02-22 Thread Andy Tai
Hi, I checked out guix git following instructions in https://github.com/pjotrp/guix-notes/blob/master/INSTALL.org#fetch-repository-with-git and everything checked out and built fine. the gcc installed is version 10.2.0 ./pre-inst-env gcc --version gcc (GCC) 10.2.0 Copyright (C) 2020 Free Softwa

building package: gcc 7.5.0 referenced instead of latest gcc; not sure why

2021-02-23 Thread Andy Tai
ferences explicitly gcc 7.5. I did not install gcc 7.5 explicitly either. (gcc 7.5 has problem compiling the package source so I want to make sure later gcc used) Thanks for any hint on this -- Andy Tai, a...@atai.org Year 2021 民國110年 自動的精神力是信仰與覺悟 自動的行為力是勞動與技能

Re: building package: gcc 7.5.0 referenced instead of latest gcc; not sure why

2021-02-23 Thread Andy Tai
Thanks. I figured out the problem, gcc version was not the problem But gcc 10 did help by giving useful messages to point out the issue. Thanks! On Tue, Feb 23, 2021 at 8:12 PM zimoun wrote: > > Hi Andy, > > On Mon, 22 Feb 2021 at 16:10, Andy Tai wrote: > > > ./pre-i

two questions on guix upgrade

2021-03-16 Thread Andy Tai
et available would be build locally and because of the low amount of RAM the build steps would fail, again making the whole command fail. It would be ideal to have an option to just skip packages that would be built locally. Sorry if I missed any existing ways to do these if already available..

question on workflow for package definition development

2021-03-19 Thread Andy Tai
Hi, currently for updating package definitions in guix.git, these are the steps I am following: (from https://github.com/pjotrp/guix-notes/blob/master/INSTALL.org#building-gnu-guix-from-source-using-guix---the-bullet-proof-way) in guix.git guix pull guix environment -C guix --ad-hoc bash vim

build broken packages handling

2021-03-29 Thread Andy Tai
a package is not building in guix, should a bug be filed against it? Ot there is a way, a CI web interface or something that shows all existing packages whose builds are broken? Thanks -- Andy Tai, a...@atai.org, Skype: licheng.tai, Line: andy_tai, WeChat: andytai1010 Year 2021 民國110年 自動的精神力是信仰

guix pack and flatpak

2021-05-02 Thread Andy Tai
a question hopefully not too wild: Guix can generate Docker image via guix pack Only knowing flatpak in brief terms, can guix software bundle mechanisms be used to create flatpak? -- Andy Tai, a...@atai.org Year 2021 民國110年 自動的精神力是信仰與覺悟 自動的行為力是勞動與技能

scheme error message: better hint at file location?

2021-05-04 Thread Andy Tai
This is a guix question, or a guile question. I am working on a package definition. I run into this error from guile: ---begin--- The following derivation will be built: /gnu/store/mc4ssrfp1bsima42rylxmnj8h1vjrik9-opencv-3.4.14.drv building /gnu/store/mc4ssrfp1bsima42rylxmnj8h1vjrik9-opencv-3.

enabling non-native architecture build

2021-05-29 Thread Andy Tai
ot;)) > > Then reconfigure your system. shows how to support building for, say, arm, on Intel systems. However, if I am using Guix as a foreign distribution upon another GNU/Linux distribution, for example Fedora, how do I achieve the same as above? Thanks -- Andy Tai, a...@atai.org, Skype:

change package name

2021-07-11 Thread Andy Tai
used should be more specific. Thanks -- Andy Tai, a...@atai.org Year 2021 民國110年 自動的精神力是信仰與覺悟 自動的行為力是勞動與技能

guix pack on Linux kernel

2021-07-24 Thread Andy Tai
question the Guix documentation says a bundle created from guix pack can run on machines running the Linux kernel. Does this mean such a bundle can possibly run on Linux kernel with any C library, or just GNU/Linux? (providing no other blocking factors, such as the hardware or driver needed is pr

Re: guix pack on Linux kernel

2021-07-24 Thread Andy Tai
runs the kernel Linux!" On Sat, Jul 24, 2021 at 2:06 PM Andy Tai wrote: > > question the Guix documentation says a bundle created from guix pack > can run on machines running the Linux kernel. Does this mean such a > bundle can possibly run on Linux kernel with any C librar

Re: guix pack on Linux kernel

2021-07-25 Thread Andy Tai
o meet GPL requirements (user given the sources to be able to recreate the binaries distributed from these sources) for a guix pack. Thanks On Sat, Jul 24, 2021 at 2:48 PM Ricardo Wurmus wrote: > > > Andy Tai writes: > > > question the Guix documentation says a bundle created fr

building but skipping tests?

2021-08-07 Thread Andy Tai
Hi, if I try to install a package and that may trigger building a number of dependencies (when no substitutes for some reason but that is outside the concern of this question), I notice that since the build processes would run the tests by default, that takes a lot of time. I wonder if it is poss

meson needs certain version

2021-08-09 Thread Andy Tai
Hi, I am trying to create package definition for some specific package and it uses meson for build. When I try to guix build the package, it fails with meson.build:1:0: ERROR: Meson version is 0.53.2 but project requires >= 0.54 I find meson later than 0.53.2 in guix already, but how in package

post guix pull shell command

2021-08-26 Thread Andy Tai
Hi, after doing a guix pull && guix package -u this message is shown hint: Consider setting the necessary environment variables by running: GUIX_PROFILE="/home/atai/.guix-profile" . "$GUIX_PROFILE/etc/profile" I believe this actually means to ask the user to do GUIX_PROFILE="/home/at

packaging package with multiple git repos

2021-08-26 Thread Andy Tai
Hi, I am trying to create a package definition for a package which has multiple git repos and is to be built with these repos checked out together. I am curious how can multiple source origins be expressed in package definition? thanks for examples for this. -- Andy Tai, a...@atai.org Year

cache for guix build

2021-12-05 Thread Andy Tai
I wonder if there is a way to cache the build artifacts in guix build? by that I mean for example if I am building for a package with local definition in .scm, and if I modify the .scm package definition when I rerun guix build it basically downloads and rebuilds everything from scratch. for qui

bootstrapping scenario for a package

2021-12-20 Thread Andy Tai
Hi, I was trying to update mono to the current release version. The build step as documented actually says to download a minimal C# compiler from the mono site which is then used to compile the rest of the source to build the full system. I looked and did not find the source of this minimal comp

substitute server rename

2022-01-01 Thread Andy Tai
Hi, I have another guix channel in my system configruation which has its own substitute server. Recently the substitute server have been renamed so following https://guix.gnu.org/manual/en/html_node/Getting-Substitutes-from-Other-Servers.html I edited /etc/config.scm to rename the substitute ser

Re: substitute server rename

2022-01-03 Thread Andy Tai
Thanks. specifying --substitute-urls="https://new.server.name https://ci.guix.gnu.org"; worked On Sat, Jan 1, 2022 at 1:04 PM Tobias Geerinckx-Rice wrote: > > Andy, > > $ sudo guix system reconfigure /etc/config.scm --no-substitutes > > or > > $ sudo guix system reconfigure /etc/config.scm >

Guix on 32-bit x86 systems

2022-04-05 Thread Andy Tai
Hi, I wonder do people recommend running Guix as the primary OS on 32-bit x86 systems? I have some old 32-bit 80x86 (Pentium) PCs that were running Fedora and of course Fedora had dropped support for 32-bit x86 some time ago. I am curious how would Guix work on such hardware. These old PCs may

GNU Guix system ARM image

2022-05-07 Thread Andy Tai
The Guix web site lists GUIX System ISO images for x86 and x64-64. Is there an ARM (64-bit) image that at least can be installed on QEMU emulator (for ARM) if not on actual ARM boards, or on ARM systems like the Apple Silicon based systems?

package exists but not showing

2022-07-07 Thread Andy Tai
Hi, I am running the latest mainline guix on top of Fedora. After doing guix pull && guix package -u I run into this situation: $ hash guix $ which firefox ~/.guix-profile/bin/firefox $ guix show firefox guix show: error: firefox: package not found $ guix package --list-installed|grep firefox f

Re: package exists but not showing

2022-07-07 Thread Andy Tai
x, but it's in a > channel. Maybe your channel configuration changed recently? > > On July 8, 2022 6:34:57 AM GMT+02:00, Andy Tai wrote: >> >> Hi, I am running the latest mainline guix on top of Fedora. After doing >> >> guix pull && guix package -u >>

Re: package exists but not showing

2022-07-08 Thread Andy Tai
That seems to resolve the issue. Now guix is at $ which guix ~/.config/guix/current/bin/guix Hope this is the expected path. :) Thanks On Thu, Jul 7, 2022 at 11:38 PM ( wrote: > > On Fri Jul 8, 2022 at 6:16 AM BST, Andy Tai wrote: > > $ which guix > > ~/.guix-profile/bin/

partial guix pack?

2022-07-26 Thread Andy Tai
Can a guix pack be partial? By that I meant one package that is not completely stand alone but only contains a subset of needed software, bundled libraries. for example, one that bundles specific version of gtk+ but not glibc? Of course such a package depends on host glibc and may have the risk

Guix "issues" bug tracker viewer site down

2022-07-28 Thread Andy Tai
https://issues.guix.gnu.org/ is showing 502 Bad Gateway

question on setting up guix.scm for project development

2022-11-14 Thread Andy Tai
Hi, guix allows setting up an environment containing all the dependencies for development of a package; this can be done via a guix.scm file containing the package definition. My question is, if I am developing a package which has dependencies with newer versions than what is available in the guix

Running guix GNU Hurd build

2022-11-19 Thread Andy Tai
Hi, I wonder is there any documentation on running the GNU Guix Hurd build... I can run the latest snapshot build image on a KVM on top of an x86-64 GNU/Linux host (Fedora) to the point of logging in as root (text mode, login shell) but cannot get networking to work... For comparison, the latest D

guix package build: can distcc be used?

2022-12-24 Thread Andy Tai
curious if distcc can be used for building packages in Guix? If yes that can reduce the time spent in building significantly.

guix running advice: correct?

2023-01-02 Thread Andy Tai
Hi, from this page https://framagit.org/tyreunom/guix-android/-/blob/master/README.md Important checks Make sure your guix environment is set up properly. You need to have ~/.config/guix/current as the first item in your $PATH or you're going to run into troubles. Additionally, after running guix

Re: guix running advice: correct?

2023-01-04 Thread Andy Tai
ear the cache to use the newly > pulled guix. If your guix already comes from the correct location, it'll be > useless but it won't hurt. > > HTH! > > Le 3 janvier 2023 06:31:25 GMT+01:00, Andy Tai a écrit : >> >> Hi, from this page >> https://framagit

"profile contains conflicting entries"

2023-01-16 Thread Andy Tai
Hi, I run into this: $ guix install guile-g-golf The following package will be installed: guile-g-golf 0.8.0-a.1 guix install: error: profile contains conflicting entries for glib guix install: error: first entry: glib@2.73.3 /gnu/store/514nix1lfipx98hd3prjhq9vcv9iiw01-glib-2.73.3 guix insta

Re: "profile contains conflicting entries"

2023-01-16 Thread Andy Tai
risky. In any case, suggestions on work sounds would be greatly appreciated On Mon, Jan 16, 2023 at 10:49 AM Andy Tai wrote: > > Hi, I run into this: > > $ guix install guile-g-golf > The following package will be installed: >guile-g-golf 0.8.0-a.1 > > guix install:

Re: "profile contains conflicting entries"

2023-01-16 Thread Andy Tai
for what it is worth, this succeeds in installation guix package --allow-collisions -i guile-g-golf meld whether something may not work properly, will see... On Mon, Jan 16, 2023 at 2:17 PM Andy Tai wrote: > > Hi, to add some info, > > currently gnu/packages/glib.scm in guix

substitute server for guixrus ("whereiseveryone" community)

2023-01-26 Thread Andy Tai
Hi, is there a substitute server for guixrus ("whereiseveryone" community)? Thanks

cuirass on guix on foreign distributions

2023-01-29 Thread Andy Tai
Hi, is it possible to run cuirass as a guix service on guix used on top of a foreign distribution? Thanks for info

conflict in profile: same package appears twice

2023-02-20 Thread Andy Tai
atai@localhost /share/software/guix/guix.git$ guix install dconf The following package will be upgraded: dconf (dependencies or package changed) guix install: error: profile contains conflicting entries for dconf guix install: error: first entry: dconf@0.40.0 /gnu/store/fl75cafmzy5zb3gn9f35mg

package store directory in custom location

2023-02-25 Thread Andy Tai
Hi, is it possible to have a /gnu/store/ directory for a package in a custom path? A usage scenario is, say, to have a python interpreter, with its package directory that normally exists as /gnu/store/, to be somewhere I specified, so it would be possible to use that python with python's package

guix command line behavior upon network failure or package build failure

2023-04-15 Thread Andy Tai
The user facing guix command has two modes of failure as I have seen, when doing "guix upgrade" or "guix package -u": 1. if when downloading substitutes, if downloading fails due to network conditions, the whole command errors out (exits) 2. if some software has to be built locally, and if the bu

behavior of guix package -k -u on substitute download failure or build failure

2023-04-28 Thread Andy Tai
Hi, sorry if I misunderstand any concept in this mail, from previous messages I believe that the behavior of a user doing guix package -k -u if any failure occurs (network failure downloading substitutes or local build failure) the local builds of other packages may proceed to completion, but n

patch question: any tool to download patches from guix patch mailing list?

2023-06-16 Thread Andy Tai
Hi, this is more a developer question: Guix patches are posted to guix-patches mailing list. Is there any tool that makes it easy to download a particular patch series from the mailing list archive or the Guix issue web site so it is easy to apply a patch series to a local checkout of the guix g

python package managers: which works on Guix

2023-07-27 Thread Andy Tai
Hi, a general question: Python-native package managers like conda and poetry both do not work (or build) on Guix now (I mean the packaged versions of these in Guix). Curious if any Python package manager works on top of Guix at this time? Thanks.

problem trying to install python module in python virtual environment on top of Guix

2023-08-12 Thread Andy Tai
Hi, on a Guix system I tried to install python dependencies in a python virtual environment. I installed Guix packages python-toolchain and python-virtualenv, and use the basic python commands virtualenv and pip3 to go ahead and install dependencies in a typical python manner. I got one error in

guix on foreign distribution: /var/log/guix/* removal safe?

2023-09-04 Thread Andy Tai
I run Guix on top of a foreign distribution (Fedora). The directory /var/log/guix contains log files and keeps growing in size. I wonder if I can remove existing log files in /var/log/guix without any harmful effect (with no guix pull or build in progress)? Thanks for info

same package defined in multiple channels?

2024-02-09 Thread Andy Tai
Hi, I wonder if I have multiple Guix channels, and the same package is defined in multiple channels, of different versions, what would happen if I do guix pull? Would the first package definition encountered in the first channel containing the definition of this package in the channel list be use

Re: same package defined in multiple channels?

2024-02-09 Thread Andy Tai
Hi, thanks. What if it is the case of the same package, same version, but say j\ust differs in configure, compile or link flags (from multiple definitions)? On Fri, Feb 9, 2024 at 4:34 AM Irfan S wrote: > Andy Tai writes: > > > Hi, I wonder if I have multiple Guix channels,

sending to guix-patches does not seem to show?

2024-02-17 Thread Andy Tai
Hi, I wonder if anyone notices that sending a patch to guix-patches does not seem to result in the creation of a new debbugs issue?

Re: sending to guix-patches does not seem to show?

2024-02-18 Thread Andy Tai
Hi, my patches now get acknowledged and multiple issues created... now I will go to merge them, On Sun, Feb 18, 2024 at 9:42 AM Felix Lechner wrote: > > Hi Andy, > Hi Artyom, > > > sending a patch to guix-patches does not seem to result in the > > creation of a new debbugs issue > > > I'm hav

David Wilson to keynote LibrePlanet (FSF Conference), to start soon

2024-05-04 Thread Andy Tai
>From FSf's web sote: "The Neptune Room is 100% remote this year and can be viewed through our Galène instance at https://galene.fsf.org. Enter a username of your choice and any password will do. "

how to build dependent packages of a package?

2024-05-09 Thread Andy Tai
Hi, I wonder if there is a Guix command to build all packages that depend on a particular package? Mainly useful for testing if updating a package will break packages dependent on it

Re: how to build dependent packages of a package?

2024-05-10 Thread Andy Tai
That is a good suggestion. Consumers were what I meant. On Fri, May 10, 2024 at 6:08 AM Felix Lechner wrote: > Hi Andy & everyone, > > On Thu, May 09 2024, Andy Tai wrote: > > > Hi, I wonder if there is a Guix command to build all packages that > > depend on a

running guix services on Guix on foreign distributions

2024-05-10 Thread Andy Tai
Hi, is there any documentation on how to run Guix services on an Guix environment on foreign distributions? I mean the services which normally associated/managed by GNU Shepherd which of course would not work out of the box when Guix is running on top of a foreign distribution, typically with sy

dereferencing C pointer at scheme level

2024-05-12 Thread Andy Tai
Hi, a question on access to C pointer in scheme: if a C function returning a pointer is wrapped and accessed from scheme code, int64_t * func() { int64_t *p = make_new_pointer(); *p = // something return p; } in scheme (GNU guile) (set! p (func)) it is possible to see that p is now a

Re: dereferencing C pointer at scheme level

2024-05-12 Thread Andy Tai
Please ignore the message. Sent to the wrong list On Sun, May 12, 2024 at 11:51 AM Andy Tai wrote: > Hi, a question on access to C pointer in scheme: