* [ISSUE] xbps fails with 'XBPS_CROSS_TRIPLET is not defined' when trying to cross-build same arch
@ 2019-07-19 13:08 voidlinux-github
2020-02-15 20:31 ` xbps-src " Anachron
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: voidlinux-github @ 2019-07-19 13:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 434 bytes --]
New issue by Anachron on void-packages repository
https://github.com/void-linux/void-packages/issues/13221
Description: When *accidently* trying to cross-compile (for example with automation scripts) from one arch to the same it will error out with a non-descriptive error:
`XBPS_CROSS_TRIPLET is not defined`
I think it would be good to check if both `arch`s are equal and then error out displaying a msg that it's not allowed.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xbps-src fails with 'XBPS_CROSS_TRIPLET is not defined' when trying to cross-build same arch
2019-07-19 13:08 [ISSUE] xbps fails with 'XBPS_CROSS_TRIPLET is not defined' when trying to cross-build same arch voidlinux-github
@ 2020-02-15 20:31 ` Anachron
2023-06-03 21:35 ` vincele
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Anachron @ 2020-02-15 20:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 276 bytes --]
New comment by Anachron on void-packages repository
https://github.com/void-linux/void-packages/issues/13221#issuecomment-586638638
Comment:
@xtraeme @Chocimier At this point I'd just check if both ARCHs are equal and then exit with RC != 0. If that is fine I'll open a PR.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xbps-src fails with 'XBPS_CROSS_TRIPLET is not defined' when trying to cross-build same arch
2019-07-19 13:08 [ISSUE] xbps fails with 'XBPS_CROSS_TRIPLET is not defined' when trying to cross-build same arch voidlinux-github
2020-02-15 20:31 ` xbps-src " Anachron
@ 2023-06-03 21:35 ` vincele
2023-06-14 19:40 ` Chocimier
2023-06-14 19:40 ` [ISSUE] [CLOSED] " Chocimier
3 siblings, 0 replies; 5+ messages in thread
From: vincele @ 2023-06-03 21:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 245 bytes --]
New comment by vincele on void-packages repository
https://github.com/void-linux/void-packages/issues/13221#issuecomment-1575206875
Comment:
Would it be possible to make it just work ? Would that be expensive (hard to do, maintenance, etc.) ?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xbps-src fails with 'XBPS_CROSS_TRIPLET is not defined' when trying to cross-build same arch
2019-07-19 13:08 [ISSUE] xbps fails with 'XBPS_CROSS_TRIPLET is not defined' when trying to cross-build same arch voidlinux-github
2020-02-15 20:31 ` xbps-src " Anachron
2023-06-03 21:35 ` vincele
@ 2023-06-14 19:40 ` Chocimier
2023-06-14 19:40 ` [ISSUE] [CLOSED] " Chocimier
3 siblings, 0 replies; 5+ messages in thread
From: Chocimier @ 2023-06-14 19:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 392 bytes --]
New comment by Chocimier on void-packages repository
https://github.com/void-linux/void-packages/issues/13221#issuecomment-1591871461
Comment:
We do not have such compilers, and there is no benefit of cross-compiling to native architecture as we use chroot.
By now error message is better:
=> ERROR: cross-x86_64-linux-gnu-0.35_3: Can't build crosstoolchain to itself
Closing.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ISSUE] [CLOSED] xbps-src fails with 'XBPS_CROSS_TRIPLET is not defined' when trying to cross-build same arch
2019-07-19 13:08 [ISSUE] xbps fails with 'XBPS_CROSS_TRIPLET is not defined' when trying to cross-build same arch voidlinux-github
` (2 preceding siblings ...)
2023-06-14 19:40 ` Chocimier
@ 2023-06-14 19:40 ` Chocimier
3 siblings, 0 replies; 5+ messages in thread
From: Chocimier @ 2023-06-14 19:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 438 bytes --]
Closed issue by Anachron on void-packages repository
https://github.com/void-linux/void-packages/issues/13221
Description:
When *accidently* trying to cross-compile (for example with automation scripts) from one arch to the same it will error out with a non-descriptive error:
`XBPS_CROSS_TRIPLET is not defined`
I think it would be good to check if both `arch`s are equal and then error out displaying a msg that it's not allowed.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-06-14 19:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-19 13:08 [ISSUE] xbps fails with 'XBPS_CROSS_TRIPLET is not defined' when trying to cross-build same arch voidlinux-github
2020-02-15 20:31 ` xbps-src " Anachron
2023-06-03 21:35 ` vincele
2023-06-14 19:40 ` Chocimier
2023-06-14 19:40 ` [ISSUE] [CLOSED] " Chocimier
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).