NetBSD Problem Report #53649

From john@tim.nextvr.com  Wed Oct  3 18:38:31 2018
Return-Path: <john@tim.nextvr.com>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id ECBF97A177
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  3 Oct 2018 18:38:30 +0000 (UTC)
Message-Id: <201810031728.w93HSmrG016953@tim.nextvr.com>
Date: Wed, 3 Oct 2018 17:28:48 GMT
From: john@ziaspace.com
Reply-To: john@ziaspace.com
To: gnats-bugs@NetBSD.org
Subject: www/firefox fails on NetBSD 7
X-Send-Pr-Version: 3.95

>Number:         53649
>Category:       pkg
>Synopsis:       www/firefox fails on NetBSD 7
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    ryoon
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 03 18:40:00 +0000 2018
>Closed-Date:    Fri May 22 23:15:42 +0000 2020
>Last-Modified:  Fri May 22 23:15:42 +0000 2020
>Originator:     john@ziaspace.com
>Release:        NetBSD 7.1_STABLE
>Organization:

>Environment:


System: NetBSD tim.zia.io 7.1_STABLE NetBSD 7.1_STABLE (TIM) #0: Fri Oct 20 05:19:22 UTC 2017 john@tim.zia.io:/usr/obj-amd64/sys/arch/amd64/compile/TIM amd64
Architecture: x86_64
Machine: amd64
>Description:

Trying to update www/firefox from today's sources on a NetBSD 7 amd64 system fails.
I have no idea where the actual error is, so please forgive the verbosity.

