dependency problems prevent configuration of panda3d1.9:i386

You’re trying to install the 32-bit version of the package on a 64-bit system. Download the 64-bit build instead.

It’s easier if you add the software repository for Panda3D, which would make sure you have the package and dependencies:

  1. Run
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 87828F5B 80AD5260 49F9BF71
  1. Add “deb archive.panda3d.org/ubuntu xenial main” to sources.list
  2. Run “sudo apt-get update”
  3. Run “sudo apt-get install panda3d1.9”

The compiler issues are odd, and probably either indicate a bug in gcc or faulty RAM (when I have faulty RAM I usually notice this when compilers start crashing randomly).