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

Occasional table build failures with parallel builds (-j) #2421

Closed
jphickey opened this issue Aug 9, 2023 · 0 comments · Fixed by #2422
Closed

Occasional table build failures with parallel builds (-j) #2421

jphickey opened this issue Aug 9, 2023 · 0 comments · Fixed by #2422
Assignees
Milestone

Comments

@jphickey
Copy link
Contributor

jphickey commented Aug 9, 2023

Describe the bug
When using the -j option to make, occasionally some table builds may fail.

To Reproduce
Depends on a configuration that uses a lot of table files (> 100). Repeatedly do clean builds followed by make -j<X> install where X is a number greater than 3 or so. Occasionally an error will occur due to a missing object.

Expected behavior
Should succeed

System observed on:
Debian

Additional context
Initial analysis of a failed build seems to suggest it was trying to build the same intermediate table library twice, at the same time. As such either the ranlib or ar actions failed because one of them stepped on the files from the other parallel build.

Reporter Info
Joseph Hickey, Vantage Systems, Inc.

@jphickey jphickey self-assigned this Aug 9, 2023
@jphickey jphickey added the bug label Aug 9, 2023
github-actions bot pushed a commit that referenced this issue Aug 15, 2023
Fix #2421, adjust dependencies on table lib
@dmknutsen dmknutsen added this to the Equuleus milestone Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants