unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#33758: No longer possible to run ./pre-inst-env guix without compiling first
@ 2018-12-15  7:49 swedebugia
  2018-12-15 10:45 ` Ricardo Wurmus
  2018-12-15 18:17 ` Ludovic Courtès
  0 siblings, 2 replies; 7+ messages in thread
From: swedebugia @ 2018-12-15  7:49 UTC (permalink / raw)
  To: 33758

Hi

Is this a bug?

first
*clone repository*

then ./bootstrap && ./configure

then
./pre-inst-env guix weather -m ~/sdb.scm
--substitute-urls="https://ci.guix.info http://mirror.hydra.gnu.org"
Backtrace:
In ice-9/boot-9.scm:
   222:29 19 (map1 _)
   222:29 18 (map1 _)
   222:29 17 (map1 _)
   222:29 16 (map1 _)
   222:29 15 (map1 _)
   222:29 14 (map1 _)
   222:29 13 (map1 _)
   222:29 12 (map1 _)
   222:29 11 (map1 _)
   222:29 10 (map1 (((gnu system nss)) ((gnu system locale)) ((…)) …))
   222:17  9 (map1 (((gnu system locale)) ((gnu system pam)) ((…)) …))
  2800:17  8 (resolve-interface (gnu system locale) #:select _ #:hide …)
In ice-9/threads.scm:
    390:8  7 (_ _)
In ice-9/boot-9.scm:
  2726:13  6 (_)
In ice-9/threads.scm:
    390:8  5 (_ _)
In ice-9/boot-9.scm:
  2994:20  4 (_)
   2312:4  3 (save-module-excursion #<procedure d2988b8 at ice-9/boo…>)
  3014:26  2 (_)
In unknown file:
           1 (primitive-load-path "gnu/system/locale" #<procedure d9…>)
In /home/sdb/src/guix/gnu/system/locale.scm:
    124:0  0 (_)

/home/sdb/src/guix/gnu/system/locale.scm:124:0: In procedure
private-lookup: No variable bound to glibc-for-target in module (gnu
packages base)

This was introduced a little before merging of the latest core-updates.

-- 
Cheers 
Swedebugia

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

* bug#33758: No longer possible to run ./pre-inst-env guix without compiling first
  2018-12-15  7:49 bug#33758: No longer possible to run ./pre-inst-env guix without compiling first swedebugia
@ 2018-12-15 10:45 ` Ricardo Wurmus
  2018-12-17  9:23   ` swedebugia
  2018-12-15 18:17 ` Ludovic Courtès
  1 sibling, 1 reply; 7+ messages in thread
From: Ricardo Wurmus @ 2018-12-15 10:45 UTC (permalink / raw)
  To: swedebugia; +Cc: 33758


swedebugia@riseup.net writes:

> Is this a bug?

I’m inclined to say that it is not.
What is the use case here?

-- 
Ricardo

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

* bug#33758: No longer possible to run ./pre-inst-env guix without compiling first
  2018-12-15  7:49 bug#33758: No longer possible to run ./pre-inst-env guix without compiling first swedebugia
  2018-12-15 10:45 ` Ricardo Wurmus
@ 2018-12-15 18:17 ` Ludovic Courtès
  2018-12-17  9:08   ` swedebugia
  1 sibling, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2018-12-15 18:17 UTC (permalink / raw)
  To: swedebugia; +Cc: 33758

Hi,

swedebugia@riseup.net skribis:

> In unknown file:
>            1 (primitive-load-path "gnu/system/locale" #<procedure d9…>)
> In /home/sdb/src/guix/gnu/system/locale.scm:
>     124:0  0 (_)
>
> /home/sdb/src/guix/gnu/system/locale.scm:124:0: In procedure
> private-lookup: No variable bound to glibc-for-target in module (gnu
> packages base)

That indicates you should run “make clean-go && make”.

The gnu/system/locale.go file you have is presumably older than the
‘core-updates’ merge.  That branch removed ‘glibc-for-target’.

HTH!

Ludo’.

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

* bug#33758: No longer possible to run ./pre-inst-env guix without compiling first
  2018-12-15 18:17 ` Ludovic Courtès
@ 2018-12-17  9:08   ` swedebugia
  2018-12-17 22:05     ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: swedebugia @ 2018-12-17  9:08 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 33758

On 2018-12-15 19:17, Ludovic Courtès wrote:
> Hi,
> 
> swedebugia@riseup.net skribis:
> 
>> In unknown file:
>>            1 (primitive-load-path "gnu/system/locale" #<procedure d9…>)
>> In /home/sdb/src/guix/gnu/system/locale.scm:
>>     124:0  0 (_)
>>
>> /home/sdb/src/guix/gnu/system/locale.scm:124:0: In procedure
>> private-lookup: No variable bound to glibc-for-target in module (gnu
>> packages base)
> 
> That indicates you should run “make clean-go && make”.
> 
> The gnu/system/locale.go file you have is presumably older than the
> ‘core-updates’ merge.  That branch removed ‘glibc-for-target’.

I had figured that out and make clean worked. :)

Thanks anyway!

-- 
Cheers 
Swedebugia

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

* bug#33758: No longer possible to run ./pre-inst-env guix without compiling first
  2018-12-15 10:45 ` Ricardo Wurmus
@ 2018-12-17  9:23   ` swedebugia
  2018-12-17 11:03     ` Ricardo Wurmus
  0 siblings, 1 reply; 7+ messages in thread
From: swedebugia @ 2018-12-17  9:23 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 33758

On 2018-12-15 11:45, Ricardo Wurmus wrote:
> swedebugia@riseup.net writes:
> 
>> Is this a bug?
> 
> I’m inclined to say that it is not.
> What is the use case here?

Well my use case is browsing commits and settling on one with good
"weather".

Its not that important to me actually because close to master (a few
days back there are often >93% substitutes availiable.

We could definitely improve the "running from git" section with some
kind of best-practice.

e.g. keep close to master
run clean-go if you get weird guile errors during make (especially after
merging of core-updates)
etc.

Would that be accepted?

-- 
Cheers 
Swedebugia

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

* bug#33758: No longer possible to run ./pre-inst-env guix without compiling first
  2018-12-17  9:23   ` swedebugia
@ 2018-12-17 11:03     ` Ricardo Wurmus
  0 siblings, 0 replies; 7+ messages in thread
From: Ricardo Wurmus @ 2018-12-17 11:03 UTC (permalink / raw)
  To: swedebugia; +Cc: 33758


swedebugia@riseup.net writes:

> We could definitely improve the "running from git" section with some
> kind of best-practice.
>
> e.g. keep close to master
> run clean-go if you get weird guile errors during make (especially after
> merging of core-updates)
> etc.

It’s perfectly fine to stray from the ’master’ branch.  The reason why
you need “make clean-go” is due to ABI changes.  I’d rather see this
class of problems disappear with changes to the Makefile or compiler
checks than to add more noise.

Note that you don’t have this problem if you compile everything from
source after a fresh checkout.  You only get this when you reuse
compiled .go files that were built for a different ABI.

-- 
Ricardo

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

* bug#33758: No longer possible to run ./pre-inst-env guix without compiling first
  2018-12-17  9:08   ` swedebugia
@ 2018-12-17 22:05     ` Ludovic Courtès
  0 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2018-12-17 22:05 UTC (permalink / raw)
  To: swedebugia; +Cc: 33758

Hi swedebugia,

swedebugia@riseup.net skribis:

> On 2018-12-15 19:17, Ludovic Courtès wrote:
>> Hi,
>> 
>> swedebugia@riseup.net skribis:
>> 
>>> In unknown file:
>>>            1 (primitive-load-path "gnu/system/locale" #<procedure d9…>)
>>> In /home/sdb/src/guix/gnu/system/locale.scm:
>>>     124:0  0 (_)
>>>
>>> /home/sdb/src/guix/gnu/system/locale.scm:124:0: In procedure
>>> private-lookup: No variable bound to glibc-for-target in module (gnu
>>> packages base)
>> 
>> That indicates you should run “make clean-go && make”.
>> 
>> The gnu/system/locale.go file you have is presumably older than the
>> ‘core-updates’ merge.  That branch removed ‘glibc-for-target’.
>
> I had figured that out and make clean worked. :)

Great, thanks for confirming!  I’m closing this bug now.

Ludo’.

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

end of thread, other threads:[~2018-12-17 22:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-15  7:49 bug#33758: No longer possible to run ./pre-inst-env guix without compiling first swedebugia
2018-12-15 10:45 ` Ricardo Wurmus
2018-12-17  9:23   ` swedebugia
2018-12-17 11:03     ` Ricardo Wurmus
2018-12-15 18:17 ` Ludovic Courtès
2018-12-17  9:08   ` swedebugia
2018-12-17 22:05     ` Ludovic Courtès

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