Re: [jira] [Commented] (THRIFT-3071) bootstrap.sh on Ubuntu 12.04 (Precise) automake error

2015-04-14 Thread 易剑
I got errors (branch: https://github.com/eyjian/thrift): # ./bootstrap.sh .ibtoolize: AC_CONFIG_MACRO_DIR([./aclocal]) conflicts with ACLOCAL_AMFLAGS=-I ./aclocal *Environments*: bison 2.7 autoconf 2.69 automake 1.15 libtool 2.4.2 OpenSSL 1.0.1k-fips 8 Jan 2015 boost 1.54.0 libevent 2.0.5 m4

Re: How to comiple https://github.com/eyjian/thrift?

2015-04-14 Thread 易剑
If this is in Makefile.am ACLOCAL_AMFLAGS = -I ./aclocal and this is in configure.ac: AC_CONFIG_MACRO_DIR([./aclocal]) Then libtoolize fails with .ibtoolize: AC_CONFIG_MACRO_DIR([./aclocal]) conflicts with ACLOCAL_AMFLAGS=-I ./aclocal4 2015-04-14 14:23 GMT+08:00 易剑 eyj...@gmail.com:

Re: How to comiple https://github.com/eyjian/thrift?

2015-04-14 Thread 易剑
Error at *$LIBTOOLIZE --copy --automake* in bootstrap.sh Error message: .ibtoolize: AC_CONFIG_MACRO_DIR([./aclocal]) conflicts with ACLOCAL_AMFLAGS=-I ./aclocal 2015-04-14 4:54 GMT+08:00 Jens Geyer jensge...@hotmail.com: Hi, no idea, works fine for me (setup below). Can we get something

Re: How to comiple https://github.com/eyjian/thrift?

2015-04-14 Thread 易剑
Solution: dos2unix *.sh chmod +x *.sh dos2unix configure.ac find . -name Makefile.am |xargs dos2unix Bug got many warning and error: # ./bootstrap.sh configure.ac:90: installing './config.guess' configure.ac:90: installing './config.sub' configure.ac:27: installing './install-sh'

Re: I want to add lib/cpp/src/thrift/TThriftHelper.h attached, but I can't build it

2015-04-14 Thread 易剑
Error at *$LIBTOOLIZE --copy --automake* in bootstrap.sh 2015-04-14 14:18 GMT+08:00 易剑 eyj...@gmail.com: I want to add lib/cpp/src/thrift/*TThriftHelper*.h attached, but I can't build it to test: bison-3.0 autoconf-2.69 automake-1.15 libtool-2.4 openssl-1.0.2a boost_1_57_0

AW: How to comiple https://github.com/eyjian/thrift?

2015-04-14 Thread Jens Geyer
Check your git settings, especially the EOL-style related ones. Using dos2unix is not normal behaviour. The subdir warnings can be ignored for now. Von: 易剑 Gesendet: 14.04.2015 08:57 An: dev@thrift.apache.org Betreff: Re: How to comiple

I want to add lib/cpp/src/thrift/TThriftHelper.h attached, but I can't build it

2015-04-14 Thread 易剑
I want to add lib/cpp/src/thrift/*TThriftHelper*.h attached, but I can't build it to test: bison-3.0 autoconf-2.69 automake-1.15 libtool-2.4 openssl-1.0.2a boost_1_57_0 libevent-2.0.22-stable m4-1.4.17 SUSE Linux Enterprise Server 10 (x86_64) gcc (GCC) 4.1.2 My forked branch:

Re: [jira] [Commented] (THRIFT-3071) bootstrap.sh on Ubuntu 12.04 (Precise) automake error

2015-04-14 Thread 易剑
Solution: dos2unix *.sh chmod +x *.sh dos2unix configure.ac find . -name Makefile.am |xargs dos2unix Bug got many warning and error: # ./bootstrap.sh configure.ac:90: installing './config.guess' configure.ac:90: installing './config.sub' configure.ac:27: installing './install-sh'

Re: I want to add lib/cpp/src/thrift/TThriftHelper.h attached, but I can't build it

2015-04-14 Thread 易剑
Solution: dos2unix *.sh chmod +x *.sh dos2unix configure.ac find . -name Makefile.am |xargs dos2unix Bug got many warning and error: # ./bootstrap.sh configure.ac:90: installing './config.guess' configure.ac:90: installing './config.sub' configure.ac:27: installing './install-sh'

Re: How to comiple https://github.com/eyjian/thrift?

2015-04-14 Thread 易剑
Thanks, You are right, I remove and checkout again with: git config --global core.autocrlf false git config --global core.safecrlf true git config --global core.eol lf But failed yet: # ./*configure *--prefix=$THIRDPARTY_HOME/thrift-0.9.2 \ --with-boost=$THIRDPARTY_HOME/boost \

Re: How to comiple https://github.com/eyjian/thrift?

2015-04-14 Thread 易剑
./configure --prefix=$THIRDPARTY_HOME/thrift \ --with-boost=$THIRDPARTY_HOME/boost \ --with-libevent=$THIRDPARTY_HOME/libevent \ CPPFLAGS=-I$THIRDPARTY_HOME/openssl/include \ LDFLAGS=-ldl -L$THIRDPARTY_HOME/openssl/lib \ --with-qt4=no

Re: How to comiple https://github.com/eyjian/thrift?

2015-04-14 Thread 易剑
--with-qt4=no not work 2015-04-14 16:32 GMT+08:00 易剑 eyj...@gmail.com: Thanks, You are right, I remove and checkout again with: git config --global core.autocrlf false git config --global core.safecrlf true git config --global core.eol lf But failed yet: # ./*configure

Re: [jira] [Commented] (THRIFT-3071) bootstrap.sh on Ubuntu 12.04 (Precise) automake error

2015-04-14 Thread 易剑
Config git: [core] autocrlf = false safecrlf = true eol = lf Build success by commenting these lines: 17656 echo with_qt4 = $with_qt4 17657 # if test $with_qt4 = yes; then 17658 #PKG_CHECK_MODULES(QT, QtCore = 4.3, QtNetwork = 4.3, have_qt=yes, have_qt=no) 17659 # fi 17727 #

Re: How to comiple https://github.com/eyjian/thrift?

2015-04-14 Thread 易剑
Build success by commenting these lines: 17656 echo with_qt4 = $with_qt4 17657 # if test $with_qt4 = yes; then 17658 #PKG_CHECK_MODULES(QT, QtCore = 4.3, QtNetwork = 4.3, have_qt=yes, have_qt=no) 17659 # fi 17727 # if test $with_qt5 = yes; then 17728 #

Re: How to comiple https://github.com/eyjian/thrift?

2015-04-14 Thread 易剑
In file included from ./src/thrift/Thrift.h:48, from ./src/thrift/transport/TTransport.h:23, from ./src/thrift/transport/TSocket.h:25, from ./src/thrift/transport/TSSLSocket.h:27, from src/thrift/transport/TSSLSocket.cpp:38:

[jira] [Commented] (THRIFT-3013) make thrift compiler accept a list of input files

2015-04-14 Thread Xiaoshuang LU (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14493918#comment-14493918 ] Xiaoshuang LU commented on THRIFT-3013: --- Hi [~roger.meier], any comments on my

Re: How to comiple https://github.com/eyjian/thrift?

2015-04-14 Thread Jens Geyer
Hi, You don't have to comment them out - in fact, you actually shouldn't do this at all. Instead you may call ./configure with some switches, such as these below, all well documented in ./configure and easily reachable by ./configure --help Have fun, JensG Optional Features:

[GitHub] thrift pull request: THRIFT-3071 fix bootstrap.sh on MinGW

2015-04-14 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/thrift/pull/438 --- 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

[jira] [Commented] (THRIFT-3071) bootstrap.sh on Ubuntu 12.04 (Precise) automake error

2015-04-14 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14494516#comment-14494516 ] ASF GitHub Bot commented on THRIFT-3071: Github user asfgit closed the pull

[jira] [Resolved] (THRIFT-3071) bootstrap.sh on Ubuntu 12.04 (Precise) automake error

2015-04-14 Thread Jens Geyer (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jens Geyer resolved THRIFT-3071. Resolution: Fixed Committed bootstrap.sh on Ubuntu 12.04 (Precise) automake error

Why thrift not add Closure for async call?

2015-04-14 Thread 易剑
// specified for 0 argument template typename R class ClosureR : public ClosureBase { public: virtual R Run() = 0; }; // specified for 1 argument template typename R, typename Arg1 class ClosureR, Arg1 : public ClosureBase { public: virtual R Run(Arg1 arg1) = 0; }; // specified for 2

Re: How to comiple https://github.com/eyjian/thrift?

2015-04-14 Thread 易剑
--with-qt4=no --with-qt5=no --with-c_glib=no not work. ./configure --prefix=$THIRDPARTY_HOME/thrift \ --with-boost=$THIRDPARTY_HOME/boost \ --with-libevent=$THIRDPARTY_HOME/libevent \ CPPFLAGS=-I$THIRDPARTY_HOME/openssl/include \ LDFLAGS=-ldl

[jira] [Commented] (THRIFT-3013) make thrift compiler accept a list of input files

2015-04-14 Thread Roger Meier (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14495704#comment-14495704 ] Roger Meier commented on THRIFT-3013: - Thanks [~in-chief] patch v2 looks good nice,

[jira] [Commented] (THRIFT-3062) C++ TServerSocket invalid port number (over 999999) causes stack corruption

2015-04-14 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14494612#comment-14494612 ] ASF GitHub Bot commented on THRIFT-3062: Github user asfgit closed the pull

[GitHub] thrift pull request: [THRIFT-3088] TThreadPoolServer with Sasl aut...

2015-04-14 Thread jeking3
Github user jeking3 commented on a diff in the pull request: https://github.com/apache/thrift/pull/432#discussion_r28361223 --- Diff: lib/java/src/org/apache/thrift/server/TThreadPoolServer.java --- @@ -303,6 +303,10 @@ public void run() { if (outputTransport != null) {

[GitHub] thrift pull request: THRIFT-3062 fix segfault on invalid port numb...

2015-04-14 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/thrift/pull/425 --- 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

[GitHub] thrift pull request: THRIFT-2441 prevent client connections from d...

2015-04-14 Thread jeking3
Github user jeking3 commented on the pull request: https://github.com/apache/thrift/pull/424#issuecomment-93028344 Getting a windows build going has been really difficult, which is bizarre because it used to be easy. I've tried MinGW, and cygwin, and native with cmake. Each time I

[jira] [Commented] (THRIFT-3062) C++ TServerSocket invalid port number (over 999999) causes stack corruption

2015-04-14 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14494712#comment-14494712 ] Hudson commented on THRIFT-3062: SUCCESS: Integrated in Thrift #1507 (See

[jira] [Commented] (THRIFT-3088) TThreadPoolServer with Sasl auth may leak CLOSE_WAIT socket

2015-04-14 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14494708#comment-14494708 ] ASF GitHub Bot commented on THRIFT-3088: Github user jeking3 commented on a diff

[jira] [Commented] (THRIFT-1857) Python 3.X Support

2015-04-14 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14494744#comment-14494744 ] ASF GitHub Bot commented on THRIFT-1857: Github user asfgit closed the pull

[jira] [Resolved] (THRIFT-3090) cmake build is broken

2015-04-14 Thread Roger Meier (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roger Meier resolved THRIFT-3090. - Resolution: Fixed [~marco.molteni] I've set Cmake to 2.8.12, could you please test again and

[jira] [Commented] (THRIFT-227) Byte[] in collections aren't pretty printed like regular binary fields

2015-04-14 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14494790#comment-14494790 ] ASF GitHub Bot commented on THRIFT-227: --- Github user asfgit closed the pull request

[jira] [Resolved] (THRIFT-227) Byte[] in collections aren't pretty printed like regular binary fields

2015-04-14 Thread Roger Meier (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roger Meier resolved THRIFT-227. Resolution: Cannot Reproduce Fix Version/s: 0.9.3 Assignee: (was: Bryan Duxbury)

[GitHub] thrift pull request: THRIFT-1857 Replace deprecated , with as ...

2015-04-14 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/thrift/pull/440 --- 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

[jira] [Commented] (THRIFT-3090) cmake build is broken

2015-04-14 Thread Roger Meier (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14494758#comment-14494758 ] Roger Meier commented on THRIFT-3090: - Thanks Randy, so we go for 2.8.12 which

[GitHub] thrift pull request: THRIFT-227 Pretty print binary collections in...

2015-04-14 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/thrift/pull/441 --- 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

[GitHub] thrift pull request: THRIFT-3069 fix socket leak if fcntl fails

2015-04-14 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/thrift/pull/419 --- 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

[jira] [Commented] (THRIFT-3069) C++ TServerSocket leaks socket on fcntl get or set flags error

2015-04-14 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14494776#comment-14494776 ] ASF GitHub Bot commented on THRIFT-3069: Github user asfgit closed the pull

[jira] [Resolved] (THRIFT-3069) C++ TServerSocket leaks socket on fcntl get or set flags error

2015-04-14 Thread Roger Meier (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roger Meier resolved THRIFT-3069. - Resolution: Fixed Fix Version/s: 0.9.3 committed C++ TServerSocket leaks socket on

Build failed in Jenkins: Thrift-Compiler-Windows #1613

2015-04-14 Thread Apache Jenkins Server
See https://builds.apache.org/job/Thrift-Compiler-Windows/1613/changes Changes: [roger] THRIFT-1857 Python 3.X Support - Replace deprecated , with as in python exception generation code. [roger] THRIFT-3069 fix socket leak if fcntl fails [roger] THRIFT-3090 cmake build is broken (set CMake

[jira] [Commented] (THRIFT-3088) TThreadPoolServer with Sasl auth may leak CLOSE_WAIT socket

2015-04-14 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14494994#comment-14494994 ] ASF GitHub Bot commented on THRIFT-3088: Github user jeking3 commented on a diff

[GitHub] thrift pull request: THRIFT-3080: fix connection leak of C++ Nonbl...

2015-04-14 Thread jeking3
Github user jeking3 commented on a diff in the pull request: https://github.com/apache/thrift/pull/422#discussion_r28375162 --- Diff: lib/cpp/src/thrift/server/TNonblockingServer.cpp --- @@ -1393,9 +1397,42 @@ bool TNonblockingIOThread::notify(TNonblockingServer::TConnection*

[GitHub] thrift pull request: Fixes nodejs readme syntax

2015-04-14 Thread jeking3
Github user jeking3 commented on the pull request: https://github.com/apache/thrift/pull/411#issuecomment-93084562 Given this was committed, you can close the pull request. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well.

[jira] [Commented] (THRIFT-3069) C++ TServerSocket leaks socket on fcntl get or set flags error

2015-04-14 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14494873#comment-14494873 ] Hudson commented on THRIFT-3069: SUCCESS: Integrated in Thrift #1508 (See

[jira] [Commented] (THRIFT-3090) cmake build is broken

2015-04-14 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14494871#comment-14494871 ] Hudson commented on THRIFT-3090: SUCCESS: Integrated in Thrift #1508 (See

[jira] [Commented] (THRIFT-227) Byte[] in collections aren't pretty printed like regular binary fields

2015-04-14 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14494874#comment-14494874 ] Hudson commented on THRIFT-227: --- SUCCESS: Integrated in Thrift #1508 (See

[jira] [Commented] (THRIFT-1857) Python 3.X Support

2015-04-14 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14494875#comment-14494875 ] Hudson commented on THRIFT-1857: SUCCESS: Integrated in Thrift #1508 (See