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

pcre2unicode.3 is installed twice when building with CMake #46

Closed
geraldcombs opened this issue Nov 13, 2021 · 0 comments
Closed

pcre2unicode.3 is installed twice when building with CMake #46

geraldcombs opened this issue Nov 13, 2021 · 0 comments

Comments

@geraldcombs
Copy link

If I run the following:

tar -xf pcre2-10.39.tar.bz2
cd pcre2-10.39
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/tmp/pcre2test -G Ninja ..
ninja
ninja install

ninja install prints the following:

-- Installing: /tmp/pcre2test/man/man3/pcre2syntax.3
-- Installing: /tmp/pcre2test/man/man3/pcre2unicode.3
-- Up-to-date: /tmp/pcre2test/man/man3/pcre2unicode.3

This is because pcre2unicode.3 is listed twice in cmake_install.cmake. It's also listed twice in install_manifest.txt, which means that if you uninstall using xargs rm < install_manifest.txt as recommended by CMake, you get an error.

carenas added a commit to carenas/pcre2 that referenced this issue Nov 14, 2021
It doesn't seem needed, and is apparently resulting in at least one
duplicated entry in the installation list that causes problems for
uninstalling.

Fixes: PCRE2Project#46

Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant