all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Zig on core-updates
@ 2023-03-15 13:44 Andreas Enge
  2023-03-17  9:33 ` pukkamustard
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Enge @ 2023-03-15 13:44 UTC (permalink / raw)
  To: guix-devel

Just a one-package-failure-report: zig fails on core-updates, and I do not
see why from the error message. If someone who knows the package could have
a look, that would be great.

Andreas



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

* Re: Zig on core-updates
  2023-03-15 13:44 Zig on core-updates Andreas Enge
@ 2023-03-17  9:33 ` pukkamustard
  2023-04-10 15:56   ` Andreas Enge
  0 siblings, 1 reply; 5+ messages in thread
From: pukkamustard @ 2023-03-17  9:33 UTC (permalink / raw)
  To: Andreas Enge; +Cc: guix-devel


Andreas Enge <andreas@enge.fr> writes:

> Just a one-package-failure-report: zig fails on core-updates, and I do not
> see why from the error message. If someone who knows the package could have
> a look, that would be great.

No solution, but maybe some pointers:

It seems like the installed `zig` binary segfaults.

This is the build failure message:

--8<---------------cut here---------------start------------->8---
starting phase `check'
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "/gnu/store/8pd12pn8n3ganc3y4776m44gjrfdvlvd-zig-0.10.1/bin/zig" arguments: ("build" "test" "-Dskip-stage1" "-Dskip-stage2-tests" "-Dskip-non-native") exit-status: #f term-signal: 11 stop-signal: #f> 
phase `check' failed after 0.0 seconds
command "/gnu/store/8pd12pn8n3ganc3y4776m44gjrfdvlvd-zig-0.10.1/bin/zig" "build" "test" "-Dskip-stage1" "-Dskip-stage2-tests" "-Dskip-non-native" failed with signal 11
--8<---------------cut here---------------end--------------->8---

When invoking the installed binary directly:

--8<---------------cut here---------------start------------->8---
$ /gnu/store/8pd12pn8n3ganc3y4776m44gjrfdvlvd-zig-0.10.1/bin/zig 
Segmentation fault
--8<---------------cut here---------------end--------------->8---

I'm afraid, I don't know anything about debugging segfaults. 

A hunch: This might have something to do with Zig not properly
supporting glibc 2.35: https://github.com/ziglang/zig/issues/12808

-pukkamustard


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

* Re: Zig on core-updates
  2023-03-17  9:33 ` pukkamustard
@ 2023-04-10 15:56   ` Andreas Enge
  2023-04-11  5:11     ` Pjotr Prins
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Enge @ 2023-04-10 15:56 UTC (permalink / raw)
  To: pukkamustard; +Cc: guix-devel

Am Fri, Mar 17, 2023 at 09:33:31AM +0000 schrieb pukkamustard:
> A hunch: This might have something to do with Zig not properly
> supporting glibc 2.35: https://github.com/ziglang/zig/issues/12808

Thanks, this looks like a good explanation of the problem, but I do not
quite see what could be a solution... I see a string of issues of the form
"add support for targeting glibc ..."
   https://github.com/ziglang/zig/issues/12808
   https://github.com/ziglang/zig/issues/12809
   https://github.com/ziglang/zig/issues/14798
but all of them are open.

We may have to do without zig in the foreseeable future...

Andreas



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

* Re: Zig on core-updates
  2023-04-10 15:56   ` Andreas Enge
@ 2023-04-11  5:11     ` Pjotr Prins
  2023-04-17 13:01       ` Efraim Flashner
  0 siblings, 1 reply; 5+ messages in thread
From: Pjotr Prins @ 2023-04-11  5:11 UTC (permalink / raw)
  To: Andreas Enge; +Cc: pukkamustard, guix-devel

They just added a tag for the next release. We can wait.

On Mon, Apr 10, 2023 at 05:56:52PM +0200, Andreas Enge wrote:
> Am Fri, Mar 17, 2023 at 09:33:31AM +0000 schrieb pukkamustard:
> > A hunch: This might have something to do with Zig not properly
> > supporting glibc 2.35: https://github.com/ziglang/zig/issues/12808
> 
> Thanks, this looks like a good explanation of the problem, but I do not
> quite see what could be a solution... I see a string of issues of the form
> "add support for targeting glibc ..."
>    https://github.com/ziglang/zig/issues/12808
>    https://github.com/ziglang/zig/issues/12809
>    https://github.com/ziglang/zig/issues/14798
> but all of them are open.
> 
> We may have to do without zig in the foreseeable future...
> 
> Andreas
> 
> 


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

* Re: Zig on core-updates
  2023-04-11  5:11     ` Pjotr Prins
@ 2023-04-17 13:01       ` Efraim Flashner
  0 siblings, 0 replies; 5+ messages in thread
From: Efraim Flashner @ 2023-04-17 13:01 UTC (permalink / raw)
  To: Pjotr Prins; +Cc: Andreas Enge, pukkamustard, guix-devel

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

On Tue, Apr 11, 2023 at 07:11:47AM +0200, Pjotr Prins wrote:
> 
> On Mon, Apr 10, 2023 at 05:56:52PM +0200, Andreas Enge wrote:
> > Am Fri, Mar 17, 2023 at 09:33:31AM +0000 schrieb pukkamustard:
> > > A hunch: This might have something to do with Zig not properly
> > > supporting glibc 2.35: https://github.com/ziglang/zig/issues/12808
> > 
> > Thanks, this looks like a good explanation of the problem, but I do not
> > quite see what could be a solution... I see a string of issues of the form
> > "add support for targeting glibc ..."
> >    https://github.com/ziglang/zig/issues/12808
> >    https://github.com/ziglang/zig/issues/12809
> >    https://github.com/ziglang/zig/issues/14798
> > but all of them are open.
> > 
> > We may have to do without zig in the foreseeable future...
> > 
> 
> They just added a tag for the next release. We can wait.

We may have to backport whatever fix they do, it looks like 0.11 is
going to use their new bootstrap chain, with a pre-compiled zig wasm
binary.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

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

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

end of thread, other threads:[~2023-04-17 13:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-15 13:44 Zig on core-updates Andreas Enge
2023-03-17  9:33 ` pukkamustard
2023-04-10 15:56   ` Andreas Enge
2023-04-11  5:11     ` Pjotr Prins
2023-04-17 13:01       ` Efraim Flashner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.