unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* error: %ensure-setuid-program-list: unbound variable
@ 2024-09-18 17:13 Roman Scherer
  2024-09-26 13:41 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Roman Scherer @ 2024-09-18 17:13 UTC (permalink / raw)
  To: guix-devel

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

Hello Guix,

I have a guix.scm file in which I depend on the guix package.

When building this package with autotools I see the following error when
compiling my guile modules:

error: %ensure-setuid-program-list: unbound variable

I'm not using that symbol anywhere in my own code, but probably somehow
through a guix module I load.

So, I guess this is due the guix package being pinned to
9a2ddcc8f5a6f64b475eeb13a3f1034aa6a4a49a, committed on Wed Jul 31 16:49:04
2024 +0200 still referring to that symbol

It looks like this variable gets updated from time to time. Would it make
sense to do this again, to avoid this error?

Wdyt?

Thanks, Roman.

[-- Attachment #2: Type: text/html, Size: 897 bytes --]

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

* Re: error: %ensure-setuid-program-list: unbound variable
  2024-09-18 17:13 error: %ensure-setuid-program-list: unbound variable Roman Scherer
@ 2024-09-26 13:41 ` Ludovic Courtès
  2024-09-26 15:00   ` Roman Scherer
  0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2024-09-26 13:41 UTC (permalink / raw)
  To: Roman Scherer; +Cc: guix-devel

Hi,

Roman Scherer <roman@burningswell.com> skribis:

> I have a guix.scm file in which I depend on the guix package.
>
> When building this package with autotools I see the following error when
> compiling my guile modules:
>
> error: %ensure-setuid-program-list: unbound variable

This sounds like an ABI mismatch.

‘%ensure-setuid-program-list’ is a private binding that was used by a
macro in (gnu system) and got removed in
0dffb851e0feced94742ad024f245b925c503fa2.

Most likely ‘make clean-go && make’ in your Guix tree fixes it?

Ludo’.


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

* Re: error: %ensure-setuid-program-list: unbound variable
  2024-09-26 13:41 ` Ludovic Courtès
@ 2024-09-26 15:00   ` Roman Scherer
  2024-09-26 20:24     ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 5+ messages in thread
From: Roman Scherer @ 2024-09-26 15:00 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Roman Scherer, guix-devel

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

Ludovic Courtès <ludo@gnu.org> writes:

Hi Ludo,

the error seems to be gone now. I'm not sure if it is because you
updated the commit a while ago, or because I also cleaned ~/.cache/guix
folder while trying to fix this.

Thanks for your help.

> Hi,
>
> Roman Scherer <roman@burningswell.com> skribis:
>
>> I have a guix.scm file in which I depend on the guix package.
>>
>> When building this package with autotools I see the following error when
>> compiling my guile modules:
>>
>> error: %ensure-setuid-program-list: unbound variable
>
> This sounds like an ABI mismatch.
>
> ‘%ensure-setuid-program-list’ is a private binding that was used by a
> macro in (gnu system) and got removed in
> 0dffb851e0feced94742ad024f245b925c503fa2.
>
> Most likely ‘make clean-go && make’ in your Guix tree fixes it?
>
> Ludo’.

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

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

* Re: error: %ensure-setuid-program-list: unbound variable
  2024-09-26 15:00   ` Roman Scherer
@ 2024-09-26 20:24     ` Tobias Geerinckx-Rice
  2024-09-27  5:57       ` Roman Scherer
  0 siblings, 1 reply; 5+ messages in thread
From: Tobias Geerinckx-Rice @ 2024-09-26 20:24 UTC (permalink / raw)
  To: guix-devel, Roman Scherer, Ludovic Courtès; +Cc: guix-devel

Hi Roman,

On 26 September 2024 15:00:56 UTC, Roman Scherer <roman@burningswell.com> wrote:
>the error seems to be gone now. I'm not sure if it is because you
>updated the commit a while ago

Which commit was updated by Ludo' and when?

(I'm responsible for the setuid-* removal and any possible breakage, hence my interest.)

> or because I also cleaned ~/.cache/guix
>folder while trying to fix this.

So you're not invoking Guix from a local Git checkout?



Kind regards,

T G-R

Sent on the go.  Excuse or enjoy my brevity.


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

* Re: error: %ensure-setuid-program-list: unbound variable
  2024-09-26 20:24     ` Tobias Geerinckx-Rice
@ 2024-09-27  5:57       ` Roman Scherer
  0 siblings, 0 replies; 5+ messages in thread
From: Roman Scherer @ 2024-09-27  5:57 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: guix-devel, Roman Scherer, Ludovic Courtès

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

Tobias Geerinckx-Rice <me@tobias.gr> writes:

Hi Tobias,

> Hi Roman,
>
> On 26 September 2024 15:00:56 UTC, Roman Scherer <roman@burningswell.com> wrote:
>>the error seems to be gone now. I'm not sure if it is because you
>>updated the commit a while ago
>
> Which commit was updated by Ludo' and when?

This is the commit I was talking about, from a week ago:

80709f1411af2e8f627da2e41791abf085347642

> (I'm responsible for the setuid-* removal and any possible breakage, hence my interest.)
>
>> or because I also cleaned ~/.cache/guix
>>folder while trying to fix this.
>
> So you're not invoking Guix from a local Git checkout?
>

No, I wasn't using a local checkout. I was using the Guix from my user
profile and then I run guix shell (with and without --pure) with the
following guix.scm file:

https://github.com/asahi-guix/channel/blob/main/guix.scm#L46

This guix.scm file has the guix package as a dependency, and my thinking
was that this must pull in old code, because at the time I had the issue
the guix package pointed to a commit before the change to
%ensure-setuid-program-list.

At some point I also deleted ~/.cache/guix and pulled guix multiple
times and the issue went away. But I'm not sure how that happened.

I think all is good now. I haven't seen this issue anymore.

Roman

>
> Kind regards,
>
> T G-R
>
> Sent on the go.  Excuse or enjoy my brevity.

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

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

end of thread, other threads:[~2024-09-27  5:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-18 17:13 error: %ensure-setuid-program-list: unbound variable Roman Scherer
2024-09-26 13:41 ` Ludovic Courtès
2024-09-26 15:00   ` Roman Scherer
2024-09-26 20:24     ` Tobias Geerinckx-Rice
2024-09-27  5:57       ` Roman Scherer

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