unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Liliana Marie Prikler <liliana.prikler@gmail.com>
Cc: 54691@debbugs.gnu.org
Subject: bug#54691: [PATCH 2/5] gnu: Add fortunes-jkirchartz.
Date: Sat, 23 Jul 2022 23:41:29 +0200	[thread overview]
Message-ID: <687a86a9-0ca8-8f41-edae-68d9633a30b7@telenet.be> (raw)
In-Reply-To: <548ee30d100baebf62fe44c733109a47efbd442d.camel@gmail.com>


[-- Attachment #1.1.1.1: Type: text/plain, Size: 2268 bytes --]


On 23-07-2022 22:43, Liliana Marie Prikler wrote:
>> On 23-07-2022 17:11, Liliana Marie Prikler wrote:
>>> +      (propagated-inputs (list daikichi))
>> It's used in the Makefile, so I'd have expected native-inputs here --
>> does "guix build fortunes-jkirchartz --target=aarch64-linux-gnu" or
>> such work?
> That's what I tried to explain in the comment above.  Because I'm using
> native size and endianness, cross compilation only works if the two are
> the same.  For example, you could theoretically cross-compile from
> x86_64 to aarch64 little endian, but not from aarch64 little endian to
> aarch64 big endian.  IMHO that restriction is big enough to practically
> make it "not cross-compilable".

OK, I read over the the comment that it's not cross-compilable. But now 
you are writing it is cross-compilable in restricted contexts. So "guix 
build --target=aarch64-linux-gnu --system=x86_64-linux-gnu" should work 
(IIUC they have the same sizes and endianness, though not 100% sure).

(Unfortunately there is currently not a method to specify that packages 
are not cross-compilable in restricted contexts ...)

However, that's was I was trying to say -- what I tried to say, is that 
by sorting the inputs incorrectly it _becomes_ not cross-compilable, so 
once daikichi supports cross-compilation you (generic you, not you in 
particular) will have to modify the package to move daikichi to 
native-inputs, and in the mean time people are misled by this package 
definition on how native / non-native works. Actually, this not only 
applies to the future, but to the present, because IIUC aarch64 and 
x86_64 are sufficiently similar for "guix build 
--target=aarch64-linux-gnu --system=x86_64-linux-gnu" to be able to work 
except for daikichi being compiled for the wrong architecture currently.

Even better would be if daikichi had a cross-compiler mode, where you 
can compile to another endianness or size. (Or simpler, work with a 
fixed endianness and integer size such that cross-compilation concerns 
disappear entirely, but there's more than one way to do it.)

Another problem is that currently it is propagated, but daikichi is not 
a dependency of fortunes-jkirchartz.

Greetings,
Maxime.


[-- Attachment #1.1.1.2: Type: text/html, Size: 3152 bytes --]

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

  reply	other threads:[~2022-07-23 21:42 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-03 13:09 bug#54691: fortune-mod propagates various non-nice things Maxime Devos
2022-04-03 17:26 ` Liliana Marie Prikler
2022-04-03 18:12   ` Maxime Devos
2022-04-03 18:41   ` Maxime Devos
2022-04-04 10:41   ` Maxime Devos
2022-07-19 19:20   ` Maxime Devos
2022-07-20  4:31     ` Liliana Marie Prikler
2022-07-20  8:45       ` Maxime Devos
2022-07-20 16:57         ` Liliana Marie Prikler
2022-07-20 18:50           ` Maxime Devos
2022-04-03 18:20 ` Maxime Devos
2022-07-14  1:30 ` Maxim Cournoyer
2022-07-14 13:00   ` Csepp
2022-07-14 14:55     ` Maxim Cournoyer
2022-07-19 18:54       ` Maxime Devos
2022-07-19 19:45   ` Maxime Devos
2022-07-23 15:06 ` bug#54691: [PATCH v3 2/6] gnu: Add daikichi Liliana Marie Prikler
2022-07-23 15:06 ` bug#54691: [PATCH v2 1/5] " Liliana Marie Prikler
2022-07-23 15:06 ` bug#54691: [PATCH " Liliana Marie Prikler
2022-07-23 15:11 ` bug#54691: [PATCH v2 2/5] gnu: Add fortunes-jkirchartz Liliana Marie Prikler
2022-07-23 15:11 ` bug#54691: [PATCH " Liliana Marie Prikler
2022-07-23 19:54   ` Maxime Devos
2022-07-23 20:43     ` Liliana Marie Prikler
2022-07-23 21:41       ` Maxime Devos [this message]
2022-07-23 21:52         ` Liliana Marie Prikler
2022-07-23 22:13           ` Maxime Devos
2022-07-23 19:56   ` Maxime Devos
2022-07-23 20:53     ` Liliana Marie Prikler
2022-07-23 22:01       ` Maxime Devos
2022-07-24  1:09       ` bokr
2022-07-23 15:11 ` bug#54691: [PATCH v3 3/6] " Liliana Marie Prikler
2022-07-23 15:13 ` bug#54691: [PATCH v2 3/5] gnu: Remove fortune-mod Liliana Marie Prikler
     [not found]   ` <87y1w5sarm.fsf_-_@gnu.org>
2022-08-03 17:09     ` bug#54691: fortune-mod propagates various non-nice things Liliana Marie Prikler
2022-08-04 12:23       ` Ludovic Courtès
2022-08-04 15:37         ` [bug#56599] " Tobias Geerinckx-Rice via Guix-patches via
2022-08-04 17:12           ` Liliana Marie Prikler
2022-08-04 19:58             ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
     [not found]               ` <20220806230112.GA16948@LionPure>
2022-08-06 23:05                 ` Maxime Devos
2022-07-23 15:13 ` bug#54691: [PATCH 3/5] gnu: Remove fortune-mod Liliana Marie Prikler
2022-07-23 19:58   ` Maxime Devos
2022-07-23 20:54     ` Liliana Marie Prikler
2022-07-23 15:13 ` bug#54691: [PATCH v3 4/6] " Liliana Marie Prikler
2022-07-23 15:16 ` bug#54691: [PATCH 4/5] gnu: Remove rinutils Liliana Marie Prikler
2022-07-23 15:16 ` bug#54691: [PATCH v2 " Liliana Marie Prikler
2022-07-24 10:33   ` paren--- via Bug reports for GNU Guix
2022-07-24 11:27     ` Liliana Marie Prikler
2022-07-23 15:16 ` bug#54691: [PATCH v3 5/6] " Liliana Marie Prikler
2022-07-23 15:17 ` bug#54691: [PATCH v3 6/6] gnu: Remove shlomif-cmake-modules Liliana Marie Prikler
2022-07-23 15:17 ` bug#54691: [PATCH v2 5/5] " Liliana Marie Prikler
2022-07-23 15:17 ` bug#54691: [PATCH " Liliana Marie Prikler
2022-08-13  9:26 ` bug#54691: [PATCH v3 1/6] build-system: copy: Support #:tests? Liliana Marie Prikler
2022-08-28 22:16   ` Liliana Marie Prikler

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=687a86a9-0ca8-8f41-edae-68d9633a30b7@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=54691@debbugs.gnu.org \
    --cc=liliana.prikler@gmail.com \
    /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 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).