all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Frank J. Cameron" <fjc@fastmail.net>
To: 75237@debbugs.gnu.org
Subject: bug#75237: Packaging ghostty terminal
Date: Thu, 09 Jan 2025 23:10:09 +0000	[thread overview]
Message-ID: <472b98bc-76c7-41b6-809b-7bc18b460886@app.fastmail.com> (raw)
In-Reply-To: <8734i3nsea.fsf@venatores.group>

Murilo wrote on 1 Jan 14:44 +0100
> Fortunately I've already went through the trouble and packaged it on my channel
> a couple days ago so you can use it right away :)

Thanks for the package; I can confirm it built successfully for me as well.

So, I took your code and munged it with the version I had been working on. My
new version doesn't actually work :-) but, I posted it on the off chance that
someone would find it interesting.

https://gitlab.com/-/snippets/4792310

I was trying to handle the zig system pkgdir by defining a package for each
module that could simply be added as build-inputs:

    (native-inputs (list [...]
      zig-pkgdir-breakpad-6dc2a1ea         zig-pkgdir-cimgui-1f40c122
      zig-pkgdir-fontconfig-a4fcb3b7       zig-pkgdir-freetype-2adf969d
      zig-pkgdir-glfw-98a7272d             zig-pkgdir-glslang-9dd23ba1
      zig-pkgdir-harfbuzz-d1063122         zig-pkgdir-highway-8cbe165b
      zig-pkgdir-imgui-8bfc6402            zig-pkgdir-iterm2_themes-f0498620
      zig-pkgdir-libpng-723b1c66           zig-pkgdir-libxev-02078bbf
      zig-pkgdir-libxml2-65a64f7d          zig-pkgdir-mach_glfw-37696a62
      zig-pkgdir-oniguruma-cd9706bb        zig-pkgdir-sentry-37a9c77e
      zig-pkgdir-spirv_cross-2748c8da      zig-pkgdir-utfcpp-a931e641
      zig-pkgdir-vaxis-c6e4c087            zig-pkgdir-vaxis-c8c91d2f
      zig-pkgdir-vulkan_headers-894fa2cf   zig-pkgdir-wayland_headers-da2c11ca
      zig-pkgdir-wuffs-de700462            zig-pkgdir-x11_headers-57b36465
      zig-pkgdir-xcode_frameworks-d67d19cb zig-pkgdir-z2d-06b5416a
      zig-pkgdir-zf-b5dd35e8               zig-pkgdir-zg-984c6e40
      zig-pkgdir-zigimg-1be35cf5           zig-pkgdir-zig_js-f4f6fefc
      zig-pkgdir-ziglyph-6a02cf25          zig-pkgdir-zig_objc-4415c634
      zig-pkgdir-zlib-66742efb))

It does look like it populates the pkgdir successfully (with symlinks into the
store) and starts building but fails:

error: sub-compilation of libcxx failed
    /gnu/store/...-zig-pkgdir-xcode_frameworks-.../include/i386/_types.h:48:33: note: typedef redefinition with different types ('long long' vs 'long')
    [...]
    /gnu/store/...-glibc-2.39/include/bits/types.h:44:25: note: previous definition is here
    [...]
Build Summary: 78/81 steps succeeded; 1 failed (disable with --summary none)




  parent reply	other threads:[~2025-01-10 10:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-01  3:07 bug#75237: Packaging ghostty terminal boogs via Bug reports for GNU Guix
2025-01-01 13:44 ` Murilo via Bug reports for GNU Guix
2025-01-01 18:12   ` boogs via Bug reports for GNU Guix
2025-01-09 23:10 ` Frank J. Cameron [this message]
2025-01-10 13:49   ` Murilo via Bug reports for GNU Guix
2025-01-10 15:26     ` Frank J. Cameron
2025-01-10 14:27 ` Murilo via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=472b98bc-76c7-41b6-809b-7bc18b460886@app.fastmail.com \
    --to=fjc@fastmail.net \
    --cc=75237@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.