Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 2019 17:25:54 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Graham Perrin <grahamperrin@gmail.com>
Cc:        gecko@freebsd.org
Subject:   Re: Building (deleted) Waterfox 56.2.8: error: missing documentation for macro
Message-ID:  <mult-tqlp-wny@FreeBSD.org>
In-Reply-To: <496db844-cb0b-1b53-b498-beec9324b9c0@gmail.com> (Graham Perrin's message of "Sun, 17 Mar 2019 15:00:46 %2B0000")
References:  <496db844-cb0b-1b53-b498-beec9324b9c0@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Graham Perrin <grahamperrin@gmail.com> writes:

> error: missing documentation for macro
>    --> 
> /wrkdirs/usr/ports/www/waterfox/work/Waterfox-56.2.8/servo/components/style_traits/values.rs:341:1
>     |
> 341 | macro_rules! define_css_keyword_enum {
>     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>     |
> note: lint level defined here
>    --> 
> /wrkdirs/usr/ports/www/waterfox/work/Waterfox-56.2.8/servo/components/style_traits/lib.rs:12:22
>     |
> 12  | #![deny(unsafe_code, missing_docs)]
>     |                      ^^^^^^^^^^^^

Looks like a regression from Rust 1.33 update.

Either remove missing_docs from #![deny(...)] lines (or lines themselves)
for each one that triggers error (no need to bother with unused ones) or
add MOZ_OPTIONS+=--disable-stylo to Makefile.local.

www/firefox-esr et al. simply backported upstream fixes for warnings to
avoid having to maintain workarounds forever. Rebasing those against
very old Stylo code isn't worth the effort.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?mult-tqlp-wny>