Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make distcheck: file name is too long #601

Closed
dongahn opened this issue Feb 24, 2020 · 2 comments
Closed

make distcheck: file name is too long #601

dongahn opened this issue Feb 24, 2020 · 2 comments

Comments

@dongahn
Copy link
Member

dongahn commented Feb 24, 2020

make[2]: Leaving directory '/usr/src/t'
test -n "" \
|| find "flux-sched-0.8.0-42-gb5a437bf" -type d ! -perm -755 \
	-exec chmod u+rwx,go+rx {} \; -o \
  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  ! -type d ! -perm -444 -exec /bin/bash /usr/src/config/install-sh -c -m a+r {} {} \; \
|| chmod -R a+r "flux-sched-0.8.0-42-gb5a437bf"
tardir=flux-sched-0.8.0-42-gb5a437bf && ${TAR-tar} chof - "$tardir" | eval GZIP= gzip --best -c >flux-sched-0.8.0-42-gb5a437bf.tar.gz
tar: flux-sched-0.8.0-42-gb5a437bf/t/data/resource/jobspecs/validation/invalid/resource_missing_count.yaml: file name is too long (max 99); not dumped
tar: flux-sched-0.8.0-42-gb5a437bf/t/data/resource/jobspecs/validation/invalid/resource_count_missing_min.yaml: file name is too long (max 99); not dumped
tar: flux-sched-0.8.0-42-gb5a437bf/t/data/resource/jobspecs/validation/invalid/resource_count_missing_operator.yaml: file name is too long (max 99); not dumped
tar: flux-sched-0.8.0-42-gb5a437bf/t/data/resource/jobspecs/validation/invalid/resource_count_missing_max.yaml: file name is too long (max 99); not dumped
tar: flux-sched-0.8.0-42-gb5a437bf/t/data/resource/jobspecs/validation/invalid/resources_not_sequence.yaml: file name is too long (max 99); not dumped
tar: flux-sched-0.8.0-42-gb5a437bf/t/data/resource/jobspecs/validation/invalid/resource_exclusive_invalid.yaml: file name is too long (max 99); not dumped
tar: flux-sched-0.8.0-42-gb5a437bf/t/data/resource/jobspecs/validation/invalid/resource_exclusive_not_scalar.yaml: file name is too long (max 99); not dumped
tar: flux-sched-0.8.0-42-gb5a437bf/t/data/resource/jobspecs/validation/invalid/task_count_not_mapping.yaml: file name is too long (max 99); not dumped
tar: flux-sched-0.8.0-42-gb5a437bf/t/data/resource/jobspecs/validation/invalid/resource_count_bad_type.yaml: file name is too long (max 99); not dumped
tar: flux-sched-0.8.0-42-gb5a437bf/t/data/resource/jobspecs/validation/invalid/resource_count_scalar_bad_value.yaml: file name is too long (max 99); not dumped
tar: flux-sched-0.8.0-42-gb5a437bf/t/data/resource/jobspecs/validation/invalid/attributes_not_mapping.yaml: file name is too long (max 99); not dumped
tar: flux-sched-0.8.0-42-gb5a437bf/t/data/resource/jobspecs/validation/invalid/resource_id_not_scalar.yaml: file name is too long (max 99); not dumped
tar: flux-sched-0.8.0-42-gb5a437bf/t/data/resource/jobspecs/validation/invalid/resource_unit_not_scalar.yaml: file name is too long (max 99); not dumped
tar: flux-sched-0.8.0-42-gb5a437bf/t/data/resource/jobspecs/validation/invalid/task_command_not_array.yaml: file name is too long (max 99); not dumped
tar: flux-sched-0.8.0-42-gb5a437bf/t/data/resource/jobspecs/validation/invalid/resource_count_missing_operand.yaml: file name is too long (max 99); not dumped
tar: flux-sched-0.8.0-42-gb5a437bf/t/data/resource/jobspecs/validation/invalid/resource_label_not_scalar.yaml: file name is too long (max 99); not dumped
tar: flux-sched-0.8.0-42-gb5a437bf/t/data/resource/jobspecs/validation/invalid/resource_slot_not_labelled.yaml: file name is too long (max 99); not dumped
tar: Exiting with failure status due to previous errors

make distcheck generates the above message.

@dongahn
Copy link
Member Author

dongahn commented Feb 25, 2020

https://noiselabs.io/tar-file-name-is-too-long-max-99/

AM_INIT_AUTOMAKE([1.9 tar-pax])

might be a fix.

@dongahn
Copy link
Member Author

dongahn commented Jul 16, 2020

This has been fixed by PR #677

@dongahn dongahn closed this as completed Jul 16, 2020
garlick added a commit to garlick/flux-sched that referenced this issue Jul 23, 2021
Problem: make distcheck fails

The node_local_storage inputs exceed us-tar's max filename limit,
so switch to tar-pax (see also flux-framework#601).

Add NEWS.md to Makefile.am.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant