[GitHub] thrift issue #1156: THRIFT-4011 Use slices for Thrift sets

2017-01-16 Thread Jens-G
Github user Jens-G commented on the issue:

https://github.com/apache/thrift/pull/1156
  
+1

Sent from mobile device, please ignore spelling mistakes.

Von: Duru Can Celasun
Gesendet: 16.01.2017 08:00
An: apache/thrift
Cc: Jens Geyer; Mention
Betreff: Re: [apache/thrift] THRIFT-4011 Use slices for Thrift sets (#1156)


Good intentions, absolutely, but the implementation ..

FWIW, I agree. However, we still need a solution and as I explained above, 
we don't have a way of returning an error here. That leaves us with silent 
deduplication (during serialization) in lib/go/thrift. Are you OK with that?

-
You are receiving this because you were mentioned.
Reply to this email directly, view it on 
GitHub, or 
mute the 
thread.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (THRIFT-4011) Sets of Thrift structs generate Go code that can't be serialized to JSON

2017-01-16 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/THRIFT-4011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15823690#comment-15823690
 ] 

ASF GitHub Bot commented on THRIFT-4011:


Github user Jens-G commented on the issue:

https://github.com/apache/thrift/pull/1156
  
+1

Sent from mobile device, please ignore spelling mistakes.

Von: Duru Can Celasun
Gesendet: 16.01.2017 08:00
An: apache/thrift
Cc: Jens Geyer; Mention
Betreff: Re: [apache/thrift] THRIFT-4011 Use slices for Thrift sets (#1156)


Good intentions, absolutely, but the implementation ..

FWIW, I agree. However, we still need a solution and as I explained above, 
we don't have a way of returning an error here. That leaves us with silent 
deduplication (during serialization) in lib/go/thrift. Are you OK with that?

-
You are receiving this because you were mentioned.
Reply to this email directly, view it on 
GitHub, or 
mute the 
thread.



> Sets of Thrift structs generate Go code that can't be serialized to JSON
> 
>
> Key: THRIFT-4011
> URL: https://issues.apache.org/jira/browse/THRIFT-4011
> Project: Thrift
>  Issue Type: Bug
>  Components: Go - Compiler
>Reporter: Can Celasun
>
> Consider the following structs:
> {code}
> struct Foo {
>   1: optional string foo
> }
> struct Bar {
>   1: optional set foos
> }
> {code}
> This compiles into the following Go code:
> {code}
> type Bar struct {
>   Foos map[*Foo]struct{} `thrift:"foos,1" db:"foos" json:"foos,omitempty"`
> }
> {code}
> Even though the generated code has tags for JSON support, Bar can't be 
> serialized to JSON:
> {code}
> json: unsupported type: map[*Foo]struct {}
> {code}
> One solution would be to use slices, not maps, for Thrift sets. Thoughts?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (THRIFT-4032) no libthrift 0.10.0 in https://repo1.maven.org/maven2/org/apache/thrift/libthrift/

2017-01-16 Thread Xiaoshuang LU (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-4032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiaoshuang LU updated THRIFT-4032:
--
Description: 
https://repo1.maven.org/maven2/org/apache/thrift/libthrift/

{code}
Index of /maven2/org/apache/thrift/libthrift/

../
0.6.1/ 2011-04-25 08:54 
   -
0.7.0/ 2011-08-13 17:27 
   -
0.8.0/ 2011-11-29 18:34 
   -
0.9.0/ 2012-10-15 21:50 
   -
0.9.1/ 2013-08-23 10:26 
   -
0.9.2/ 2014-11-18 12:19 
   -
0.9.3/ 2015-10-11 21:19 
   -
maven-metadata.xml 2015-10-11 21:19 
 519
maven-metadata.xml.md5 2015-10-11 21:19 
  32
maven-metadata.xml.sha12015-10-11 21:19 
  40
{code}

  was:
{code}
Index of /maven2/org/apache/thrift/libthrift/

../
0.6.1/ 2011-04-25 08:54 
   -
0.7.0/ 2011-08-13 17:27 
   -
0.8.0/ 2011-11-29 18:34 
   -
0.9.0/ 2012-10-15 21:50 
   -
0.9.1/ 2013-08-23 10:26 
   -
0.9.2/ 2014-11-18 12:19 
   -
0.9.3/ 2015-10-11 21:19 
   -
maven-metadata.xml 2015-10-11 21:19 
 519
maven-metadata.xml.md5 2015-10-11 21:19 
  32
maven-metadata.xml.sha12015-10-11 21:19 
  40
{code}


> no libthrift 0.10.0 in 
> https://repo1.maven.org/maven2/org/apache/thrift/libthrift/
> --
>
> Key: THRIFT-4032
> URL: https://issues.apache.org/jira/browse/THRIFT-4032
> Project: Thrift
>  Issue Type: Bug
>  Components: Deployment
>Reporter: Xiaoshuang LU
>Priority: Blocker
>
> https://repo1.maven.org/maven2/org/apache/thrift/libthrift/
> {code}
> Index of /maven2/org/apache/thrift/libthrift/
> ../
> 0.6.1/ 2011-04-25 08:54   
>  -
> 0.7.0/ 2011-08-13 17:27   
>  -
> 0.8.0/ 2011-11-29 18:34   
>  -
> 0.9.0/ 2012-10-15 21:50   
>  -
> 0.9.1/ 2013-08-23 10:26   
>  -
> 0.9.2/ 2014-11-18 12:19   
>  -
> 0.9.3/ 2015-10-11 21:19   
>  -
> maven-metadata.xml 2015-10-11 21:19   
>519
> maven-metadata.xml.md5 2015-10-11 21:19   
> 32
> maven-metadata.xml.sha12015-10-11 21:19   
> 40
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (THRIFT-4032) no libthrift 0.10.0 in https://repo1.maven.org/maven2/org/apache/thrift/libthrift/

2017-01-16 Thread Xiaoshuang LU (JIRA)
Xiaoshuang LU created THRIFT-4032:
-

 Summary: no libthrift 0.10.0 in 
https://repo1.maven.org/maven2/org/apache/thrift/libthrift/
 Key: THRIFT-4032
 URL: https://issues.apache.org/jira/browse/THRIFT-4032
 Project: Thrift
  Issue Type: Bug
  Components: Deployment
Reporter: Xiaoshuang LU
Priority: Blocker


{code}
Index of /maven2/org/apache/thrift/libthrift/

../
0.6.1/ 2011-04-25 08:54 
   -
0.7.0/ 2011-08-13 17:27 
   -
0.8.0/ 2011-11-29 18:34 
   -
0.9.0/ 2012-10-15 21:50 
   -
0.9.1/ 2013-08-23 10:26 
   -
0.9.2/ 2014-11-18 12:19 
   -
0.9.3/ 2015-10-11 21:19 
   -
maven-metadata.xml 2015-10-11 21:19 
 519
maven-metadata.xml.md5 2015-10-11 21:19 
  32
maven-metadata.xml.sha12015-10-11 21:19 
  40
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (THRIFT-4032) no libthrift 0.10.0 in https://repo1.maven.org/maven2/org/apache/thrift/libthrift/

2017-01-16 Thread Xiaoshuang LU (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-4032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiaoshuang LU updated THRIFT-4032:
--
Component/s: (was: Deployment)
 Build Process

> no libthrift 0.10.0 in 
> https://repo1.maven.org/maven2/org/apache/thrift/libthrift/
> --
>
> Key: THRIFT-4032
> URL: https://issues.apache.org/jira/browse/THRIFT-4032
> Project: Thrift
>  Issue Type: Bug
>  Components: Build Process
>Affects Versions: 0.10.0
>Reporter: Xiaoshuang LU
>Priority: Blocker
>
> https://repo1.maven.org/maven2/org/apache/thrift/libthrift/
> {code}
> Index of /maven2/org/apache/thrift/libthrift/
> ../
> 0.6.1/ 2011-04-25 08:54   
>  -
> 0.7.0/ 2011-08-13 17:27   
>  -
> 0.8.0/ 2011-11-29 18:34   
>  -
> 0.9.0/ 2012-10-15 21:50   
>  -
> 0.9.1/ 2013-08-23 10:26   
>  -
> 0.9.2/ 2014-11-18 12:19   
>  -
> 0.9.3/ 2015-10-11 21:19   
>  -
> maven-metadata.xml 2015-10-11 21:19   
>519
> maven-metadata.xml.md5 2015-10-11 21:19   
> 32
> maven-metadata.xml.sha12015-10-11 21:19   
> 40
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (THRIFT-4032) no libthrift 0.10.0 in https://repo1.maven.org/maven2/org/apache/thrift/libthrift/

2017-01-16 Thread Xiaoshuang LU (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-4032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiaoshuang LU updated THRIFT-4032:
--
Affects Version/s: 0.10.0

> no libthrift 0.10.0 in 
> https://repo1.maven.org/maven2/org/apache/thrift/libthrift/
> --
>
> Key: THRIFT-4032
> URL: https://issues.apache.org/jira/browse/THRIFT-4032
> Project: Thrift
>  Issue Type: Bug
>  Components: Build Process
>Affects Versions: 0.10.0
>Reporter: Xiaoshuang LU
>Priority: Blocker
>
> https://repo1.maven.org/maven2/org/apache/thrift/libthrift/
> {code}
> Index of /maven2/org/apache/thrift/libthrift/
> ../
> 0.6.1/ 2011-04-25 08:54   
>  -
> 0.7.0/ 2011-08-13 17:27   
>  -
> 0.8.0/ 2011-11-29 18:34   
>  -
> 0.9.0/ 2012-10-15 21:50   
>  -
> 0.9.1/ 2013-08-23 10:26   
>  -
> 0.9.2/ 2014-11-18 12:19   
>  -
> 0.9.3/ 2015-10-11 21:19   
>  -
> maven-metadata.xml 2015-10-11 21:19   
>519
> maven-metadata.xml.md5 2015-10-11 21:19   
> 32
> maven-metadata.xml.sha12015-10-11 21:19   
> 40
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


CI Build Failures

2017-01-16 Thread Jim King
Progress is being hindered by inability to complete CI builds.
We need to fix this as the top priority.  Nothing gets merged if CI builds fail.
Folks who are involved with the docker image support, please take a look at the 
recent Travis CI failures.

Thanks.

[Description: Description: simplivity-lg-xsmall]
James E. King, III
Architect
8 Technology Drive, 2nd Floor
Westborough, MA 01581-1756
Ph: 855-SVT-INFO
---
PRIVACY STATEMENT:
This message is a PRIVATE communication.  This message and all attachments are 
a private communication sent by SimpliVity and are considered to be 
confidential or protected by privilege. If you are not the intended recipient, 
you are hereby notified that any disclosure, copying, distribution or use of 
the information contained in or attached to this message is strictly 
prohibited.  Please notify the sender of the delivery error by replying to this 
message, and then delete it from your system.
---


[jira] [Commented] (THRIFT-3973) Remove MSVC C++ projects to improve maintainability; document building Thrift on Windows using CMake to generate project files

2017-01-16 Thread James E. King, III (JIRA)

[ 
https://issues.apache.org/jira/browse/THRIFT-3973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15824179#comment-15824179
 ] 

James E. King, III commented on THRIFT-3973:


I have created a set of batch files that a few folks are testing.  These help 
automate the fairly tedious tasks of building third party dependencies, and 
passing the right combination of flags to cmake to make a fully featured 
windows build with support for zlib, openssl, and libevent.  These batch 
scripts should make it easier to get started with Thrift C++ on Windows.

Once they are ready they will be checked into the project, possibly under 
build/windows.

> Remove MSVC C++ projects to improve maintainability; document building Thrift 
> on Windows using CMake to generate project files
> --
>
> Key: THRIFT-3973
> URL: https://issues.apache.org/jira/browse/THRIFT-3973
> Project: Thrift
>  Issue Type: Story
>  Components: C++ - Compiler, C++ - Library
>Affects Versions: 0.10.0
> Environment: Windows
>Reporter: James E. King, III
>Assignee: James E. King, III
>
> A class of issues has popped up where the project files checked into the 
> project have become stale and/or the instructions for building on windows 
> need to be updated.
> These issues are linked to this item.  The purpose of this story is to 
> eliminate these issues by getting rid of the project files checked into the 
> project for windows (C++ specifically) and to update the web site 
> documentation on how to build the thrift libraries for windows (native, not 
> MinGW - those instructions will remain as-is).
> Acceptance Criteria:
> # MSVC project files for C++ are removed from the project.
> # Instructions for generating projects are provided on the web site.  This 
> must include support for:
> ## Compiler executable builds in debug and release form
> ## Static library builds in debug and release form (due to DLL export issues, 
> windows builds do not support dynamic library generation today)
> ## Support for optional library support like zlib, libevent, boost, std 
> (threads)
> ## Support for MSVC 2010 or later
> ## Support for CMake 3.6 or later



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (THRIFT-4032) no libthrift 0.10.0 in https://repo1.maven.org/maven2/org/apache/thrift/libthrift/

2017-01-16 Thread Jens Geyer (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-4032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jens Geyer updated THRIFT-4032:
---
Priority: Major  (was: Blocker)

> no libthrift 0.10.0 in 
> https://repo1.maven.org/maven2/org/apache/thrift/libthrift/
> --
>
> Key: THRIFT-4032
> URL: https://issues.apache.org/jira/browse/THRIFT-4032
> Project: Thrift
>  Issue Type: Bug
>  Components: Build Process
>Affects Versions: 0.10.0
>Reporter: Xiaoshuang LU
>
> https://repo1.maven.org/maven2/org/apache/thrift/libthrift/
> {code}
> Index of /maven2/org/apache/thrift/libthrift/
> ../
> 0.6.1/ 2011-04-25 08:54   
>  -
> 0.7.0/ 2011-08-13 17:27   
>  -
> 0.8.0/ 2011-11-29 18:34   
>  -
> 0.9.0/ 2012-10-15 21:50   
>  -
> 0.9.1/ 2013-08-23 10:26   
>  -
> 0.9.2/ 2014-11-18 12:19   
>  -
> 0.9.3/ 2015-10-11 21:19   
>  -
> maven-metadata.xml 2015-10-11 21:19   
>519
> maven-metadata.xml.md5 2015-10-11 21:19   
> 32
> maven-metadata.xml.sha12015-10-11 21:19   
> 40
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (THRIFT-4033) After building thrift-0.10.0 debian packages and installing them on Ubuntu 14.04, the thrift compiler does not work

2017-01-16 Thread James E. King, III (JIRA)
James E. King, III created THRIFT-4033:
--

 Summary: After building thrift-0.10.0 debian packages and 
installing them on Ubuntu 14.04, the thrift compiler does not work
 Key: THRIFT-4033
 URL: https://issues.apache.org/jira/browse/THRIFT-4033
 Project: Thrift
  Issue Type: Bug
  Components: Build Process
Affects Versions: 0.10.0
 Environment: Ubuntu 14.04.4 LTS
Reporter: James E. King, III
Priority: Blocker


I built thrift-0.10.0 debian packages doing the following:

# Clone the thrift project from github
# Check out the 0.10.0 tag
# Create a docker image: docker build -t thrift build/docker/ubuntu (from 
https://github.com/apache/thrift/tree/master/build/docker)
# Load the image as a docker instance: docker run -v $(pwd):/thrift/src -it 
thrift /bin/bash
# Run this command to build all debian package: dpkg-buildpackage -d -tc 

Then I replaced thrift-0.8.0 on my Ubuntu 14.04 system with the packages that I 
just built and tried to get the version from the thrift compiler:

{noformat}
jking@dvm61:~/thrift/packages/0.10.0/unpacked$ dpkg -l | grep thrift
hi  libthrift-dev 0.8.0-0+svt12 
  amd64Thrift C++ library (development headers)
ii  libthrift-java0.8.0-0+svt12 
  all  Java bindings for Thrift
hi  libthrift-perl0.8.0-0+svt12 
  all  Perl bindings for Thrift
hi  libthrift00.8.0-0+svt12 
  amd64Thrift C++ library
hi  php5-thrift   0.8.0-0+svt12 
  amd64PHP bindings for Thrift
ii  python-thrift 0.8.0-0+svt12 
  amd64Python bindings for Thrift
ii  thrift-compiler   0.8.0-0+svt12 
  amd64Compiler for Thrift definition files
jking@dvm61:~/thrift/packages/0.10.0/unpacked$ sudo dpkg -i 
libthrift0_0.10.0_amd64.deb libthrift-dev_0.10.0_amd64.deb 
libthrift-java_0.10.0_all.deb libthrift-perl_0.10.0_all.deb 
php5-thrift_0.10.0_amd64.deb python-thrift_0.10.0_amd64.deb 
thrift-compiler_0.10.0_amd64.deb 
(Reading database ... 232573 files and directories currently installed.)
Preparing to unpack libthrift0_0.10.0_amd64.deb ...
Unpacking libthrift0 (0.10.0) over (0.8.0-0+svt12) ...
Preparing to unpack libthrift-dev_0.10.0_amd64.deb ...
Unpacking libthrift-dev (0.10.0) over (0.8.0-0+svt12) ...
Preparing to unpack libthrift-java_0.10.0_all.deb ...
Unpacking libthrift-java (0.10.0) over (0.8.0-0+svt12) ...
Preparing to unpack libthrift-perl_0.10.0_all.deb ...
Unpacking libthrift-perl (0.10.0) over (0.8.0-0+svt12) ...
Preparing to unpack php5-thrift_0.10.0_amd64.deb ...
Unpacking php5-thrift (0.10.0) over (0.8.0-0+svt12) ...
Preparing to unpack python-thrift_0.10.0_amd64.deb ...
Unpacking python-thrift (0.10.0) over (0.8.0-0+svt12) ...
Preparing to unpack thrift-compiler_0.10.0_amd64.deb ...
Unpacking thrift-compiler (0.10.0) over (0.8.0-0+svt12) ...
Setting up libthrift0 (0.10.0) ...
Setting up libthrift-dev (0.10.0) ...
Setting up libthrift-java (0.10.0) ...
Setting up libthrift-perl (0.10.0) ...
Setting up php5-thrift (0.10.0) ...
Setting up python-thrift (0.10.0) ...
Setting up thrift-compiler (0.10.0) ...
Processing triggers for python-support (1.0.15) ...
Processing triggers for libc-bin (2.19-0ubuntu6.7+svt1) ...
jking@dvm61:~/thrift/packages/0.10.0/unpacked$ dpkg -l | grep thrift
ii  libthrift-dev 0.10.0
  amd64Thrift C++ library (development headers)
ii  libthrift-java0.10.0
  all  Java bindings for Thrift
ii  libthrift-perl0.10.0
  all  Perl bindings for Thrift
ii  libthrift00.10.0
  amd64Thrift C++ library
ii  php5-thrift   0.10.0
  amd64PHP bindings for Thrift
ii  python-thrift 0.10.0
  amd64Python bindings for Thrift (Python 2)
ii  thrift-compiler   0.10.0
  amd64Compiler for Thrift definition files
{noformat}

So then I tried to run the thrift compiler:

{noformat}
jking@dvm61:~/thrift/packages/0.10.0/unpacked$ thrift --version
mkdir: cannot create directory ‘/usr/bin/.libs’: Permission denied
/usr/bin/thrift: line 202: cd: /thrift/src/compiler/cpp: No such file or 
directory
g++: error: src/thrift/thrift-main.o: No such fi

[jira] [Updated] (THRIFT-4033) After building thrift-0.10.0 debian packages and installing them on Ubuntu 14.04, the thrift compiler does not work

2017-01-16 Thread James E. King, III (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-4033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James E. King, III updated THRIFT-4033:
---
Description: 
I built thrift-0.10.0 debian packages doing the following:

# Clone the thrift project from github
# Check out the 0.10.0 tag
# Create a docker image: docker build -t thrift build/docker/ubuntu (from 
https://github.com/apache/thrift/tree/master/build/docker)
# Load the image as a docker instance: docker run -v $(pwd):/thrift/src -it 
thrift /bin/bash
# Run this command to build all debian package: dpkg-buildpackage -d -tc 

Then I replaced thrift-0.8.0 on my Ubuntu 14.04 system with the packages that I 
just built and tried to get the version from the thrift compiler:

{noformat}
jking@dvm61:~/thrift/packages/0.10.0/unpacked$ dpkg -l | grep thrift
hi  libthrift-dev 0.8.0-0+svt12 
  amd64Thrift C++ library (development headers)
ii  libthrift-java0.8.0-0+svt12 
  all  Java bindings for Thrift
hi  libthrift-perl0.8.0-0+svt12 
  all  Perl bindings for Thrift
hi  libthrift00.8.0-0+svt12 
  amd64Thrift C++ library
hi  php5-thrift   0.8.0-0+svt12 
  amd64PHP bindings for Thrift
ii  python-thrift 0.8.0-0+svt12 
  amd64Python bindings for Thrift
ii  thrift-compiler   0.8.0-0+svt12 
  amd64Compiler for Thrift definition files
jking@dvm61:~/thrift/packages/0.10.0/unpacked$ sudo dpkg -i 
libthrift0_0.10.0_amd64.deb libthrift-dev_0.10.0_amd64.deb 
libthrift-java_0.10.0_all.deb libthrift-perl_0.10.0_all.deb 
php5-thrift_0.10.0_amd64.deb python-thrift_0.10.0_amd64.deb 
thrift-compiler_0.10.0_amd64.deb 
(Reading database ... 232573 files and directories currently installed.)
Preparing to unpack libthrift0_0.10.0_amd64.deb ...
Unpacking libthrift0 (0.10.0) over (0.8.0-0+svt12) ...
Preparing to unpack libthrift-dev_0.10.0_amd64.deb ...
Unpacking libthrift-dev (0.10.0) over (0.8.0-0+svt12) ...
Preparing to unpack libthrift-java_0.10.0_all.deb ...
Unpacking libthrift-java (0.10.0) over (0.8.0-0+svt12) ...
Preparing to unpack libthrift-perl_0.10.0_all.deb ...
Unpacking libthrift-perl (0.10.0) over (0.8.0-0+svt12) ...
Preparing to unpack php5-thrift_0.10.0_amd64.deb ...
Unpacking php5-thrift (0.10.0) over (0.8.0-0+svt12) ...
Preparing to unpack python-thrift_0.10.0_amd64.deb ...
Unpacking python-thrift (0.10.0) over (0.8.0-0+svt12) ...
Preparing to unpack thrift-compiler_0.10.0_amd64.deb ...
Unpacking thrift-compiler (0.10.0) over (0.8.0-0+svt12) ...
Setting up libthrift0 (0.10.0) ...
Setting up libthrift-dev (0.10.0) ...
Setting up libthrift-java (0.10.0) ...
Setting up libthrift-perl (0.10.0) ...
Setting up php5-thrift (0.10.0) ...
Setting up python-thrift (0.10.0) ...
Setting up thrift-compiler (0.10.0) ...
Processing triggers for python-support (1.0.15) ...
Processing triggers for libc-bin (2.19-0ubuntu6.7+svt1) ...
jking@dvm61:~/thrift/packages/0.10.0/unpacked$ dpkg -l | grep thrift
ii  libthrift-dev 0.10.0
  amd64Thrift C++ library (development headers)
ii  libthrift-java0.10.0
  all  Java bindings for Thrift
ii  libthrift-perl0.10.0
  all  Perl bindings for Thrift
ii  libthrift00.10.0
  amd64Thrift C++ library
ii  php5-thrift   0.10.0
  amd64PHP bindings for Thrift
ii  python-thrift 0.10.0
  amd64Python bindings for Thrift (Python 2)
ii  thrift-compiler   0.10.0
  amd64Compiler for Thrift definition files
{noformat}

So then I tried to run the thrift compiler:

{noformat}
jking@dvm61:~/thrift/packages/0.10.0/unpacked$ thrift --version
mkdir: cannot create directory ‘/usr/bin/.libs’: Permission denied
/usr/bin/thrift: line 202: cd: /thrift/src/compiler/cpp: No such file or 
directory
g++: error: src/thrift/thrift-main.o: No such file or directory
g++: error: src/thrift/audit/thrift-t_audit.o: No such file or directory
g++: error: src/thrift/generate/thrift-t_c_glib_generator.o: No such file or 
directory
g++: error: src/thrift/generate/thrift-t_cpp_generator.o: No such file or 
directory
g++: error: src/thrift/generate/thrift-t_java_generator.o: No such file or

[jira] [Commented] (THRIFT-4033) After building thrift-0.10.0 debian packages and installing them on Ubuntu 14.04, the thrift compiler does not work

2017-01-16 Thread James E. King, III (JIRA)

[ 
https://issues.apache.org/jira/browse/THRIFT-4033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15824547#comment-15824547
 ] 

James E. King, III commented on THRIFT-4033:


The dpkg build for thrift seems to depend on building a thrift compiler without 
plug-ins, but the default mode to build the compiler is with plug-ins.  The 
thrift-compiler-0.10.0 package does not provide any of the missing .o files... 
it wants /usr/bin/thrift to have minimal dependencies.  I think that when 
building with dpkg-buildpackage we need to tell thrift to build a non-plugin 
compiler.

> After building thrift-0.10.0 debian packages and installing them on Ubuntu 
> 14.04, the thrift compiler does not work
> ---
>
> Key: THRIFT-4033
> URL: https://issues.apache.org/jira/browse/THRIFT-4033
> Project: Thrift
>  Issue Type: Bug
>  Components: Build Process
>Affects Versions: 0.10.0
> Environment: Ubuntu 14.04.4 LTS
>Reporter: James E. King, III
>Priority: Blocker
>
> I built thrift-0.10.0 debian packages doing the following:
> # Clone the thrift project from github
> # Check out the 0.10.0 tag
> # Create a docker image: docker build -t thrift build/docker/ubuntu (from 
> https://github.com/apache/thrift/tree/master/build/docker)
> # Load the image as a docker instance: docker run -v $(pwd):/thrift/src -it 
> thrift /bin/bash
> # Run this command to build all debian package: dpkg-buildpackage -d -tc 
> Then I replaced thrift-0.8.0 on my Ubuntu 14.04 system with the packages that 
> I just built and tried to get the version from the thrift compiler:
> {noformat}
> jking@dvm61:~/thrift/packages/0.10.0/unpacked$ dpkg -l | grep thrift
> hi  libthrift-dev 0.8.0-0+svt12   
> amd64Thrift C++ library (development headers)
> ii  libthrift-java0.8.0-0+svt12   
> all  Java bindings for Thrift
> hi  libthrift-perl0.8.0-0+svt12   
> all  Perl bindings for Thrift
> hi  libthrift00.8.0-0+svt12   
> amd64Thrift C++ library
> hi  php5-thrift   0.8.0-0+svt12   
> amd64PHP bindings for Thrift
> ii  python-thrift 0.8.0-0+svt12   
> amd64Python bindings for Thrift
> ii  thrift-compiler   0.8.0-0+svt12   
> amd64Compiler for Thrift definition files
> jking@dvm61:~/thrift/packages/0.10.0/unpacked$ sudo dpkg -i 
> libthrift0_0.10.0_amd64.deb libthrift-dev_0.10.0_amd64.deb 
> libthrift-java_0.10.0_all.deb libthrift-perl_0.10.0_all.deb 
> php5-thrift_0.10.0_amd64.deb python-thrift_0.10.0_amd64.deb 
> thrift-compiler_0.10.0_amd64.deb 
> (Reading database ... 232573 files and directories currently installed.)
> Preparing to unpack libthrift0_0.10.0_amd64.deb ...
> Unpacking libthrift0 (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack libthrift-dev_0.10.0_amd64.deb ...
> Unpacking libthrift-dev (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack libthrift-java_0.10.0_all.deb ...
> Unpacking libthrift-java (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack libthrift-perl_0.10.0_all.deb ...
> Unpacking libthrift-perl (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack php5-thrift_0.10.0_amd64.deb ...
> Unpacking php5-thrift (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack python-thrift_0.10.0_amd64.deb ...
> Unpacking python-thrift (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack thrift-compiler_0.10.0_amd64.deb ...
> Unpacking thrift-compiler (0.10.0) over (0.8.0-0+svt12) ...
> Setting up libthrift0 (0.10.0) ...
> Setting up libthrift-dev (0.10.0) ...
> Setting up libthrift-java (0.10.0) ...
> Setting up libthrift-perl (0.10.0) ...
> Setting up php5-thrift (0.10.0) ...
> Setting up python-thrift (0.10.0) ...
> Setting up thrift-compiler (0.10.0) ...
> Processing triggers for python-support (1.0.15) ...
> Processing triggers for libc-bin (2.19-0ubuntu6.7+svt1) ...
> jking@dvm61:~/thrift/packages/0.10.0/unpacked$ dpkg -l | grep thrift
> ii  libthrift-dev 0.10.0  
> amd64Thrift C++ library (development headers)
> ii  libthrift-java0.10.0  
> all  Java bindings for Thrift
> ii  libthrift-perl0.10.0  
> all  Perl bindings for Thrift
> ii  libthrift0

[jira] [Updated] (THRIFT-4033) After building thrift-0.10.0 debian packages and installing them on Ubuntu 14.04, the thrift compiler does not work (packaged incorrectly)

2017-01-16 Thread James E. King, III (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-4033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James E. King, III updated THRIFT-4033:
---
Summary: After building thrift-0.10.0 debian packages and installing them 
on Ubuntu 14.04, the thrift compiler does not work (packaged incorrectly)  
(was: After building thrift-0.10.0 debian packages and installing them on 
Ubuntu 14.04, the thrift compiler does not work)

> After building thrift-0.10.0 debian packages and installing them on Ubuntu 
> 14.04, the thrift compiler does not work (packaged incorrectly)
> --
>
> Key: THRIFT-4033
> URL: https://issues.apache.org/jira/browse/THRIFT-4033
> Project: Thrift
>  Issue Type: Bug
>  Components: Build Process
>Affects Versions: 0.10.0
> Environment: Ubuntu 14.04.4 LTS
>Reporter: James E. King, III
>Priority: Blocker
>
> I built thrift-0.10.0 debian packages doing the following:
> # Clone the thrift project from github
> # Check out the 0.10.0 tag
> # Create a docker image: docker build -t thrift build/docker/ubuntu (from 
> https://github.com/apache/thrift/tree/master/build/docker)
> # Load the image as a docker instance: docker run -v $(pwd):/thrift/src -it 
> thrift /bin/bash
> # Run this command to build all debian package: dpkg-buildpackage -d -tc 
> Then I replaced thrift-0.8.0 on my Ubuntu 14.04 system with the packages that 
> I just built and tried to get the version from the thrift compiler:
> {noformat}
> jking@dvm61:~/thrift/packages/0.10.0/unpacked$ dpkg -l | grep thrift
> hi  libthrift-dev 0.8.0-0+svt12   
> amd64Thrift C++ library (development headers)
> ii  libthrift-java0.8.0-0+svt12   
> all  Java bindings for Thrift
> hi  libthrift-perl0.8.0-0+svt12   
> all  Perl bindings for Thrift
> hi  libthrift00.8.0-0+svt12   
> amd64Thrift C++ library
> hi  php5-thrift   0.8.0-0+svt12   
> amd64PHP bindings for Thrift
> ii  python-thrift 0.8.0-0+svt12   
> amd64Python bindings for Thrift
> ii  thrift-compiler   0.8.0-0+svt12   
> amd64Compiler for Thrift definition files
> jking@dvm61:~/thrift/packages/0.10.0/unpacked$ sudo dpkg -i 
> libthrift0_0.10.0_amd64.deb libthrift-dev_0.10.0_amd64.deb 
> libthrift-java_0.10.0_all.deb libthrift-perl_0.10.0_all.deb 
> php5-thrift_0.10.0_amd64.deb python-thrift_0.10.0_amd64.deb 
> thrift-compiler_0.10.0_amd64.deb 
> (Reading database ... 232573 files and directories currently installed.)
> Preparing to unpack libthrift0_0.10.0_amd64.deb ...
> Unpacking libthrift0 (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack libthrift-dev_0.10.0_amd64.deb ...
> Unpacking libthrift-dev (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack libthrift-java_0.10.0_all.deb ...
> Unpacking libthrift-java (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack libthrift-perl_0.10.0_all.deb ...
> Unpacking libthrift-perl (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack php5-thrift_0.10.0_amd64.deb ...
> Unpacking php5-thrift (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack python-thrift_0.10.0_amd64.deb ...
> Unpacking python-thrift (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack thrift-compiler_0.10.0_amd64.deb ...
> Unpacking thrift-compiler (0.10.0) over (0.8.0-0+svt12) ...
> Setting up libthrift0 (0.10.0) ...
> Setting up libthrift-dev (0.10.0) ...
> Setting up libthrift-java (0.10.0) ...
> Setting up libthrift-perl (0.10.0) ...
> Setting up php5-thrift (0.10.0) ...
> Setting up python-thrift (0.10.0) ...
> Setting up thrift-compiler (0.10.0) ...
> Processing triggers for python-support (1.0.15) ...
> Processing triggers for libc-bin (2.19-0ubuntu6.7+svt1) ...
> jking@dvm61:~/thrift/packages/0.10.0/unpacked$ dpkg -l | grep thrift
> ii  libthrift-dev 0.10.0  
> amd64Thrift C++ library (development headers)
> ii  libthrift-java0.10.0  
> all  Java bindings for Thrift
> ii  libthrift-perl0.10.0  
> all  Perl bindings for Thrift
> ii  libthrift00.10.0  
> amd64Thrift C++ library
> ii  php5-thrift   0.10.0 

[jira] [Commented] (THRIFT-4033) After building thrift-0.10.0 debian packages and installing them on Ubuntu 14.04, the thrift compiler does not work (packaged incorrectly)

2017-01-16 Thread James E. King, III (JIRA)

[ 
https://issues.apache.org/jira/browse/THRIFT-4033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15824567#comment-15824567
 ] 

James E. King, III commented on THRIFT-4033:


I have a temporary solution for this which is to modify configure.ac and change 
"have_plugin" to "no" then build the debian packages.  This keeps everything 
enabled but it disables the plugin support, but it will have full language 
support:

{noformat}
thrift 0.10.0

Building Plugin Support .. : no
Building C++ Library . : yes
Building C (GLib) Library  : yes
Building Java Library  : yes
Building C# Library .. : yes
Building Python Library .. : yes
Building Ruby Library  : yes
Building Haxe Library  : yes
Building Haskell Library . : yes
Building Perl Library  : yes
Building PHP Library . : yes
Building Dart Library  : yes
Building Erlang Library .. : yes
Building Go Library .. : yes
Building D Library ... : yes
Building NodeJS Library .. : yes
Building Lua Library . : yes

C++ Library:
   Build TZlibTransport .. : yes
   Build TNonblockingServer .. : yes
   Build TQTcpServer (Qt4)  : no
   Build TQTcpServer (Qt5)  : yes

Java Library:
   Using javac ... : javac
   Using java  : java
   Using ant . : /usr/bin/ant

C# Library:
   Using .NET 3.5  : yes

Python Library:
   Using Python .. : /usr/bin/python
   Using Python3 . : /usr/bin/python3
   Using trial ... : /usr/bin/trial

PHP Library:
   Using php-config .. : /usr/bin/php-config

Dart Library:
   Using Dart  : /usr/lib/dart/bin/dart
   Using Pub . : /usr/lib/dart/bin/pub

Ruby Library:
   Using Ruby  : /usr/bin/ruby

Haskell Library:
   Using Haskell . : /usr/bin/runhaskell
   Using Cabal ... : /usr/bin/cabal

Haxe Library:
   Using Haxe  : /usr/bin/haxe
   Using Haxe version  : 3.2.0

Perl Library:
   Using Perl  : /usr/bin/perl

Erlang Library:
   Using erlc  : /usr/bin/erlc
   Using rebar ... : /usr/bin/rebar

Go Library:
   Using Go... : /usr/local/go/bin/go
   Using Go version... : go version go1.4.3 linux/amd64

D Library:
   Using D Compiler .. : dmd
   Building D libevent tests . : yes
   Building D SSL tests .. : yes

NodeJS Library:
   Using NodeJS .. : /usr/bin/nodejs
   Using NodeJS version... : v0.10.25

Lua Library:
   Using Lua .. : /usr/bin/lua
{noformat}

[~jfarrell] I think modifying debian/rules where it calls configure would also 
work here, but I tried "--without-plugin" and that didn't work.



> After building thrift-0.10.0 debian packages and installing them on Ubuntu 
> 14.04, the thrift compiler does not work (packaged incorrectly)
> --
>
> Key: THRIFT-4033
> URL: https://issues.apache.org/jira/browse/THRIFT-4033
> Project: Thrift
>  Issue Type: Bug
>  Components: Build Process
>Affects Versions: 0.10.0
> Environment: Ubuntu 14.04.4 LTS
>Reporter: James E. King, III
>Priority: Blocker
>
> I built thrift-0.10.0 debian packages doing the following:
> # Clone the thrift project from github
> # Check out the 0.10.0 tag
> # Create a docker image: docker build -t thrift build/docker/ubuntu (from 
> https://github.com/apache/thrift/tree/master/build/docker)
> # Load the image as a docker instance: docker run -v $(pwd):/thrift/src -it 
> thrift /bin/bash
> # Run this command to build all debian package: dpkg-buildpackage -d -tc 
> Then I replaced thrift-0.8.0 on my Ubuntu 14.04 system with the packages that 
> I just built and tried to get the version from the thrift compiler:
> {noformat}
> jking@dvm61:~/thrift/packages/0.10.0/unpacked$ dpkg -l | grep thrift
> hi  libthrift-dev 0.8.0-0+svt12   
> amd64Thrift C++ library (development headers)
> ii  libthrift-java0.8.0-0+svt12   
> all  Java bindings for Thrift
> hi  libthrift-perl0.8.0-0+svt12   
> all  Perl bindings for Thrift
> hi  libthrift00.8.0-0+svt12   
> amd64Thrift C++ library
> hi  php5-thrift   0.8.0-0+svt12   
> amd64PHP bindings for Thrift
> ii  python-thrift 0.8.0-0+svt12   
> amd64   

[GitHub] thrift issue #1088: Microsoft .Net Core library port and generator for this ...

2017-01-16 Thread Jens-G
Github user Jens-G commented on the issue:

https://github.com/apache/thrift/pull/1088
  
> Pls, ping me when you will be ready to merge pull request and I will 
create it.

Make the PR when you think it's ready. I'll find some spare time. We will 
not have that many merge conflicts to solve with the netcore stuff right now.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (THRIFT-4033) After building thrift-0.10.0 debian packages and installing them on Ubuntu 14.04, the thrift compiler does not work (packaged incorrectly)

2017-01-16 Thread James E. King, III (JIRA)

[ 
https://issues.apache.org/jira/browse/THRIFT-4033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15824571#comment-15824571
 ] 

James E. King, III commented on THRIFT-4033:


Changing line 32 of debian/rules to:

{noformat}
$(CURDIR)/configure --prefix=/usr --enable-plugin=no
{noformat}

Disables the plug-in stuff for the debian package build.  I will submit a PR to 
fix this.
In the meantime, [~jfarrell] we need to decide what to do about the 0.10.0 
release, since it's DOA on debian based systems using this build methodology.

> After building thrift-0.10.0 debian packages and installing them on Ubuntu 
> 14.04, the thrift compiler does not work (packaged incorrectly)
> --
>
> Key: THRIFT-4033
> URL: https://issues.apache.org/jira/browse/THRIFT-4033
> Project: Thrift
>  Issue Type: Bug
>  Components: Build Process
>Affects Versions: 0.10.0
> Environment: Ubuntu 14.04.4 LTS
>Reporter: James E. King, III
>Priority: Blocker
>
> I built thrift-0.10.0 debian packages doing the following:
> # Clone the thrift project from github
> # Check out the 0.10.0 tag
> # Create a docker image: docker build -t thrift build/docker/ubuntu (from 
> https://github.com/apache/thrift/tree/master/build/docker)
> # Load the image as a docker instance: docker run -v $(pwd):/thrift/src -it 
> thrift /bin/bash
> # Run this command to build all debian package: dpkg-buildpackage -d -tc 
> Then I replaced thrift-0.8.0 on my Ubuntu 14.04 system with the packages that 
> I just built and tried to get the version from the thrift compiler:
> {noformat}
> jking@dvm61:~/thrift/packages/0.10.0/unpacked$ dpkg -l | grep thrift
> hi  libthrift-dev 0.8.0-0+svt12   
> amd64Thrift C++ library (development headers)
> ii  libthrift-java0.8.0-0+svt12   
> all  Java bindings for Thrift
> hi  libthrift-perl0.8.0-0+svt12   
> all  Perl bindings for Thrift
> hi  libthrift00.8.0-0+svt12   
> amd64Thrift C++ library
> hi  php5-thrift   0.8.0-0+svt12   
> amd64PHP bindings for Thrift
> ii  python-thrift 0.8.0-0+svt12   
> amd64Python bindings for Thrift
> ii  thrift-compiler   0.8.0-0+svt12   
> amd64Compiler for Thrift definition files
> jking@dvm61:~/thrift/packages/0.10.0/unpacked$ sudo dpkg -i 
> libthrift0_0.10.0_amd64.deb libthrift-dev_0.10.0_amd64.deb 
> libthrift-java_0.10.0_all.deb libthrift-perl_0.10.0_all.deb 
> php5-thrift_0.10.0_amd64.deb python-thrift_0.10.0_amd64.deb 
> thrift-compiler_0.10.0_amd64.deb 
> (Reading database ... 232573 files and directories currently installed.)
> Preparing to unpack libthrift0_0.10.0_amd64.deb ...
> Unpacking libthrift0 (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack libthrift-dev_0.10.0_amd64.deb ...
> Unpacking libthrift-dev (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack libthrift-java_0.10.0_all.deb ...
> Unpacking libthrift-java (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack libthrift-perl_0.10.0_all.deb ...
> Unpacking libthrift-perl (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack php5-thrift_0.10.0_amd64.deb ...
> Unpacking php5-thrift (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack python-thrift_0.10.0_amd64.deb ...
> Unpacking python-thrift (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack thrift-compiler_0.10.0_amd64.deb ...
> Unpacking thrift-compiler (0.10.0) over (0.8.0-0+svt12) ...
> Setting up libthrift0 (0.10.0) ...
> Setting up libthrift-dev (0.10.0) ...
> Setting up libthrift-java (0.10.0) ...
> Setting up libthrift-perl (0.10.0) ...
> Setting up php5-thrift (0.10.0) ...
> Setting up python-thrift (0.10.0) ...
> Setting up thrift-compiler (0.10.0) ...
> Processing triggers for python-support (1.0.15) ...
> Processing triggers for libc-bin (2.19-0ubuntu6.7+svt1) ...
> jking@dvm61:~/thrift/packages/0.10.0/unpacked$ dpkg -l | grep thrift
> ii  libthrift-dev 0.10.0  
> amd64Thrift C++ library (development headers)
> ii  libthrift-java0.10.0  
> all  Java bindings for Thrift
> ii  libthrift-perl0.10.0  
> all  Perl bindings for Thrift
> ii  libthrift0

[GitHub] thrift pull request #1157: THRIFT-4033 disable compiler plug-ins for standar...

2017-01-16 Thread jeking3
GitHub user jeking3 opened a pull request:

https://github.com/apache/thrift/pull/1157

THRIFT-4033 disable compiler plug-ins for standard debian build

as the thrift-compiler packaging is not ready for it yet

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/jeking3/thrift defect/THRIFT-4033

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/thrift/pull/1157.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1157


commit 800d09a0e330223de13a73f6405f2bab3ddad5fe
Author: James E. King, III 
Date:   2017-01-16T20:49:35Z

THRIFT-4033 disable compiler plug-ins for standard debian build, as the 
thrift-compiler packaging is not ready for it yet




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Comment Edited] (THRIFT-4033) After building thrift-0.10.0 debian packages and installing them on Ubuntu 14.04, the thrift compiler does not work (packaged incorrectly)

2017-01-16 Thread James E. King, III (JIRA)

[ 
https://issues.apache.org/jira/browse/THRIFT-4033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15824571#comment-15824571
 ] 

James E. King, III edited comment on THRIFT-4033 at 1/16/17 9:17 PM:
-

Changing line 32 of debian/rules to:

{noformat}
$(CURDIR)/configure --prefix=/usr --enable-plugin=no
{noformat}

I also had to move the compiler build before the cpp library build to make it 
work.

Disables the plug-in stuff for the debian package build.  I will submit a PR to 
fix this.
In the meantime, [~jfarrell] we need to decide what to do about the 0.10.0 
release, since it's DOA on debian based systems using this build methodology.


was (Author: jking3):
Changing line 32 of debian/rules to:

{noformat}
$(CURDIR)/configure --prefix=/usr --enable-plugin=no
{noformat}

Disables the plug-in stuff for the debian package build.  I will submit a PR to 
fix this.
In the meantime, [~jfarrell] we need to decide what to do about the 0.10.0 
release, since it's DOA on debian based systems using this build methodology.

> After building thrift-0.10.0 debian packages and installing them on Ubuntu 
> 14.04, the thrift compiler does not work (packaged incorrectly)
> --
>
> Key: THRIFT-4033
> URL: https://issues.apache.org/jira/browse/THRIFT-4033
> Project: Thrift
>  Issue Type: Bug
>  Components: Build Process
>Affects Versions: 0.10.0
> Environment: Ubuntu 14.04.4 LTS
>Reporter: James E. King, III
>Priority: Blocker
>
> I built thrift-0.10.0 debian packages doing the following:
> # Clone the thrift project from github
> # Check out the 0.10.0 tag
> # Create a docker image: docker build -t thrift build/docker/ubuntu (from 
> https://github.com/apache/thrift/tree/master/build/docker)
> # Load the image as a docker instance: docker run -v $(pwd):/thrift/src -it 
> thrift /bin/bash
> # Run this command to build all debian package: dpkg-buildpackage -d -tc 
> Then I replaced thrift-0.8.0 on my Ubuntu 14.04 system with the packages that 
> I just built and tried to get the version from the thrift compiler:
> {noformat}
> jking@dvm61:~/thrift/packages/0.10.0/unpacked$ dpkg -l | grep thrift
> hi  libthrift-dev 0.8.0-0+svt12   
> amd64Thrift C++ library (development headers)
> ii  libthrift-java0.8.0-0+svt12   
> all  Java bindings for Thrift
> hi  libthrift-perl0.8.0-0+svt12   
> all  Perl bindings for Thrift
> hi  libthrift00.8.0-0+svt12   
> amd64Thrift C++ library
> hi  php5-thrift   0.8.0-0+svt12   
> amd64PHP bindings for Thrift
> ii  python-thrift 0.8.0-0+svt12   
> amd64Python bindings for Thrift
> ii  thrift-compiler   0.8.0-0+svt12   
> amd64Compiler for Thrift definition files
> jking@dvm61:~/thrift/packages/0.10.0/unpacked$ sudo dpkg -i 
> libthrift0_0.10.0_amd64.deb libthrift-dev_0.10.0_amd64.deb 
> libthrift-java_0.10.0_all.deb libthrift-perl_0.10.0_all.deb 
> php5-thrift_0.10.0_amd64.deb python-thrift_0.10.0_amd64.deb 
> thrift-compiler_0.10.0_amd64.deb 
> (Reading database ... 232573 files and directories currently installed.)
> Preparing to unpack libthrift0_0.10.0_amd64.deb ...
> Unpacking libthrift0 (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack libthrift-dev_0.10.0_amd64.deb ...
> Unpacking libthrift-dev (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack libthrift-java_0.10.0_all.deb ...
> Unpacking libthrift-java (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack libthrift-perl_0.10.0_all.deb ...
> Unpacking libthrift-perl (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack php5-thrift_0.10.0_amd64.deb ...
> Unpacking php5-thrift (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack python-thrift_0.10.0_amd64.deb ...
> Unpacking python-thrift (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack thrift-compiler_0.10.0_amd64.deb ...
> Unpacking thrift-compiler (0.10.0) over (0.8.0-0+svt12) ...
> Setting up libthrift0 (0.10.0) ...
> Setting up libthrift-dev (0.10.0) ...
> Setting up libthrift-java (0.10.0) ...
> Setting up libthrift-perl (0.10.0) ...
> Setting up php5-thrift (0.10.0) ...
> Setting up python-thrift (0.10.0) ...
> Setting up thrift-compiler (0.10.0) ...
> Processing triggers for python-support (1.0.15) ...
> Processing triggers for libc-bin (2.19-0ubuntu6.7+svt1) ...
> jking@dvm61:~/

[jira] [Commented] (THRIFT-4033) After building thrift-0.10.0 debian packages and installing them on Ubuntu 14.04, the thrift compiler does not work (packaged incorrectly)

2017-01-16 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/THRIFT-4033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15824588#comment-15824588
 ] 

ASF GitHub Bot commented on THRIFT-4033:


GitHub user jeking3 opened a pull request:

https://github.com/apache/thrift/pull/1157

THRIFT-4033 disable compiler plug-ins for standard debian build

as the thrift-compiler packaging is not ready for it yet

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/jeking3/thrift defect/THRIFT-4033

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/thrift/pull/1157.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1157


commit 800d09a0e330223de13a73f6405f2bab3ddad5fe
Author: James E. King, III 
Date:   2017-01-16T20:49:35Z

THRIFT-4033 disable compiler plug-ins for standard debian build, as the 
thrift-compiler packaging is not ready for it yet




> After building thrift-0.10.0 debian packages and installing them on Ubuntu 
> 14.04, the thrift compiler does not work (packaged incorrectly)
> --
>
> Key: THRIFT-4033
> URL: https://issues.apache.org/jira/browse/THRIFT-4033
> Project: Thrift
>  Issue Type: Bug
>  Components: Build Process
>Affects Versions: 0.10.0
> Environment: Ubuntu 14.04.4 LTS
>Reporter: James E. King, III
>Priority: Blocker
>
> I built thrift-0.10.0 debian packages doing the following:
> # Clone the thrift project from github
> # Check out the 0.10.0 tag
> # Create a docker image: docker build -t thrift build/docker/ubuntu (from 
> https://github.com/apache/thrift/tree/master/build/docker)
> # Load the image as a docker instance: docker run -v $(pwd):/thrift/src -it 
> thrift /bin/bash
> # Run this command to build all debian package: dpkg-buildpackage -d -tc 
> Then I replaced thrift-0.8.0 on my Ubuntu 14.04 system with the packages that 
> I just built and tried to get the version from the thrift compiler:
> {noformat}
> jking@dvm61:~/thrift/packages/0.10.0/unpacked$ dpkg -l | grep thrift
> hi  libthrift-dev 0.8.0-0+svt12   
> amd64Thrift C++ library (development headers)
> ii  libthrift-java0.8.0-0+svt12   
> all  Java bindings for Thrift
> hi  libthrift-perl0.8.0-0+svt12   
> all  Perl bindings for Thrift
> hi  libthrift00.8.0-0+svt12   
> amd64Thrift C++ library
> hi  php5-thrift   0.8.0-0+svt12   
> amd64PHP bindings for Thrift
> ii  python-thrift 0.8.0-0+svt12   
> amd64Python bindings for Thrift
> ii  thrift-compiler   0.8.0-0+svt12   
> amd64Compiler for Thrift definition files
> jking@dvm61:~/thrift/packages/0.10.0/unpacked$ sudo dpkg -i 
> libthrift0_0.10.0_amd64.deb libthrift-dev_0.10.0_amd64.deb 
> libthrift-java_0.10.0_all.deb libthrift-perl_0.10.0_all.deb 
> php5-thrift_0.10.0_amd64.deb python-thrift_0.10.0_amd64.deb 
> thrift-compiler_0.10.0_amd64.deb 
> (Reading database ... 232573 files and directories currently installed.)
> Preparing to unpack libthrift0_0.10.0_amd64.deb ...
> Unpacking libthrift0 (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack libthrift-dev_0.10.0_amd64.deb ...
> Unpacking libthrift-dev (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack libthrift-java_0.10.0_all.deb ...
> Unpacking libthrift-java (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack libthrift-perl_0.10.0_all.deb ...
> Unpacking libthrift-perl (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack php5-thrift_0.10.0_amd64.deb ...
> Unpacking php5-thrift (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack python-thrift_0.10.0_amd64.deb ...
> Unpacking python-thrift (0.10.0) over (0.8.0-0+svt12) ...
> Preparing to unpack thrift-compiler_0.10.0_amd64.deb ...
> Unpacking thrift-compiler (0.10.0) over (0.8.0-0+svt12) ...
> Setting up libthrift0 (0.10.0) ...
> Setting up libthrift-dev (0.10.0) ...
> Setting up libthrift-java (0.10.0) ...
> Setting up libthrift-perl (0.10.0) ...
> Setting up php5-thrift (0.10.0) ...
> Setting up python-thrift (0.10.0) ...
> Setting up thrift-compiler (0.10.0) ...
> Processing triggers for python-support (1.0.15) ...
> Processing triggers for libc-bin (2.19-0ubuntu6.7+svt1) ...
> jking@dvm61:~/thrif

Re: CI Build Failures

2017-01-16 Thread Roger Meier

Hi Jim

I made a fix and tested locally:
https://github.com/bufferoverflow/thrift/commit/59794bf86a5e3c6f0b21ddce07df4058eaed8978

and create a MR if this is passing:
https://travis-ci.org/bufferoverflow/thrift/builds/192504121

cheers
roger


Quoting Jim King :


Progress is being hindered by inability to complete CI builds.
We need to fix this as the top priority.  Nothing gets merged if CI  
builds fail.
Folks who are involved with the docker image support, please take a  
look at the recent Travis CI failures.


Thanks.

[Description: Description: simplivity-lg-xsmall]
James E. King, III
Architect
8 Technology Drive, 2nd Floor
Westborough, MA 01581-1756
Ph: 855-SVT-INFO
---
PRIVACY STATEMENT:
This message is a PRIVATE communication.  This message and all  
attachments are a private communication sent by SimpliVity and are  
considered to be confidential or protected by privilege. If you are  
not the intended recipient, you are hereby notified that any  
disclosure, copying, distribution or use of the information  
contained in or attached to this message is strictly prohibited.   
Please notify the sender of the delivery error by replying to this  
message, and then delete it from your system.

---





[jira] [Commented] (THRIFT-4032) no libthrift 0.10.0 in https://repo1.maven.org/maven2/org/apache/thrift/libthrift/

2017-01-16 Thread Xiaoshuang LU (JIRA)

[ 
https://issues.apache.org/jira/browse/THRIFT-4032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15824855#comment-15824855
 ] 

Xiaoshuang LU commented on THRIFT-4032:
---

Hi [~jensg], appears that 0.10.0 has been released in 2017-01-03, right?

{code}
References
1. http://thrift.apache.org/
2. https://github.com/apache/thrift/releases
{code}

> no libthrift 0.10.0 in 
> https://repo1.maven.org/maven2/org/apache/thrift/libthrift/
> --
>
> Key: THRIFT-4032
> URL: https://issues.apache.org/jira/browse/THRIFT-4032
> Project: Thrift
>  Issue Type: Bug
>  Components: Build Process
>Affects Versions: 0.10.0
>Reporter: Xiaoshuang LU
>
> https://repo1.maven.org/maven2/org/apache/thrift/libthrift/
> {code}
> Index of /maven2/org/apache/thrift/libthrift/
> ../
> 0.6.1/ 2011-04-25 08:54   
>  -
> 0.7.0/ 2011-08-13 17:27   
>  -
> 0.8.0/ 2011-11-29 18:34   
>  -
> 0.9.0/ 2012-10-15 21:50   
>  -
> 0.9.1/ 2013-08-23 10:26   
>  -
> 0.9.2/ 2014-11-18 12:19   
>  -
> 0.9.3/ 2015-10-11 21:19   
>  -
> maven-metadata.xml 2015-10-11 21:19   
>519
> maven-metadata.xml.md5 2015-10-11 21:19   
> 32
> maven-metadata.xml.sha12015-10-11 21:19   
> 40
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] thrift pull request #1158: chore: install ruby-bundler

2017-01-16 Thread bufferoverflow
GitHub user bufferoverflow opened a pull request:

https://github.com/apache/thrift/pull/1158

chore: install ruby-bundler

@jeking3 @Jens-G this should fix the travis build

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/bufferoverflow/thrift 
chore/travis-debian-ubuntu

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/thrift/pull/1158.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1158


commit 59794bf86a5e3c6f0b21ddce07df4058eaed8978
Author: Roger Meier 
Date:   2017-01-16T19:26:57Z

chore: install ruby-bundler




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---