Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: mingw-cmake error when compiling .rc
https://bugzilla.redhat.com/show_bug.cgi?id=807561
Summary: mingw-cmake error when compiling .rc Product: Fedora Version: 15 Platform: Unspecified OS/Version: Unspecified Status: NEW Severity: unspecified Priority: unspecified Component: mingw32-filesystem AssignedTo: rjones@redhat.com ReportedBy: drizt@land.ru QAContact: extras-qa@fedoraproject.org CC: lfarkas@lfarkas.org, rjones@redhat.com, kalevlember@gmail.com, erik-fedora@vanpienbroek.nl, fedora-mingw@lists.fedoraproject.org, drizt@land.ru Classification: Fedora Story Points: --- Type: --- Regression: --- Mount Type: --- Documentation: ---
Created attachment 573252 --> https://bugzilla.redhat.com/attachment.cgi?id=573252 rc test project
I am compiling my cmake project but am geting the error with i686-pc-mingw32-windres. The project has a integrated icon.
I wrote a test project to check compiling with integrated icon. Below output of compiling this project.
[taurus@lix rctest]$ mingw32-cmake . -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/i686-pc-mingw32-gcc -- Check for working C compiler: /usr/bin/i686-pc-mingw32-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/i686-pc-mingw32-g++ -- Check for working CXX compiler: /usr/bin/i686-pc-mingw32-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Configuring done -- Generating done CMake Warning: The variable, 'BUILD_SHARED_LIBS', specified manually, was not used during the generation. CMake Warning: The variable, 'CMAKE_INSTALL_LIBDIR', specified manually, was not used during the generation. CMake Warning: The variable, 'INCLUDE_INSTALL_DIR', specified manually, was not used during the generation. CMake Warning: The variable, 'LIB_INSTALL_DIR', specified manually, was not used during the generation. CMake Warning: The variable, 'SHARE_INSTALL_PREFIX', specified manually, was not used during the generation. CMake Warning: The variable, 'SYSCONF_INSTALL_DIR', specified manually, was not used during the generation. -- Build files have been written to: /home/taurus/devel/rctest [taurus@lix rctest]$ make /usr/bin/cmake -H/home/taurus/devel/rctest -B/home/taurus/devel/rctest --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/taurus/devel/rctest/CMakeFiles /home/taurus/devel/rctest/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory `/home/taurus/devel/rctest' make -f CMakeFiles/rctest.dir/build.make CMakeFiles/rctest.dir/depend make[2]: Entering directory `/home/taurus/devel/rctest' cd /home/taurus/devel/rctest && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/taurus/devel/rctest /home/taurus/devel/rctest /home/taurus/devel/rctest /home/taurus/devel/rctest /home/taurus/devel/rctest/CMakeFiles/rctest.dir/DependInfo.cmake --color= Scanning dependencies of target rctest make[2]: Leaving directory `/home/taurus/devel/rctest' make -f CMakeFiles/rctest.dir/build.make CMakeFiles/rctest.dir/build make[2]: Entering directory `/home/taurus/devel/rctest' /usr/bin/cmake -E cmake_progress_report /home/taurus/devel/rctest/CMakeFiles 1 [ 50%] Building CXX object CMakeFiles/rctest.dir/main.cpp.obj /usr/bin/i686-pc-mingw32-g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields -o CMakeFiles/rctest.dir/main.cpp.obj -c /home/taurus/devel/rctest/main.cpp /usr/bin/cmake -E cmake_progress_report /home/taurus/devel/rctest/CMakeFiles 2 [100%] Building RC object CMakeFiles/rctest.dir/rctest.rc.res /usr/bin/i686-pc-mingw32-windres /foCMakeFiles/rctest.dir/rctest.rc.res /home/taurus/devel/rctest/rctest.rc /usr/bin/i686-pc-mingw32-windres: '/foCMakeFiles/rctest.dir/rctest.rc.res': No such file /usr/bin/i686-pc-mingw32-windres: can't open `/foCMakeFiles/rctest.dir/rctest.rc.res' for input make[2]: *** [CMakeFiles/rctest.dir/rctest.rc.res] Error 1 make[2]: Leaving directory `/home/taurus/devel/rctest' make[1]: *** [CMakeFiles/rctest.dir/all] Error 2 make[1]: Leaving directory `/home/taurus/devel/rctest' make: *** [all] Error 2
I get this on F15. F16 hasn't such error. On F16 compiling works nice. I've attached test project.
I've applied deciding for F15 package from https://bugzilla.redhat.com/show_bug.cgi?id=652435#c5. Also I've applied this patch to F16 branch. It should be reverted.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=807561
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=807561
--- Comment #1 from Fedora Update System updates@fedoraproject.org 2012-03-28 14:40:59 EDT --- mingw32-filesystem-69-5.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/mingw32-filesystem-69-5.fc15
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=807561
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #2 from Fedora Update System updates@fedoraproject.org 2012-03-30 23:03:34 EDT --- Package mingw32-filesystem-69-5.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mingw32-filesystem-69-5.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-4982/mingw32-filesystem-... then log in and leave karma (feedback).
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=807561
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Fixed In Version| |mingw32-filesystem-69-5.fc1 | |5 Resolution| |ERRATA Last Closed| |2012-04-15 19:54:24
--- Comment #3 from Fedora Update System updates@fedoraproject.org 2012-04-15 19:54:24 EDT --- mingw32-filesystem-69-5.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.