Recently www/firefox (56.0.2_4,1 and 56.0.2_5,1) stopped building with this error (rust-1.21.0 is in use):
FreeBSD 10.4-STABLE #0 r324759M amd64
Code:
Compiling simd v0.2.0
error[E0432]: unresolved import `x86::sse2`
--> /usr/ports/www/firefox/work/firefox-56.0.2/third_party/rust/simd/src/common.rs:17:10
|
17 | use x86::sse2::common;
| ^^^^ Could not find `sse2` in `x86`
error: aborting due to previous error
/usr/local/bin/clang++40 -std=gnu++11 -o pkixocsp.o -c -I/usr/ports/www/firefox/work/firefox-56.0.2/obj-x86_64-unknown-freebsd10.4/dist/stl_wrappers -I/usr/ports/www/firefox/work/firefox-56.0.2/obj-x86_64-unknown-freebsd10.4/dist/system_wrappers -include /usr/ports/www/firefox/work/firefox-56.0.2/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/usr/ports/www/firefox/work/firefox-56.0.2/security/pkix -I/usr/ports/www/firefox/work/firefox-56.0.2/obj-x86_64-unknown-freebsd10.4/security/pkix -I/usr/ports/www/firefox/work/firefox-56.0.2/security/pkix/include -I/usr/ports/www/firefox/work/firefox-56.0.2/obj-x86_64-unknown-freebsd10.4/dist/include -I/usr/local/include/nspr -I/usr/local/include/nss -I/usr/local/include/nss/nss -I/usr/local/include -I/usr/local/include -I/usr/local/include/pixman-1 -fPIC -DMOZILLA_CLIENT -include /usr/ports/www/firefox/work/firefox-56.0.2/obj-x86_64-unknown-freebsd10.4/mozilla-config.h -MD -MP -MF .deps/pkixocsp.o.pp -Qunused-arguments -D_GLIBCXX_USE_C99 -D_GLIBCXX_USE_C99_MATH_TR1 -D_DECLARE_C99_LDBL_MATH -DLIBICONV_PLUG -isystem /usr/local/include -Qunused-arguments -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wclass-varargs -Wloop-analysis -Wc++11-compat-pedantic -Wc++14-compat -Wc++14-compat-pedantic -Wc++1z-compat -Wcomma -Wimplicit-fallthrough -Wstring-conversion -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wformat -Wno-gnu-zero-variadic-macro-arguments -Wformat-security -Wno-unknown-warning-option -Wno-return-type-c-linkage -O2 -pipe -march=bdver2 -O3 -DLIBICONV_PLUG -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -DLIBICONV_PLUG -isystem /usr/local/include -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pipe -I/usr/local/include -O2 -O3 -fomit-frame-pointer -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-padded -Wno-reserved-id-macro -Wno-shadow -Wno-weak-vtables -Wno-error=shadow /usr/ports/www/firefox/work/firefox-56.0.2/security/pkix/lib/pkixocsp.cpp
error: Could not compile `simd`.
FreeBSD 10.4-STABLE #0 r324759M amd64