-
Notifications
You must be signed in to change notification settings - Fork 190
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
fix implicit dependency on flite_voice_list.c (fixes #86) #92
base: master
Are you sure you want to change the base?
Conversation
Also make flite_lang_list a proper rule, so that it only builds once. Both C files were repeatedly being clobbered, as were their respective object files. Convert flite_voice_list.c is into an explicit dependency with a creation rule. flite_voice_list.o continues to be implicit from flite_voice_list.c. Convert flite_lang_list into a similar, proper object rule. Fixes festvox#86
That doesn't seem to fix parallel builds completely. I'm still getting errors:
For some reason, the above error isn't fatal on x86_64 and doesn't occur on s390x, but it fails the build on aarch64, ppc64le and i686. See https://koji.fedoraproject.org/koji/taskinfo?taskID=99064127 for full build logs. |
I can't reproduce easily, my fastest machine is too slow. I might have to use a COPR in Fedora's infrastructure, but then I can't access the build root manually.
That error is peculiar, because There's another error in there:
which indicates that something's still wrong with That said:
This is due to a big no-go in
In parallel builds, each lib creation is clobbering another lib's creation dir. This should probably be using mktemp or a directory name based on the target. |
Actually, failing to build one of the binaries doesn't seem to be fatal at all for the whole build process. That's dangerous, because binaries are missing. You should see (And your spec file uses a wildcard for packaging - I tend to list most every file explicitly in large projects, to detect changes. Your builds may succeed, but be missing certain binaries!) Those failing koji builds trip over the other parallelism mentioned (in |
Thanks for catching this, I'll fix it. |
Also make flite_lang_list a proper rule, so that it only builds once.
Both C files were repeatedly being clobbered, as were their respective object files.
Convert flite_voice_list.c is into an explicit dependency with a creation rule. flite_voice_list.o continues to be implicit from flite_voice_list.c.
Convert flite_lang_list into a similar, proper object rule.
Fixes #86