rok commented on pull request #11889:
URL: https://github.com/apache/arrow/pull/11889#issuecomment-1029845937
I've noticed that with the original set of abseil dependencies we were
probably getting namespace collisions. That caused some symbols to not be
available. Example error message when doing a static build:
```
cmake \
-GNinja \
-DCMAKE_INSTALL_PREFIX=$ARROW_HOME \
-DCMAKE_INSTALL_LIBDIR=lib \
-DARROW_EXTRA_ERROR_CONTEXT=ON \
-DARROW_GRPC_USE_SHARED=ON \
-DARROW_USE_GLOG=ON \
-DARROW_PARQUET=ON \
-DARROW_WITH_SNAPPY=ON \
-DARROW_DATASET=ON \
-DARROW_CSV=ON \
-DARROW_JSON=ON \
-DARROW_PYTHON=ON \
-DARROW_WITH_LZ4=ON \
-DARROW_FLIGHT=ON \
-DARROW_VERBOSE_THIRDPARTY_BUILD=OFF \
-DCMAKE_BUILD_TYPE="Debug" \
-DARROW_DEPENDENCY_SOURCE=BUNDLED \
..
ninja -j8
```
```
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (any.upb.c.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(any.upb.c.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libupb.a(any.upb.c.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (any.upbdefs.c.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libupb.a(any.upbdefs.c.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(any.upbdefs.c.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (arena.cc.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/protobuf_ep-install/lib/libprotobuf.a(arena.cc.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgpr.a(arena.cc.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (descriptor.upbdefs.c.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(descriptor.upbdefs.c.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libupb.a(descriptor.upbdefs.c.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (duration.upb.c.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(duration.upb.c.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libupb.a(duration.upb.c.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (duration.upbdefs.c.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libupb.a(duration.upbdefs.c.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(duration.upbdefs.c.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (empty.upb.c.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(empty.upb.c.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libupb.a(empty.upb.c.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (empty.upbdefs.c.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libupb.a(empty.upbdefs.c.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(empty.upbdefs.c.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (http.upb.c.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(http.upb.c.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(http.upb.c.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (http.upbdefs.c.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(http.upbdefs.c.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(http.upbdefs.c.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (insecure_credentials.cc.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(insecure_credentials.cc.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/libgrpcpp.a(insecure_credentials.cc.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (json_util.cc.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(json_util.cc.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/protobuf_ep-install/lib/libprotobuf.a(json_util.cc.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (json_util.cc.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/protobuf_ep-install/lib/libprotobuf.a(json_util.cc.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(json_util.cc.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (metadata.upb.c.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(metadata.upb.c.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(metadata.upb.c.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (metadata.upbdefs.c.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(metadata.upbdefs.c.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(metadata.upbdefs.c.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (parser.cc.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/protobuf_ep-install/lib/libprotobuf.a(parser.cc.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(parser.cc.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (resource.upb.c.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(resource.upb.c.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(resource.upb.c.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (resource.upbdefs.c.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(resource.upbdefs.c.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(resource.upbdefs.c.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (status.cc.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/libgrpcpp.a(status.cc.o) and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/protobuf_ep-install/lib/libprotobuf.a(status.cc.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (status.upb.c.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(status.upb.c.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(status.upb.c.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (status.upbdefs.c.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(status.upbdefs.c.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(status.upbdefs.c.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (struct.upb.c.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libupb.a(struct.upb.c.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(struct.upb.c.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (struct.upbdefs.c.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libupb.a(struct.upbdefs.c.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(struct.upbdefs.c.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (time.cc.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgpr.a(time.cc.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/protobuf_ep-install/lib/libprotobuf.a(time.cc.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (timestamp.upb.c.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(timestamp.upb.c.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libupb.a(timestamp.upb.c.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (timestamp.upbdefs.c.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(timestamp.upbdefs.c.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libupb.a(timestamp.upbdefs.c.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (wrappers.upb.c.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(wrappers.upb.c.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libupb.a(wrappers.upb.c.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (wrappers.upbdefs.c.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libupb.a(wrappers.upbdefs.c.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(wrappers.upbdefs.c.o)
due to use of basename, truncation and blank padding
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member
name (xds_credentials.cc.o) in output file used for input files:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/libgrpcpp.a(xds_credentials.cc.o)
and:
/Users/rok/Documents/repos/ARROW-14708/cpp/build/grpc_ep-install/lib/libgrpc.a(xds_credentials.cc.o)
due to use of basename, truncation and blank padding
```
This lead me to removing some abseil packages from flight, but I can't solve
the missing gRPC probably because it's bundled differently.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]