Building fwupd fails with Program objcopy found: YES (/usr/bin/objcopy) Program readelf found: YES (/usr/bin/readelf) Program genpeimg found: NO meson.build:312:4: ERROR: Problem encountered: A full log can be found at /var/tmp/portage/sys-apps/fwupd-1.4.2/work/fwupd-1.4.2-build/meson-logs/meson-log.txt * ERROR: sys-apps/fwupd-1.4.2::gentoo failed (configure phase): * (no error message) By looking at the meson-log.txt Program objcopy found: YES (/usr/bin/objcopy) Program readelf found: YES (/usr/bin/readelf) Program genpeimg found: NO Running command: /var/tmp/portage/sys-apps/fwupd-1.4.2/temp/python3.7/bin/python3 po/test-deps --- stdout --- Error: missing dependency python pillow (python3-pil) --- stderr --- meson.build:312:4: ERROR: Problem encountered: it seems like it can not find pillow. The relevant lines in po/test-deps are: try: from PIL import Image except ImportError: print("Error: missing dependency python pillow (python3-pil)") err = 1 Reproducible: Always Steps to Reproduce: 1. emerge =fwupd-1.4.2 2. 3. Build log, meson log and emerge info in attachments.
Created attachment 640954 [details] fwupd-1.4.2:20200523-054828.log build log
Created attachment 640956 [details] meson-log.txt meson log
Created attachment 640958 [details] emerge-info-fwupd-1.4.2.txt output of emerge --info fwupd
I tested this import statement in python and got this: Python 3.7.7 (default, Jun 5 2020, 02:22:16) [GCC 10.1.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from PIL import Image Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.7/site-packages/PIL/Image.py", line 93, in <module> from . import _imaging as core ImportError: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/libgomp.so.1: undefined symbol: _gfortran_runtime_error_at I'm having this error with another package and was thinking it's due to some fortran library incompatibilities between gcc-10 and earlier gcc (8 or 9), although even gcc-8 provides a libgfortran.so.5 as does gcc-10. After re-emerging some packages which use fortran didn't solve this, I did an emerge -e @world during the last days. This package was one of the failed packages, so I did the test within python. Don't know yet, what's causing that gfortran error...
I don't get the import error anymore with pillow-9.2.0 and fwupd-1.4.2 isn't in the tree anymore. This bug is probably obsolete.
Okay then, closing.