Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Host tar 1.32 build issues
@ 2021-01-11 23:45 Markus Mayer
  2021-01-12  8:39 ` Arnout Vandecappelle
  0 siblings, 1 reply; 8+ messages in thread
From: Markus Mayer @ 2021-01-11 23:45 UTC (permalink / raw)
  To: buildroot

Hi all,

I noticed that host tar is no longer locked to 1.29 and has been
bumped to 1.32. The only problem is that the host tar build requires
tar in CPIO format, and that 1.32 does not exist as CPIO archive on
the official server. As per http://mirror.sergal.org/gnu/tar/, tar
1.31 is the latest that has a CPIO archive. 1.32 and 1.33 do not.

Naturally, that currently causes the build to fail if
BR2_FORCE_HOST_BUILD is enabled.

I don't know if the absence of CPIO archives is temporary or
permanent. It might be better to use tar-latest.cpio.gz as the host
tar version to prevent this issue from happening again in the future.

-HOST_TAR_SOURCE = tar-$(TAR_VERSION).cpio.gz
+HOST_TAR_SOURCE = tar-latest.cpio.gz

I tried this out and, while it would be nice, it doesn't seem to be
possible to do it this way, because the directory inside the tar-ball
is the actual version number. It would try to use
"build/host-tar-last/tar-last/*" which doesn't exist, and the build
still fails.

The only way I have been able to get past the problem was to
reintroduce the host specific TAR variables that were removed and to
hard-code them to 1.31 (rather than 1.29 as it was before).

What's your take on this?

Thanks,
-Markus

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

end of thread, other threads:[~2021-02-17 21:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-11 23:45 [Buildroot] Host tar 1.32 build issues Markus Mayer
2021-01-12  8:39 ` Arnout Vandecappelle
2021-01-12  9:19   ` Yann E. MORIN
2021-01-12 10:54     ` Arnout Vandecappelle
2021-01-12 18:23       ` Markus Mayer
2021-01-12 21:04         ` Yann E. MORIN
2021-01-12 23:26           ` Markus Mayer
2021-02-17 21:57             ` Markus Mayer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox