Github messages for voidlinux
 help / color / mirror / Atom feed
From: 0x5c <0x5c@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: New package: helvum-0.3.4
Date: Sun, 20 Feb 2022 01:27:25 +0100	[thread overview]
Message-ID: <20220220002725.T-06qlGq4HtNLRHek3SMXvqXfNQojv7cjvD23vc_5ak@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35591@inbox.vuxu.org>

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

New comment by 0x5c on void-packages repository

https://github.com/void-linux/void-packages/pull/35591#issuecomment-1046115610

Comment:
I did some research, and it seems that libspa-sys is inherently nocross, for now.

It uses bindgen to generate the bindings, but does no effort whatsoever to have bindgen use the target toolchain, resulting in the bindings being generated for the host.

This seems to work fine for musl, but glibc is a fragile thing that needs special handling. In this case stubs.h contains this
```h
/* This file is automatically generated.
   This file selects the right generated file of `__stub_FUNCTION' macros
   based on the architecture being compiled for.  */


#if !defined __x86_64__
# include <gnu/stubs-32.h>
#endif
#if defined __x86_64__ && defined __LP64__
# include <gnu/stubs-64.h>
#endif
#if defined __x86_64__ && defined __ILP32__
# include <gnu/stubs-x32.h>
#endif
```
... which assumes 32bit when 64bit isn't defined

It seems that the musl bindings on cross might be broken too, just not in ways that prevents compilation. I would say it's nocross everywhere unless someone can test that musl cross produces working binaries.


Outside of that, meson is only being used a a very very very thin wrapper around cargo, and to update gtk's icon cache.
The first does no useful work, and the second should be done when installing the package. Switching the build style to cargo seems to work fine (apart from the existing cross issue), and removes the need for meson and the icon stuff in hostmakedeps.

  parent reply	other threads:[~2022-02-20  0:27 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-13 18:44 [PR PATCH] " classabbyamp
2022-02-13 19:11 ` [PR PATCH] [Updated] " classabbyamp
2022-02-13 20:06 ` classabbyamp
2022-02-13 20:19 ` classabbyamp
2022-02-13 20:35 ` dkwo
2022-02-13 20:38 ` dkwo
2022-02-13 21:15 ` [PR PATCH] [Updated] " classabbyamp
2022-02-13 21:18 ` classabbyamp
2022-02-14  0:31 ` [PR PATCH] [Updated] " classabbyamp
2022-02-14  3:17 ` classabbyamp
2022-02-14  3:18 ` classabbyamp
2022-02-14  9:41 ` dkwo
2022-02-14 16:05 ` classabbyamp
2022-02-15 12:25 ` dkwo
2022-02-19 22:24 ` 0x5c
2022-02-19 22:31 ` classabbyamp
2022-02-20  0:27 ` 0x5c [this message]
2022-02-20  1:15 ` [PR PATCH] [Updated] " classabbyamp
2022-02-20  2:00 ` classabbyamp
2022-02-20  8:04 ` 0x5c
2022-02-20 21:32 ` classabbyamp
2022-02-24  5:07 ` [PR PATCH] [Updated] " classabbyamp
2022-02-24  5:47 ` classabbyamp
2022-02-24 20:30 ` classabbyamp
2022-02-27 22:34 ` [PR REVIEW] " paper42
2022-02-27 22:34 ` paper42
2022-02-27 22:57 ` [PR PATCH] [Updated] " classabbyamp
2022-02-27 22:58 ` [PR REVIEW] " classabbyamp
2022-02-27 22:58 ` [PR PATCH] [Updated] " classabbyamp
2022-03-05 23:01 ` classabbyamp
2022-03-06  3:14 ` classabbyamp
2022-03-13 22:54 ` [PR REVIEW] " paper42
2022-03-13 23:20 ` [PR PATCH] [Updated] " classabbyamp
2022-03-13 23:21 ` [PR REVIEW] " classabbyamp
2022-03-13 23:22 ` [PR PATCH] [Updated] " classabbyamp
2022-03-14  7:08 ` [PR PATCH] [Merged]: " paper42

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=20220220002725.T-06qlGq4HtNLRHek3SMXvqXfNQojv7cjvD23vc_5ak@z \
    --to=0x5c@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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.
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 NNTP newsgroup(s).