/usr/pkgsrc/www/firefox/work/build/dist/include/js/Proxy.h:212:16: warning: offset of on non-standard-layout type 'js::BaseProxyHandler' [-Winvalid-offsetof], err: false
thread '<unnamed>' panicked at 'Failed to generate bindings, flags: ["/usr/pkgsrc/www/firefox/work/build/dist/include/nsXBLBinding.h", "--rust-target", "1.0", "--bitfield-enum", "nsChangeHint", "--bitfield-enum", "nsRestyleHint", "--bitfield-enum", "mozilla::OriginFlags", "--rustified-enum", "nsCompatibility", "--rustified-enum", "mozilla::EffectCompositor_CascadeLevel", "--rustified-enum", "mozilla::SheetType", "--rustified-enum", "mozilla::dom::CallerType", "--rustified-enum", "mozilla::dom::IterationCompositeOperation", "--rustified-enum", "mozilla::dom::CompositeOperation", "--rustified-enum", "mozilla::InheritTarget", "--rustified-enum", "mozilla::FontFamilyType", "--rustified-enum", "mozilla::css::URLMatchingFunction", "--rustified-enum", "mozilla::css::SheetParsingMode", "--rustified-enum", "nsStyleContentType", "--rustified-enum", "nsStyleSVGOpacitySource", "--rustified-enum", "nsStyleUnit", "--rustified-enum", "nsCSSKeyword", "--rustified-enum", "nsIDocument_Documen!
 tTheme", "--rustified-enum", "nsIDocument_Type", "--rustified-enum", "nsCSSUnit", "--rustified-enum", "nsCSSFontDesc", "--rustified-enum", "nsCSSPropertyID", "--rustified-enum", "nsCSSCounterDesc", "--rustified-enum", "nsMediaFeature_RangeType", "--rustified-enum", "nsMediaFeature_ValueType", "--rustified-enum", "nsresult", "--rustified-enum", "nsAtom_AtomKind", "--rustified-enum", "nsStyleImageLayers_LayerType", "--rustified-enum", "nsStyleImageOrientation_Angles", "--rustified-enum", "nsTimingFunction_Type", "--rustified-enum", "mozilla::ServoElementSnapshotFlags", "--rustified-enum", "mozilla::Side", "--rustified-enum", "mozilla::dom::PlaybackDirection", "--rustified-enum", "mozilla::dom::FillMode", "--rustified-enum", "mozilla::HalfCorner", "--rustified-enum", "mozilla::StyleDisplay", "--rustified-enum", "mozilla::StyleFloatEdge", "--rustified-enum", "mozilla::StyleShapeRadius", "--rustified-enum", "mozilla::StyleWindowDragging", "--rustified-enum", "mozilla::StyleOrien!
 t", "--rustified-enum", "mozilla::StyleBoxSizing", "--rustifie!
 d-enum", "mozilla::StyleClear", "--rustified-enum", "mozilla::StyleComplexColor_Tag", "--rustified-enum", "mozilla::StyleFloat", "--rustified-enum", "mozilla::StyleUserModify", "--rustified-enum", "mozilla::StyleUserInput", "--rustified-enum", "mozilla::StyleBoxDirection", "--rustified-enum", "mozilla::StyleTextJustify", "--rustified-enum", "mozilla::StyleHyphens", "--rustified-enum", "mozilla::StyleFillRule", "--rustified-enum", "mozilla::StyleShapeSourceType", "--rustified-enum", "mozilla::StyleBasicShapeType", "--rustified-enum", "nsStyleImageLayers_Size_DimensionType", "--rustified-enum", "mozilla::StyleStackSizing", "--rustified-enum", "mozilla::StyleBorderImageRepeat", "--rustified-enum", "mozilla::StyleBoxPack", "--rustified-enum", "mozilla::StyleBoxOrient", "--rustified-enum", "mozilla::StyleBoxAlign", "--rustified-enum", "mozilla::StyleUserFocus", "--rustified-enum", "mozilla::StyleUserSelect", "--rustified-enum", "mozilla::StyleImageLayerRepeat", "--rustified-enum!
 ", "mozilla::StyleImageLayerAttachment", "--rustified-enum", "mozilla::StyleBoxDecorationBreak", "--rustified-enum", "mozilla::StyleRuleInclusion", "--rustified-enum", "mozilla::StyleGridTrackBreadth", "--rustified-enum", "mozilla::StyleOverscrollBehavior", "--rustified-enum", "mozilla::StyleWhiteSpace", "--rustified-enum", "nsStyleImageType", "--rustified-enum", "nsStyleSVGPaintType", "--rustified-enum", "nsStyleSVGFallbackType", "--rustified-enum", "nsINode_BooleanFlag", "--rustified-enum", "mozilla::CSSPseudoElementType", "--rustified-enum", "mozilla::LookAndFeel_ColorID", "--rustified-enum", "mozilla::LookAndFeel_FontID", "--rustified-enum", "nsStyleTransformMatrix::MatrixTransformOperator", "--rustified-enum", "mozilla::StyleGeometryBox", "--rustified-enum", "mozilla::SystemColor", "--blacklist-type", "nsString", "--blacklist-type", ".*char_traits", "--blacklist-type", ".*incompatible_char_type", "--blacklist-type", "JS::Value", "--blacklist-type", "mozilla::binding_da!
 nger::TErrorResult.*", "--blacklist-type", "mozilla::ErrorResult.*", "-!
 -blacklist-type", "mozilla::dom::CallbackFunction", "--blacklist-type", "mozilla::dom::CallbackObject.*", "--blacklist-type", "nsINode_ErrorResult", "--blacklist-type", "nsDOMAttributeMap_ErrorResult", "--blacklist-type", "\\s*mozilla\\s*::\\s*ServoUnsafeCell\\s*", "--blacklist-type", "\\s*mozilla\\s*::\\s*ServoCell\\s*", "--blacklist-type", "\\s*ServoNodeData\\s*", "--blacklist-type", "\\s*mozilla\\s*::\\s*ServoWritingMode\\s*", "--blacklist-type", "\\s*mozilla\\s*::\\s*ServoCustomPropertiesMap\\s*", "--blacklist-type", "\\s*mozilla\\s*::\\s*ServoRuleNode\\s*", "--blacklist-type", "\\s*mozilla\\s*::\\s*ServoVisitedStyle\\s*", "--blacklist-type", "\\s*mozilla\\s*::\\s*ServoComputedValueFlags\\s*", "--blacklist-type", "\\s*mozilla\\s*::\\s*ServoRawOffsetArc\\s*", "--blacklist-type", "\\s*ComputedStyleStrong\\s*", "--no-derive-default", "--enable-cxx-namespaces", "--ignore-functions", "--generate", "types,vars", "--ignore-methods", "--opaque-type", "std::pair__PCCP", "--opaqu!
 e-type", "std::namespace::atomic___base", "--opaque-type", "std::atomic__My_base", "--opaque-type", "std::atomic", "--opaque-type", "std::atomic___base", "--opaque-type", "mozilla::gfx::(.{0,4}|.{6,12}|.{14,}|([^F][^o][^n][^t][^V][^a][^r][^i][^a][^t][^i][^o][^n])|([^F][^l][^o][^a][^t]))", "--opaque-type", "mozilla::dom::Sequence", "--opaque-type", "mozilla::dom::Optional", "--opaque-type", "mozilla::dom::OwningNodeOrString_Value", "--opaque-type", "mozilla::dom::Nullable", "--opaque-type", "mozilla::external::AtomicRefCounted", "--opaque-type", "RefPtr_Proxy", "--opaque-type", "RefPtr_Proxy_member_function", "--opaque-type", "nsAutoPtr_Proxy", "--opaque-type", "nsAutoPtr_Proxy_member_function", "--opaque-type", "mozilla::detail::PointerType", "--opaque-type", "mozilla::Pair_Base", "--opaque-type", "mozilla::SeenPtrs", "--opaque-type", "mozilla::SupportsWeakPtr", "--opaque-type", "SupportsWeakPtr", "--opaque-type", "mozilla::detail::WeakReference", "--opaque-type", "mozilla:!
 :WeakPtr", "--opaque-type", "nsWritingIterator_reference", "--opaque-ty!
 pe", "nsReadingIterator_reference", "--opaque-type", "nsTObserverArray", "--opaque-type", "nsTHashtable", "--opaque-type", "nsBaseHashtable", "--opaque-type", "nsRefPtrHashtable", "--opaque-type", "nsDataHashtable", "--opaque-type", "nsClassHashtable", "--opaque-type", "nsInterfaceHashtable", "--opaque-type", "nsIDocument_SelectorCache", "--opaque-type", "nsIPresShell_ScrollAxis", "--opaque-type", "nsPIDOMWindow", "--opaque-type", "JS::Rooted", "--opaque-type", "mozilla::Maybe", "--opaque-type", "gfxSize", "--opaque-type", "gfxSize_Super", "--opaque-type", "mozilla::StyleAnimationValue", "--opaque-type", "StyleAnimationValue", "--opaque-type", "mozilla::dom::.*Callback", "--opaque-type", "mozilla::SchedulerGroup", "--raw-line", "pub use self::root::*;", "--raw-line", "pub use self::root::mozilla::*;", "--raw-line", "pub use self::root::mozilla::css::*;", "--raw-line", "pub use self::root::mozilla::dom::*;", "--raw-line", "use atomic_refcell::AtomicRefCell;", "--raw-line", "!
 use data::ElementData;", "--raw-line", "pub type ServoUnsafeCell<T> = ::std::cell::UnsafeCell<T>;", "--raw-line", "pub type ServoCell<T> = ::std::cell::Cell<T>;", "--raw-line", "pub type ServoNodeData = AtomicRefCell<ElementData>;", "--raw-line", "pub type ServoWritingMode = ::logical_geometry::WritingMode;", "--raw-line", "pub type ServoCustomPropertiesMap = Option<::servo_arc::Arc<::custom_properties::CustomPropertiesMap>>;", "--raw-line", "pub type ServoRuleNode = Option<::rule_tree::StrongRuleNode>;", "--raw-line", "pub type ServoVisitedStyle = Option<::servo_arc::RawOffsetArc<::properties::ComputedValues>>;", "--raw-line", "pub type ServoComputedValueFlags = ::properties::computed_value_flags::ComputedValueFlags;", "--raw-line", "pub type ServoRawOffsetArc<T> = ::servo_arc::RawOffsetArc<T>;", "--raw-line", "pub type ComputedStyleStrong = ::gecko_bindings::sugar::ownership::Strong<::properties::ComputedValues>;", "--whitelist-type", "RawGecko.*", "--whitelist-type", "De!
 clarationBlockMutationClosure", "--whitelist-type", "mozilla::Animation!
 PropertySegment", "--whitelist-type", "mozilla::AnonymousCounterStyle", "--whitelist-type", "mozilla::AtomArray", "--whitelist-type", "mozilla::ComputedTiming", "--whitelist-type", "mozilla::ComputedTimingFunction", "--whitelist-type", "mozilla::ComputedTimingFunction::BeforeFlag", "--whitelist-type", "mozilla::SeenPtrs", "--whitelist-type", "mozilla::ServoElementSnapshot.*", "--whitelist-type", "mozilla::ComputedStyle", "--whitelist-type", "mozilla::StyleSheet", "--whitelist-type", "mozilla::ServoStyleSheetInner", "--whitelist-type", "mozilla::ServoStyleSetSizes", "--whitelist-type", "mozilla::ServoTraversalStatistics", "--whitelist-type", "mozilla::css::LoaderReusableStyleSheets", "--whitelist-type", "mozilla::css::SheetLoadData", "--whitelist-type", "mozilla::css::SheetLoadDataHolder", "--whitelist-type", "mozilla::css::SheetParsingMode", "--whitelist-type", "mozilla::css::URLMatchingFunction", "--whitelist-type", "mozilla::dom::IterationCompositeOperation", "--whitelist!
 -type", "mozilla::dom::StyleChildrenIterator", "--whitelist-type", "mozilla::HalfCorner", "--whitelist-type", "mozilla::MallocSizeOf", "--whitelist-type", "mozilla::OriginFlags", "--whitelist-type", "mozilla::PropertyStyleAnimationValuePair", "--whitelist-type", "mozilla::ServoTraversalFlags", "--whitelist-type", "mozilla::StaticPrefs", "--whitelist-type", "mozilla::StyleShapeRadius", "--whitelist-type", "mozilla::StyleGrid.*", "--whitelist-type", "mozilla::UpdateAnimationsTasks", "--whitelist-type", "mozilla::LookAndFeel", "--whitelist-type", "mozilla::gfx::Float", "--whitelist-type", "mozilla::gfx::FontVariation", "--whitelist-type", "mozilla::StyleImageLayerAttachment", "--whitelist-type", ".*ThreadSafe.*Holder", "--whitelist-type", "AnonymousContent", "--whitelist-type", "AudioContext", "--whitelist-type", "CapturingContentInfo", "--whitelist-type", "DefaultDelete", "--whitelist-type", "DOMIntersectionObserverEntry", "--whitelist-type", "Element", "--whitelist-type", "F!
 ontFamilyList", "--whitelist-type", "FontFamilyName", "--whitelist-type!
 ", "FontSizePrefs", "--whitelist-type", "FragmentOrURL", "--whitelist-type", "FrameRequestCallback", "--whitelist-type", "GeckoParserExtraData", "--whitelist-type", "GeckoFontMetrics", "--whitelist-type", "gfxAlternateValue", "--whitelist-type", "gfxFontFeature", "--whitelist-type", "gfxFontFeatureValueSet", "--whitelist-type", "gfxFontVariation", "--whitelist-type", "GridNamedArea", "--whitelist-type", "mozilla::HalfCorner", "--whitelist-type", "Image", "--whitelist-type", "ImageURL", "--whitelist-type", "Keyframe", "--whitelist-type", "MediumFeaturesChangedResult", "--whitelist-type", "nsAttrName", "--whitelist-type", "nsAttrValue", "--whitelist-type", "nscolor", "--whitelist-type", "nsChangeHint", "--whitelist-type", "nsCSSCounterDesc", "--whitelist-type", "nsCSSFontDesc", "--whitelist-type", "nsCSSKTableEntry", "--whitelist-type", "nsCSSKeyword", "--whitelist-type", "nsCSSPropertyID", "--whitelist-type", "nsCSSPropertyIDSet", "--whitelist-type", "nsCSSProps", "--whiteli!
 st-type", "nsCSSShadowArray", "--whitelist-type", "nsCSSValue", "--whitelist-type", "nsCSSValueList", "--whitelist-type", "nsCSSValueList_heap", "--whitelist-type", "nsCSSValuePair_heap", "--whitelist-type", "nsCSSValuePairList", "--whitelist-type", "nsCSSValuePairList_heap", "--whitelist-type", "nsCSSValueTriplet_heap", "--whitelist-type", "nsCursorImage", "--whitelist-type", "nsFont", "--whitelist-type", "nsAtom", "--whitelist-type", "nsDynamicAtom", "--whitelist-type", "nsMargin", "--whitelist-type", "nsMediaFeature", "--whitelist-type", "nsMediaFeatures", "--whitelist-type", "nsRect", "--whitelist-type", "nsRestyleHint", "--whitelist-type", "nsresult", "--whitelist-type", "nsSimpleContentList", "--whitelist-type", "nsSize", "--whitelist-type", "nsStyleBackground", "--whitelist-type", "nsStyleBorder", "--whitelist-type", "nsStyleColor", "--whitelist-type", "nsStyleColumn", "--whitelist-type", "nsStyleContent", "--whitelist-type", "nsStyleContentData", "--whitelist-type",!
  "ComputedStyle", "--whitelist-type", "nsStyleCoord", "--whitelist-type!
 ", "nsStyleCounterData", "--whitelist-type", "nsStyleDisplay", "--whitelist-type", "nsStyleEffects", "--whitelist-type", "nsStyleFilter", "--whitelist-type", "nsStyleFont", "--whitelist-type", "nsStyleGradient", "--whitelist-type", "nsStyleGradientStop", "--whitelist-type", "nsStyleGridTemplate", "--whitelist-type", "nsStyleImage", "--whitelist-type", "nsStyleImageLayers", "--whitelist-type", "nsStyleList", "--whitelist-type", "nsStyleMargin", "--whitelist-type", "nsStyleOutline", "--whitelist-type", "nsStylePadding", "--whitelist-type", "nsStylePosition", "--whitelist-type", "nsStyleSides", "--whitelist-type", "nsStyleSVG", "--whitelist-type", "nsStyleSVGOpacitySource", "--whitelist-type", "nsStyleSVGPaint", "--whitelist-type", "nsStyleSVGReset", "--whitelist-type", "nsStyleTable", "--whitelist-type", "nsStyleTableBorder", "--whitelist-type", "nsStyleText", "--whitelist-type", "nsStyleTextReset", "--whitelist-type", "nsStyleUIReset", "--whitelist-type", "nsStyleUnion", "--!
 whitelist-type", "nsStyleUnit", "--whitelist-type", "nsStyleUserInterface", "--whitelist-type", "nsStyleVisibility", "--whitelist-type", "nsStyleXUL", "--whitelist-type", "nsTArrayHeader", "--whitelist-type", "Position", "--whitelist-type", "PropertyValuePair", "--whitelist-type", "Runnable", "--whitelist-type", "ServoAttrSnapshot", "--whitelist-type", "ServoBundledURI", "--whitelist-type", "ServoComputedData", "--whitelist-type", "ServoComputedDataBorrowed", "--whitelist-type", "ServoElementSnapshot", "--whitelist-type", "ComputedStyleStrong", "--whitelist-type", "ComputedStyleBorrowed", "--whitelist-type", "ComputedStyleBorrowedOrNull", "--whitelist-type", "SheetParsingMode", "--whitelist-type", "StaticRefPtr", "--whitelist-type", "StyleAnimation", "--whitelist-type", "StyleBasicShapeType", "--whitelist-type", "StyleGeometryBox", "--whitelist-type", "StyleShapeSource", "--whitelist-type", "StyleTransition", "--whitelist-type", "ThemeWidgetType", "--whitelist-type", "mozil!
 la::UniquePtr", "--whitelist-type", "mozilla::DeclarationBlock", "--whi!
 telist-type", "mozilla::DefaultDelete", "--whitelist-type", "mozilla::Side", "--whitelist-type", "mozilla::binding_danger::AssertAndSuppressCleanupPolicy", "--whitelist-type", "mozilla::ParsingMode", "--whitelist-type", "mozilla::InheritTarget", "--whitelist-type", "mozilla::dom::MediaList", "--whitelist-type", "mozilla::StyleRuleInclusion", "--whitelist-type", "nsStyleTransformMatrix::MatrixTransformOperator", "--whitelist-var", "NS_AUTHOR_SPECIFIED_.*", "--whitelist-var", "NS_THEME_.*", "--whitelist-var", "NODE_.*", "--whitelist-var", "ELEMENT_.*", "--whitelist-var", "NS_FONT_.*", "--whitelist-var", "NS_STYLE_.*", "--whitelist-var", "NS_MATHML_.*", "--whitelist-var", "NS_RADIUS_.*", "--whitelist-var", "BORDER_COLOR_.*", "--whitelist-var", "BORDER_STYLE_.*", "--whitelist-var", "CSS_PSEUDO_ELEMENT_.*", "--whitelist-var", "SERVO_CSS_PSEUDO_ELEMENT_FLAGS_.*", "--whitelist-var", "kNameSpaceID_.*", "--whitelist-var", "kGenericFont_.*", "--whitelist-var", "kPresContext_.*", "--w!
 hitelist-var", "nsContentUtils_.*", "--whitelist-var", "GECKO_IS_NIGHTLY", "--", "-I", "/usr/pkgsrc/www/firefox/work/build/dist/include", "-I", "/usr/pkgsrc/www/firefox/work/build/dist/include/nspr", "-include", "/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla-config.h", "-x", "c++", "-std=c++14", "-fno-sized-deallocation", "-DTRACING=1", "-DIMPL_LIBXUL", "-DMOZ_STYLO_BINDINGS=1", "-DMOZILLA_INTERNAL_API", "-DRUST_BINDGEN", "-DOS_POSIX=1", "-DOS_BSD=1", "-DOS_NETBSD=1", "-isystem/usr/local/include/nspr", "-isystem/usr/X11R7/include/pixman-1", "-I/usr/local/include/nspr", "-I/usr/local/include/nss", "-I/usr/local/include/nspr", "-I/usr/X11R7/include/pixman-1", "-I/usr/pkgsrc/www/firefox/work/build/dist/include/cairo", "/usr/pkgsrc/www/firefox/work/build/dist/include/nsStyleStruct.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/StyleAnimationValue.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/gfxFontConstants.h", "/usr/pkgsrc/www/firefox/work/build!
 /dist/include/gfxFontFeatures.h", "/usr/pkgsrc/www/firefox/work/build/d!
 ist/include/nsThemeConstants.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/css/Loader.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/css/SheetLoadData.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/DeclarationBlock.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/dom/AnimationEffectBinding.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/dom/HTMLSlotElement.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/dom/KeyframeEffectBinding.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/dom/MediaList.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/dom/ShadowRoot.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/AnimationPropertySegment.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/ComputedTiming.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/ComputedTimingFunction.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/Keyframe.h", "/u!
 sr/pkgsrc/www/firefox/work/build/dist/include/mozilla/ServoElementSnapshot.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/ServoElementSnapshotTable.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/dom/Element.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/dom/ChildIterator.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/dom/NameSpaceConstants.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/LookAndFeel.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/StaticPrefs.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/ServoBindings.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/ComputedStyle.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/ServoTraversalStatistics.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/SizeOfState.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/nsCSSProps.h", "/usr/pkgsrc/www/firefox/work/build/dist/include/nsContentUtils.h",!
  "/usr/pkgsrc/www/firefox/work/build/dist/include/nsNameSpaceManager.h"!
 , "/usr/pkgsrc/www/firefox/work/build/dist/include/nsMediaFeatures.h", "--no-rustfmt-bindings"]', servo/components/style/build_gecko.rs:276:17
