unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Unable to make guix master branch for over a week
@ 2024-05-01 14:10 Peter Polidoro
  2024-05-01 14:20 ` Tomas Volf
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Polidoro @ 2024-05-01 14:10 UTC (permalink / raw)
  To: help-guix

I have been unable to make the guix repository master branch 
without it failing due to errors for maybe a week or more.

I am just curious if the repository occasionally gets into a 
broken state and I just need to wait until some set of commits 
fixes it eventually or if that means that something is wrong with 
the particular setup on my machine.

I make the guix repository with the command:
cd ~/guix && git checkout master && git clean -xdf && git checkout 
. && git pull && guix shell -D guix --pure -- sh -c "./bootstrap 
&& ./configure --localstatedir=/var && make -j$(nproc)"

I am running guix on x86_64 Debian stable as a foreign distro, but running guix shell --pure should keep me isolated well enough from the particulars of my machine correct?


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

* Re: Unable to make guix master branch for over a week
  2024-05-01 14:10 Unable to make guix master branch for over a week Peter Polidoro
@ 2024-05-01 14:20 ` Tomas Volf
  2024-05-02 17:02   ` Peter Polidoro
  0 siblings, 1 reply; 6+ messages in thread
From: Tomas Volf @ 2024-05-01 14:20 UTC (permalink / raw)
  To: Peter Polidoro; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1313 bytes --]

On 2024-05-01 10:10:28 -0400, Peter Polidoro wrote:
> I have been unable to make the guix repository master branch without it
> failing due to errors for maybe a week or more.
>
> I am just curious if the repository occasionally gets into a broken state
> and I just need to wait until some set of commits fixes it eventually

Sometimes (rarely) it does happen.

> or if that means that something is wrong with the particular setup on my
> machine.
>
> I make the guix repository with the command:
> cd ~/guix && git checkout master && git clean -xdf && git checkout . && git
> pull && guix shell -D guix --pure -- sh -c "./bootstrap && ./configure
> --localstatedir=/var && make -j$(nproc)"

Could you perhaps share the error you got?

>
> I am running guix on x86_64 Debian stable as a foreign distro, but running guix shell --pure should keep me isolated well enough from the particulars of my machine correct?
>

Often yes, however sometimes there are issues due to your Guix being too old
(since the `shell -D guix' uses package versions from *your* Guix version, not
from the repository).  However this issue is also somewhat rare.

Have a nice day,
Tomas Volf

--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: Unable to make guix master branch for over a week
  2024-05-01 14:20 ` Tomas Volf
@ 2024-05-02 17:02   ` Peter Polidoro
  2024-05-03  8:43     ` Guillaume Le Vaillant
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Polidoro @ 2024-05-02 17:02 UTC (permalink / raw)
  To: help-guix

Tomas Volf <~@wolfsden.cz> writes:
>
> Could you perhaps share the error you got?
>

  DOT      doc/images/service-graph.png
Error: Could not set character size
make[2]: *** [Makefile:7330: doc/images/service-graph.png] Error 1
make[2]: Leaving directory '/home/polidorop/guix'
make[1]: *** [Makefile:6302: all-recursive] Error 1
make[1]: Leaving directory '/home/polidorop/guix'
make: *** [Makefile:4369: all] Error 2

>
> Often yes, however sometimes there are issues due to your Guix being too old
> (since the `shell -D guix' uses package versions from *your* Guix version, not
> from the repository).  However this issue is also somewhat rare.

I always upgrade my guix version right before attempting to make the guix repository.

Perhaps it would be better for me to use a channels file and guix time-machine when making the guix repository? If so, what would be the best commit to use when making the head of the master branch, the previous commit on the master branch? Would it make sense for the guix repository to include a channel file for properly making itself using time-machine for shell -D guix?


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

* Re: Unable to make guix master branch for over a week
  2024-05-02 17:02   ` Peter Polidoro
@ 2024-05-03  8:43     ` Guillaume Le Vaillant
  2024-05-06 13:53       ` Peter Polidoro
  0 siblings, 1 reply; 6+ messages in thread
From: Guillaume Le Vaillant @ 2024-05-03  8:43 UTC (permalink / raw)
  To: Peter Polidoro; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 767 bytes --]

Peter Polidoro <peter@polidoro.io> skribis:

> Tomas Volf <~@wolfsden.cz> writes:
>>
>> Could you perhaps share the error you got?
>>
>
>   DOT      doc/images/service-graph.png
> Error: Could not set character size
> make[2]: *** [Makefile:7330: doc/images/service-graph.png] Error 1
> make[2]: Leaving directory '/home/polidorop/guix'
> make[1]: *** [Makefile:6302: all-recursive] Error 1
> make[1]: Leaving directory '/home/polidorop/guix'
> make: *** [Makefile:4369: all] Error 2

Hi.
I also go this error recently. I was able to make it work by using
a container with "guix shell -C -D guix -- make".
After that it worked wether I used the "-C" option or not.
So it looks like something from my home environment is making the "dot"
command behave differently...

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

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

* Re: Unable to make guix master branch for over a week
  2024-05-03  8:43     ` Guillaume Le Vaillant
@ 2024-05-06 13:53       ` Peter Polidoro
  2024-05-08  9:24         ` Guillaume Le Vaillant
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Polidoro @ 2024-05-06 13:53 UTC (permalink / raw)
  To: help-guix

Guillaume Le Vaillant <glv@posteo.net> writes: 

> I also go this error recently. I was able to make it work by 
> using a container with "guix shell -C -D guix -- make". 

That works, thanks!

Is it possible for ./pre-inst-env guix build to also be affected by my home environment? If so, is it possible to run that in a container as well for better isolation?


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

* Re: Unable to make guix master branch for over a week
  2024-05-06 13:53       ` Peter Polidoro
@ 2024-05-08  9:24         ` Guillaume Le Vaillant
  0 siblings, 0 replies; 6+ messages in thread
From: Guillaume Le Vaillant @ 2024-05-08  9:24 UTC (permalink / raw)
  To: Peter Polidoro; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 387 bytes --]

Peter Polidoro <peter@polidoro.io> skribis:

> Is it possible for ./pre-inst-env guix build to also be affected by my home environment? If so, is it possible to run that in a container as well for better isolation?

Maybe. Using pre-inst-env should work in a container created with:
  guix shell -C -P -W -D guix

(See <https://guix.gnu.org/manual/devel/en/guix.html#Building-from-Git>)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

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

end of thread, other threads:[~2024-05-08  9:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-01 14:10 Unable to make guix master branch for over a week Peter Polidoro
2024-05-01 14:20 ` Tomas Volf
2024-05-02 17:02   ` Peter Polidoro
2024-05-03  8:43     ` Guillaume Le Vaillant
2024-05-06 13:53       ` Peter Polidoro
2024-05-08  9:24         ` Guillaume Le Vaillant

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).