Open Bug 1686972 Opened 3 years ago Updated 3 years ago

./mach browsertime --setup fails on Fedora 33

Categories

(Testing :: Raptor, defect, P5)

Firefox 83
defect

Tracking

(Not tracked)

People

(Reporter: emilio, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file log

It seems the root cause is something like:

  gcc -pthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g build/temp.linux-x86_64-3.9/src/_imagingcms.o -L/tmp/pip-install-gvuvlr2c/pillow -L/home/emilio/src/moz/gecko-3/obj-debug-non-unified/_virtualenvs/init_py3/lib -L/usr/lib64 -L/usr/lib64/iscsi -L/usr/lib64/tcl8.6 -L/usr/lib64/qt5-qtwebengine-freeworld -L/usr/local/lib -L/usr/lib -L/usr/lib64 -llcms2 -o build/lib.linux-x86_64-3.9/PIL/_imagingcms.cpython-39-x86_64-linux-gnu.so
  /usr/bin/ld: skipping incompatible /usr/lib/liblcms2.so when searching for -llcms2
  /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/10/../../../liblcms2.so when searching for -llcms2
  /usr/bin/ld: skipping incompatible /lib/liblcms2.so when searching for -llcms2
  /usr/bin/ld: skipping incompatible /usr/lib/liblcms2.so when searching for -llcms2
  /usr/bin/ld: cannot find -llcms2
  /usr/bin/ld: skipping incompatible /usr/lib/liblcms2.so when searching for -llcms2
  /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/10/../../../liblcms2.so when searching for -llcms2
  /usr/bin/ld: skipping incompatible /lib/liblcms2.so when searching for -llcms2
  /usr/bin/ld: skipping incompatible /usr/lib/liblcms2.so when searching for -llcms2
  collect2: error: ld returned 1 exit status

I guess I have the 32-bit version of the libraries installed, and the linker is somehow not looking into /usr/lib64/, where the libraries exist...

:emilio, does it also fail when you install it through raptor? We install through wheels there so you shouldn't have to build Pillow yourself.

Severity: -- → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: