05-26-2012, 08:17 PM
I'm just trying to package PCSX2 rev 5232 in Fedora (32 Bit, Fedora 16) but I'm failing; it builds just fine when I don't try to package it. There are new build options in cmakefiles which I've tried to keep up with, and I think these are probably the source of the problem; I've tried playing around with them but can't seem to get it right! I wondered if anyone (Gregory I expect ) could offer some advice.
Building with:
The building stops at about 12%:
Many thanks.
To add to the frustration this is a fresh installation of Fedora 16 which has been a problem to set up (although this is not the problem here I think). Really not liking my distro today!
Building with:
Code:
cmake CMakeLists.txt -DPACKAGE_MODE=TRUE -DXDG_STD=FALSE -DGLSL_API=FALSE -DCMAKE_INSTALL_PREFIX="/usr" -DPLUGIN_DIR=%{_libdir}/%{name} -DGAMEINDEX_DIR=%{_datadir}/%{name} -DFORCE_INTERNAL_SOUNDTOUCH=FALSE -DFORCE_INTERNAL_SDL=TRUE -DSHARED_SDL=libpcsx2_SDL -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE
make %{?_smp_mflags} VERBOSE=1
The building stops at about 12%:
Code:
Linking CXX static library libUtilities.a
cd /home/makerpm/rpmbuild/BUILD/pcsx2-5232/common/src/Utilities && /usr/bin/cmake -P CMakeFiles/Utilities.dir/cmake_clean_target.cmake
cd /home/makerpm/rpmbuild/BUILD/pcsx2-5232/common/src/Utilities && /usr/bin/cmake -E cmake_link_script CMakeFiles/Utilities.dir/link.txt --verbose=1
/usr/bin/ar cr libUtilities.a CMakeFiles/Utilities.dir/AlignedMalloc.cpp.o CMakeFiles/Utilities.dir/CheckedStaticBox.cpp.o CMakeFiles/Utilities.dir/Console.cpp.o CMakeFiles/Utilities.dir/EventSource.cpp.o CMakeFiles/Utilities.dir/Exceptions.cpp.o CMakeFiles/Utilities.dir/FastFormatString.cpp.o CMakeFiles/Utilities.dir/HashTools.cpp.o CMakeFiles/Utilities.dir/IniInterface.cpp.o CMakeFiles/Utilities.dir/Linux/LnxHostSys.cpp.o CMakeFiles/Utilities.dir/Linux/LnxMisc.cpp.o CMakeFiles/Utilities.dir/Linux/LnxThreads.cpp.o CMakeFiles/Utilities.dir/Mutex.cpp.o CMakeFiles/Utilities.dir/PathUtils.cpp.o CMakeFiles/Utilities.dir/PrecompiledHeader.cpp.o CMakeFiles/Utilities.dir/pxCheckBox.cpp.o CMakeFiles/Utilities.dir/pxRadioPanel.cpp.o CMakeFiles/Utilities.dir/pxStaticText.cpp.o CMakeFiles/Utilities.dir/pxStreams.cpp.o CMakeFiles/Utilities.dir/pxTranslate.cpp.o CMakeFiles/Utilities.dir/pxWindowTextWriter.cpp.o CMakeFiles/Utilities.dir/Semaphore.cpp.o CMakeFiles/Utilities.dir/StringHelpers.cpp.o CMakeFiles/Utilities.dir/ThreadingDialogs.cpp.o CMakeFiles/Utilities.dir/ThreadTools.cpp.o CMakeFiles/Utilities.dir/vssprintf.cpp.o CMakeFiles/Utilities.dir/VirtualMemory.cpp.o CMakeFiles/Utilities.dir/wxAppWithHelpers.cpp.o CMakeFiles/Utilities.dir/wxGuiTools.cpp.o CMakeFiles/Utilities.dir/wxHelpers.cpp.o CMakeFiles/Utilities.dir/x86/MemcpyVibes.cpp.o CMakeFiles/Utilities.dir/x86/MemcpyFast.S.o
/usr/bin/ranlib libUtilities.a
make[2]: Leaving directory `/home/makerpm/rpmbuild/BUILD/pcsx2-5232'
/usr/bin/cmake -E cmake_progress_report /home/makerpm/rpmbuild/BUILD/pcsx2-5232/CMakeFiles 24 25 26 27 28
[ 13%] Built target Utilities
make[1]: Leaving directory `/home/makerpm/rpmbuild/BUILD/pcsx2-5232'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.FY2fEJ (%build)
Many thanks.
To add to the frustration this is a fresh installation of Fedora 16 which has been a problem to set up (although this is not the problem here I think). Really not liking my distro today!