Closed jonahgraham closed 1 year ago
it should actually be --warning=no-unknown-keyword
at first I had it wrong, according to the tar documentation you have to add a no- prefix to suppress warnings
The --warning=no-unknown-keyword
worked for me. Be sure to but it before the -xf and not after it. 😱
Thanks @netomi for the updated command line and @merks for the hint.
A further hint to people who have been typing tar xf file.tar
for their whole life.... to enable using --warning=no-unknown-keyword
you have to add a -
before the xf
(or tf
) otherwise you get this error:
$ tar --warning=no-unknown-keyword tf ~/Downloads/eclipse-cpp-2023-09-RC1-linux-gtk-x86_64.tar.gz
tar: You must specify one of the '-Acdtrux', '--delete' or '--test-label' options
Try 'tar --help' or 'tar --usage' for more information.
weird, but good that it worked :D
Add
--warning=-unknown-keyword
as suggested https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/3630#note_1203399 to the tar commandhttps://github.com/eclipse-packaging/packages/blob/d79ee79a5c4f6ae847834efd91cbad4f5c753133/releng/org.eclipse.epp.config/tools/check-incubating.sh#L11
See also https://github.com/eclipse-tycho/tycho/issues/2586 where I raised the header added in tycho.