error: Could not compile `libc`.
warning: build failed, waiting for other jobs to finish...
error[E0433]: failed to resolve: use of undeclared type or module `mem`
--> third_party/rust/libc/src/unix/bsd/freebsdlike/freebsd/powerpc64.rs:35:32
|
35 | pub const _ALIGNBYTES: usize = mem::size_of::<::c_long>() - 1;
| ^^^ use of undeclared type or module `mem`
Reported by: pkg-fallout
This should prevent messages like
rmdir: /usr/local/lib/firefox: Directory not empty
during upgrades. multimedia/openh264 creates
/usr/local/lib/firefox/defaults/pref/gmpopenh264.js
so the directory might not be empty at that time.
PR: 236447
Approved by: gecko (jbeich)
In file included from objdir/js/src/Unified_cpp_js_src41.cpp:2:
js/src/wasm/WasmSignalHandlers.cpp: In function 'uint8_t** ContextToPC(ucontext_t*)':
js/src/wasm/WasmSignalHandlers.cpp:439:19: error: 'R32_sig' was not declared in this scope
#define PC_sig(p) R32_sig(p)
^~~~~~~
js/src/wasm/WasmSignalHandlers.cpp:450:39: note: in expansion of macro 'PC_sig'
return reinterpret_cast<uint8_t**>(&PC_sig(context));
^~~~~~
js/src/wasm/WasmSignalHandlers.cpp:439:19: note: suggested alternative: 'R12_sig'
#define PC_sig(p) R32_sig(p)
^~~~~~~
js/src/wasm/WasmSignalHandlers.cpp:450:39: note: in expansion of macro 'PC_sig'
return reinterpret_cast<uint8_t**>(&PC_sig(context));
^~~~~~
Reported by: pkg-fallout
Instead of using -target aarch64-unknown-freebsd12.0 get the error
from inside aarch64 jail. AT_HWCAP exists on all achitectures but is
only implemented on armv6/armv7 and powerpc*.
In file included from ../.build/gfx/webrender_bindings/Unified_cpp_webrender_bindings0.cpp:20:
gfx/webrender_bindings/RenderCompositor.cpp:35:47: error: use of undeclared identifier 'RenderCompositorEGL'; did you mean 'RenderCompositorOGL'?
UniquePtr<RenderCompositor> eglCompositor = RenderCompositorEGL::Create(aWidget);
^~~~~~~~~~~~~~~~~~~
RenderCompositorOGL
../.build/dist/include/mozilla/webrender/RenderCompositorOGL.h:16:7: note: 'RenderCompositorOGL' declared here
class RenderCompositorOGL : public RenderCompositor {
^
In file included from ../.build/gfx/webrender_bindings/Unified_cpp_webrender_bindings0.cpp:20:
gfx/webrender_bindings/RenderCompositor.cpp:35:75: error: rvalue reference to type 'RefPtr<...>' cannot bind to lvalue of type 'RefPtr<...>'
UniquePtr<RenderCompositor> eglCompositor = RenderCompositorEGL::Create(aWidget);
^~~~~~~
../.build/dist/include/mozilla/webrender/RenderCompositorOGL.h:19:42: note: passing argument to parameter 'aWidget' here
RefPtr<widget::CompositorWidget>&& aWidget);
^
PR: 233791
Reported by: many
In file included from ../.build/dom/workers/Unified_cpp_dom_workers0.cpp:11:
dom/workers/ChromeWorkerScope.cpp:56:10: error: use of undeclared identifier 'JS_InitCTypesClass'
if (!JS_InitCTypesClass(aCx, aGlobal) ||
^
dom/workers/ChromeWorkerScope.cpp:61:18: error: unknown type name 'JSCTypesCallbacks'
static const JSCTypesCallbacks callbacks = {
^
PR: 233453
Reported by: kevans
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by: rene
Reviewed by: bapt, jbeich
Differential Revision: https://reviews.freebsd.org/D17724
dist/include/nsStyleStruct.h:1896:3: error: unknown type name 'StyleFillRule'
dist/include/nsStyleStruct.h:2134:12: error: no type named 'StyleDisplay' in namespace 'mozilla'
PR: 229893
Reported by: yuripv
Obtained from: upstream
dist/include/nsStyleStruct.h:1896:3: error: unknown type name 'StyleFillRule', err: true
dist/include/nsStyleStruct.h:2134:12: error: no type named 'StyleDisplay' in namespace 'mozilla', err: true
PR: 229893
Reported by: Piotr Kubaj, cmt
Obtained from: upstream
Pointy hat to: jbeich
Release notes:
* https://blog.rust-lang.org/2018/07/20/Rust-1.27.2.html
* https://blog.rust-lang.org/2018/08/02/Rust-1.28.html
* https://blog.rust-lang.org/2018/09/13/Rust-1.29.html
Up to and including Rust 1.27.x, the Rust build system shelled out to
a configure script to detect the presence and usability of libunwind.
Since Rust 1.28.0, it's using a static result in a `build.rs` file and
expects libunwind to be used. It was not the case on FreeBSD so far, so
we need a patch to this `build.rs` to disable that. We still need to
study if the FreeBSD port should use libunwind and what to do with this
patch. But this problem prevented the update to Rust 1.28.0 already, so
enough delay.
The update also comes with a patch to a few `USE_GECKO`-based ports such
as Firefox [1]. Their configure script has some asumptions on the output
of `rustc --print target-list` which are not true anymore. The patch was
already committed upstream.
The aarch64 version is still marked as BROKEN because I didn't find the
time to work on it. As a consequence, there is also no aarch64 bootstrap
for Rust 1.29.0.
PR: 229826
Approved by: jbeich [1]
Obtained from: https://bugzilla.mozilla.org/show_bug.cgi?id=1479540 [1]
Differential Revision: https://reviews.freebsd.org/D17178
Many extensions on addons.mozilla.org aren't listed or updated due to
platform whitelist abuse. On DragonFly the search is broken because
such a platform isn't recognized.
PR: 226919
Reported by: Graham Perrin
ipc/chromium/src/base/process_util_linux.cc:39:23: error: no member named 'fork_delegate' in 'base::LaunchOptions'
pid_t pid = options.fork_delegate ? options.fork_delegate->Fork() : fork();
~~~~~~~ ^
ipc/chromium/src/base/process_util_linux.cc:39:47: error: no member named 'fork_delegate' in 'base::LaunchOptions'
pid_t pid = options.fork_delegate ? options.fork_delegate->Fork() : fork();
~~~~~~~ ^