Ingmarv wrote:addeman wrote:How do i fix this?
Best regards
addeman
I added a patch from SVN that should fix this.
Thanks for reporting, and please let me know if it fixes the issue.

Compiling right now... It got past the 16% done so it works! Thanks
By the way, the ebuild for kdelibs-3.94.0-r1 crashed when checking for alsa. Alsa seems to be included in the configure options regardless of useflags. I just removed that line and kdelibs compiled fine.
Oh, and qimageblitz was a bit tricky to geet installed. It fails with
Code: Select all
>>> Emerging (1 of 1) kde-base/qimageblitz-9999 to /
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* WARNING! This an experimental ebuild of qimageblitz SVN tree. Use at your own risk.
* Do _NOT_ file bugs at bugs.gentoo.org because of this ebuild!
>>> Unpacking source...
* subversion update start -->
* repository: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/qimageblitz
At revision 727427.
* working copy: /usr/portage/distfiles/svn-src/qimageblitz/qimageblitz
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/kde-base/qimageblitz-9999/work/qimageblitz-9999 ...
-- Check for working C compiler: /usr/bin/i686-gentoo-freebsd6.2-gcc
-- Check for working C compiler: /usr/bin/i686-gentoo-freebsd6.2-gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/i686-gentoo-freebsd6.2-g++
-- Check for working CXX compiler: /usr/bin/i686-gentoo-freebsd6.2-g++ -- works
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Found Qt-Version 4.3.2
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Performing Test HAVE_MMX
-- Performing Test HAVE_MMX - Success
-- Performing Test HAVE_SSE
-- Performing Test HAVE_SSE - Success
-- Performing Test HAVE_SSE2
-- Performing Test HAVE_SSE2 - Success
-- Performing Test HAVE_3DNOW
-- Performing Test HAVE_3DNOW - Success
-- Performing Test HAVE_ALTIVEC
-- Performing Test HAVE_ALTIVEC - Failed
-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/kde-base/qimageblitz-9999/work/qimageblitz_build
[ 7%] Generating asm_scale.o
Scanning dependencies of target qimageblitz
[ 23%] [ 23%] Building CXX object blitz/CMakeFiles/qimageblitz.dir/colors.o
Building CXX object blitz/CMakeFiles/qimageblitz.dir/blitz.o
/var/tmp/portage/kde-base/qimageblitz-9999/work/qimageblitz-9999/blitz/colors.cpp:78:2: warning: #warning Us/var/tmp/portage/kde-base/qimageblitz-9999/work/qimageblitz-9999/blitz/blitz.cpp:428:2:i nwarning: g#warning UMsMiXn gg rMaMyXs csaolbee
l/var/tmp/portage/kde-base/qimageblitz-9999/work/qimageblitz-9999/blitz/colors.cpp:234:2: ewarning: d#warning gUes
ing MMX invert
/var/tmp/portage/kde-base/qimageblitz-9999/work/qimageblitz-9999/blitz/colors.cpp:395:2: warning: #warning Using MMX intensity
[ 30%] Building CXX object blitz/CMakeFiles/qimageblitz.dir/convolve.o
/var/tmp/portage/kde-base/qimageblitz-9999/work/qimageblitz-9999/blitz/convolve.cpp:144:2: warning: #warning Using MMX floating point convolve
/var/tmp/portage/kde-base/qimageblitz-9999/work/qimageblitz-9999/blitz/convolve.cpp:465:2: warning: #warning Using MMX integer convolve
/var/tmp/portage/kde-base/qimageblitz-9999/work/qimageblitz-9999/blitz/convolve.cpp:974:2: warning: #warning Using MMX gaussian blur
[ 38%] Building CXX object blitz/CMakeFiles/qimageblitz.dir/histogram.o
[ 46%] [ 53%] Building CXX object blitz/CMakeFiles/qimageblitz.dir/blitzcpu.o
Building CXX object blitz/CMakeFiles/qimageblitz.dir/scale.o
[ 61%] Building CXX object blitz/CMakeFiles/qimageblitz.dir/scalefilter.o
/var/tmp/portage/kde-base/qimageblitz-9999/work/qimageblitz-9999/blitz/scale.cpp:99:2: warning: #warning Using MMX smoothscaling
[ 69%] Building CXX object blitz/CMakeFiles/qimageblitz.dir/gradient.o
Linking CXX shared library libqimageblitz.so
[ 69%] Built target qimageblitz
[ 76%] Generating mainwindow.moc
Scanning dependencies of target blitztest
[ 92%] [ 92%] Building CXX object test/CMakeFiles/blitztest.dir/mainwindow.o
Building CXX object test/CMakeFiles/blitztest.dir/main.o
[100%] Building CXX object test/CMakeFiles/blitztest.dir/scaledialog.o
Linking CXX executable blitztest
/usr/lib/qt4/libQtCore.so: undefined reference to `pthread_cleanup_pop'
/usr/lib/qt4/libQtCore.so: undefined reference to `pthread_attr_destroy'
/usr/lib/qt4/libQtCore.so: undefined reference to `pthread_create'
/usr/lib/qt4/libQtCore.so: undefined reference to `pthread_attr_init'
/usr/lib/qt4/libQtCore.so: undefined reference to `pthread_cancel'
/usr/lib/qt4/libQtCore.so: undefined reference to `pthread_testcancel'
/usr/lib/qt4/libQtCore.so: undefined reference to `pthread_cleanup_push'
/usr/lib/qt4/libQtCore.so: undefined reference to `pthread_attr_getschedpolicy'
/usr/lib/qt4/libQtCore.so: undefined reference to `pthread_getschedparam'
/usr/lib/qt4/libQtCore.so: undefined reference to `pthread_setcancelstate'
/usr/lib/qt4/libQtCore.so: undefined reference to `pthread_attr_setinheritsched'
/usr/lib/qt4/libQtCore.so: undefined reference to `pthread_setschedparam'
/usr/lib/qt4/libQtCore.so: undefined reference to `pthread_attr_setstacksize'
/usr/lib/qt4/libQtCore.so: undefined reference to `pthread_attr_setschedpolicy'
/usr/lib/qt4/libQtCore.so: undefined reference to `pthread_attr_setschedparam'
/usr/lib/qt4/libQtCore.so: undefined reference to `pthread_attr_setdetachstate'
/usr/lib/qt4/libQtCore.so: undefined reference to `pthread_cond_timedwait'
collect2: ld returned 1 exit status
gmake[2]: *** [test/blitztest] Error 1
gmake[1]: *** [test/CMakeFiles/blitztest.dir/all] Error 2
gmake: *** [all] Error 2
*
* ERROR: kde-base/qimageblitz-9999 failed.
* Call stack:
* ebuild.sh, line 1695: Called dyn_compile
* ebuild.sh, line 1033: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ebuild.sh, line 1377: Called cmake-utils_src_compile
* cmake-utils.eclass, line 53: Called cmake-utils_src_make
* cmake-utils.eclass, line 111: Called die
* The specific snippet of code:
* emake || die "Make failed!";
* The die message:
* Make failed!
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/kde-base/qimageblitz-9999/temp/build.log'.
* This ebuild used the following eclasses from overlays:
* /usr/portage/local/layman/kde/eclass/cmake-utils.eclass
*
* Messages for package kde-base/qimageblitz-9999:
* WARNING! This an experimental ebuild of qimageblitz SVN tree. Use at your own risk.
* Do _NOT_ file bugs at bugs.gentoo.org because of this ebuild!
*
* ERROR: kde-base/qimageblitz-9999 failed.
* Call stack:
* ebuild.sh, line 1695: Called dyn_compile
* ebuild.sh, line 1033: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ebuild.sh, line 1377: Called cmake-utils_src_compile
* cmake-utils.eclass, line 53: Called cmake-utils_src_make
* cmake-utils.eclass, line 111: Called die
* The specific snippet of code:
* emake || die "Make failed!";
* The die message:
* Make failed!
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/kde-base/qimageblitz-9999/temp/build.log'.
* This ebuild used the following eclasses from overlays:
* /usr/portage/local/layman/kde/eclass/cmake-utils.eclass
*
zion ~ #
I had to pause the ebuild and edit the CMakeLists.txt and remove the testdirectory... I'm bit worried about this though, as a linking-failure is a bit more serious...
/addeman