Bug 215582

Summary: devel/newtonsoft-json does not resolve internal dependencies
Product: Ports & Packages Reporter: Carsten Larsen <cs>
Component: Individual Port(s)Assignee: Muhammad Moinur Rahman <bofh>
Status: Closed Overcome By Events    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (bofh)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Carsten Larsen 2016-12-26 15:52:10 UTC
Building with -pkg:Newtonsoft.Json gives the following runtime error.


Could not load file or assembly or one of its dependencies.  
  at (wrapper managed-to-native) System.MonoCustomAttrs:IsDefinedInternal (System.Reflection.ICustomAttributeProvider,System.Type)
  at System.MonoCustomAttrs.IsDefined (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inherit) [0x0002d] in <8f2c484307284b51944$
  at System.Reflection.MonoProperty.IsDefined (System.Type attributeType, System.Boolean inherit) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
  at Newtonsoft.Json.Serialization.DefaultContractResolver.GetSerializableMembers (System.Type objectType) [0x000aa] in <8c47bd7a48c34247870b2666ee349edb>:0
  at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateProperties (System.Type type, Newtonsoft.Json.MemberSerialization memberSerialization) [0x00000] in <8c47b$
  at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract (System.Type objectType) [0x0003a] in <8c47bd7a48c34247870b2666ee349edb>:0
  at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract (System.Type objectType) [0x00127] in <8c47bd7a48c34247870b2666ee349edb>:0
  at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract (System.Type type) [0x00047] in <8c47bd7a48c34247870b2666ee349edb>:0
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.GetContractSafe (System.Type type) [0x0000e] in <8c47bd7a48c34247870b2666ee349edb>:0
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalConte$
  at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00063] in <8c47bd7a48c34247870b2666ee349edb>:0
  at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <8c47bd7a48c34247870b2666ee349edb>:0
  at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x00030] in <8c47bd7a48c342478$
  at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <8c47bd7a48c34247870b2666ee349edb$
  at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value) [0x00000] in <8c47bd7a48c34247870b2666ee349edb>:0
Comment 1 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2017-03-06 10:47:09 UTC
Can you confirm the current status after 9.0.1_1.
Comment 2 Carsten Larsen 2017-03-06 21:25:09 UTC
(In reply to Muhammad Moinur Rahman from comment #1)

Building with -pkg:Newtonsoft.Json now works flawlessly. The run-time error is gone.
Comment 3 Carsten Larsen 2017-03-06 21:28:02 UTC
Referencing bug #215429. This bug should be closed.