[GH-ISSUE #1610] Barrier 2.4 release #1193

Open
opened 2026-05-05 07:34:40 -06:00 by gitea-mirror · 8 comments
Owner

Originally created by @mariolpantunes on GitHub (Mar 14, 2022).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1610

What happened?

Dear developers,

I am the maintainer of the barrier Slackware package.
In version 2.3.3 there was a release named barrier-2.3.3-release.tar.gz that could be compiled without any issues.
In the current version (2.4.0) that version does not exist, and the actual source code requires that I imported other libs with a git repository (at least that is my interpretation of the compilation issues).

Can you release a source code version that is complete?

Version

v2.4.0

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

No response

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

Linux

What OS versions are you using?

Slackware

Relevant log output

CMake Error at cmake/gtest.cmake:33 (add_library):
  Cannot find source file:

    ../ext/gtest/src/gtest-all.cc

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
  .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
Call Stack (most recent call first):
  src/CMakeLists.txt:23 (include)


CMake Error at cmake/gtest.cmake:34 (add_library):
  Cannot find source file:

    ../ext/gmock/src/gmock-all.cc

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
  .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
Call Stack (most recent call first):
  src/CMakeLists.txt:23 (include)


CMake Error at cmake/gtest.cmake:33 (add_library):
  No SOURCES given to target: gtest
Call Stack (most recent call first):
  src/CMakeLists.txt:23 (include)


CMake Error at cmake/gtest.cmake:34 (add_library):
  No SOURCES given to target: gmock
Call Stack (most recent call first):
  src/CMakeLists.txt:23 (include)

Any other information

No response

Originally created by @mariolpantunes on GitHub (Mar 14, 2022). Original GitHub issue: https://github.com/debauchee/barrier/issues/1610 ### What happened? Dear developers, I am the maintainer of the barrier Slackware package. In version 2.3.3 there was a release named [barrier-2.3.3-release.tar.gz](https://github.com/debauchee/barrier/releases/download/v2.3.3/barrier-2.3.3-release.tar.gz) that could be compiled without any issues. In the current version (2.4.0) that version does not exist, and the actual source code requires that I imported other libs with a git repository (at least that is my interpretation of the compilation issues). Can you release a source code version that is complete? ### Version v2.4.0 ### Git commit hash (if applicable) _No response_ ### If applicable, where did you install Barrier from? _No response_ ### What OSes are you seeing the problem on? (Check all that apply) Linux ### What OS versions are you using? Slackware ### Relevant log output ```shell CMake Error at cmake/gtest.cmake:33 (add_library): Cannot find source file: ../ext/gtest/src/gtest-all.cc Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc Call Stack (most recent call first): src/CMakeLists.txt:23 (include) CMake Error at cmake/gtest.cmake:34 (add_library): Cannot find source file: ../ext/gmock/src/gmock-all.cc Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc Call Stack (most recent call first): src/CMakeLists.txt:23 (include) CMake Error at cmake/gtest.cmake:33 (add_library): No SOURCES given to target: gtest Call Stack (most recent call first): src/CMakeLists.txt:23 (include) CMake Error at cmake/gtest.cmake:34 (add_library): No SOURCES given to target: gmock Call Stack (most recent call first): src/CMakeLists.txt:23 (include) ``` ### Any other information _No response_
Author
Owner

@AzerSD commented on GitHub (Apr 7, 2022):

I have the same problem on kali linux
did you manage to fix the problem?

<!-- gh-comment-id:1091138389 --> @AzerSD commented on GitHub (Apr 7, 2022): I have the same problem on kali linux did you manage to fix the problem?
Author
Owner

@mariolpantunes commented on GitHub (Apr 13, 2022):

I did not find any solution yet.
The best fix would release a compressed file with the full code to compile the barrier program.

<!-- gh-comment-id:1098219353 --> @mariolpantunes commented on GitHub (Apr 13, 2022): I did not find any solution yet. The best fix would release a compressed file with the full code to compile the barrier program.
Author
Owner

@smigad commented on GitHub (Aug 8, 2022):

you should clone the full repo, checkout the v2.4.0 branch, init and update the git submodules then do the build. The 2.4 source code release as @mariolpantunes said doesn't have everything.

<!-- gh-comment-id:1207838001 --> @smigad commented on GitHub (Aug 8, 2022): you should clone the full repo, checkout the v2.4.0 branch, init and update the git submodules then do the build. The 2.4 source code release as @mariolpantunes said doesn't have everything.
Author
Owner

@maouache commented on GitHub (Dec 15, 2022):

Hello guys i have the same error like you do you have any solution for cmake error gtest ??? pleassee

<!-- gh-comment-id:1353024515 --> @maouache commented on GitHub (Dec 15, 2022): Hello guys i have the same error like you do you have any solution for cmake error gtest ??? pleassee
Author
Owner

@reiserfs commented on GitHub (Mar 10, 2023):

I know it is an old issue, but i did not find an official slackbuild for 2.4.0.

So i found a solution based on what @dagiopia said, there is a problem that one submodule was moved and you have to download the submodules manually.

So here is the slackbuild working with 2.4.0 (tested on Slackware 15 current)
https://github.com/reiserfs/barrier-Slackbuild

<!-- gh-comment-id:1464497618 --> @reiserfs commented on GitHub (Mar 10, 2023): I know it is an old issue, but i did not find an official slackbuild for 2.4.0. So i found a solution based on what @dagiopia said, there is a problem that one submodule was moved and you have to download the submodules manually. So here is the slackbuild working with 2.4.0 (tested on Slackware 15 current) https://github.com/reiserfs/barrier-Slackbuild
Author
Owner

@reiserfs commented on GitHub (Mar 10, 2023):

@mariolpantunes as you are the official maintainer you can update on slackbuilds.org

<!-- gh-comment-id:1464500022 --> @reiserfs commented on GitHub (Mar 10, 2023): @mariolpantunes as you are the official maintainer you can update on slackbuilds.org
Author
Owner

@mariolpantunes commented on GitHub (Mar 12, 2023):

I can try to update the slackbuild in that manner.
Just give me a couple of days.

<!-- gh-comment-id:1465282491 --> @mariolpantunes commented on GitHub (Mar 12, 2023): I can try to update the slackbuild in that manner. Just give me a couple of days.
Author
Owner

@mariolpantunes commented on GitHub (Apr 12, 2023):

I wrote a new version of the slackbuild script here.
I can try to submit this version to Slackbuilds, but since it downloads the source from GitHub it will probably be declined.

<!-- gh-comment-id:1504899211 --> @mariolpantunes commented on GitHub (Apr 12, 2023): I wrote a new version of the slackbuild script [here](https://github.com/mariolpantunes/slackware/tree/master/slackbuilds/barrier). I can try to submit this version to Slackbuilds, but since it downloads the source from GitHub it will probably be declined.
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#1193
No description provided.