Package: lasso Version: 0.6.2-2 Severity: serious lasso fails to build because the getCPtr members of various classes are inaccessible due to their protection level:
> mcs -out:lasso.dll -target:library ./*.cs ... > ./Defederation.cs(84) error CS0122: 'lasso.SamlNameIdentifier.getCPtr' is > inaccessible due to its protection level > ./SamlNameIdentifier.cs(19): > 'lasso.SamlNameIdentifier.getCPtr(lasso.SamlNameIdentifier)' (name of symbol > related to previous error > ./Defederation.cs(84) error CS0122: 'lasso.Node.getCPtr' is inaccessible due > to its protection level > ./Node.cs(19): 'lasso.Node.getCPtr(lasso.Node)' (name of symbol related to > previous error > ./Defederation.cs(84) error CS0122: 'lasso.DowncastableNode.getCPtr' is > inaccessible due to its protection level > ./DowncastableNode.cs(22): > 'lasso.DowncastableNode.getCPtr(lasso.DowncastableNode)' (name of symbol > related to previous error > ./Defederation.cs(103) error CS0122: 'lasso.SamlpRequestAbstract.getCPtr' is > inaccessible due to its protection level > ./SamlpRequestAbstract.cs(19): > 'lasso.SamlpRequestAbstract.getCPtr(lasso.SamlpRequestAbstract)' (name of > symbol related to previous error > ./Defederation.cs(103) error CS0122: 'lasso.Node.getCPtr' is inaccessible due > to its protection level > ./Node.cs(19): 'lasso.Node.getCPtr(lasso.Node)' (name of symbol related to > previous error > ./Defederation.cs(103) error CS0122: 'lasso.DowncastableNode.getCPtr' is > inaccessible due to its protection level > ./DowncastableNode.cs(22): > 'lasso.DowncastableNode.getCPtr(lasso.DowncastableNode)' (name of symbol > related to previous error > ./Defederation.cs(113) error CS0122: 'lasso.SamlpResponseAbstract.getCPtr' is > inaccessible due to its protection level > ./SamlpResponseAbstract.cs(19): > 'lasso.SamlpResponseAbstract.getCPtr(lasso.SamlpResponseAbstract)' (name of > symbol related to previous error > ./Defederation.cs(113) error CS0122: 'lasso.Node.getCPtr' is inaccessible due > to its protection level > ./Node.cs(19): 'lasso.Node.getCPtr(lasso.Node)' (name of symbol related to > previous error > ./Defederation.cs(113) error CS0122: 'lasso.DowncastableNode.getCPtr' is > inaccessible due to its protection level > ./DowncastableNode.cs(22): > 'lasso.DowncastableNode.getCPtr(lasso.DowncastableNode)' (name of symbol > related to previous error > Compilation failed: 9 error(s), 151 warnings The attached patch changes the protection level for these symbols from protected to public, but I'm not sure that this is the correct solution. -- Matt
only in patch2:
unchanged:
--- lasso-0.6.2.orig/csharp/DowncastableNode.cs
+++ lasso-0.6.2/csharp/DowncastableNode.cs
@@ -19,7 +19,7 @@
swigCPtr = cPtr;
}
- protected static IntPtr getCPtr(DowncastableNode obj) {
+ public static IntPtr getCPtr(DowncastableNode obj) {
return (obj == null) ? IntPtr.Zero : obj.swigCPtr;
}
only in patch2:
unchanged:
--- lasso-0.6.2.orig/csharp/Node.cs
+++ lasso-0.6.2/csharp/Node.cs
@@ -16,7 +16,7 @@
swigCPtr = cPtr;
}
- protected static IntPtr getCPtr(Node obj) {
+ public static IntPtr getCPtr(Node obj) {
return (obj == null) ? IntPtr.Zero : obj.swigCPtr;
}
only in patch2:
unchanged:
--- lasso-0.6.2.orig/csharp/SamlNameIdentifier.cs
+++ lasso-0.6.2/csharp/SamlNameIdentifier.cs
@@ -16,7 +16,7 @@
swigCPtr = cPtr;
}
- protected static IntPtr getCPtr(SamlNameIdentifier obj) {
+ public static IntPtr getCPtr(SamlNameIdentifier obj) {
return (obj == null) ? IntPtr.Zero : obj.swigCPtr;
}
only in patch2:
unchanged:
--- lasso-0.6.2.orig/csharp/SamlpRequestAbstract.cs
+++ lasso-0.6.2/csharp/SamlpRequestAbstract.cs
@@ -16,7 +16,7 @@
swigCPtr = cPtr;
}
- protected static IntPtr getCPtr(SamlpRequestAbstract obj) {
+ public static IntPtr getCPtr(SamlpRequestAbstract obj) {
return (obj == null) ? IntPtr.Zero : obj.swigCPtr;
}
only in patch2:
unchanged:
--- lasso-0.6.2.orig/csharp/SamlpResponseAbstract.cs
+++ lasso-0.6.2/csharp/SamlpResponseAbstract.cs
@@ -16,7 +16,7 @@
swigCPtr = cPtr;
}
- protected static IntPtr getCPtr(SamlpResponseAbstract obj) {
+ public static IntPtr getCPtr(SamlpResponseAbstract obj) {
return (obj == null) ? IntPtr.Zero : obj.swigCPtr;
}
signature.asc
Description: Digital signature