stack backtrace:
   0:           0x39defe - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h728be8d7ae1c8e28
                               at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
   1:           0x3a9516 - std::sys_common::backtrace::print::hfac77583a9386492
                               at libstd/sys_common/backtrace.rs:71
                               at libstd/sys_common/backtrace.rs:59
   2:           0x3a258d - std::panicking::default_hook::{{closure}}::hc1b1a3e79123bfdb
                               at libstd/panicking.rs:211
   3:           0x3a22e8 - std::panicking::default_hook::h5b0f60915aae6417
                               at libstd/panicking.rs:227
   4:           0x3a2c05 - std::panicking::rust_panic_with_hook::hdcdf720d655ece11
                               at libstd/panicking.rs:475
   5:           0x3a27f9 - std::panicking::continue_panic_fmt::h3f5cce9dace671c0
                               at libstd/panicking.rs:390
   6:           0x3a275d - std::panicking::begin_panic_fmt::haa3e69004e531a78
                               at libstd/panicking.rs:345
   7:           0x22ad8b - build_script_build::build_gecko::bindings::write_binding_file::h8fac01d684c30601
   8:           0x22e7b8 - build_script_build::build_gecko::bindings::generate_structs::ha63b941009776377
   9:           0x3b0b19 - __rust_maybe_catch_panic
                               at libpanic_unwind/lib.rs:105
  10:           0x21e18b - <F as alloc::boxed::FnBox<A>>::call_box::hc00c66a97edf4a91
  11:           0x3a333a - std::sys::unix::thread::Thread::new::thread_start::h10f481b745f355da
                               at /usr/pkgsrc/lang/rust/work/rustc-1.29.1-src/src/liballoc/boxed.rs:652
                               at libstd/sys_common/thread.rs:24
                               at libstd/sys/unix/thread.rs:90
  12:     0x7f7ff780ac1b - __libc_thr_exit
  13:     0x7f7ff6c83d0f - __mknod50
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Any', libcore/result.rs:945:5
stack backtrace:
   0:           0x39defe - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h728be8d7ae1c8e28
                               at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
   1:           0x3a9516 - std::sys_common::backtrace::print::hfac77583a9386492
                               at libstd/sys_common/backtrace.rs:71
                               at libstd/sys_common/backtrace.rs:59
   2:           0x3a258d - std::panicking::default_hook::{{closure}}::hc1b1a3e79123bfdb
                               at libstd/panicking.rs:211
   3:           0x3a22e8 - std::panicking::default_hook::h5b0f60915aae6417
                               at libstd/panicking.rs:227
   4:           0x3a2c05 - std::panicking::rust_panic_with_hook::hdcdf720d655ece11
                               at libstd/panicking.rs:475
   5:           0x3a27f9 - std::panicking::continue_panic_fmt::h3f5cce9dace671c0
                               at libstd/panicking.rs:390
   6:           0x3a26f5 - rust_begin_unwind
                               at libstd/panicking.rs:325
   7:           0x3bdfdb - core::panicking::panic_fmt::h66928ea034000d84
                               at libcore/panicking.rs:77
   8:           0x21dcda - core::result::unwrap_failed::hcc915b1cfd936bcc
   9:           0x23442e - build_script_build::main::h3ab1356e413ecbd1
  10:           0x2178b2 - std::rt::lang_start::{{closure}}::he4ff08bf0b2efcdd
  11:           0x3a2692 - std::panicking::try::do_call::h5641fff631669569
                               at libstd/rt.rs:59
                               at libstd/panicking.rs:310
  12:           0x3b0b19 - __rust_maybe_catch_panic
                               at libpanic_unwind/lib.rs:105
  13:           0x38e1f5 - std::rt::lang_start_internal::h3b6e82f1344c0558
                               at libstd/panicking.rs:289
                               at libstd/panic.rs:392
                               at libstd/rt.rs:58
  14:           0x234803 - main
  15:           0x212d34 - _init

