Building firefox-60.2.2 fails here with error: cannot find -lgtk-x11-2.0. Workaround: cd /usr/lib/ ln -s libgtk-x11-2.0.so.0 libgtk-x11-2.0.so The same applied to 60.2.1 while 60.2.0 was ok. A snipped from the very long build.log: 63:39.87 rm -f libmozgtk.so 63:39.87 /var/tmp/portage/www-client/firefox-60.2.2/work/firefox-60.2.2/ff/_virtualenv/bin/python /var/tmp/portage/www-client/firefox-60.2.2/work/firefox-60.2.2/config/expandlibs_exec.py --uselist -- /usr/bin/x86_64-pc-linux-gnu-gcc -std=gnu99 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wduplicated-cond -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -Wformat-overflow=2 -march=native -g0 -pipe -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe -freorder-blocks -O2 -fomit-frame-pointer -fPIC -shared -Wl,-z,defs -Wl,--gc-sections -Wl,-h,libmozgtk.so -o libmozgtk.so mozgtk.o -lpthread -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,-O2 -march=native -g0 -pipe -Wl,-rpath=/usr/lib64/firefox,--enable-new-dtags -Wl,-z,relro,-z,now -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-rpath-link,/var/tmp/portage/www-client/firefox-60.2.2/work/firefox-60.2.2/ff/dist/bin -Wl,-rpath-link,/usr/lib -fdiagnostics-color -ldl -Wl,--no-as-needed -lgtk-x11-2.0 -lgdk-x11-2.0 -Wl,--as-needed 63:40.02 Executing: /usr/bin/x86_64-pc-linux-gnu-gcc -std=gnu99 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wduplicated-cond -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -Wformat-overflow=2 -march=native -g0 -pipe -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe -freorder-blocks -O2 -fomit-frame-pointer -fPIC -shared -Wl,-z,defs -Wl,--gc-sections -Wl,-h,libmozgtk.so -o libmozgtk.so /var/tmp/portage/www-client/firefox-60.2.2/work/firefox-60.2.2/ff/widget/gtk/mozgtk/gtk2/tmpNE4PBs.list -lpthread -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,-O2 -march=native -g0 -pipe -Wl,-rpath=/usr/lib64/firefox,--enable-new-dtags -Wl,-z,relro,-z,now -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-rpath-link,/var/tmp/portage/www-client/firefox-60.2.2/work/firefox-60.2.2/ff/dist/bin -Wl,-rpath-link,/usr/lib -fdiagnostics-color -ldl -Wl,--no-as-needed -lgtk-x11-2.0 -lgdk-x11-2.0 -Wl,--as-needed 63:40.02 /var/tmp/portage/www-client/firefox-60.2.2/work/firefox-60.2.2/ff/widget/gtk/mozgtk/gtk2/tmpNE4PBs.list: 63:40.02 INPUT("mozgtk.o") 63:40.02 63:40.02 /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgtk-x11-2.0 63:40.02 collect2: error: ld returned 1 exit status Reproducible: Always
Update: The missing link was recreated by recompiling gtk+:2. While I am very sure that I did not remove that link by accident myself, you may close this issue.
Thanks, closing as invalid for now because not a bug within firefox ebuild.