[opensuse-buildservice] rsibreak compile problem
Hello, I tried to compile rsibreak from KDE:KDE4:Factory:Desktop on PPC and ran into the following problem: " [...] Scanning dependencies of target librsibreak make[2]: Leaving directory `/usr/src/packages/BUILD/rsibreak-0.9.0-beta3/build' /usr/bin/make -f src/CMakeFiles/librsibreak.dir/build.make src/CMakeFiles/librsibreak.dir/build make[2]: Entering directory `/usr/src/packages/BUILD/rsibreak-0.9.0-beta3/build' /usr/bin/cmake -E cmake_progress_report /usr/src/packages/BUILD/rsibreak-0.9.0-beta3/build/CMakeFiles 1 [ 3%] Building CXX object src/CMakeFiles/librsibreak.dir/librsibreak_automoc.o cd /usr/src/packages/BUILD/rsibreak-0.9.0-beta3/build/src && /usr/bin/c++ -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -O2 -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -I/usr/src/packages/BUILD/rsibreak-0.9.0-beta3/build/src -I/usr/src/packages/BUILD/rsibreak-0.9.0-beta3/src -I/usr/src/packages/BUILD/rsibreak-0.9.0-beta3/build/src/src -I/usr/include/KDE -I/usr/include/QtXmlPatterns -I/usr/include/QtWebKit -I/usr/include/QtHelp -I/usr/include/QtAssistant -I/usr/include/QtDBus -I/usr/include/QtTest -I/usr/include/QtUiTools -I/usr/include/QtScript -I/usr/include/QtSvg -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include/QtOpenGL -I/usr/include/QtNetwork -I/usr/include/QtDesigner -I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt -I/usr/share/qt4/mkspecs/default -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mmmx -o CMakeFiles/librsibreak.dir/librsibreak_automoc.o -c /usr/src/packages/BUILD/rsibreak-0.9.0-beta3/build/src/librsibreak_automoc.cpp cc1plus: error: unrecognized command line option "-mmmx" make[2]: *** [src/CMakeFiles/librsibreak.dir/librsibreak_automoc.o] Error 1 make[2]: Leaving directory `/usr/src/packages/BUILD/rsibreak-0.9.0-beta3/build' make[1]: *** [src/CMakeFiles/librsibreak.dir/all] Error 2 make[1]: Leaving directory `/usr/src/packages/BUILD/rsibreak-0.9.0-beta3/build' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.50052 (%build) " So there is a hard coded MMX optimization somewhere in the source, which obviously does not work on PPC. Bye, CzP --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thursday 04 September 2008, Peter Czanik wrote:
I tried to compile rsibreak from KDE:KDE4:Factory:Desktop on PPC and ran into the following problem:
Yes, I know about the problem already. for other compile problems of KDE packages, please use the opensuse-kde@opensuse.org mailinglist. Thanks, Dirk --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hello, Dirk Müller írta:
Yes, I know about the problem already. for other compile problems of KDE packages, please use the opensuse-kde@opensuse.org mailinglist.
OK, I'm here :-) First a little introduction: I'm building KDE 4.1 for PPC in a local BS for openSUSE 11.0. I already posted a related bug to the BS list, and was redirected here... So, here is my next problem: soprano. It requires 'java-devel'. On PPC there are three packages providing this: java-1_5_0-gcj-compat-devel java-1_6_0-openjdk-devel java-1_7_0-icedtea-devel Which should be used? The first problem was, that compilation failed, as the BS could not choose from these. I added the following line to the project config: Prefer: java-1_6_0-openjdk-devel As this seemed to be the most stable Java implementation on PPC. It did not work as expected, as configure says: -- Could not find Java JNI And at the end there were some missing files. For now I worked around this by editing out the java dependent parts of the spec file, so I could compile the rest of the packages in the repo. But obviously I'd like to know, what would be a proper solution, which java-devel is used on x86, etc. Bye, CzP --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thursday 04 September 2008, Peter Czanik wrote:
So, here is my next problem: soprano. It requires 'java-devel'. On PPC there are three packages providing this: java-1_5_0-gcj-compat-devel java-1_6_0-openjdk-devel java-1_7_0-icedtea-devel Which should be used? The first problem was, that compilation failed, as the BS could not choose from these. I added the following line to the project config:
I believe we should try to get it to build with openjdk, as thats the one we use for the other architectures.
As this seemed to be the most stable Java implementation on PPC. It did not work as expected, as configure says: -- Could not find Java JNI
Yep, I also know about that failure :) I unfortunately haven't had time to find a fix yet, but my guess is that $JAVA_HOME in the spec file is really wrong. Greetings, Dirk --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Dirk Müller
-
Peter Czanik