apache / apache/incubator-graphar

bug(ci): The Ubuntu 22.04 C++ CI "Use Static Arrow" is failing

Open
#702 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
373
Forks
93
Avg merge
7d 21h
Merged PRs (30d)
7

Description

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

The first known occurrence was in PR #659 . Below is the error log:
```
...

(.text._ZNK6google5cloud7storage5v2_228internal18GenericRequestBaseINS3_31GetProjectServiceAccountRequestENS2_6FieldsEJNS2_11IfMatchEtagENS2_15IfNoneMatchEtagENS2_9QuotaUserENS2_6UserIpENS2_11UserProjectENS2_22OverrideDefaultProjectEEE11DumpOptionsERSoPKc[_ZNK6google5cloud7storage5v2_228internal18GenericRequestBaseINS3_31GetProjectServiceAccountRequestENS2_6FieldsEJNS2_11IfMatchEtagENS2_15IfNoneMatchEtagENS2_9QuotaUserENS2_6UserIpENS2_11UserProjectENS2_22OverrideDefaultProjectEEE11DumpOptionsERSoPKc]+0x673): undefined reference to `absl::debian3::optional_internal::throw_bad_optional_access()'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/bfs_push_example.dir/build.make:126: bfs_push_example] Error 1
make[1]: *** [CMakeFiles/Makefile2:324: CMakeFiles/bfs_push_example.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/bfs_pull_example.dir/build.make:126: bfs_pull_example] Error 1
make[1]: *** [CMakeFiles/Makefile2:292: CMakeFiles/bfs_pull_example.dir/all] Error 2
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/bfs_stream_example.dir/build.make:126: bfs_stream_example] Error 1
make[1]: *** [CMakeFiles/Makefile2:356: CMakeFiles/bfs_stream_example.dir/all] Error 2
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libarrow.a(gcsfs.cc.o): in function `google::cloud::v2_22::StreamRange::Next()':

...

(.text._ZNK6google5cloud7storage5v2_228internal18GenericRequestBaseINS3_31GetProjectServiceAccountRequestENS2_6FieldsEJNS2_11IfMatchEtagENS2_15IfNoneMatchEtagENS2_9QuotaUserENS2_6UserIpENS2_11UserProjectENS2_22OverrideDefaultProjectEEE11DumpOptionsERSoPKc[_ZNK6google5cloud7storage5v2_228internal18GenericRequestBaseINS3_31GetProjectServiceAccountRequestENS2_6FieldsEJNS2_11IfMatchEtagENS2_15IfNoneMatchEtagENS2_9QuotaUserENS2_6UserIpENS2_11UserProjectENS2_22OverrideDefaultProjectEEE11DumpOptionsERSoPKc]+0x673): undefined reference to `absl::debian3::optional_internal::throw_bad_optional_access()'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/bfs_father_example.dir/build.make:126: bfs_father_example] Error 1
make[1]: *** [CMakeFiles/Makefile2:260: CMakeFiles/bfs_father_example.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
Error: Process completed with exit code 2.
```

Image

### Component(s)

C++, Developer Tools

Contributor guide

Open the contributing guide

Research direction

Start with the Ubuntu 22.04 C++ CI job named "Use Static Arrow" and compare its setup with the failure first reported in PR #659. Trace the undefined Abseil reference in the provided linker log and verify the fix by rerunning the affected CI job and confirming the bfs examples link successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.