Le 10/11/2019 à 23:09, Matěj Cepl a écrit :
> On 2019-06-25, 10:31 GMT, Ennoia 11 wrote:
>> I've got the last git version installed (331) for a long time
>> and pyexiv2 0.3.2. Thought now I've got an error :
>> "You should install pyexiv2 (>=0.2.2)"
>
> So, which version of pyexiv2 you have installed?
Unfortunately, none. Should be 0.3.2.
I've uninstalled jBrout and his dependencies. When I tried to reinstall
it, I'd got an error when compiling python2-exiv2.
+++
scons: Reading SConscript files ...
AttributeError: '_Environ' object has no attribute 'has_key':
File "/tmp/trizen-peggy/python2-exiv2/src/pyexiv2-0.3.2/SConstruct",
line 37:
build_lib()
File "/tmp/trizen-peggy/python2-exiv2/src/pyexiv2-0.3.2/SConstruct",
line 22:
SConscript('src/SConscript', variant_dir='build', duplicate=0)
File "/usr/lib/python3.7/site-packages/SCons/Script/SConscript.py",
line 668:
return method(*args, **kw)
File "/usr/lib/python3.7/site-packages/SCons/Script/SConscript.py",
line 605:
return _SConscript(self.fs, *files, **subst_kw)
File "/usr/lib/python3.7/site-packages/SCons/Script/SConscript.py",
line 286:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File
"/tmp/trizen-peggy/python2-exiv2/src/pyexiv2-0.3.2/src/SConscript", line 12:
if os.environ.has_key('CXX'):
==> ERREUR : Une erreur s’est produite dans build().
Abandon…
:: Unable to build python2-exiv2 - makepkg exited with code: 4
+++
Reply from the python2-exiv2 package maintainer : "upstream did no
commit since 2012, so this was about to happen."
So I'm stuck. BTW, I'm on Archlinux.