-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
configure includes wrong zconf.h in out-of-tree builds #499
Comments
CI #492 should have out of source build configuration to ensure that future CMake changes still work with out of source builds. |
Oh, quite. I discovered this bug while writing a CI test to verify that out-of-tree make and cmake build/install produce identical results. See CI for dankegel#5. |
…and madler#499 Probably want to be careful about using same compiler for both builds in general, but for now, hide it behind the FreeBSD conditional, since that's where I hit the problem. Run cmake first and configure/make second, see issue madler#499 (build breaks due to zconf.h missing) Add to cirrus CI unixlike builds.
Duplicate of #344. |
No, not quite. It's related, but even if there were no CMakeLists.txt at all, this bug would exist and be real. |
…and madler#499 Run cmake first and configure/make second, see issue madler#499 (build breaks due to zconf.h missing) ci: add fedora, debian; use matrix and a template in .cirrus.yml
ci/pkgcheck.sh: verify make and cmake install same bits, and that running configure/make doesn't try to reference wrong zconf.h.
ci/pkgcheck.sh: verify make and cmake install same bits, and that running configure/make doesn't try to reference wrong zconf.h.
Should be addressed by 9404df5 . |
Out-of-tree compilation fails if you do out-of-tree cmake build and make build sequentially.
Evidently configure's out-of-tree build sometimes pulls in a stale zconf.h
(either the system's, or the default one checked into the top of the source tree)
rather than the one it generated.
The text was updated successfully, but these errors were encountered: