[GH-ISSUE #1339] No way to compile on Linux Mint #1054

Closed
opened 2026-05-05 07:24:48 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @HattDroid on GitHub (Oct 27, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1339

What happened?

Hi,

There's no way to compile barrier on Linux Mint since around March of this year, it has the case on any commit ever since.

When compiling, I have the output attached in the log.

It seems that the CMakefile is trying to use 'bcc' to compile the project but it's not succeeding at the comipler's tests.
Could you please help with this situation?

Thanks.

Version

From Git HEAD or commit (specify below)

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

Sources

What OSes are you seeing the problem on? (Check all that apply)

Linux

What OS versions are you using?

Linux Mint 20.2

Relevant log output

Starting Barrier Debug build...
-- The C compiler identification is GNU 11.1.0
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/bcc
-- Check for working CXX compiler: /usr/bin/bcc -- broken
CMake Error at /usr/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:53 (message):
  The C++ compiler

    "/usr/bin/bcc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: <REDACTED_PATH>/barrier/build/CMakeFiles/CMakeTmp
    
    Run Build Command(s):/usr/bin/make cmTC_8c0f0/fast && /usr/bin/make -f CMakeFiles/cmTC_8c0f0.dir/build.make CMakeFiles/cmTC_8c0f0.dir/build
    make[1]: Entering directory '<REDACTED_PATH>/barrier/build/CMakeFiles/CMakeTmp'
    Building CXX object CMakeFiles/cmTC_8c0f0.dir/testCXXCompiler.cxx.o
    /usr/bin/bcc     -o CMakeFiles/cmTC_8c0f0.dir/testCXXCompiler.cxx.o -c <REDACTED_PATH>/barrier/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
    Linking CXX executable cmTC_8c0f0
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8c0f0.dir/link.txt --verbose=1
    /usr/bin/bcc       CMakeFiles/cmTC_8c0f0.dir/testCXXCompiler.cxx.o  -o cmTC_8c0f0 
    ld86: cannot open input file crt0.o
    make[1]: *** [CMakeFiles/cmTC_8c0f0.dir/build.make:87: cmTC_8c0f0] Error 1
    make[1]: Leaving directory '<REDACTED_PATH>/barrier/build/CMakeFiles/CMakeTmp'
    make: *** [Makefile:121: cmTC_8c0f0/fast] Error 2
    
    

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:19 (project)


-- Configuring incomplete, errors occurred!
See also "<REDACTED_PATH>/barrier/build/CMakeFiles/CMakeOutput.log".
See also "<REDACTED_PATH>/barrier/build/CMakeFiles/CMakeError.log".

Any other information

No response

Originally created by @HattDroid on GitHub (Oct 27, 2021). Original GitHub issue: https://github.com/debauchee/barrier/issues/1339 ### What happened? Hi, There's no way to compile barrier on Linux Mint since around March of this year, it has the case on any commit ever since. When compiling, I have the output attached in the log. It seems that the CMakefile is trying to use 'bcc' to compile the project but it's not succeeding at the comipler's tests. Could you please help with this situation? Thanks. ### Version From Git HEAD or commit (specify below) ### Git commit hash (if applicable) _No response_ ### If applicable, where did you install Barrier from? Sources ### What OSes are you seeing the problem on? (Check all that apply) Linux ### What OS versions are you using? Linux Mint 20.2 ### Relevant log output ```shell Starting Barrier Debug build... -- The C compiler identification is GNU 11.1.0 -- The CXX compiler identification is unknown -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/bcc -- Check for working CXX compiler: /usr/bin/bcc -- broken CMake Error at /usr/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:53 (message): The C++ compiler "/usr/bin/bcc" is not able to compile a simple test program. It fails with the following output: Change Dir: <REDACTED_PATH>/barrier/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_8c0f0/fast && /usr/bin/make -f CMakeFiles/cmTC_8c0f0.dir/build.make CMakeFiles/cmTC_8c0f0.dir/build make[1]: Entering directory '<REDACTED_PATH>/barrier/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_8c0f0.dir/testCXXCompiler.cxx.o /usr/bin/bcc -o CMakeFiles/cmTC_8c0f0.dir/testCXXCompiler.cxx.o -c <REDACTED_PATH>/barrier/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx Linking CXX executable cmTC_8c0f0 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8c0f0.dir/link.txt --verbose=1 /usr/bin/bcc CMakeFiles/cmTC_8c0f0.dir/testCXXCompiler.cxx.o -o cmTC_8c0f0 ld86: cannot open input file crt0.o make[1]: *** [CMakeFiles/cmTC_8c0f0.dir/build.make:87: cmTC_8c0f0] Error 1 make[1]: Leaving directory '<REDACTED_PATH>/barrier/build/CMakeFiles/CMakeTmp' make: *** [Makefile:121: cmTC_8c0f0/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:19 (project) -- Configuring incomplete, errors occurred! See also "<REDACTED_PATH>/barrier/build/CMakeFiles/CMakeOutput.log". See also "<REDACTED_PATH>/barrier/build/CMakeFiles/CMakeError.log". ``` ### Any other information _No response_
gitea-mirror 2026-05-05 07:24:48 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@shymega commented on GitHub (Oct 28, 2021):

It compiles fine on Fedora. I suspect your system has a broken C++ toolchain. Can you compile on another Mint machine?

On Wed, Oct 27, 2021, at 6:38 PM, Hatt.Droid wrote:

What happened?

Hi,

There's no way to compile barrier on Linux Mint since around March of
this year, it has the case on any commit ever since.

When compiling, I have the output attached in the log.

It seems that the CMakefile is trying to use 'bcc' to compile the
project but it's not succeeding at the comipler's tests.
Could you please help with this situation?

Thanks.

Version

From Git HEAD or commit (specify below)

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

Sources

What OSes are you seeing the problem on? (Check all that apply)

Linux

What OS versions are you using?

Linux Mint 20.2

Relevant log output

Starting Barrier Debug build...
-- The C compiler identification is GNU 11.1.0
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/bcc
-- Check for working CXX compiler: /usr/bin/bcc -- broken
CMake Error at
/usr/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:53 (message):
The C++ compiler

"/usr/bin/bcc"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: <REDACTED_PATH>/barrier/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_8c0f0/fast && /usr/bin/make 

-f CMakeFiles/cmTC_8c0f0.dir/build.make CMakeFiles/cmTC_8c0f0.dir/build
make[1]: Entering directory
'<REDACTED_PATH>/barrier/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_8c0f0.dir/testCXXCompiler.cxx.o
/usr/bin/bcc -o CMakeFiles/cmTC_8c0f0.dir/testCXXCompiler.cxx.o
-c <REDACTED_PATH>/barrier/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_8c0f0
/usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTC_8c0f0.dir/link.txt --verbose=1
/usr/bin/bcc CMakeFiles/cmTC_8c0f0.dir/testCXXCompiler.cxx.o
-o cmTC_8c0f0
ld86: cannot open input file crt0.o
make[1]: *** [CMakeFiles/cmTC_8c0f0.dir/build.make:87: cmTC_8c0f0]
Error 1
make[1]: Leaving directory
'<REDACTED_PATH>/barrier/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_8c0f0/fast] Error 2

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:19 (project)

-- Configuring incomplete, errors occurred!
See also "<REDACTED_PATH>/barrier/build/CMakeFiles/CMakeOutput.log".
See also "<REDACTED_PATH>/barrier/build/CMakeFiles/CMakeError.log".
Any other information

No response


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/debauchee/barrier/issues/1339, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKF2QHIU7EZTW3FWLLWAATUJBBK7ANCNFSM5G25G2LQ.

--
Kind regards,

Dom Rodriguez (also known as shymega)

<!-- gh-comment-id:953856270 --> @shymega commented on GitHub (Oct 28, 2021): It compiles fine on Fedora. I suspect your system has a broken C++ toolchain. Can you compile on another Mint machine? On Wed, Oct 27, 2021, at 6:38 PM, Hatt.Droid wrote: > What happened? > > Hi, > > There's no way to compile barrier on Linux Mint since around March of > this year, it has the case on any commit ever since. > > When compiling, I have the output attached in the log. > > It seems that the CMakefile is trying to use 'bcc' to compile the > project but it's not succeeding at the comipler's tests. > Could you please help with this situation? > > Thanks. > > Version > > From Git HEAD or commit (specify below) > > Git commit hash (if applicable) > > *No response* > > If applicable, where did you install Barrier from? > > Sources > > What OSes are you seeing the problem on? (Check all that apply) > > Linux > > What OS versions are you using? > > Linux Mint 20.2 > > Relevant log output > > Starting Barrier Debug build... > -- The C compiler identification is GNU 11.1.0 > -- The CXX compiler identification is unknown > -- Check for working C compiler: /usr/bin/cc > -- Check for working C compiler: /usr/bin/cc -- works > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Detecting C compile features > -- Detecting C compile features - done > -- Check for working CXX compiler: /usr/bin/bcc > -- Check for working CXX compiler: /usr/bin/bcc -- broken > CMake Error at > /usr/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:53 (message): > The C++ compiler > > "/usr/bin/bcc" > > is not able to compile a simple test program. > > It fails with the following output: > > Change Dir: <REDACTED_PATH>/barrier/build/CMakeFiles/CMakeTmp > > Run Build Command(s):/usr/bin/make cmTC_8c0f0/fast && /usr/bin/make > -f CMakeFiles/cmTC_8c0f0.dir/build.make CMakeFiles/cmTC_8c0f0.dir/build > make[1]: Entering directory > '<REDACTED_PATH>/barrier/build/CMakeFiles/CMakeTmp' > Building CXX object CMakeFiles/cmTC_8c0f0.dir/testCXXCompiler.cxx.o > /usr/bin/bcc -o CMakeFiles/cmTC_8c0f0.dir/testCXXCompiler.cxx.o > -c <REDACTED_PATH>/barrier/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx > Linking CXX executable cmTC_8c0f0 > /usr/bin/cmake -E cmake_link_script > CMakeFiles/cmTC_8c0f0.dir/link.txt --verbose=1 > /usr/bin/bcc CMakeFiles/cmTC_8c0f0.dir/testCXXCompiler.cxx.o > -o cmTC_8c0f0 > ld86: cannot open input file crt0.o > make[1]: *** [CMakeFiles/cmTC_8c0f0.dir/build.make:87: cmTC_8c0f0] > Error 1 > make[1]: Leaving directory > '<REDACTED_PATH>/barrier/build/CMakeFiles/CMakeTmp' > make: *** [Makefile:121: cmTC_8c0f0/fast] Error 2 > > > > > > CMake will not be able to correctly generate this project. > Call Stack (most recent call first): > CMakeLists.txt:19 (project) > > > -- Configuring incomplete, errors occurred! > See also "<REDACTED_PATH>/barrier/build/CMakeFiles/CMakeOutput.log". > See also "<REDACTED_PATH>/barrier/build/CMakeFiles/CMakeError.log". > Any other information > > *No response* > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <https://github.com/debauchee/barrier/issues/1339>, or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AAKF2QHIU7EZTW3FWLLWAATUJBBK7ANCNFSM5G25G2LQ>. -- Kind regards, -- Dom Rodriguez (also known as shymega)
Author
Owner

@HattDroid commented on GitHub (Oct 28, 2021):

Your guess was 100% right, I've just tried on a fresh Ubuntu 20.04 VM and it worked perfectly (except the installation of libqt4-dev which seems wrong/outdated on the wiki).

I suspect that this is likely related to this ppa I used on my first machine:
https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test

g++ seems totally broken there.
The issue is not related to barrier at all.

Thanks a lot for the help! Really appreciated.

<!-- gh-comment-id:954248495 --> @HattDroid commented on GitHub (Oct 28, 2021): Your guess was 100% right, I've just tried on a fresh Ubuntu 20.04 VM and it worked perfectly (except the installation of libqt4-dev which seems wrong/outdated on the wiki). I suspect that this is likely related to this ppa I used on my first machine: https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test g++ seems totally broken there. The issue is not related to barrier at all. Thanks a lot for the help! Really appreciated.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#1054
No description provided.