We tell build failure bugs apart according to their error messages. So the error message should go in the title.
In this case it suggests you have an unusual C compiler installed as the default compiler. Can you check what this command tells you? cc --version -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1830582 Title: nvidia-384 384.130-0ubuntu0.16.04.2: nvidia-384 kernel module failed to build [arch/x86/Makefile:245: *** You are building kernel with non- retpoline compiler, please update your compiler.. Stop.] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-384/+bug/1830582/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs