-
Notifications
You must be signed in to change notification settings - Fork 53
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
CMake Error at src/CMakeLists.txt:179 (file): File name too long #157
Comments
@kuh3h3
|
@luis-pereira Thanks. fixed now |
I think this is a serious problem and should be fixed. The user has right to issue the first command but, in that case, he'll encounter an enormous amount of nested folders. |
sorry, why it is a problem - the only problem is that the to has no clue and that he will mess up his system - both are not upstream problems. |
@agaida I meant it as a general problem, not kuh3h3's -- he succeeded in compiling libfm-qt. Why is it a problem? Because something as simple as |
@tsujan We don't support in source builds |
Right - maybe we should. @tsujan and i guess the very most packaging tools in distributions do this by default. |
@tsujan This issue will most certainly happen with all our librarys. But not with applications. |
If so, we should have made it impossible, not leaving it to create infinite nested folders. That's like I say I don't support a kind of usage for my app and if the user chooses it, any crash will be his/her responsibility!! Somethings is definitely wrong here. |
We don't talk about simple users - we talk about users that have a dev background. At least they should have. To be crystal clear about: For the very most distributions cmake $foo .; make; make install it a precise shot into both feets. Thats why my answer. And the distribution support will also say: Wait a minute, why this should be our problem - thats not our supported way to do things. But we should give a hint about the need of out of tree compiling and then stop processing. |
@agaida My opinion is as simple as this and, although I'm a fallible human being, I try to act accordingly everywhere: Any well-structured system should make heavy mistakes impossible -- be it a computer program or a Weltanschauung. |
Yes, it should be enforced. But IMO it's not a big deal. I will write a module to enforce it ASAP. |
Thanks! Looking forward to it. |
Hihi - right, never ever spend a thought. And i was surprised that it is possible ... |
Fix proposal: |
Let's do it. |
Can be closed now - we allow only out of source builds |
Tried to build on ubuntu 17.04.
kuh3h3@reandro:~/libfm-qt$ cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE=Release .
-- The C compiler identification is Clang 6.0.0
-- The CXX compiler identification is Clang 6.0.0
-- Check for working C compiler: /usr/local/bin/clang
-- Check for working C compiler: /usr/local/bin/clang -- 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/local/bin/clang++
-- Check for working CXX compiler: /usr/local/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Fm: /usr/lib/x86_64-linux-gnu/libfm.so;/usr/lib/x86_64-linux-gnu/libgthread-2.0.so;/usr/lib/x86_64-linux-gnu/libgio-2.0.so;/usr/lib/x86_64-linux-gnu/libgobject-2.0.so;/usr/lib/x86_64-linux-gnu/libglib-2.0.so (found suitable version "1.2.5", minimum required is "1.2.0")
-- Found MenuCache: /usr/lib/x86_64-linux-gnu/libmenu-cache.so;/usr/lib/x86_64-linux-gnu/libglib-2.0.so (found suitable version "1.0.2", minimum required is "0.4.0")
-- Found Exif: /usr/lib/x86_64-linux-gnu/libexif.so (found version "0.6.21")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Found XCB: /usr/lib/x86_64-linux-gnu/libxcb.so
-- Building libfm-qt with Qt 5.7.1
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Performing Test COMPILER_SUPPORTS_CXX0X
-- Performing Test COMPILER_SUPPORTS_CXX0X - Success
-- Found Git: /usr/bin/git (found version "2.15.1.389.g52015aaf9")
-- Pulling the translations...
https://github.com/lxde/lxqt-l10n URL에서
이미 업데이트 상태입니다.
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
CMake Error at src/CMakeLists.txt:179 (file):
file COPY cannot make directory
"/home/kuh3h3/libfm-qt/src/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/CMakeFiles/include/libfm-qt/translations/.git/logs/refs/remotes/origin":
File name too long
-- Configuring incomplete, errors occurred!
See also "/home/kuh3h3/libfm-qt/CMakeFiles/CMakeOutput.log".
The text was updated successfully, but these errors were encountered: