error compiling Simias in 12.04/32 and 10.04/64

141 views
Skip to first unread message

Bernhard Rohrer

unread,
Oct 16, 2012, 10:32:07 AM10/16/12
to ifolder-ubun...@googlegroups.com
Hiya

I have been trying to compile simias following the how-to https://help.ubuntu.com/community/iFolderInstall

This leads in both cases to the same compile error for which I have not managed to get a single Google hit:

gmcs /out:Simias.Server.dll /optimize+ /d:LINUX /d:MONO /warn:4 /d:TRACE /d:MONONATIVE /target:library /lib:../../core/SimiasLib.dll /lib:../../core/SimiasClient /lib:/usr/lib/simias/server/bin /r:System.dll /r:System.Data.dll /r:System.Xml.dll /r:System.Web.dll /r:System.Web.Services.dll /r:System.Security.dll /r:SimiasLib.dll /r:SimiasClient.dll /res:./Simias.Server.Report.resources ./AssemblyInfo.cs ./Service.cs ./Authentication.cs ./Catalog.cs ./Domain.cs ./DomainInfo.cs ./Exceptions.cs ./ProvisionInfo.cs ./DomainService.asmx.cs ./HostLocationService.cs ./HostProvider.cs ./IdentitySyncService.cs ./IIdentitySyncProvider.cs ./IdentitySyncManager.asmx.cs ./IProvisionUser.cs ./Registration.asmx.cs ./Report.cs ./ReportLogHandler.ashx.cs ./IUserProvider.cs ./User.cs ./JournalService.cs ./UserMove.cs ./Utils.cs 
./AssemblyInfo.cs(59,12): warning CS1699: Use compiler option `keyfile' or appropriate project settings instead of `AssemblyKeyFile' attribute
./Service.cs(102,64): warning CS0612: `System.Reflection.Assembly.LoadWithPartialName(string)' is obsolete
./Service.cs(259,126): warning CS0618: `System.Security.Cryptography.X509Certificates.X509Certificate.GetName()' is obsolete: `Use the Subject property.'
./Service.cs(464,46): error CS1502: The best overloaded method match for `SimiasWebService.CommitDomainMember(string, CommitDomainMemberModifiedMemberXML)' has some invalid arguments
/home/adminlion/ifolder/build-area/simias-1.8.3.10200.0/duplicatesource/src/core/SimiasClient/SimiasClient.dll (Location of the symbol related to previous error)
./Service.cs(464,46): error CS1503: Argument `#2' cannot convert `System.Xml.XmlDocument' expression to type `CommitDomainMemberModifiedMemberXML'
./User.cs(508,96): warning CS0612: `System.Reflection.Assembly.LoadWithPartialName(string)' is obsolete
./UserMove.cs(87,52): warning CS0612: `System.Reflection.Assembly.LoadWithPartialName(string)' is obsolete
Compilation failed: 2 error(s), 5 warnings
make[5]: *** [Simias.Server.dll] Error 1
make[5]: Leaving directory `/home/adminlion/ifolder/build-area/simias-1.8.3.10200.0/duplicatesource/src/server/Simias.Server'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/adminlion/ifolder/build-area/simias-1.8.3.10200.0/duplicatesource/src/server'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/adminlion/ifolder/build-area/simias-1.8.3.10200.0/duplicatesource/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/adminlion/ifolder/build-area/simias-1.8.3.10200.0/duplicatesource'
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/home/adminlion/ifolder/build-area/simias-1.8.3.10200.0'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1340:
dpkg-buildpackage -rfakeroot -D -us -uc failed
bzr: ERROR: The build failed.

adminlion@newcollab  Mon Oct 15 01:10:47  ~/ifolder/simias
$mc


adminlion@newcollab  Mon Oct 15 01:14:26  ~/ifolder/simias
$cd ..

adminlion@newcollab  Mon Oct 15 01:14:31  ~/ifolder
$grep -ir SimiasWebService.CommitDomainMember(string, CommitDomainMemberModifiedMemberXML) *
-bash: syntax error near unexpected token `('

adminlion@newcollab  Mon Oct 15 01:15:48  ~/ifolder
$grep -ir "SimiasWebService.CommitDomainMember(string, CommitDomainMemberModifiedMemberXML)" *
build-area/simias_1.8.3.10200.0-13_amd64.build:./Service.cs(464,46): error CS1502: The best overloaded method match for `SimiasWebService.CommitDomainMember(string, CommitDomainMemberModifiedMemberXML)' has some invalid arguments

adminlion@newcollab  Mon Oct 15 01:16:50  ~/ifolder
$grep -ir CommitDomainMemberModifiedMemberXML *
build-area/simias-1.8.3.10200.0/duplicatesource/src/core/SimiasClient/SimiasService2.cs:    public bool CommitDomainMember(string DomainID, CommitDomainMemberModifiedMemberXML ModifiedMemberXML) {
build-area/simias-1.8.3.10200.0/duplicatesource/src/core/SimiasClient/SimiasService2.cs:    public System.IAsyncResult BeginCommitDomainMember(string DomainID, CommitDomainMemberModifiedMemberXML ModifiedMemberXML, System.AsyncCallback callback, object asyncState) {
build-area/simias-1.8.3.10200.0/duplicatesource/src/core/SimiasClient/SimiasService2.cs:    public void CommitDomainMemberAsync(string DomainID, CommitDomainMemberModifiedMemberXML ModifiedMemberXML) {
build-area/simias-1.8.3.10200.0/duplicatesource/src/core/SimiasClient/SimiasService2.cs:    public void CommitDomainMemberAsync(string DomainID, CommitDomainMemberModifiedMemberXML ModifiedMemberXML, object userState) {
build-area/simias-1.8.3.10200.0/duplicatesource/src/core/SimiasClient/SimiasService2.cs:public partial class CommitDomainMemberModifiedMemberXML {
build-area/simias-1.8.3.10200.0/duplicatesource/src/core/SimiasClient/SimiasService.cs:    public bool CommitDomainMember(string DomainID, CommitDomainMemberModifiedMemberXML ModifiedMemberXML) {
build-area/simias-1.8.3.10200.0/duplicatesource/src/core/SimiasClient/SimiasService.cs:    public System.IAsyncResult BeginCommitDomainMember(string DomainID, CommitDomainMemberModifiedMemberXML ModifiedMemberXML, System.AsyncCallback callback, object asyncState) {
build-area/simias-1.8.3.10200.0/duplicatesource/src/core/SimiasClient/SimiasService.cs:    public void CommitDomainMemberAsync(string DomainID, CommitDomainMemberModifiedMemberXML ModifiedMemberXML) {
build-area/simias-1.8.3.10200.0/duplicatesource/src/core/SimiasClient/SimiasService.cs:    public void CommitDomainMemberAsync(string DomainID, CommitDomainMemberModifiedMemberXML ModifiedMemberXML, object userState) {
build-area/simias-1.8.3.10200.0/duplicatesource/src/core/SimiasClient/SimiasService.cs:public partial class CommitDomainMemberModifiedMemberXML {
Binary file build-area/simias-1.8.3.10200.0/duplicatesource/src/core/SimiasClient/SimiasClient.dll matches
build-area/simias_1.8.3.10200.0-13_amd64.build:./Service.cs(464,46): error CS1502: The best overloaded method match for `SimiasWebService.CommitDomainMember(string, CommitDomainMemberModifiedMemberXML)' has some invalid arguments
build-area/simias_1.8.3.10200.0-13_amd64.build:./Service.cs(464,46): error CS1503: Argument `#2' cannot convert `System.Xml.XmlDocument' expression to type `CommitDomainMemberModifiedMemberXML'

of which the relevant part would appear to be './Service.cs(464,46): error CS1502: The best overloaded method match for `SimiasWebService.CommitDomainMember(string, CommitDomainMemberModifiedMemberXML)' has some invalid arguments'

has anybody seen this before or any idea?

Thanks!

Bernhard

geos_one

unread,
Apr 17, 2013, 11:33:54 PM4/17/13
to ifolder-ubun...@googlegroups.com
yes 
i also get this on gentoo but still have not found a solutin
Reply all
Reply to author
Forward
0 new messages