-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[package] m4/1.4.19: Runtime assertion windows pops up on MSVC in Debug mode #8920
Comments
@madebr is this conan-center-index/recipes/m4/all/patches/1.4.19-0001-open-files-in-binary-mode.patch Line 12 in cd61e7b
The 1.4.18 version has conan-center-index/recipes/m4/all/patches/1.4.18-0008-open-files-in-binary-mode.patch Line 12 in cd61e7b
|
The patch is adding
The problem you're seeing with debug 2019 is probably the same we saw when adding m4/1.4.19. We have a short reproducer. I don't remember why we didn't patch out the |
The problem is with m4. The bison version is kinda irrelevant. |
I'd like to do that, but unfortunately all my attemps of forcing the build_requires to be in Release mode failed when using CPT and docker (locally it works plently fine if I issue the conan create command manually) |
Both jmarrec@9c7fa44 and jmarrec@d5e6472 when built locally allow me to build bison/3.7.6 (both in debug) without the popup |
Not sure which solution we prefer. Perhaps combining them both actually... |
I personally prefer jmarrec@d5e6472, as it doesn't require patching sources |
I'm less certain that this HAVE_MSVC_INVALID_PARAMETER_HANDLER actually fixes it in all cases though. And you wrote on #7369 (comment)
|
It does seem to work. I'll open a PR |
Cf PR #8984 |
…SVC in Debug mode * #8920 - Define HAVE_MSVC_INVALID_PARAMETER_HANDLER * #8920 - Add a patch to call _CrtSetReportMode early in main * Wrong macro check * HELP2MAN=/bin/true? * - workaround make calling help2man (don't care, as we are not interested in man pages) Signed-off-by: SSE4 <tomskside@gmail.com> * - fix MSVC Signed-off-by: SSE4 <tomskside@gmail.com> Co-authored-by: SSE4 <tomskside@gmail.com>
Package and Environment Details (include every applicable attribute)
I have a recipe that depends on bison. 3.7.6 gives me parse errors, so I keep it at 3.7.1. I had pinned the exact bison/3.7.1 recipe and all worked well. I am trying to update my dependencies, so I tried the newest bison/3.7.1 revision, and I am now getting an assertion popup in m4.
I have tried various combinations to see if I could pinpoint what changed. My conclusion is that it's the move from m4/1.4.18 to m4/1.4.19 (I have tried the newest recipe revision of m4/1.4.18 and it worked, and the only m4/1.4.19 available fails).
Conan profile (output of
conan profile show default
orconan profile show <profile>
if custom profile is in use)Steps to reproduce (Include if Applicable)
Logs (Include/Attach if Applicable)
Example of a failed run: https://github.com/NREL/conan-openstudio-ruby/runs/4787415523?check_suite_focus=true
The text was updated successfully, but these errors were encountered: