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

[Packaging][CentOS] Failed to build RPM for CentOS 9 Stream #37715

Closed
kou opened this issue Sep 14, 2023 · 0 comments · Fixed by #37718
Closed

[Packaging][CentOS] Failed to build RPM for CentOS 9 Stream #37715

kou opened this issue Sep 14, 2023 · 0 comments · Fixed by #37718

Comments

@kou
Copy link
Member

kou commented Sep 14, 2023

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

https://github.com/ursacomputing/crossbow/actions/runs/6170008018/job/16745412708#step:8:1983

-- Check for working C compiler: /opt/rh/gcc-toolset-12/root/usr/bin/gcc - broken
  The C compiler

    "/opt/rh/gcc-toolset-12/root/usr/bin/gcc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /root/rpmbuild/BUILD/apache-arrow-14.0.0.dev139/cpp/redhat-linux-build/CMakeFiles/CMakeTmp
    
    Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_ca445/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_ca445.dir/build.make CMakeFiles/cmTC_ca445.dir/build
    gmake[1]: Entering directory '/build/rpmbuild/BUILD/apache-arrow-14.0.0.dev139/cpp/redhat-linux-build/CMakeFiles/CMakeTmp'
    Building C object CMakeFiles/cmTC_ca445.dir/testCCompiler.c.o
    /opt/rh/gcc-toolset-12/root/usr/bin/gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection  -o CMakeFiles/cmTC_ca445.dir/testCCompiler.c.o -c /root/rpmbuild/BUILD/apache-arrow-14.0.0.dev139/cpp/redhat-linux-build/CMakeFiles/CMakeTmp/testCCompiler.c
    cc1: fatal error: inaccessible plugin file /opt/rh/gcc-toolset-12/root/usr/lib/gcc/x86_64-redhat-linux/12/plugin/annobin.so expanded from short plugin name annobin: No such file or directory
    compilation terminated.

Component(s)

Packaging

@kou kou added the Type: bug label Sep 14, 2023
kou added a commit to kou/arrow that referenced this issue Sep 14, 2023
We can use default g++ by using shared LLVM library.
@kou kou added this to the 14.0.0 milestone Sep 15, 2023
kou added a commit that referenced this issue Sep 15, 2023
)

### Rationale for this change

We can use default g++ by using shared LLVM library.

### What changes are included in this PR?

Use default g++ and remove needless `llvm-static`.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

Yes.
* Closes: #37715

Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
loicalleyne pushed a commit to loicalleyne/arrow that referenced this issue Nov 13, 2023
apache#37718)

### Rationale for this change

We can use default g++ by using shared LLVM library.

### What changes are included in this PR?

Use default g++ and remove needless `llvm-static`.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

Yes.
* Closes: apache#37715

Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
dgreiss pushed a commit to dgreiss/arrow that referenced this issue Feb 19, 2024
apache#37718)

### Rationale for this change

We can use default g++ by using shared LLVM library.

### What changes are included in this PR?

Use default g++ and remove needless `llvm-static`.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

Yes.
* Closes: apache#37715

Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
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