We noticed that some ghc-* packages FTBFS with Modern C failures eg these two picked at random: https://koji.fedoraproject.org/koji/taskinfo?taskID=113534568 https://koji.fedoraproject.org/koji/taskinfo?taskID=113534602 I think what's happening here is that ghc is generating C FFI code which is fed to GCC 14. The code being generated is buggy. So probably the fix for this is just in ghc itself. I looked at upstream ghc and wasn't able to identify any commits which fix this (except maybe https://github.com/ghc/ghc/commit/b3a3534b6f75b34dc4db76e904e071485da6d5cc). But I didn't look especially hard and the code is very complicated. An alternative to fixing this in the compiler is to throw up our hands and add: %global build_type_safety_c 0 to every affected ghc-* package. eg This fixes ghc-readline: https://koji.fedoraproject.org/koji/taskinfo?taskID=113535426 Any thoughts on this? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org -- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue