In https://bugs.gentoo.org/show_bug.cgi?id=893134 Mario figured out why Gentoo Linux cannot enable DWG support due to missing OpenDWG package. Please try to switch to libredwg. It takes quite some effort to figure out why DWG cannot be imported if QGIS in general claims it can do that. This happens as of current sci-geosciences/grass-8.2.0-r4.