On 7/11/19 6:38 PM, Paul Menzel wrote:
Dear Tim, dear Douglas,


On 7/11/19 6:34 PM, Douglas R. Reno via blfs-dev wrote:
On Thu, Jul 11, 2019, 11:32 AM Tim Tassonis wrote:

Just wanted to let you know that thunderbird seems not to build out of
the  box with rustc 1.35.0. I'm currently looking for solutions/patches,
seems that  ubuntu has something. If anybody has seen a patch regarding
"fix-missing-docs-error", I'd welcome any pointers, of course.

The errors I get are:

39:03.01 error: missing documentation for macro
39:03.01    --> servo/components/style_traits/values.rs:139:1
39:03.01     |
39:03.01 139 | macro_rules! serialize_function {
39:03.01     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
39:03.01     |
39:03.01 note: lint level defined here
39:03.01    --> servo/components/style_traits/lib.rs:12:22
39:03.01     |
39:03.01 12  | #![deny(unsafe_code, missing_docs)]
39:03.01     |                      ^^^^^^^^^^^^
39:03.01
39:03.02 error: missing documentation for macro
39:03.02    --> servo/components/style_traits/values.rs:408:1
39:03.02     |
39:03.02 408 | macro_rules! define_css_keyword_enum {
39:03.02     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
39:03.02
39:03.02 error: aborting due to 2 previous errors
39:03.02
39:03.15 error: Could not compile `style_traits`.
39:03.15

Did you try the rust fix patch that Ken had implemented for 60.7.2? I think
that fixes something with this, but I'm not 100% certain.

The change below fixed it for us [1].

     sed -i -e '/#!\[deny(missing_docs)\]/d' servo/components/style/lib.rs



This sed alone does not fix it , either, as there is a line

#![deny(unsafe_code, missing_docs)]


in servo/components/style_traits/values.rs causing the errors. I now have added another sed

sed -i -e 's/#!\[deny(unsafe_code, missing_docs)\]/#!\[deny(unsafe_code)\]/g' servo/components/style_traits/lib.rs


and see how that goes.


Bye
Tim




Kind regards,

Paul


[1]: 
https://github.molgen.mpg.de/mariux64/bee-files/blob/baea402afef6277bb2b302650fe4c07618fc8c68/thunderbird.be0#L12


--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to