dotnet icon indicating copy to clipboard operation
dotnet copied to clipboard

dev-dotnet/dotnetzip-semverd .snk sign problem

Open Cynede opened this issue 8 years ago • 4 comments

CSC: error CS7027: Error signing output with public key from file '/var/tmp/portage/dev-dotnet/dotnetzip-semverd-1.9.3-r2/work/DotNetZip.Semverd-1.9.3/src/Ionic.snk' -- Could not find file "/var/tmp/portage/dev-dotnet/dotnetzip-semverd-1.9.3-r2/work/DotNetZip.Semverd-1.9.3/src/Ionic.snk"
CSC: error CS8102: Public signing was specified and requires a public key, but no public key was specified.

Cynede avatar Nov 20 '17 08:11 Cynede

/cc @ArsenShnurkov

Cynede avatar Nov 20 '17 08:11 Cynede

which version did you tried, try =dotnetzip-semverd-1.9.3-r2

ArsenShnurkov avatar Nov 20 '17 15:11 ArsenShnurkov

It looks like the author requires the library be strongly named. DotNetZip.Semverd Readme

CRHough avatar May 22 '18 11:05 CRHough

Here is the line which should sign it: https://github.com/gentoo/dotnet/blob/5861b692121673e4f8cee9d3dd94b7a24f598df5/dev-dotnet/dotnetzip-semverd/dotnetzip-semverd-1.9.3-r2.ebuild#L54

Here is my version which compiles for sabayon: https://github.com/ArsenShnurkov/shnurise/blob/ad2c8ee2fb6626cb1021428819bb7673bb118583/dev-dotnet/dotnetzip-semverd/dotnetzip-semverd-1.9.3-r4.ebuild

Here is the build log of successfull build: http://scrinfra.sabayonlinux.org/logs/2018-04-06/dotnet.1523045308.log

Please capture the build log with "script" utility, convert it with "aha" utility into html and publish somewhere (for example on gist.github.com)

"wgetpaste" also works with gist.github.com (read it's man page)

I think that last corection in dotnet overlay was unnecessary, i.e. exbuild_strong should be changed back to exbuild.

ArsenShnurkov avatar May 22 '18 22:05 ArsenShnurkov