Created attachment 573466 [details] Output of: ebuild mtl.6.14.0.ebuild install Building media-libs/mlt-6.14.0 it fails during the install phase.
Created attachment 573468 [details] Output of: emerge --info
Can you reproduce that problem with 6.16.0?
On my side I have the same problem with 6.20, and had it with 6.16 and 6.14 (the last version I was able to successfully install was 6.12).
I can't attach any file, I'm getting an error "Software error: Malformed multipart POST: data truncated" However I've managed to workaround (fix?) the problem by adding rpath when linking _mlt.so in file src/swig/python/build: --- build.bak 2020-07-06 10:43:44.462279976 +0200 +++ build 2020-07-06 09:06:46.987238243 +0200 @@ -27,3 +27,3 @@ # Create the module - ${CXX} ${CXXFLAGS} -shared mlt_wrap.o -L../../mlt++ -lmlt++ -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -L../../framework -lmlt $("${PYTHON}-config" --ldflags) -o _mlt.so || exit $? + ${CXX} ${CXXFLAGS} -shared mlt_wrap.o -L../../mlt++ -lmlt++ -march=native -O2 -pipe -Wl,-O1 -Wl,-rpath,/var/tmp/portage/media-libs/mlt-6.20.0/work/mlt-6.20.0/src/mlt++ -Wl,-rpath,/var/tmp/portage/media-libs/mlt-6.20.0/work/mlt-6.20.0/src/framework -Wl,--as-needed -L../../framework -lmlt $("${PYTHON}-config" --ldflags) -o _mlt.so || exit $? else I also had another problem: Fatal Python error: initfsencoding: Unable to get the locale encoding Traceback (most recent call last): File "/usr/lib/python3.7/encodings/__init__.py", line 31, in <module> File "/var/tmp/portage/media-libs/mlt-6.20.0/work/mlt-6.20.0/src/swig/python/codecs.py", line 21, in <module> File "/var/tmp/portage/media-libs/mlt-6.20.0/work/mlt-6.20.0/src/swig/python/mlt.py", line 524, in __init__ ValueError: invalid null reference in method 'new_Properties', argument 1 of type 'Mlt::Properties &' Which I "solved" by removing file src/swig/python/codecs.py, because it was loaded instead of /usr/lib64/python3.7/codecs.py. This allowed me to merge the package, and install kdenlive, which seems to run ok...
Same problem with media-libs/mlt-6.26.1-r1: Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized Traceback (most recent call last): File "/usr/lib/python3.9/encodings/__init__.py", line 31, in <module> File "/var/tmp/portage/media-libs/mlt-6.26.1-r1/work/mlt-6.26.1/src/swig/python/codecs.py", line 6, in <module> File "/var/tmp/portage/media-libs/mlt-6.26.1-r1/work/mlt-6.26.1/src/swig/python/mlt.py", line 15, in <module> ImportError: libmlt++.so.3: cannot open shared object file: No such file or directory
Created attachment 716112 [details] build.log
(In reply to Vasiliy Yeremeyev from comment #5) > Same problem with media-libs/mlt-6.26.1-r1: > > Fatal Python error: init_fs_encoding: failed to get the Python codec of the > filesystem encoding I had this, too. Fixed it by re-emerging python with: emerge --oneshot dev-lang/python:3.9
media-libs/mlt is since using a completely different build system. Please re-open in the unlikely event that it happens again.