I have tried a great number of things on Fedora 27 but to no avail.  Docker
works after rebuilding the image and that should be sufficient.

Robert Dale

On Thu, Apr 26, 2018 at 1:29 PM, Florian Hockmann <[email protected]>
wrote:

> That's really strange. I don't know why you see a difference between
> 'dotnet bulid -c Release'  and just 'dotnet build' which is the same as
> 'dotnet build -c Debug' as both should be signing the assembly.
>
> Does it work now with just 'dotnet clean' and 'dotnet build -c Release'
> or do you always need to execute 'mvn clean' before? 'mvn clean' should
> basically just call 'dotnet clean' for Gremlin.Net, so there shouldn't
> be any difference.
>
> Unfortunately, I also didn't find anything helpful in the log.
>
> Am 25.04.2018 um 17:35 schrieb Robert Dale:
> > This is on tp32 HEAD.
> >
> > I think what you suggested helped go in the right direction. First, I
> have
> > to 'mvn clean' . Then dotnet clean and dotnet build works.
> > If I run 'dotnet build' without 'mvn clean', it fails.
> >
> > The difference appears to be when maven executes, maven calls it as
> 'dotnet
> > build -c Release'. Oddly enough that works if I call it directly on the
> > command line. However, if I change '<SignAssembly>' from true to false in
> > both glv/Gremlin.Net.csproj.template and Gremlin.Net.csproj, then
> > everything works.
> >
> > I'm including the maven -X debug log here. Maybe you can see something in
> > it?
> >
> > [INFO] --- buildnumber-maven-plugin:1.4:create (default) @
> > gremlin-dotnet-source ---
> > [DEBUG] Configuring mojo org.codehaus.mojo:buildnumber-
> maven-plugin:1.4:create
> > from plugin realm
> > ClassRealm[plugin>org.codehaus.mojo:buildnumber-maven-plugin:1.4,
> > parent: sun.misc.Launcher$AppClassLoader@70dea4e]
> > [DEBUG] Configuring mojo
> > 'org.codehaus.mojo:buildnumber-maven-plugin:1.4:create'
> > with basic configurator -->
> > [DEBUG]   (s) buildNumberPropertiesFileLocation = /home/rdale/git/forks/
> > tinkerpop/tinkerpop/gremlin-dotnet/src/buildNumber.properties
> > [DEBUG]   (f) buildNumberPropertyName = buildNumber
> > [DEBUG]   (s) doCheck = false
> > [DEBUG]   (s) doUpdate = false
> > [DEBUG]   (f) getRevisionOnlyOnce = false
> > [DEBUG]   (f) project = MavenProject:
> > org.apache.tinkerpop:gremlin-dotnet-source:3.2.9-SNAPSHOT
> > @ /home/rdale/git/forks/tinkerpop/tinkerpop/gremlin-dotnet/src/pom.xml
> > [DEBUG]   (f) reactorProjects = [MavenProject:
> > org.apache.tinkerpop:gremlin-dotnet:3.2.9-SNAPSHOT
> > @ /home/rdale/git/forks/tinkerpop/tinkerpop/gremlin-dotnet/pom.xml,
> > MavenProject: org.apache.tinkerpop:gremlin-dotnet-source:3.2.9-SNAPSHOT
> @
> > /home/rdale/git/forks/tinkerpop/tinkerpop/gremlin-dotnet/src/pom.xml,
> > MavenProject: org.apache.tinkerpop:gremlin-dotnet-tests:3.2.9-SNAPSHOT @
> > /home/rdale/git/forks/tinkerpop/tinkerpop/gremlin-dotnet/test/pom.xml]
> > [DEBUG]   (f) scmBranchPropertyName = scmBranch
> > [DEBUG]   (f) scmConnectionUrl = scm:git:[email protected].
> > org:repos/asf/tinkerpop.git/gremlin-dotnet/gremlin-dotnet-source
> > [DEBUG]   (f) scmDeveloperConnectionUrl = scm:git:[email protected].
> > org:repos/asf/tinkerpop.git/gremlin-dotnet/gremlin-dotnet-source
> > [DEBUG]   (s) scmDirectory = /home/rdale/git/forks/
> > tinkerpop/tinkerpop/gremlin-dotnet/src
> > [DEBUG]   (f) scmTag = HEAD
> > [DEBUG]   (f) session = org.apache.maven.execution.MavenSession@14faa38c
> > [DEBUG]   (f) settings = org.apache.maven.execution.
> SettingsAdapter@10bea4
> > [DEBUG]   (s) shortRevisionLength = 0
> > [DEBUG]   (f) skip = false
> > [DEBUG]   (f) timestampPropertyName = timestamp
> > [DEBUG]   (f) useLastCommittedRevision = false
> > [DEBUG] -- end configuration --
> > [DEBUG] Checking for local modifications: skipped.
> > [DEBUG] Updating project files from SCM: skipped.
> > [INFO] Executing: /bin/sh -c cd '/home/rdale/git/forks/
> > tinkerpop/tinkerpop/gremlin-dotnet/src' && 'git' 'rev-parse' '--verify'
> > 'HEAD'
> > [INFO] Working directory: /home/rdale/git/forks/
> tinkerpop/tinkerpop/gremlin-
> > dotnet/src
> > [DEBUG] consume line 0d6f8fcb208f850155fddbc1f140c1890a6757d7
> > [INFO] Storing buildNumber: 0d6f8fcb208f850155fddbc1f140c1890a6757d7 at
> > timestamp: 1524669387799
> > [INFO] Storing buildScmBranch: tp32
> > [INFO]
> > [INFO] --- maven-remote-resources-plugin:1.5:process
> > (process-resource-bundles) @ gremlin-dotnet-source ---
> > [DEBUG] Configuring mojo org.apache.maven.plugins:
> > maven-remote-resources-plugin:1.5:process from plugin realm
> > ClassRealm[plugin>org.apache.maven.plugins:maven-remote-
> resources-plugin:1.5,
> > parent: sun.misc.Launcher$AppClassLoader@70dea4e]
> > [DEBUG] Configuring mojo 'org.apache.maven.plugins:
> > maven-remote-resources-plugin:1.5:process' with basic configurator -->
> > [DEBUG]   (f) appendedResourcesDirectory = /home/rdale/git/forks/
> > tinkerpop/tinkerpop/gremlin-dotnet/src/src/main/appended-resources
> > [DEBUG]   (f) attachToMain = true
> > [DEBUG]   (f) attachToTest = true
> > [DEBUG]   (f) attached = true
> > [DEBUG]   (f) basedir = /home/rdale/git/forks/
> tinkerpop/tinkerpop/gremlin-
> > dotnet/src
> > [DEBUG]   (f) encoding = UTF-8
> > [DEBUG]   (f) excludeTransitive = false
> > [DEBUG]   (f) includeProjectProperties = false
> > [DEBUG]   (f) includeScope = runtime
> > [DEBUG]   (f) localRepository =       id: local
> >       url: file:///home/rdale/.m2/repository/
> >    layout: default
> > snapshots: [enabled => true, update => always]
> >  releases: [enabled => true, update => always]
> >
> > [DEBUG]   (f) outputDirectory = /home/rdale/git/forks/
> > tinkerpop/tinkerpop/gremlin-dotnet/src/target/maven-
> shared-archive-resources
> > [DEBUG]   (f) remoteArtifactRepositories = [      id: remote-repos
> >       url: http://localhost:8081/artifactory/remote-repos
> >    layout: default
> > snapshots: [enabled => true, update => daily]
> >  releases: [enabled => true, update => daily]
> > ]
> > [DEBUG]   (f) resourceBundles = [org.apache:apache-jar-
> resource-bundle:1.4]
> > [DEBUG]   (f) resources = [Resource {targetPath: null, filtering: false,
> > FileSet {directory:
> > /home/rdale/git/forks/tinkerpop/tinkerpop/gremlin-
> dotnet/src/src/main/resources,
> > PatternSet [includes: {}, excludes: {}]}}]
> > [DEBUG]   (f) runOnlyAtExecutionRoot = false
> > [DEBUG]   (f) skip = false
> > [DEBUG]   (f) useDefaultFilterDelimiters = true
> > [DEBUG]   (f) mavenSession = org.apache.maven.execution.
> > MavenSession@14faa38c
> > [DEBUG]   (f) project = MavenProject:
> > org.apache.tinkerpop:gremlin-dotnet-source:3.2.9-SNAPSHOT
> > @ /home/rdale/git/forks/tinkerpop/tinkerpop/gremlin-dotnet/src/pom.xml
> > [DEBUG] -- end configuration --
> > [DEBUG] Initializing Velocity, Calling init()...
> > [DEBUG] ************************************************************
> *******
> > [DEBUG] Starting Apache Velocity v1.7 (compiled: 2010-11-19 12:14:37)
> > [DEBUG] RuntimeInstance initializing.
> > [DEBUG] Default Properties File: org/apache/velocity/runtime/
> > defaults/velocity.properties
> > [DEBUG] Default ResourceManager initializing. (class
> > org.apache.velocity.runtime.resource.ResourceManagerImpl)
> > [DEBUG] ResourceLoader instantiated: org.apache.velocity.runtime.
> > resource.loader.ClasspathResourceLoader
> > [DEBUG] ResourceCache: initialized (class
> > org.apache.velocity.runtime.resource.ResourceCacheImpl)
> > with class java.util.Collections$SynchronizedMap cache map.
> > [DEBUG] Default ResourceManager initialization complete.
> > [DEBUG] Loaded System Directive: org.apache.velocity.runtime.
> directive.Stop
> > [DEBUG] Loaded System Directive: org.apache.velocity.runtime.
> > directive.Define
> > [DEBUG] Loaded System Directive: org.apache.velocity.runtime.
> directive.Break
> > [DEBUG] Loaded System Directive: org.apache.velocity.runtime.
> > directive.Evaluate
> > [DEBUG] Loaded System Directive: org.apache.velocity.runtime.
> > directive.Literal
> > [DEBUG] Loaded System Directive: org.apache.velocity.runtime.
> directive.Macro
> > [DEBUG] Loaded System Directive: org.apache.velocity.runtime.
> directive.Parse
> > [DEBUG] Loaded System Directive: org.apache.velocity.runtime.
> > directive.Include
> > [DEBUG] Loaded System Directive: org.apache.velocity.runtime.
> > directive.Foreach
> > [DEBUG] Velocimacro : initialization starting.
> > [DEBUG] Velocimacro : "velocimacro.library" is not set.  Trying default
> > library: VM_global_library.vm
> > [DEBUG] Velocimacro : Default library not found.
> > [DEBUG] Velocimacro : allowInline = true : VMs can be defined inline in
> > templates
> > [DEBUG] Velocimacro : allowInlineToOverride = false : VMs defined inline
> > may NOT replace previous VM definitions
> > [DEBUG] Velocimacro : allowInlineLocal = false : VMs defined inline will
> be
> > global in scope if allowed.
> > [DEBUG] Velocimacro : autoload off : VM system will not automatically
> > reload global library macros
> > [DEBUG] Velocimacro : Velocimacro : initialization complete.
> > [DEBUG] RuntimeInstance successfully initialized.
> > [DEBUG] Supplemental data models won't be loaded.  No models specified.
> > [INFO]
> > [INFO] --- dotnet-maven-plugin:0.14:build (default-build) @
> > gremlin-dotnet-source ---
> > [DEBUG] Configuring mojo org.eobjects.build:dotnet-
> maven-plugin:0.14:build
> > from plugin realm
> > ClassRealm[extension>org.eobjects.build:dotnet-maven-plugin:0.14,
> > parent: sun.misc.Launcher$AppClassLoader@70dea4e]
> > [DEBUG] Configuring mojo 'org.eobjects.build:dotnet-
> maven-plugin:0.14:build'
> > with basic configurator -->
> > [DEBUG]   (f) basedir = /home/rdale/git/forks/
> tinkerpop/tinkerpop/gremlin-
> > dotnet/src
> > [DEBUG]   (f) buildConfiguration = Release
> > [DEBUG]   (f) buildEnabled = true
> > [DEBUG]   (f) environment = {}
> > [DEBUG]   (f) skip = false
> > [DEBUG] -- end configuration --
> >   Restore completed in 37.86 ms for /home/rdale/git/forks/
> > tinkerpop/tinkerpop/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj.
> > Microsoft (R) Build Engine version 15.6.82.30579 for .NET Core
> > Copyright (C) Microsoft Corporation. All rights reserved.
> >
> >   Restore completed in 36.61 ms for /home/rdale/git/forks/
> > tinkerpop/tinkerpop/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj.
> > CSC : error CS7027: Error signing output with public key from file
> > '../../build/tinkerpop.snk' -- Assembly signing not supported.
> > [/home/rdale/git/forks/tinkerpop/tinkerpop/gremlin-
> dotnet/src/Gremlin.Net/
> > Gremlin.Net.csproj]
> >
> > Build FAILED.
> >
> > CSC : error CS7027: Error signing output with public key from file
> > '../../build/tinkerpop.snk' -- Assembly signing not supported.
> > [/home/rdale/git/forks/tinkerpop/tinkerpop/gremlin-
> dotnet/src/Gremlin.Net/
> > Gremlin.Net.csproj]
> >     0 Warning(s)
> >     1 Error(s)
> >
> > Time Elapsed 00:00:02.13
> > [INFO] ------------------------------------------------------------
> > ------------
> > [INFO] Reactor Summary:
> > [INFO]
> > [INFO] Apache TinkerPop :: Gremlin.Net .................... SUCCESS [
> > 3.461 s]
> > [INFO] Apache TinkerPop :: Gremlin.Net - Source ........... FAILURE [
> > 4.674 s]
> > [INFO] Apache TinkerPop :: Gremlin.Net - Tests ............ SKIPPED
> > [INFO] ------------------------------------------------------------
> > ------------
> > [INFO] BUILD FAILURE
> > [INFO] ------------------------------------------------------------
> > ------------
> > [INFO] Total time: 8.483 s
> > [INFO] Finished at: 2018-04-25T11:16:31-04:00
> > [INFO] Final Memory: 42M/709M
> > [INFO] ------------------------------------------------------------
> > ------------
> > [ERROR] Failed to execute goal
> > org.eobjects.build:dotnet-maven-plugin:0.14:build
> > (default-build) on project gremlin-dotnet-source: Command (in
> > /home/rdale/git/forks/tinkerpop/tinkerpop/gremlin-
> dotnet/src/Gremlin.Net)
> > [dotnet, build, -c, Release] returned non-zero exit code: 1 -> [Help 1]
> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute
> > goal org.eobjects.build:dotnet-maven-plugin:0.14:build (default-build)
> on
> > project gremlin-dotnet-source: Command (in /home/rdale/git/forks/
> > tinkerpop/tinkerpop/gremlin-dotnet/src/Gremlin.Net) [dotnet, build, -c,
> > Release] returned non-zero exit code: 1
> > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> > MojoExecutor.java:213)
> > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> > MojoExecutor.java:154)
> > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> > MojoExecutor.java:146)
> > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.
> buildProject(
> > LifecycleModuleBuilder.java:117)
> > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.
> buildProject(
> > LifecycleModuleBuilder.java:81)
> > at org.apache.maven.lifecycle.internal.builder.singlethreaded.
> > SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> > at org.apache.maven.lifecycle.internal.LifecycleStarter.
> > execute(LifecycleStarter.java:128)
> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
> > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
> > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > NativeMethodAccessorImpl.java:62)
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:498)
> > at org.codehaus.plexus.classworlds.launcher.Launcher.
> > launchEnhanced(Launcher.java:289)
> > at org.codehaus.plexus.classworlds.launcher.Launcher.
> > launch(Launcher.java:229)
> > at org.codehaus.plexus.classworlds.launcher.Launcher.
> > mainWithExitCode(Launcher.java:415)
> > at org.codehaus.plexus.classworlds.launcher.Launcher.
> main(Launcher.java:356)
> > Caused by: org.apache.maven.plugin.MojoFailureException: Command (in
> > /home/rdale/git/forks/tinkerpop/tinkerpop/gremlin-
> dotnet/src/Gremlin.Net)
> > [dotnet, build, -c, Release] returned non-zero exit code: 1
> > at org.eobjects.build.PluginHelper.executeCommand(PluginHelper.java:148)
> > at org.eobjects.build.DotnetBuildMojo.execute(DotnetBuildMojo.java:29)
> > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(
> > DefaultBuildPluginManager.java:134)
> > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> > MojoExecutor.java:208)
> > ... 20 more
> >
> >
> >
> >
> >
> > Robert Dale
> >
> > On Wed, Apr 25, 2018 at 11:05 AM, Florian Hockmann <
> [email protected]>
> > wrote:
> >
> >> I don't see anything you could be missing there. It should really just
> >> work when you have the right version of the .NET Core SDK.
> >>
> >> Since you seem to be using Fedora 27, did you follow the instructions
> >> from here?
> >> https://www.microsoft.com/net/download/linux-package-
> >> manager/fedora26/sdk-2.1.101
> >>
> >> Although I don't think that there is anything that could have gone wrong
> >> during the installation as "dotnet --version" prints the right version
> >> for you.
> >>
> >> Could you try it without maven? It would probably be best to first do a
> >> "dotnet clean Gremlin.Net.csproj" and then simply "dotnet build
> >> Gremlin.Net.csproj" (the .csproj-file is in gremlin-dotnet/src/Gremlin.
> >> Net).
> >>
> >> Or are you by any chance on an old branch that hasn't the changes from
> >> TINKERPOP-1880 (PR #822)?
> >>
> >> Am 25.04.2018 um 16:32 schrieb Robert Dale:
> >>> Trying to build the docs but I get a .Net error.  I followed
> >>> http://tinkerpop.apache.org/docs/3.2.8/dev/developer/#
> dotnet-environment
> >>> and installed dotnet-sdk-2.1-2.0.6-2.fc27.x86_64.rpm
> >>>
> >>> $ dotnet --version
> >>> 2.1.101
> >>>
> >>> $ mvn clean install -Pgremlin-dotnet -rf :gremlin-dotnet-source
> >>>
> >>> I get this error:
> >>>
> >>> [INFO] --- maven-remote-resources-plugin:1.5:process
> >>> (process-resource-bundles) @ gremlin-dotnet-source ---
> >>> [INFO]
> >>> [INFO] --- dotnet-maven-plugin:0.14:build (default-build) @
> >>> gremlin-dotnet-source ---
> >>>   Restore completed in 38.69 ms for
> >>> /home/rdale/git/forks/tinkerpop/tinkerpop/gremlin-
> >> dotnet/src/Gremlin.Net/Gremlin.Net.csproj.
> >>> Microsoft (R) Build Engine version 15.6.82.30579 for .NET Core
> >>> Copyright (C) Microsoft Corporation. All rights reserved.
> >>>
> >>>   Restore completed in 38.77 ms for
> >>> /home/rdale/git/forks/tinkerpop/tinkerpop/gremlin-
> >> dotnet/src/Gremlin.Net/Gremlin.Net.csproj.
> >>> CSC : error CS7027: Error signing output with public key from file
> >>> '../../build/tinkerpop.snk' -- Assembly signing not supported.
> >>> [/home/rdale/git/forks/tinkerpop/tinkerpop/gremlin-
> >> dotnet/src/Gremlin.Net/Gremlin.Net.csproj]
> >>> Build FAILED.
> >>>
> >>> CSC : error CS7027: Error signing output with public key from file
> >>> '../../build/tinkerpop.snk' -- Assembly signing not supported.
> >>> [/home/rdale/git/forks/tinkerpop/tinkerpop/gremlin-
> >> dotnet/src/Gremlin.Net/Gremlin.Net.csproj]
> >>>     0 Warning(s)
> >>>     1 Error(s)
> >>>
> >>> Time Elapsed 00:00:02.51
> >>>
> >>> What am I missing?
> >>>
> >>> Thanks,
> >>> Robert Dale
> >>>
> >>
> >>
>
>
>

Reply via email to