Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Failure adding assembly dbus-sharp.dll to the cache: Strong name cannot be verified for delay-signed assembly #64

Open
realChytraeus opened this issue Jul 16, 2017 · 3 comments · May be fixed by #72

Comments

@realChytraeus
Copy link

I'm the package maintainer for dbus-sharp for slackbuilds.org.
https://slackbuilds.org/repository/14.2/libraries/dbus-sharp/

I'm getting this compilation error on Slackware64 14.2.

dbus-sharp-0.8.1/
dbus-sharp-0.8.1/aclocal.m4
dbus-sharp-0.8.1/configure
dbus-sharp-0.8.1/NEWS
dbus-sharp-0.8.1/COPYING
dbus-sharp-0.8.1/ChangeLog
dbus-sharp-0.8.1/configure.ac
dbus-sharp-0.8.1/AUTHORS
dbus-sharp-0.8.1/examples/
dbus-sharp-0.8.1/examples/TestNotifications.cs
dbus-sharp-0.8.1/examples/Makefile.am
dbus-sharp-0.8.1/examples/Test.cs
dbus-sharp-0.8.1/examples/TestExportInterface.cs
dbus-sharp-0.8.1/examples/TestSample.cs
dbus-sharp-0.8.1/examples/Notifications.cs
dbus-sharp-0.8.1/examples/Makefile.in
dbus-sharp-0.8.1/src/
dbus-sharp-0.8.1/src/Authentication.cs
dbus-sharp-0.8.1/src/TypeImplementer.cs
dbus-sharp-0.8.1/src/Connection.cs
dbus-sharp-0.8.1/src/Introspection.cs
dbus-sharp-0.8.1/src/ExportObject.cs
dbus-sharp-0.8.1/src/dbus-sharp.dll.config
dbus-sharp-0.8.1/src/ObjectPath.cs
dbus-sharp-0.8.1/src/BusException.cs
dbus-sharp-0.8.1/src/OSHelpers.cs
dbus-sharp-0.8.1/src/AssemblyInfo.cs.in
dbus-sharp-0.8.1/src/dbus-sharp.csproj
dbus-sharp-0.8.1/src/Protocol/
dbus-sharp-0.8.1/src/Protocol/MessageType.cs
dbus-sharp-0.8.1/src/Protocol/MessageDumper.cs
dbus-sharp-0.8.1/src/Protocol/MessageReader.cs
dbus-sharp-0.8.1/src/Protocol/Transport.cs
dbus-sharp-0.8.1/src/Protocol/ProtocolInformation.cs
dbus-sharp-0.8.1/src/Protocol/HeaderFlag.cs
dbus-sharp-0.8.1/src/Protocol/FieldCode.cs
dbus-sharp-0.8.1/src/Protocol/MessageFilter.cs
dbus-sharp-0.8.1/src/Protocol/Message.cs
dbus-sharp-0.8.1/src/Protocol/EndianFlag.cs
dbus-sharp-0.8.1/src/Protocol/SocketTransport.cs
dbus-sharp-0.8.1/src/Protocol/DBusStruct.cs
dbus-sharp-0.8.1/src/Protocol/MessageWriter.cs
dbus-sharp-0.8.1/src/Protocol/Signature.cs
dbus-sharp-0.8.1/src/Protocol/DType.cs
dbus-sharp-0.8.1/src/Protocol/MessageContainer.cs
dbus-sharp-0.8.1/src/Protocol/DValue.cs
dbus-sharp-0.8.1/src/Protocol/Header.cs
dbus-sharp-0.8.1/src/Protocol/MatchRule.cs
dbus-sharp-0.8.1/src/Protocol/PendingCall.cs
dbus-sharp-0.8.1/src/Transports/
dbus-sharp-0.8.1/src/Transports/UnixTransport.cs
dbus-sharp-0.8.1/src/Transports/UnixNativeTransport.cs
dbus-sharp-0.8.1/src/Unix/
dbus-sharp-0.8.1/src/Unix/UnixError.cs
dbus-sharp-0.8.1/src/Unix/UnixStream.cs
dbus-sharp-0.8.1/src/Unix/UnixSocket.cs
dbus-sharp-0.8.1/src/Mapper.cs
dbus-sharp-0.8.1/src/Makefile.am
dbus-sharp-0.8.1/src/BusObject.cs
dbus-sharp-0.8.1/src/DProxy.cs
dbus-sharp-0.8.1/src/ArgDirection.cs
dbus-sharp-0.8.1/src/AddressEntry.cs
dbus-sharp-0.8.1/src/AssemblyInfo.cs
dbus-sharp-0.8.1/src/DBus.cs
dbus-sharp-0.8.1/src/Address.cs
dbus-sharp-0.8.1/src/Bus.cs
dbus-sharp-0.8.1/src/Makefile.in
dbus-sharp-0.8.1/Makefile.am
dbus-sharp-0.8.1/INSTALL
dbus-sharp-0.8.1/dbus-sharp.snk
dbus-sharp-0.8.1/tools/
dbus-sharp-0.8.1/tools/Monitor.cs
dbus-sharp-0.8.1/tools/Makefile.am
dbus-sharp-0.8.1/tools/Introspect.cs
dbus-sharp-0.8.1/tools/Makefile.in
dbus-sharp-0.8.1/install-sh
dbus-sharp-0.8.1/tests/
dbus-sharp-0.8.1/tests/dbus-sharp-tests.csproj
dbus-sharp-0.8.1/tests/MessageReaderTest.cs
dbus-sharp-0.8.1/tests/AddressTest.cs
dbus-sharp-0.8.1/tests/IntrospectorTest.cs
dbus-sharp-0.8.1/tests/ExportInterfaceTest.cs
dbus-sharp-0.8.1/tests/ObjectPathTest.cs
dbus-sharp-0.8.1/tests/Makefile.am
dbus-sharp-0.8.1/tests/AuthenticationTest.cs
dbus-sharp-0.8.1/tests/BusTests.cs
dbus-sharp-0.8.1/tests/MatchRuleTest.cs
dbus-sharp-0.8.1/tests/RenamedInterfaceTest.cs
dbus-sharp-0.8.1/tests/SignatureTest.cs
dbus-sharp-0.8.1/tests/MessageWriterTest.cs
dbus-sharp-0.8.1/tests/Makefile.in
dbus-sharp-0.8.1/dbus-sharp-2.0.pc.in
dbus-sharp-0.8.1/README
dbus-sharp-0.8.1/dbus-sharp.sln
dbus-sharp-0.8.1/missing
dbus-sharp-0.8.1/Makefile.in
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for MONO... yes
checking for gmcs... /usr/bin/mcs
checking for gacutil... /usr/bin/gacutil
checking for xbuild... /usr/bin/xbuild
checking for Mono.Posix.dll... found
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating dbus-sharp-2.0.pc
config.status: creating src/AssemblyInfo.cs
config.status: creating src/Makefile
config.status: creating tools/Makefile
config.status: creating examples/Makefile
config.status: creating tests/Makefile
Making all in src
make[1]: Entering directory '/tmp/SBo/dbus-sharp-0.8.1/src'
/usr/bin/xbuild /nologo /verbosity:quiet dbus-sharp.csproj
Protocol/Header.cs(95,18): warning CS0649: Field 'Header.FieldCodeEntry.Value' is never assigned to, and will always have its default value null
Protocol/Header.cs(94,16): warning CS0649: Field 'Header.FieldCodeEntry.Code' is never assigned to, and will always have its default value 0
make[1]: Leaving directory '/tmp/SBo/dbus-sharp-0.8.1/src'
Making all in tools
make[1]: Entering directory '/tmp/SBo/dbus-sharp-0.8.1/tools'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/tmp/SBo/dbus-sharp-0.8.1/tools'
Making all in examples
make[1]: Entering directory '/tmp/SBo/dbus-sharp-0.8.1/examples'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/tmp/SBo/dbus-sharp-0.8.1/examples'
Making all in tests
make[1]: Entering directory '/tmp/SBo/dbus-sharp-0.8.1/tests'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/tmp/SBo/dbus-sharp-0.8.1/tests'
make[1]: Entering directory '/tmp/SBo/dbus-sharp-0.8.1'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/tmp/SBo/dbus-sharp-0.8.1'
Making install in src
make[1]: Entering directory '/tmp/SBo/dbus-sharp-0.8.1/src'
make[2]: Entering directory '/tmp/SBo/dbus-sharp-0.8.1/src'
make[2]: Nothing to be done for 'install-exec-am'.
/usr/bin/xbuild /nologo /verbosity:quiet dbus-sharp.csproj
/usr/bin/gacutil /i dbus-sharp.dll /package dbus-sharp-2.0 /f /gacdir /usr/lib /root /tmp/SBo/package-dbus-sharp/usr/lib
Failure adding assembly dbus-sharp.dll to the cache: Strong name cannot be verified for delay-signed assembly
Makefile:453: recipe for target 'install-data-local' failed
make[2]: *** [install-data-local] Error 1
make[2]: Leaving directory '/tmp/SBo/dbus-sharp-0.8.1/src'
Makefile:340: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/tmp/SBo/dbus-sharp-0.8.1/src'
Makefile:394: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
I've searched other distros including Gentoo, Debian, Arch, and Void. I'm not finding a way to fix these compilation issues.

@hbons
Copy link
Contributor

hbons commented Sep 12, 2017

I got the same error. This started when I updated to mono 5.2.0 from 4.2.2 where it compiled just fine.

@hbons
Copy link
Contributor

hbons commented Sep 12, 2017

Found this in the 5.2.0 release notes: http://www.mono-project.com/docs/about-mono/releases/5.2.0/#strong-assembly-names This could be the change in behaviour that is seen? Some tweaks to the build system may need to be made I think, but I'm not sure what.

@ghost
Copy link

ghost commented Feb 4, 2018

I also ran into this problem. I found that the newest version of mono I could use is 4.8.1.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants