-
Notifications
You must be signed in to change notification settings - Fork 8
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
build fails on fedora #48
Comments
I have the same bug on Open Suse: snap info flutter
flutter doctor
flutter run -d linux
neofetch
|
Same on Impish (daily canary 20210801):
snap info flutter
flutter doctor -v (the channel doesn't make a difference)
flutter run -v[ +15 ms] Building Linux application... CMakeOutput.log
👉 CMakeError.log 👈
neofetch
|
@mispp @ademar111190 @jpnurmi, could you please try the snap from edge and let me know if the issue is now resolved:
|
@MarcusTomlinson Still no joy but there's clearly progress because the error looks a bit different :) [ +6 ms] Building Linux application...
[ +18 ms] executing: [build/linux/x64/release/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DFLUTTER_TARGET_PLATFORM=linux-x64 /home/jpnurmi/Temp/hello_world/linux
[ +81 ms] -- The CXX compiler identification is Clang 6.0.0
[ ] -- Check for working CXX compiler: /snap/flutter/current/usr/bin/clang++
[ +61 ms] -- Check for working CXX compiler: /snap/flutter/current/usr/bin/clang++ -- broken
[ +1 ms] CMake Error at /snap/flutter/93/usr/share/cmake-3.10/Modules/CMakeTestCXXCompiler.cmake:45 (message):
[ +1 ms] The C++ compiler
[ ] "/snap/flutter/current/usr/bin/clang++"
[ ] is not able to compile a simple test program.
[ ] It fails with the following output:
[ ] Change Dir: /home/jpnurmi/Temp/hello_world/build/linux/x64/release/CMakeFiles/CMakeTmp
[ ] Run Build Command:"/snap/flutter/current/usr/bin/ninja" "cmTC_b46b2"
[ ] [1/2] Building CXX object CMakeFiles/cmTC_b46b2.dir/testCXXCompiler.cxx.o
[ ] [2/2] Linking CXX executable cmTC_b46b2
[ ] FAILED: cmTC_b46b2
[ ] : && /snap/flutter/current/usr/bin/clang++ -L/snap/flutter/current/usr/lib/gcc/x86_64-linux-gnu/8 -L/lib/x86_64-linux-gnu
-L/snap/flutter/current/usr/lib/x86_64-linux-gnu -L/snap/flutter/current/usr/lib/ -lblkid -lgcrypt -llzma -lpthread -lrt -L/snap/flutter/current/usr/lib/gcc/x86_64-linux-gnu/8
-L/lib/x86_64-linux-gnu -L/snap/flutter/current/usr/lib/x86_64-linux-gnu -L/snap/flutter/current/usr/lib/ -lblkid -lgcrypt -llzma -lpthread -lrt
CMakeFiles/cmTC_b46b2.dir/testCXXCompiler.cxx.o -o cmTC_b46b2 && :
[ +2 ms] /snap/flutter/current/usr/bin/ld: warning: /snap/flutter/current/usr/lib/x86_64-linux-gnu/librt.so: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0008002
[ ] /snap/flutter/current/usr/bin/ld: warning: /snap/flutter/current/usr/lib/x86_64-linux-gnu/librt.so: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0008002
[ ] /snap/flutter/current/usr/bin/ld: warning: //lib/x86_64-linux-gnu/libdl.so.2: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0008002
[ ] /snap/flutter/current/usr/lib/x86_64-linux-gnu/librt.so: undefined reference to `pthread_sigmask@GLIBC_2.32'
[ ] /snap/flutter/current/usr/lib/x86_64-linux-gnu/librt.so: undefined reference to `__pthread_attr_setsigmask_internal@GLIBC_PRIVATE'
[ ] /snap/flutter/current/usr/lib/x86_64-linux-gnu/librt.so: undefined reference to `__futex_abstimed_wait_cancelable64@GLIBC_PRIVATE'
[ ] /snap/flutter/current/usr/lib/x86_64-linux-gnu/librt.so: undefined reference to `__futex_abstimed_wait64@GLIBC_PRIVATE'
[ ] //lib/x86_64-linux-gnu/libdl.so.2: undefined reference to `_dl_catch_error_ptr@GLIBC_PRIVATE'
[ ] /snap/flutter/current/usr/lib/x86_64-linux-gnu/librt.so: undefined reference to `__pthread_attr_copy@GLIBC_PRIVATE'
[ ] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[ ] ninja: build stopped: subcommand failed.
[ ] CMake will not be able to correctly generate this project.
[ ] Call Stack (most recent call first):
[ ] CMakeLists.txt:2 (project)
[ ] -- Configuring incomplete, errors occurred!
[ ] See also "/home/jpnurmi/Temp/hello_world/build/linux/x64/release/CMakeFiles/CMakeOutput.log".
[ ] See also "/home/jpnurmi/Temp/hello_world/build/linux/x64/release/CMakeFiles/CMakeError.log". |
FWIW, I had already thrown away the image I used previously. This was on a fresh canary 20210811 installation. |
@jpnurmi could you try |
Here's the full output:
|
The flutter snap in the edge channel should fix this. I've confirmed it on impish, 20.04, fedora 32 and fedora 34. Please let me know if able to still reproduce it. |
This should be fixed with revision 101 |
Flutter doctor
Verbose log:
https://paste.centos.org/view/d935c01c
Probably continuation of #32
The text was updated successfully, but these errors were encountered: