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

ghc/fs_impl.hpp is missing from ext in the 2.4.0 release tarball #1373

Open
simotek opened this issue Nov 3, 2021 · 3 comments
Open

ghc/fs_impl.hpp is missing from ext in the 2.4.0 release tarball #1373

simotek opened this issue Nov 3, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@simotek
Copy link

simotek commented Nov 3, 2021

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

@simotek simotek added the bug Something isn't working label Nov 3, 2021
@p12tic
Copy link
Member

p12tic commented 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.

@simotek
Copy link
Author

simotek commented 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

@presire
Copy link

presire commented 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants