I tried “make clean” and the problem persisted. I then went into the
tutorial directory and deleted the “obj” and “bin” folders - problem
solved. There must be some missing rule somewhere; either that, or I’d
garbage left over from an older build.

Thank you for pointing me in the right direction - I’ll keep that in mind
in the future.

Best,
Allen

On March 15, 2018 at 20:00:09, Jens Geyer (jensge...@hotmail.com) wrote:



Maybe a dumb question, but... are there some duplicate files in the way?
Did
you try using a fresh working copy?



-----Ursprüngliche Nachricht-----
From: Allen George
Sent: Wednesday, March 14, 2018 11:05 PM
To: dev@thrift.apache.org
Subject: Re: Problems compiling master dotnet and csharp on ubuntu-xenial
docker

Hi JensG and Jim,

You’re absolutely right - my initial message wasn't useful; I typed before
I thought.

Using the ubuntu-xenial docker container.
master as of today morning
Ran "./bootstrap.sh" followed by “./configure” followed by “make -j2
precross” and then "make precross"

I get a large number of errors from dotnetcore that I’ve saved in this
gist:
https://gist.github.com/allengeorge/4dcd99ed9851513714669e277a505950

A sampling:

Thrift ->
/thrift/src/lib/netcore/Thrift/bin/Debug/netstandard2.0/Thrift.dll
tutorial/tutorial.Constants.cs(22,23): error CS0101: The namespace
'tutorial' already contains a definition for 'tutorialConstants'
[/thrift/src/tutorial/netcore/Interfaces/Interfaces.csproj]
tutorial/Operation.cs(14,15): error CS0101: The namespace 'tutorial'
already contains a definition for 'Operation'
[/thrift/src/tutorial/netcore/Interfaces/Interfaces.csproj]
shared/SharedStruct.cs(68,19): error CS0102: The type 'SharedStruct'
already contains a definition for 'Isset'
[/thrift/src/tutorial/netcore/Interfaces/Interfaces.csproj]
…

I’ll also run about with “make precross” only. Any help would be
appreciated.

TY!
Allen

On March 14, 2018 at 15:18:40, Jens Geyer (jensge...@hotmail.com) wrote:

Hi,

I just want to emphasize that "bombing out while compiling" is a fairly
poor
problem description. Even if someone wants to do something about it ...
where can we possibly start?

As a developer, we should know better.

$0,02
JensG



-----Ursprüngliche Nachricht-----
From: Allen George
Sent: Wednesday, March 14, 2018 6:21 PM
To: dev@thrift.apache.org ; dev@thrift.apache.org
Subject: Re: Problems compiling master dotnet and csharp on ubuntu-xenial
docker

I'll try track it down. It may be a "make -j2" issue aka. operator error):
I
notice that c_glib is unable to compile properly if I run more than a
single
job.

Allen

________________________________
From: James E. King, III <jk...@apache.org>
Sent: Wednesday, March 14, 2018 12:43:34 PM
To: dev@thrift.apache.org
Subject: Re: Problems compiling master dotnet and csharp on ubuntu-xenial
docker

The xenial autotools.sh script (which runs "make check", not sure about
tutorials) is passing on CI.
I assume tutorials are built with one of our CI jobs!

- Jim

On Wed, Mar 14, 2018 at 12:23 PM, Allen George <allen.geo...@gmail.com>
wrote:

> Is anyone having problems compiling master dotnet and csharp on
> ubuntu-xenial docker? It appears to be bombing out while trying to
compile
> the tutorial.
>
> Allen
>

Reply via email to