[GH-ISSUE #1373] ghc/fs_impl.hpp is missing from ext in the 2.4.0 release tarball #1068

Open
opened 2026-05-05 07:25:43 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @simotek on GitHub (Nov 3, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1373

What happened?

I tried to compile 2.4.0 on openSUSE tumbleweed and hit the following error

[    9s] /home/abuild/rpmbuild/BUILD/barrier-2.4.0/src/lib/io/filesystem.cpp:19:10: fatal error: ghc/fs_impl.hpp: No such file or directory
[    9s]    19 | #include <ghc/fs_impl.hpp>
[    9s]       |          ^~~~~~~~~~~~~~~~~

On further inspection of the tarball the following directories are empty ext/gmock ext/gtest ext/gulrak-filesystem

The tarball was downloaded from https://github.com/debauchee/barrier/archive/v2.4.0/barrier-2.4.0.tar.gz

As a side note you need to add 2.3.4 and 2.4.0 to the version drop down in the bug report form

Version

From Git HEAD or commit (specify below)

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?

openSUSE Tumbleweed

Relevant log output

No response

Any other information

No response

Originally created by @simotek on GitHub (Nov 3, 2021). Original GitHub issue: https://github.com/debauchee/barrier/issues/1373 ### What happened? I tried to compile 2.4.0 on openSUSE tumbleweed and hit the following error ``` [ 9s] /home/abuild/rpmbuild/BUILD/barrier-2.4.0/src/lib/io/filesystem.cpp:19:10: fatal error: ghc/fs_impl.hpp: No such file or directory [ 9s] 19 | #include <ghc/fs_impl.hpp> [ 9s] | ^~~~~~~~~~~~~~~~~ ``` On further inspection of the tarball the following directories are empty `ext/gmock` `ext/gtest` `ext/gulrak-filesystem` The tarball was downloaded from https://github.com/debauchee/barrier/archive/v2.4.0/barrier-2.4.0.tar.gz As a side note you need to add 2.3.4 and 2.4.0 to the version drop down in the bug report form ### Version From Git HEAD or commit (specify below) ### 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? openSUSE Tumbleweed ### Relevant log output _No response_ ### Any other information _No response_
gitea-mirror added the
bug
label 2026-05-05 07:25:43 -06:00
Author
Owner

@p12tic commented on GitHub (Nov 3, 2021):

The release tarball by definition does not include external projects that we reference by git modules for convenience.

Having said that I agree that it makes sense to ship barrier-x.y.z-vendored.tar.gz for the cases where vendored code is not a problem.

<!-- gh-comment-id:959000184 --> @p12tic commented on GitHub (Nov 3, 2021): The release tarball by definition does not include external projects that we reference by git modules for convenience. Having said that I agree that it makes sense to ship barrier-x.y.z-vendored.tar.gz for the cases where vendored code is not a problem.
Author
Owner

@simotek commented on GitHub (Nov 4, 2021):

Ahh easy then, we have nothing currently providing gulrak in openSUSE so I was going to bundle it atleast for now to get the security updates out. we use the system gmock etc so thats never been an issue

<!-- gh-comment-id:960456493 --> @simotek commented on GitHub (Nov 4, 2021): Ahh easy then, we have nothing currently providing gulrak in openSUSE so I was going to bundle it atleast for now to get the security updates out. we use the system gmock etc so thats never been an issue
Author
Owner

@presire commented on GitHub (Nov 25, 2021):

On my SLE15 SP3 and openSUSE Leap 15.3, I installed it (tarball) by following the steps below.

  1. First, download the source code for gmock, gtest, gulrak-filesystem.

// for gmock, gtest
git clone https://github.com/google/googletest.git

// for gulrak-filesystem
git clone https://github.com/gulrak/filesystem

  1. Copy the source code needed to build Barrier into the "ext/gmock", "ext/gtest", "ext/gulrak-filesystem" directory in the Barrier directory.

cp -r googletest/googlemock/* <Barrier Directory>/ext/gmock
cp -r googletest/googletest/* <Barrier Directory>/ext/gtest
cp -r filesystem/* <Barrier Directory>/ext/gulrak-filesystem

  1. Build and install Barrier.

cd <Barrier Directory> && mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=${HOME}/Barrier -DCMAKE_BUILD_TYPE=Release ..
make -j $(nproc)
make install

<!-- gh-comment-id:979350985 --> @presire commented on GitHub (Nov 25, 2021): On my SLE15 SP3 and openSUSE Leap 15.3, I installed it (tarball) by following the steps below.<br> 1. First, download the source code for gmock, gtest, gulrak-filesystem.<br> > // for gmock, gtest > git clone https://github.com/google/googletest.git > > // for gulrak-filesystem > git clone https://github.com/gulrak/filesystem <br> 2. Copy the source code needed to build Barrier into the "ext/gmock", "ext/gtest", "ext/gulrak-filesystem" directory in the Barrier directory.<br> > cp -r googletest/googlemock/* \<Barrier Directory\>/ext/gmock > cp -r googletest/googletest/* \<Barrier Directory\>/ext/gtest > cp -r filesystem/* \<Barrier Directory\>/ext/gulrak-filesystem <br> 3. Build and install Barrier.<br> > cd \<Barrier Directory\> && mkdir build && cd build > cmake -DCMAKE_INSTALL_PREFIX=${HOME}/Barrier -DCMAKE_BUILD_TYPE=Release .. > make -j $(nproc) > make install
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#1068
No description provided.