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

Ubuntu, Wine HQ (opt/wine-staging), latest master version of lmms, compilation fail #4501

Closed
qnebra opened this issue Jul 24, 2018 · 9 comments
Assignees

Comments

@qnebra
Copy link

qnebra commented Jul 24, 2018

Here's are logs of compilation. I skip parts where is no issues, it mean all previous messages:

[ 67%] Performing configure step for 'RemoteVstPlugin32'
-- Check for working CXX compiler: /home/lukasz/lmms/compile/build/winegcc_wrapper -- works
-- Detecting CXX compiler ABI info
-- The CXX compiler identification is GNU 7.3.0
-- Check for working CXX compiler: /home/lukasz/lmms/compile/build/winegcc_wrapper
-- Check for working CXX compiler: /home/lukasz/lmms/compile/build/winegcc_wrapper -- broken
CMake Error at /usr/share/cmake-3.10/Modules/CMakeTestCXXCompiler.cmake:45 (message):
  The C++ compiler

    "/home/lukasz/lmms/compile/build/winegcc_wrapper"

  is not able to compile a simple test program.

It fails with the following output:

    Change Dir: /home/lukasz/lmms/compile/build/plugins/vst_base/RemoteVstPlugin32-prefix/src/RemoteVstPlugin32-build/CMakeFiles/CMakeTmp
    
    Run Build Command:"/usr/bin/make" "cmTC_fc2ff/fast"
    make[3]: Wejście do katalogu '/home/lukasz/lmms/compile/build/plugins/vst_base/RemoteVstPlugin32-prefix/src/RemoteVstPlugin32-build/CMakeFiles/CMakeTmp'
    /usr/bin/make -f CMakeFiles/cmTC_fc2ff.dir/build.make CMakeFiles/cmTC_fc2ff.dir/build
    make[4]: Wejście do katalogu '/home/lukasz/lmms/compile/build/plugins/vst_base/RemoteVstPlugin32-prefix/src/RemoteVstPlugin32-build/CMakeFiles/CMakeTmp'
    Building CXX object CMakeFiles/cmTC_fc2ff.dir/testCXXCompiler.cxx.o
    /home/lukasz/lmms/compile/build/winegcc_wrapper    -m32 -mwindows    -o CMakeFiles/cmTC_fc2ff.dir/testCXXCompiler.cxx.o -c /home/lukasz/lmms/compile/build/plugins/vst_base/RemoteVstPlugin32-prefix/src/RemoteVstPlugin32-build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
    Linking CXX executable cmTC_fc2ff
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fc2ff.dir/link.txt --verbose=1
    /home/lukasz/lmms/compile/build/winegcc_wrapper  -m32 -mwindows     -rdynamic CMakeFiles/cmTC_fc2ff.dir/testCXXCompiler.cxx.o  -o cmTC_fc2ff 
    ld: Relocatable linking with relocations from format elf64-x86-64 (/opt/wine-staging/lib64/wine//libwinecrt0.a(exe_entry.o)) to format elf32-i386 (cmTC_fc2ff.VC9Imp.o) is not supported
    winebuild: ld failed with status 1
    winegcc: /opt/wine-staging/bin/winebuild failed
    CMakeFiles/cmTC_fc2ff.dir/build.make:97: recipe for target 'cmTC_fc2ff' failed
    make[4]: *** [cmTC_fc2ff] Error 2
    make[4]: Opuszczenie katalogu '/home/lukasz/lmms/compile/build/plugins/vst_base/RemoteVstPlugin32-prefix/src/RemoteVstPlugin32-build/CMakeFiles/CMakeTmp'
    Makefile:126: recipe for target 'cmTC_fc2ff/fast' failed
    make[3]: *** [cmTC_fc2ff/fast] Error 2
    make[3]: Opuszczenie katalogu '/home/lukasz/lmms/compile/build/plugins/vst_base/RemoteVstPlugin32-prefix/src/RemoteVstPlugin32-build/CMakeFiles/CMakeTmp'
    

  

  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/lukasz/lmms/compile/build/plugins/vst_base/RemoteVstPlugin32-prefix/src/RemoteVstPlugin32-build/CMakeFiles/CMakeOutput.log".
See also "/home/lukasz/lmms/compile/build/plugins/vst_base/RemoteVstPlugin32-prefix/src/RemoteVstPlugin32-build/CMakeFiles/CMakeError.log".
plugins/vst_base/CMakeFiles/RemoteVstPlugin32.dir/build.make:105: recipe for target 'plugins/vst_base/RemoteVstPlugin32-prefix/src/RemoteVstPlugin32-stamp/RemoteVstPlugin32-configure' failed
make[2]: *** [plugins/vst_base/RemoteVstPlugin32-prefix/src/RemoteVstPlugin32-stamp/RemoteVstPlugin32-configure] Error 1
CMakeFiles/Makefile2:8070: recipe for target 'plugins/vst_base/CMakeFiles/RemoteVstPlugin32.dir/all' failed
make[1]: *** [plugins/vst_base/CMakeFiles/RemoteVstPlugin32.dir/all] Error 2
make[1]: *** Oczekiwanie na niezakończone zadania....
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lukasz/lmms/compile/build/plugins/vst_base/RemoteVstPlugin64-prefix/src/RemoteVstPlugin64-build
[ 67%] Performing build step for 'RemoteVstPlugin64'
Scanning dependencies of target RemoteVstPlugin64
[ 50%] Building CXX object CMakeFiles/RemoteVstPlugin64.dir/home/lukasz/lmms/compile/lmms/plugins/vst_base/RemoteVstPlugin.cpp.o
[100%] Linking CXX executable /home/lukasz/lmms/compile/build/plugins/RemoteVstPlugin64
[100%] Built target RemoteVstPlugin64
[ 67%] No install step for 'RemoteVstPlugin64'
[ 67%] Completed 'RemoteVstPlugin64'
[ 67%] Built target RemoteVstPlugin64
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2

Edit by @PhysSong: Wrap logs into code blocks

@PhysSong
Copy link
Member

Please try:

  • Remove winegcc_wrapper and CMakeCache.txt and run CMake again
  • If the issue still persists, post the content of winegcc_wrapper.

@SecondFlight SecondFlight added the response required A response from OP is required or the issue is closed automatically within 14 days. label Jul 25, 2018
@qnebra
Copy link
Author

qnebra commented Jul 25, 2018

winegcc_wrapper.txt

It should be here. Also, renamed to *.txt for uploading reasons.

@no-response no-response bot removed the response required A response from OP is required or the issue is closed automatically within 14 days. label Jul 25, 2018
@PhysSong
Copy link
Member

Thank you! It seems like the replacement logic for WineHQ is broken in MSVC pull request.

@PhysSong
Copy link
Member

@lukas-w lukas-w self-assigned this Jul 26, 2018
@qnebra
Copy link
Author

qnebra commented Jul 26, 2018

@PhysSong 1.2 is installed without problems

lukas-w added a commit to lukas-w/lmms that referenced this issue Jul 26, 2018
* Fix library fix regression from 38f6371
* Fix missing windows include directory
@lukas-w
Copy link
Member

lukas-w commented Jul 26, 2018

@qnebra can you check if 515fefa fixes it?

@lukas-w lukas-w added the response required A response from OP is required or the issue is closed automatically within 14 days. label Jul 26, 2018
@qnebra
Copy link
Author

qnebra commented Jul 26, 2018

@lukas-w It fixes issue. Sorry for late response, I just want to be sure about VST working.

@no-response no-response bot removed the response required A response from OP is required or the issue is closed automatically within 14 days. label Jul 26, 2018
@qnebra
Copy link
Author

qnebra commented Jul 26, 2018

So I am closing issue.

@qnebra qnebra closed this as completed Jul 26, 2018
@lukas-w
Copy link
Member

lukas-w commented Jul 26, 2018

Sorry for late response

You're not late at all, it's been less than an hour. :) Thank you for confirming 👍

sdasda7777 pushed a commit to sdasda7777/lmms that referenced this issue Jun 28, 2022
* Fix library fix regression from 466f512
* Fix missing windows include directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants