Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 724616 - sys-apps/fwupd-1.4.2 with dev-python/pillow-7.1.2: Error: missing dependency python pillow (python3-pil)
Summary: sys-apps/fwupd-1.4.2 with dev-python/pillow-7.1.2: Error: missing dependency ...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-23 06:09 UTC by Bernd
Modified: 2022-07-04 22:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fwupd-1.4.2:20200523-054828.log (fwupd-1.4.2:20200523-054828.log,10.47 KB, text/plain)
2020-05-23 06:11 UTC, Bernd
Details
meson-log.txt (meson-log.txt,81.21 KB, text/plain)
2020-05-23 06:12 UTC, Bernd
Details
emerge-info-fwupd-1.4.2.txt (emerge-info-fwupd-1.4.2.txt,14.86 KB, text/plain)
2020-05-23 06:13 UTC, Bernd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd 2020-05-23 06:09:43 UTC
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.
Comment 1 Bernd 2020-05-23 06:11:01 UTC
Created attachment 640954 [details]
fwupd-1.4.2:20200523-054828.log

build log
Comment 2 Bernd 2020-05-23 06:12:04 UTC
Created attachment 640956 [details]
meson-log.txt

meson log
Comment 3 Bernd 2020-05-23 06:13:22 UTC
Created attachment 640958 [details]
emerge-info-fwupd-1.4.2.txt

output of emerge --info fwupd
Comment 4 Bernd 2020-06-08 19:36:42 UTC
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...
Comment 5 Bernd 2022-07-04 22:10:36 UTC
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.