Re: Help with channel build system and package

2024-03-16 Thread Jesse Millwood
I actually think I figured it out! I ended up adding a build phase that copies the plain-file defined as the source in the package object to the build directory. I'm finally at a point where I'm just having build failures of the package itself, which I'm a little more familiar debugging. Tha

Re: Help with channel build system and package

2024-03-16 Thread Jesse Millwood
Richard and Marek, The input from both of you helped me get a little farther. I've pushed my changes to https://codeberg.org/moonling/guix-embedded-dev. I feel like I'm really close now. I seem to be able to get into the phases of my build system. I can not invoke the crosstool-ng tool. My i

Re: Help with channel build system and package

2024-03-09 Thread Jesse Millwood
Thanks for your response Richard! On 3/8/24 22:39, Richard Sent wrote: Jesse, I expect your issue is you have an extra gexp in build-system/crosstool-ng.scm, line 71. I determined this by: 1. Examining the derivation Guix is trying to build I'm still trying to learn about the internals of Guix

Re: Help with channel build system and package

2024-03-09 Thread Jesse Millwood
Marek, Thanks for the detailed response! I really appreciate it. I responded inline. Is your main source of knowledge the official Guix documentation? On 3/8/24 05:43, Marek Paśnikowski wrote: 08.03.2024 03:35:11 CET Jesse Millwood: I'm still trying to get this to work. I tracked some thing

Re: Help with channel build system and package

2024-03-08 Thread Richard Sent
Jesse, I expect your issue is you have an extra gexp in build-system/crosstool-ng.scm, line 71. I determined this by: 1. Examining the derivation Guix is trying to build 2. Examining the -builder file mentioned in the derivation 3. Observe that ct-ng-riscv64-unknown-elf-1.26.0-builder wraps (cros

Re: Help with channel build system and package

2024-03-08 Thread Marek Paśnikowski
08.03.2024 03:35:11 CET Jesse Millwood: > I'm still trying to get this to work. I tracked some things I forgot and > now have my channel hosted at: > https://codeberg.org/moonling/guix-embedded-dev > > When I try to build my toolchain package I get this: > > ➜ guix build -v 4 -L guix-embedded-dev

Re: Help with channel build system and package

2024-03-07 Thread Jesse Millwood
I'm still trying to get this to work. I tracked some things I forgot and now have my channel hosted at: https://codeberg.org/moonling/guix-embedded-dev When I try to build my toolchain package I get this: ➜ guix build -v 4 -L guix-embedded-dev ct-ng-riscv64-unknown-elf substitute: updating sub

Re: Help with channel build system and package

2024-02-15 Thread Jesse
About the warnings of invalid argument list: comment out the argument lists in the toolchain packages (I do not remember fully the names, I do not have acces to the big computer right now for easy reference). See how the change effects the build. I learned a lot by intentionally breaking code and

Re: Help with channel build system and package

2024-02-08 Thread Marek Paśnikowski
08.02.2024 19:33:09 CET Jesse Millwood: > Thanks for the response Marek > > On 2/8/24 12:00, Marek Paśnikowski wrote: > > 08.02.2024 15:32:44 CET Jesse: > >> Thanks for taking a look Carlo! > >> > >> On 2/7/24 22:37, Carlo Zancanaro wrote: > >>> Hi Jesse, > >>> > >>> I know very little about wha

Re: Help with channel build system and package

2024-02-08 Thread Jesse Millwood
Thanks for the response Marek On 2/8/24 12:00, Marek Paśnikowski wrote: 08.02.2024 15:32:44 CET Jesse: Thanks for taking a look Carlo! On 2/7/24 22:37, Carlo Zancanaro wrote: Hi Jesse, I know very little about what you're trying to do, but there's one thing that looked wrong to me: On Wed,

Re: Help with channel build system and package

2024-02-08 Thread Marek Paśnikowski
08.02.2024 15:32:44 CET Jesse: > Thanks for taking a look Carlo! > > On 2/7/24 22:37, Carlo Zancanaro wrote: > > Hi Jesse, > > > > I know very little about what you're trying to do, but there's one thing > > that looked wrong to me: > > > > On Wed, Feb 07 2024, Jesse wrote: > >> ... > >> > >>

Re: Help with channel build system and package

2024-02-08 Thread Jesse
Thanks for taking a look Carlo! On 2/7/24 22:37, Carlo Zancanaro wrote: Hi Jesse, I know very little about what you're trying to do, but there's one thing that looked wrong to me: On Wed, Feb 07 2024, Jesse wrote: ...     (build-system crosstool-ng) ... This isn't a build system, right? It'

Re: Help with channel build system and package

2024-02-07 Thread Carlo Zancanaro
Hi Jesse, I know very little about what you're trying to do, but there's one thing that looked wrong to me: On Wed, Feb 07 2024, Jesse wrote: > ... >     (build-system crosstool-ng) > ... This isn't a build system, right? It's just the package? I think you may want crosstool-ng-build-system here

Help with channel build system and package

2024-02-07 Thread Jesse
Hello, I have a channel where I am trying to develop a few packages that need a new build system. I want to try and use guix to build toolchains from crosstool-ng[1] for embedded development. In an effort to guix-fiy some of my development environments I'd like to be able to use the same tool