See <https://builds.apache.org/job/Thrift-Debian-Packages/188/changes>
Changes:
[ilyam] THRIFT-1204: Ruby autogenerated files should require 'thrift' gem
Library: Ruby
Patch: Ilya Maykov
This patch does 2 things:
1) Adds a "require 'thrift'" line to the *_types.rb and *_constants.rb files,
to be consistent with *_service.rb which was generating the thrift require
already.
2) Adds a "rubygems" option to the --gen rb compiler target. When this option
is specified, the compiler will add a "require 'rubygems'" line to the top
of each gen-rb file. Defaults to false.
------------------------------------------
[...truncated 1366 lines...]
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Build complete.
Don't forget to run 'make test'.
make[1]: Leaving directory
`<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/php/src/ext/thrift_protocol'>
touch build-arch-stamp
# Add here commands to compile the indep part of the package.
#/usr/bin/make doc
# Java
cd <https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/java> &&
\
ant
Buildfile:
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/java/build.xml>
setup.init:
[mkdir] Created dir:
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/java/build>
[mkdir] Created dir:
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/java/build/lib>
[mkdir] Created dir:
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/java/build/tools>
[mkdir] Created dir:
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/java/build/test>
mvn.ant.tasks.check:
proxy:
mvn.ant.tasks.download:
[get] Getting:
http://repo1.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.jar
[get] To:
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/java/build/tools/maven-ant-tasks-2.1.3.jar>
mvn.init:
[artifact:dependencies] [WARNING] Overriding profile:
'maven-ant-tasks-repo-profile' (source: pom) with new instance from source: pom
[copy] Copying 7 files to
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/java/build/lib>
[copy] Copying 3 files to
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/java/build/lib>
init:
compile:
[javac] Compiling 90 source files to
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/java/build>
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
dist:
[mkdir] Created dir:
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/java/build/META-INF>
[copy] Copying 1 file to
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/java/build/META-INF>
[copy] Copying 1 file to
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/java/build/META-INF>
[jar] Building jar:
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/java/build/libthrift-0.9.0-snapshot.jar>
BUILD SUCCESSFUL
Total time: 4 seconds
# C#
/usr/bin/make -C
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/csharp>
make[1]: Entering directory
`<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/csharp'>
gmcs src/Collections/THashSet.cs src/Properties/AssemblyInfo.cs
src/Protocol/TBase.cs src/Protocol/TBase64Utils.cs
src/Protocol/TJSONProtocol.cs src/Protocol/TProtocolException.cs
src/Protocol/TProtocolFactory.cs src/Protocol/TList.cs src/Protocol/TSet.cs
src/Protocol/TMap.cs src/Protocol/TProtocolUtil.cs src/Protocol/TMessageType.cs
src/Protocol/TProtocol.cs src/Protocol/TType.cs src/Protocol/TField.cs
src/Protocol/TMessage.cs src/Protocol/TStruct.cs
src/Protocol/TBinaryProtocol.cs src/Server/TThreadedServer.cs
src/Server/TThreadPoolServer.cs src/Server/TSimpleServer.cs
src/Server/TServer.cs src/Transport/TBufferedTransport.cs
src/Transport/TTransport.cs src/Transport/TSocket.cs
src/Transport/TTransportException.cs src/Transport/TStreamTransport.cs
src/Transport/TFramedTransport.cs src/Transport/TServerTransport.cs
src/Transport/TServerSocket.cs src/Transport/TTransportFactory.cs
src/Transport/THttpClient.cs src/Transport/THttpHandler.cs src/TProcessor.cs
src/TApplicationException.cs /out:Thrift.dll /target:library
/reference:System.Web
src/Protocol/TBinaryProtocol.cs(350,46): warning CS0675: The operator `|' used
on the sign-extended type `int'. Consider casting to a smaller unsigned type
first
Compilation succeeded - 1 warning(s)
make[1]: Leaving directory
`<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/csharp'>
# Ruby
/usr/bin/make -C
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/rb>
make[1]: Entering directory
`<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/rb'>
/usr/bin/rake
../../compiler/cpp/thrift --gen rb -o
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/rb/spec>
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/rb/spec/ThriftSpec.thrift>
(in <https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/rb)>
../../compiler/cpp/thrift --gen rb -o
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/rb/benchmark>
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/rb/benchmark/Benchmark.thrift>
mkdir -p test/debug_proto
../../compiler/cpp/thrift --gen rb -o test/debug_proto
../../test/DebugProtoTest.thrift
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:41]
64-bit constant "10000000000" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:173]
64-bit constant "1099511627775" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:183]
64-bit constant "4294967295" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:183]
64-bit constant "1099511627775" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:183]
64-bit constant "281474976710655" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:183]
64-bit constant "72057594037927935" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:183]
64-bit constant "9223372036854775807" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:192]
64-bit constant "4294967295" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:192]
64-bit constant "1099511627775" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:192]
64-bit constant "281474976710655" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:192]
64-bit constant "72057594037927935" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:192]
64-bit constant "9223372036854775807" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:201]
64-bit constant "9223372036854775807" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:208]
64-bit constant "9223372036854775807" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:355]
No field key specified for field1, resulting protocol may have conflicts or
not be backwards compatible!
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:356]
No field key specified for field2, resulting protocol may have conflicts or
not be backwards compatible!
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:357]
No field key specified for field3, resulting protocol may have conflicts or
not be backwards compatible!
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:358]
No field key specified for field4, resulting protocol may have conflicts or
not be backwards compatible!
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:359]
No field key specified for field5, resulting protocol may have conflicts or
not be backwards compatible!
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:360]
No field key specified for field6, resulting protocol may have conflicts or
not be backwards compatible!
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:361]
No field key specified for field7, resulting protocol may have conflicts or
not be backwards compatible!
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:362]
No field key specified for field8, resulting protocol may have conflicts or
not be backwards compatible!
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:363]
No field key specified for field9, resulting protocol may have conflicts or
not be backwards compatible!
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:364]
No field key specified for field10, resulting protocol may have conflicts or
not be backwards compatible!
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:365]
No field key specified for field11, resulting protocol may have conflicts or
not be backwards compatible!
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:366]
No field key specified for field12, resulting protocol may have conflicts or
not be backwards compatible!
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:41]
64-bit constant "10000000000" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:173]
64-bit constant "1099511627775" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:183]
64-bit constant "4294967295" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:183]
64-bit constant "1099511627775" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:183]
64-bit constant "281474976710655" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:183]
64-bit constant "72057594037927935" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:183]
64-bit constant "9223372036854775807" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:192]
64-bit constant "4294967295" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:192]
64-bit constant "1099511627775" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:192]
64-bit constant "281474976710655" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:192]
64-bit constant "72057594037927935" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:192]
64-bit constant "9223372036854775807" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:201]
64-bit constant "9223372036854775807" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:208]
64-bit constant "9223372036854775807" may not work in all languages.
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:355]
No field key specified for field1, resulting protocol may have conflicts or
not be backwards compatible!
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:356]
No field key specified for field2, resulting protocol may have conflicts or
not be backwards compatible!
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:357]
No field key specified for field3, resulting protocol may have conflicts or
not be backwards compatible!
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:358]
No field key specified for field4, resulting protocol may have conflicts or
not be backwards compatible!
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:359]
No field key specified for field5, resulting protocol may have conflicts or
not be backwards compatible!
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:360]
No field key specified for field6, resulting protocol may have conflicts or
not be backwards compatible!
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:361]
No field key specified for field7, resulting protocol may have conflicts or
not be backwards compatible!
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:362]
No field key specified for field8, resulting protocol may have conflicts or
not be backwards compatible!
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:363]
No field key specified for field9, resulting protocol may have conflicts or
not be backwards compatible!
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:364]
No field key specified for field10, resulting protocol may have conflicts or
not be backwards compatible!
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:365]
No field key specified for field11, resulting protocol may have conflicts or
not be backwards compatible!
[WARNING:<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/test/DebugProtoTest.thrift>:366]
No field key specified for field12, resulting protocol may have conflicts or
not be backwards compatible!
ruby extconf.rb
checking for strlcpy() in string.h... no
creating Makefile
make
make[2]: Entering directory
`<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/rb/ext'>
gcc -I. -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -fPIC -g -O2 -Wall -Werror
-c thrift_native.c
gcc -I. -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -fPIC -g -O2 -Wall -Werror
-c memory_buffer.c
gcc -I. -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -fPIC -g -O2 -Wall -Werror
-c protocol.c
gcc -I. -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -fPIC -g -O2 -Wall -Werror
-c strlcpy.c
gcc -I. -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -fPIC -g -O2 -Wall -Werror
-c struct.c
gcc -I. -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -fPIC -g -O2 -Wall -Werror
-c binary_protocol_accelerated.c
gcc -I. -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -fPIC -g -O2 -Wall -Werror
-c compact_protocol.c
gcc -shared -o thrift_native.so thrift_native.o memory_buffer.o protocol.o
strlcpy.o struct.o binary_protocol_accelerated.o compact_protocol.o -L.
-L/usr/lib -L. -Wl,-Bsymbolic-functions -rdynamic -Wl,-export-dynamic
-lruby1.8 -lpthread -lrt -ldl -lcrypt -lm -lc
make[2]: Leaving directory
`<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/rb/ext'>
..*..........................................FFF......................................................................................................................................................................................................................................................................................................FFF....
Pending:
Thrift::Client should increment the sequence id when sending messages (it seems
sequence ids are completely ignored right now)
./spec/client_spec.rb:56
1)
NoMethodError in 'Thrift::BinaryProtocolAccelerated should perform a complete
rpc with no args or return'
undefined method `close' for nil:NilClass
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/rb/spec/binary_protocol_spec_shared.rb>:358:in
`srv_test'
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/rb/spec/binary_protocol_spec_shared.rb>:306:
2)
NoMethodError in 'Thrift::BinaryProtocolAccelerated should perform a complete
rpc with a primitive return type'
undefined method `close' for nil:NilClass
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/rb/spec/binary_protocol_spec_shared.rb>:358:in
`srv_test'
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/rb/spec/binary_protocol_spec_shared.rb>:313:
3)
NoMethodError in 'Thrift::BinaryProtocolAccelerated should perform a complete
rpc with a struct return type'
undefined method `close' for nil:NilClass
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/rb/spec/binary_protocol_spec_shared.rb>:358:in
`srv_test'
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/rb/spec/binary_protocol_spec_shared.rb>:320:
4)
NoMethodError in 'Thrift::BinaryProtocol should perform a complete rpc with no
args or return'
undefined method `close' for nil:NilClass
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/rb/spec/binary_protocol_spec_shared.rb>:358:in
`srv_test'
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/rb/spec/binary_protocol_spec_shared.rb>:306:
5)
NoMethodError in 'Thrift::BinaryProtocol should perform a complete rpc with a
primitive return type'
undefined method `close' for nil:NilClass
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/rb/spec/binary_protocol_spec_shared.rb>:358:in
`srv_test'
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/rb/spec/binary_protocol_spec_shared.rb>:313:
6)
NoMethodError in 'Thrift::BinaryProtocol should perform a complete rpc with a
struct return type'
undefined method `close' for nil:NilClass
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/rb/spec/binary_protocol_spec_shared.rb>:358:in
`srv_test'
<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/rb/spec/binary_protocol_spec_shared.rb>:320:
Finished in 2.996205 seconds
349 examples, 6 failures, 1 pending
rake aborted!
Command /usr/bin/ruby1.8 -I"lib" "/usr/bin/spec" "spec/client_spec.rb"
"spec/binary_protocol_accelerated_spec.rb" "spec/http_client_spec.rb"
"spec/base_transport_spec.rb" "spec/serializer_spec.rb"
"spec/nonblocking_server_spec.rb" "spec/unix_socket_spec.rb"
"spec/exception_spec.rb" "spec/server_socket_spec.rb" "spec/processor_spec.rb"
"spec/types_spec.rb" "spec/struct_nested_containers_spec.rb"
"spec/mongrel_http_server_spec.rb" "spec/base_protocol_spec.rb"
"spec/union_spec.rb" "spec/server_spec.rb" "spec/struct_spec.rb"
"spec/json_protocol_spec.rb" "spec/socket_spec.rb"
"spec/compact_protocol_spec.rb" "spec/binary_protocol_spec.rb" --color failed
(See full trace by running task with --trace)
make[1]: *** [all-local] Error 1
make[1]: Leaving directory
`<https://builds.apache.org/job/Thrift-Debian-Packages/ws/thrift/lib/rb'>
make: *** [build-indep-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Build step 'Execute shell' marked build as failure
Archiving artifacts