Pi 4 installation issue may be

Hi,

Not entirely sure if this is a Pi4 issue but I have installed the grovepi+ all manner of other pi’s without issue and this is the first p4.

I am running Buster which is updated to the latest dist-upgrade.

I have tried installing the grovepi using the easy script and the detailed with the same outcome.

The only error i get is:
Running smbus-cffi-0.5.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-9Nz54T/smbus-cffi-0.5.1/egg-dist-tmp-aBZOxb
: internal compiler error: in peep2_find_free_register, at recog.c:3160
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions.
: internal compiler error: in peep2_find_free_register, at recog.c:3160
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions.

No working compiler found, or bogus compiler options passed to
the compiler from Python's standard "distutils" module.  See
the error messages above.  Likely, the problem is not related
to CFFI but generic to the setup.py of any Python package that
tries to compile C code.  (Hints: on OS/X 10.8, for errors about
-mno-fused-madd see http://stackoverflow.com/questions/22313407/
Otherwise, see https://wiki.python.org/moin/CompLangPython or
the IRC channel #python on irc.freenode.net.)

Trying to continue anyway.  If you are trying to install CFFI from
a build done in a different context, you can ignore this warning.

: internal compiler error: in peep2_find_free_register, at recog.c:3160
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions.
error: Setup script exited with error: command ‘arm-linux-gnueabihf-gcc’ failed with exit status 1

I have hunted google for:

  • : internal compiler error: in peep2_find_free_register, at recog.c:3160
  • error: Setup script exited with error: command ‘arm-linux-gnueabihf-gcc’ failed with exit status 1
  • Running smbus-cffi-0.5.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-9Nz54T/smbus-cffi-0.5.1/egg-dist-tmp-aBZOxb

none of which has turned up much outside of installed python-dev and other build-essentials all which I have tried including reboots without change.

Any help would be greatly appreciated.

None of these errors seem related to the GrovePi. I don’t recognize any of them

However, that said, doing a dist-upgrade on the latest Buster will remove some tools that the GrovePi still needs.
As it stands today, the GrovePi will work on a Pi4 with Buster from last winter, not the one released in the spring with Pi4-8G support.
We will be addressing that, of course, but I honestly can’t tell you when.

Cleo