warning: build failed, waiting for other jobs to finish...
error: build failed
gmake[3]: *** [/usr/pkgsrc/www/firefox/work/firefox-62.0/config/rules.mk:951: force-cargo-library-build] Error 101
gmake[3]: Leaving directory '/usr/pkgsrc/www/firefox/work/build/toolkit/library/rust'
gmake[2]: *** [/usr/pkgsrc/www/firefox/work/firefox-62.0/config/recurse.mk:74: toolkit/library/rust/target] Error 2
gmake[2]: Leaving directory '/usr/pkgsrc/www/firefox/work/build'
gmake[1]: *** [/usr/pkgsrc/www/firefox/work/firefox-62.0/config/recurse.mk:34: compile] Error 2
gmake[1]: Leaving directory '/usr/pkgsrc/www/firefox/work/build'
gmake: *** [/usr/pkgsrc/www/firefox/work/firefox-62.0/config/rules.mk:418: all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/www/firefox

>How-To-Repeat:

>Fix:


>Release-Note:

>Audit-Trail:
From: John Klos <john@ziaspace.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/53649: www/firefox fails on NetBSD 7
Date: Wed, 3 Oct 2018 18:45:11 +0000 (UTC)

 It fails on amd64 running NetBSD 8, too. Again, I haven't the slightest 
 clue where the actual error is.


     Compiling netwerk_helper v0.0.1 
 (file:///usr/pkgsrc/www/firefox/work/firefox-62.0.3/netwerk/base/rust-helper)
 warning: use of deprecated item 'std::ascii::AsciiExt': use inherent 
 methods instead
   --> netwerk/base/rust-helper/src/lib.rs:1:5
    |
 1 | use std::ascii::AsciiExt;
    |     ^^^^^^^^^^^^^^^^^^^^
    |
    = note: #[warn(deprecated)] on by default

 warning: use of deprecated item 
 'std::ascii::AsciiExt::to_ascii_lowercase': use inherent methods instead
     --> netwerk/base/rust-helper/src/lib.rs:116:14
      |
 116 |         *c = AsciiExt::to_ascii_lowercase(c);
      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 warning: use of deprecated item 
 'std::ascii::AsciiExt::to_ascii_uppercase': use inherent methods instead
     --> netwerk/base/rust-helper/src/lib.rs:133:30
      |
 133 |                 sub_tag[0] = 
 AsciiExt::to_ascii_uppercase(&sub_tag[0]);
      |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 warning: use of deprecated item 
 'std::ascii::AsciiExt::to_ascii_uppercase': use inherent methods instead
     --> netwerk/base/rust-helper/src/lib.rs:134:30
      |
 134 |                 sub_tag[1] = 
 AsciiExt::to_ascii_uppercase(&sub_tag[1]);
      |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 warning: use of deprecated item 
 'std::ascii::AsciiExt::to_ascii_uppercase': use inherent methods instead
     --> netwerk/base/rust-helper/src/lib.rs:138:30
      |
 138 |                 sub_tag[0] = 
 AsciiExt::to_ascii_uppercase(&sub_tag[0]);
      |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

     Compiling crossbeam-deque v0.2.0
     Compiling phf_codegen v0.7.21
     Compiling libloading v0.5.0
     Compiling cose-c v0.1.5
     Compiling quote v0.6.3
     Compiling selectors v0.19.0 
 (file:///usr/pkgsrc/www/firefox/work/firefox-62.0.3/servo/components/selectors)
     Compiling mp4parse_capi v0.10.1 
 (file:///usr/pkgsrc/www/firefox/work/firefox-62.0.3/media/mp4parse-rust/mp4parse_capi)
     Compiling quote v0.5.2
     Compiling rsdparsa_capi v0.1.0 
 (file:///usr/pkgsrc/www/firefox/work/firefox-62.0.3/media/webrtc/signaling/src/sdp/rsdparsa_capi)
     Compiling parking_lot v0.5.4
     Compiling gl_generator v0.9.0
 warning: unused import: `SdpAttributeType`
   --> media/webrtc/signaling/src/sdp/rsdparsa_capi/src/attribute.rs:5:46
    |
 5 | use rsdparsa::attribute_type::{SdpAttribute, SdpAttributeType, 
 SdpAttributePayloadType,
    |                                              ^^^^^^^^^^^^^^^^
    |
    = note: #[warn(unused_imports)] on by default

     Compiling syn v0.14.2
     Compiling uuid v0.1.18
     Compiling syn v0.13.1
     Compiling url v1.7.0
     Compiling rayon v1.0.0
     Compiling regex v0.2.2
     Compiling encoding_glue v0.1.0 
 (file:///usr/pkgsrc/www/firefox/work/firefox-62.0.3/intl/encoding_glue)
     Compiling encoding_c v0.9.0
     Compiling gleam v0.5.0
     Compiling serde_derive v1.0.66 
 (https://github.com/servo/serde?branch=deserialize_from_enums8#c4457d80)
     Compiling cssparser v0.23.9
     Compiling cssparser-macros v0.3.3
     Compiling darling_core v0.4.0
     Compiling synstructure v0.8.1
     Compiling xpcom_macros v0.1.0 
 (file:///usr/pkgsrc/www/firefox/work/firefox-62.0.3/xpcom/rust/xpcom/xpcom_macros)
     Compiling cstr-macros v0.1.3
     Compiling cstr v0.1.3
     Compiling xpcom v0.1.0 
 (file:///usr/pkgsrc/www/firefox/work/firefox-62.0.3/xpcom/rust/xpcom)
     Compiling malloc_size_of_derive v0.0.1 
 (file:///usr/pkgsrc/www/firefox/work/firefox-62.0.3/servo/components/malloc_size_of_derive)
     Compiling darling_macro v0.4.0
     Compiling darling v0.4.0
     Compiling style_derive v0.0.1 
 (file:///usr/pkgsrc/www/firefox/work/firefox-62.0.3/servo/components/style_derive)
     Compiling toml v0.4.5
     Compiling app_units v0.6.0
     Compiling euclid v0.17.3
     Compiling serde_bytes v0.10.4
     Compiling bincode v1.0.0
     Compiling ron v0.1.7
     Compiling webrender_api v0.57.2 
 (file:///usr/pkgsrc/www/firefox/work/firefox-62.0.3/gfx/webrender_api)
     Compiling plane-split v0.9.1
     Compiling malloc_size_of v0.0.1 
 (file:///usr/pkgsrc/www/firefox/work/firefox-62.0.3/servo/components/malloc_size_of)
     Compiling style_traits v0.0.1 
 (file:///usr/pkgsrc/www/firefox/work/firefox-62.0.3/servo/components/style_traits)
 error: Could not compile `bindgen`.
 warning: build failed, waiting for other jobs to finish...
 error: build failed
 gmake[3]: *** 
 [/usr/pkgsrc/www/firefox/work/firefox-62.0.3/config/rules.mk:951: 
 force-cargo-library-build] Error 101
 gmake[3]: Leaving directory 
 '/usr/pkgsrc/www/firefox/work/build/toolkit/library/rust'
 gmake[2]: *** 
 [/usr/pkgsrc/www/firefox/work/firefox-62.0.3/config/recurse.mk:74: 
 toolkit/library/rust/target] Error 2
 gmake[2]: Leaving directory '/usr/pkgsrc/www/firefox/work/build'
 gmake[1]: *** 
 [/usr/pkgsrc/www/firefox/work/firefox-62.0.3/config/recurse.mk:34: 
 compile] Error 2
 gmake[1]: Leaving directory '/usr/pkgsrc/www/firefox/work/build'
 gmake: *** 
 [/usr/pkgsrc/www/firefox/work/firefox-62.0.3/config/rules.mk:418: all] 
 Error 2
 *** Error code 2

 Stop.
 make[1]: stopped in /usr/pkgsrc/www/firefox
 *** Error code 1

 Stop.
 make: stopped in /usr/pkgsrc/www/firefox

Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Wed, 03 Oct 2018 18:58:17 +0000
Responsible-Changed-Why:
Over to maintainer.


From: Greg Oster <oster@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/53649: www/firefox fails on NetBSD 7
Date: Wed, 3 Oct 2018 13:14:08 -0600

 On Wed,  3 Oct 2018 18:40:00 +0000 (UTC)
 john@ziaspace.com wrote:

 > >Number:         53649
 > >Category:       pkg
 > >Synopsis:       www/firefox fails on NetBSD 7
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       high
 > >Responsible:    pkg-manager
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Wed Oct 03 18:40:00 +0000 2018
 > >Originator:     john@ziaspace.com
 > >Release:        NetBSD 7.1_STABLE
 > >Organization:  
 > 	
 > >Environment:  
 > 	
 > 	
 > System: NetBSD tim.zia.io 7.1_STABLE NetBSD 7.1_STABLE (TIM) #0: Fri
 > Oct 20 05:19:22 UTC 2017
 > john@tim.zia.io:/usr/obj-amd64/sys/arch/amd64/compile/TIM amd64
 > Architecture: x86_64 Machine: amd64
 > >Description:  
 > 	
 > Trying to update www/firefox from today's sources on a NetBSD 7 amd64
 > system fails. I have no idea where the actual error is, so please
 > forgive the verbosity.

 Looks the same as what I reported in pkg/53620 .

 Glad to see it's not just my system.... but I still don't have a
 fix/workaround :( 

 Later...

 Greg Oster

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Fri, 22 May 2020 23:15:42 +0000
State-Changed-Why:
Since this bug was reported, lang/rust has dropped support for NetBSD-7 (a change had been made to some structs or so?), and as NetBSD-7 is reaching EOL, and the problem becoming bigger, I don't expect this problem to be solved.
Thanks for the bug report and sorry it isn't addressed.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.