Created attachment 360616 [details] ebuild for python-magic-0.4.6 This issue is fixed upstream in python-magic 0.4.6 (see https://github.com/ahupp/python-magic/issues/44) I just bumped the version of the ebuild locally to install this version and everything seems fine.
Thanks for reporting. Bumped in tree.