Variables are removed from the environment and never restored back
During the process of running package gstreamer-1.0
I triggered this issue with 2 recipes
[(30/81) gdk-pixbuf -> configure ]
Recipe 'gdk-pixbuf' failed at the build step 'configure'
Traceback (most recent call last):
File "./cerbero/build/oven.py", line 156, in _cook_recipe
stepfunc()
File "./cerbero/build/build.py", line 136, in call
res = func(*args)
File "./cerbero/build/build.py", line 715, in configure
f = self._write_meson_cross_file()
File "./cerbero/build/build.py", line 617, in _write_meson_cross_file
cc = os.environ['CC'].split()
File "/usr/lib/python3.5/os.py", line 725, in __getitem__
raise KeyError(key) from None
KeyError: 'CC'