Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C++] Azure SDK for C++ build is failed with unity build #37488

Closed
kou opened this issue Aug 31, 2023 · 0 comments · Fixed by #37489
Closed

[C++] Azure SDK for C++ build is failed with unity build #37488

kou opened this issue Aug 31, 2023 · 0 comments · Fixed by #37489
Assignees
Milestone

Comments

@kou
Copy link
Member

kou commented Aug 31, 2023

Describe the bug, including details regarding any error messages, version, and platform.

test-ubuntu-22.04-docs

https://github.com/ursacomputing/crossbow/actions/runs/6033190366/job/16369520061#step:7:6744

FAILED: _deps/azure_sdk-build/sdk/core/azure-core/CMakeFiles/azure-core.dir/Unity/unity_2_cxx.cxx.o 
/usr/bin/ccache /usr/lib/ccache/c++ -DARROW_HAVE_RUNTIME_AVX2 -DARROW_HAVE_RUNTIME_AVX512 -DARROW_HAVE_RUNTIME_BMI2 -DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 -DARROW_NO_DEPRECATED_API -DARROW_WITH_RE2 -DARROW_WITH_TIMING_TESTS -DARROW_WITH_UTF8PROC -DAZ_RTTI -DBUILD_CURL_HTTP_TRANSPORT_ADAPTER -I/build/cpp/_deps/azure_sdk-src/sdk/core/azure-core/inc -fdiagnostics-color=always -g -Werror -O0 -ggdb -g1 -Wno-error -fPIC -fno-operator-names -Wold-style-cast -Wall -Wextra -pedantic -std=c++14 -MD -MT _deps/azure_sdk-build/sdk/core/azure-core/CMakeFiles/azure-core.dir/Unity/unity_2_cxx.cxx.o -MF _deps/azure_sdk-build/sdk/core/azure-core/CMakeFiles/azure-core.dir/Unity/unity_2_cxx.cxx.o.d -o _deps/azure_sdk-build/sdk/core/azure-core/CMakeFiles/azure-core.dir/Unity/unity_2_cxx.cxx.o -c /build/cpp/_deps/azure_sdk-build/sdk/core/azure-core/CMakeFiles/azure-core.dir/Unity/unity_2_cxx.cxx
In file included from /build/cpp/_deps/azure_sdk-build/sdk/core/azure-core/CMakeFiles/azure-core.dir/Unity/unity_2_cxx.cxx:17:
/build/cpp/_deps/azure_sdk-src/sdk/core/azure-core/src/http/url.cpp: In function 'bool {anonymous}::ShouldEncode(char)':
/build/cpp/_deps/azure_sdk-src/sdk/core/azure-core/src/http/url.cpp:136:11: error: reference to '_internal' is ambiguous
  136 |   return !_internal::StringExtensions::IsAlphaNumeric(c)
      |           ^~~~~~~~~
In file included from /build/cpp/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/case_insensitive_containers.hpp:11,
                 from /build/cpp/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/http/policies/policy.hpp:11,
                 from /build/cpp/_deps/azure_sdk-src/sdk/core/azure-core/src/http/policy.cpp:4,
                 from /build/cpp/_deps/azure_sdk-build/sdk/core/azure-core/CMakeFiles/azure-core.dir/Unity/unity_2_cxx.cxx:3:
/build/cpp/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/strings.hpp:15:46: note: candidates are: 'namespace Azure::Core::_internal { }'
   15 | namespace Azure { namespace Core { namespace _internal {
      |                                              ^~~~~~~~~
In file included from /build/cpp/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/http/raw_response.hpp:13,
                 from /build/cpp/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/exception.hpp:12,
                 from /build/cpp/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/http/http.hpp:13,
                 from /build/cpp/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/http/policies/policy.hpp:15,
                 from /build/cpp/_deps/azure_sdk-src/sdk/core/azure-core/src/http/policy.cpp:4,
                 from /build/cpp/_deps/azure_sdk-build/sdk/core/azure-core/CMakeFiles/azure-core.dir/Unity/unity_2_cxx.cxx:3:
/build/cpp/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/io/body_stream.hpp:163:13: note:                 'namespace Azure::Core::IO::_internal { }'
  163 |   namespace _internal {
      |             ^~~~~~~~~
In file included from /build/cpp/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/http/policies/policy.hpp:15,
                 from /build/cpp/_deps/azure_sdk-src/sdk/core/azure-core/src/http/policy.cpp:4,
                 from /build/cpp/_deps/azure_sdk-build/sdk/core/azure-core/CMakeFiles/azure-core.dir/Unity/unity_2_cxx.cxx:3:
/build/cpp/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/http/http.hpp:166:34: note:                 'namespace Azure::Core::Http::Policies::_internal { }'
  166 |   namespace Policies { namespace _internal {
      |                                  ^~~~~~~~~
/build/cpp/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/http/http.hpp:382:13: note:                 'namespace Azure::Core::Http::_internal { }'
  382 |   namespace _internal {
      |             ^~~~~~~~~

Component(s)

C++

@kou kou added the Type: bug label Aug 31, 2023
kou added a commit to kou/arrow that referenced this issue Aug 31, 2023
It seems that Azure SDK for C++ doesn't support unity build.
@kou kou closed this as completed in #37489 Sep 1, 2023
kou added a commit that referenced this issue Sep 1, 2023
### Rationale for this change

It seems that Azure SDK for C++ doesn't support unity build.

### What changes are included in this PR?

Force to disable unity build.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: #37488

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
@kou kou added this to the 14.0.0 milestone Sep 1, 2023
loicalleyne pushed a commit to loicalleyne/arrow that referenced this issue Nov 13, 2023
…he#37489)

### Rationale for this change

It seems that Azure SDK for C++ doesn't support unity build.

### What changes are included in this PR?

Force to disable unity build.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: apache#37488

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
dgreiss pushed a commit to dgreiss/arrow that referenced this issue Feb 19, 2024
…he#37489)

### Rationale for this change

It seems that Azure SDK for C++ doesn't support unity build.

### What changes are included in this PR?

Force to disable unity build.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: apache#37488

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant