[kde-freebsd] Complie errors involving math/eigen2

Greg Rivers gcr+kde-freebsd at tharned.org
Thu May 12 01:10:42 CEST 2011


I'm upgrading my netbook (FreeBSD 8.2-STABLE i386 as of May 2) from KDE3 
to KDE4.  Everything builds fine except for three packages:  misc/kdeedu4, 
x11-themes/kdeartwork4, and deskutils/kdeplasma-addons.

All three failures seem to involve math/eigen2.  I've seen exactly the 
same failure of kdeedu4 on an unrelated amd64 system.  Does anyone know 
what might be wrong?  See build logs below.  Thanks!

-- 
Greg Rivers


misc/kdeedu4:
---------------------------------------------------------------------------
[snip]
[ 59%] Built target plasma_applet_molmassCalculator
[ 59%] Building CXX object kalzium/src/CMakeFiles/kalzium.dir/orbitswidget.o
Scanning dependencies of target plasma_engine_kalzium
[ 59%] Building CXX object kalzium/plasmoid/engine/CMakeFiles/plasma_engine_kalzium.dir/plasma_engine_kalzium_automoc.o
[ 59%] Building CXX object kalzium/plasmoid/engine/CMakeFiles/plasma_engine_kalzium.dir/kalzium_engine.o
Linking CXX shared module ../../../lib/plasma_engine_kalzium.so
[ 59%] Built target plasma_engine_kalzium
[ 59%] [ 59%] Building CXX object kalzium/src/CMakeFiles/kalzium.dir/elementdataviewer.o
Building CXX object kalzium/src/CMakeFiles/kalzium.dir/molcalcwidget.o
Scanning dependencies of target stepcore
[ 59%] Building CXX object kalzium/src/CMakeFiles/kalzium.dir/gradientwidget_impl.o
[ 59%] Building CXX object step/stepcore/CMakeFiles/stepcore.dir/stepcore_automoc.o
[ 60%] Building CXX object step/stepcore/CMakeFiles/stepcore.dir/object.o
In file included from /usr/ports/misc/kdeedu4/work/kdeedu-4.6.2/step/stepcore/object.h:29,
                  from /usr/ports/misc/kdeedu4/work/kdeedu-4.6.2/step/stepcore/object.cc:19:
/usr/local/include/eigen2/Eigen/Core:41:29: error: tmmintrin.h: No such file or directory
In file included from /usr/local/include/eigen2/Eigen/Core:109,
                  from /usr/ports/misc/kdeedu4/work/kdeedu-4.6.2/step/stepcore/object.h:29,
                  from /usr/ports/misc/kdeedu4/work/kdeedu-4.6.2/step/stepcore/object.cc:19:
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h: In static member function 'static void Eigen::ei_palign_impl<Offset, float __vector__>::run(float __vector__&, const float __vector__&)':
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h:239: error: there are no arguments to '_mm_alignr_epi8' that depend on a template parameter, so a declaration of '_mm_alignr_epi8' must be available
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h:239: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h: In static member function 'static void Eigen::ei_palign_impl<Offset, long long int __vector__>::run(long long int __vector__&, const long long int __vector__&)':
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h:249: error: there are no arguments to '_mm_alignr_epi8' that depend on a template parameter, so a declaration of '_mm_alignr_epi8' must be available
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h: In static member function 'static void Eigen::ei_palign_impl<Offset, double __vector__>::run(double __vector__&, const double __vector__&)':
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h:259: error: there are no arguments to '_mm_alignr_epi8' that depend on a template parameter, so a declaration of '_mm_alignr_epi8' must be available
gmake[2]: *** [step/stepcore/CMakeFiles/stepcore.dir/object.o] Error 1
gmake[1]: *** [step/stepcore/CMakeFiles/stepcore.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
[ 60%] Building CXX object kalzium/src/CMakeFiles/kalzium.dir/kalziumdataobject.o
[ 60%] Building CXX object kalzium/src/CMakeFiles/kalzium.dir/kalziumutils.o
[ 60%] Building CXX object kalzium/src/CMakeFiles/kalzium.dir/kalziumgradienttype.o
[ 60%] Building CXX object kalzium/src/CMakeFiles/kalzium.dir/kalziumnumerationtype.o
[ 60%] Building CXX object kalzium/src/CMakeFiles/kalzium.dir/kalziumelementproperty.o
[ 60%] Building CXX object kalzium/src/CMakeFiles/kalzium.dir/kalziumschemetype.o
[ 60%] Building CXX object kalzium/src/CMakeFiles/kalzium.dir/search.o
[ 61%] Building CXX object kalzium/src/CMakeFiles/kalzium.dir/searchwidget.o
[ 61%] Building CXX object kalzium/src/CMakeFiles/kalzium.dir/rsdialog.o
[ 61%] Building CXX object kalzium/src/CMakeFiles/kalzium.dir/legendwidget.o
[ 61%] Building CXX object kalzium/src/CMakeFiles/kalzium.dir/exportdialog.o
[ 61%] Building CXX object kalzium/src/CMakeFiles/kalzium.dir/tableinfowidget.o
[ 61%] Building CXX object kalzium/src/CMakeFiles/kalzium.dir/spectrumviewimpl.o
[ 61%] Building CXX object kalzium/src/CMakeFiles/kalzium.dir/spectrumwidget.o
[ 61%] Building CXX object kalzium/src/CMakeFiles/kalzium.dir/periodsystembase.o
[ 61%] Building CXX object kalzium/src/CMakeFiles/kalzium.dir/periodictablescene_p.o
[ 61%] Building CXX object kalzium/src/CMakeFiles/kalzium.dir/elementitem.o
[ 61%] Building CXX object kalzium/src/CMakeFiles/kalzium.dir/statemachine.o
[ 61%] Building CXX object kalzium/src/CMakeFiles/kalzium.dir/numerationitem.o
[ 61%] Building CXX object kalzium/src/CMakeFiles/kalzium.dir/eqchemview.o
[ 61%] Building CXX object kalzium/src/CMakeFiles/kalzium.dir/prefs.o
Linking CXX executable kalzium
[ 61%] Built target kalzium
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/misc/kdeedu4.
*** Error code 1

Stop in /usr/ports/misc/kdeedu4.

===>>> make failed for misc/kdeedu4
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
        portmaster <flags> misc/kdeedu4


x11-themes/kdeartwork4:
---------------------------------------------------------------------------
[snip]
[ 19%] Built target klines.kss
[ 20%] Generating ui_pendulumcfg.h
Scanning dependencies of target kpendulum.kss
Linking CXX executable klorenz.kss
[ 21%] Building CXX object kscreensaver/kdesavers/CMakeFiles/kpendulum.kss.dir/kpendulum.kss_automoc.o
[ 22%] Building CXX object kscreensaver/kdesavers/CMakeFiles/kpendulum.kss.dir/pendulum.o
In file included from /usr/ports/x11-themes/kdeartwork4/work/kdeartwork-4.6.2/kscreensaver/kdesavers/pendulum.cpp:45:
/usr/local/include/eigen2/Eigen/Core:41:29: error: tmmintrin.h: No such file or directory
[ 22%] Built target klorenz.kss
[ 23%] Building CXX object kscreensaver/kdesavers/CMakeFiles/kpendulum.kss.dir/sspreviewarea.o
Scanning dependencies of target kpolygon.kss
[ 24%] Building CXX object kscreensaver/kdesavers/CMakeFiles/kpolygon.kss.dir/kpolygon.kss_automoc.o
[ 25%] Building CXX object kscreensaver/kdesavers/CMakeFiles/kpolygon.kss.dir/polygon.o
In file included from /usr/local/include/eigen2/Eigen/Core:109,
                  from /usr/ports/x11-themes/kdeartwork4/work/kdeartwork-4.6.2/kscreensaver/kdesavers/pendulum.cpp:45:
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h: In static member function 'static void Eigen::ei_palign_impl<Offset, float __vector__>::run(float __vector__&, const float __vector__&)':
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h:239: error: there are no arguments to '_mm_alignr_epi8' that depend on a template parameter, so a declaration of '_mm_alignr_epi8' must be available
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h:239: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h: In static member function 'static void Eigen::ei_palign_impl<Offset, long long int __vector__>::run(long long int __vector__&, const long long int __vector__&)':
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h:249: error: there are no arguments to '_mm_alignr_epi8' that depend on a template parameter, so a declaration of '_mm_alignr_epi8' must be available
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h: In static member function 'static void Eigen::ei_palign_impl<Offset, double __vector__>::run(double __vector__&, const double __vector__&)':
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h:259: error: there are no arguments to '_mm_alignr_epi8' that depend on a template parameter, so a declaration of '_mm_alignr_epi8' must be available
gmake[2]: *** [kscreensaver/kdesavers/CMakeFiles/kpendulum.kss.dir/pendulum.o] Error 1
gmake[1]: *** [kscreensaver/kdesavers/CMakeFiles/kpendulum.kss.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
Linking CXX executable kpolygon.kss
[ 25%] Built target kpolygon.kss
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/x11-themes/kdeartwork4.
*** Error code 1

Stop in /usr/ports/x11-themes/kdeartwork4.

===>>> make failed for x11-themes/kdeartwork4
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
        portmaster <flags> x11-themes/kdeartwork4


deskutils/kdeplasma-addons:
---------------------------------------------------------------------------
[snip]
Linking CXX shared module ../../lib/plasma_runner_events.so
[ 75%] Built target plasma_runner_events
[ 75%] Building CXX object wallpapers/mandelbrot/CMakeFiles/plasma_wallpaper_mandelbrot.dir/render_with_arch_defaults.o
In file included from /usr/ports/deskutils/kdeplasma-addons/work/kdeplasma-addons-4.6.2/wallpapers/mandelbrot/mix.h:23,
                  from /usr/ports/deskutils/kdeplasma-addons/work/kdeplasma-addons-4.6.2/wallpapers/mandelbrot/render_impl.cpp:20,
                  from /usr/ports/deskutils/kdeplasma-addons/work/kdeplasma-addons-4.6.2/wallpapers/mandelbrot/render_with_arch_defaults.cpp:1:
/usr/local/include/eigen2/Eigen/Core:41:29: error: tmmintrin.h: No such file or directory
[ 75%] Generating ui_config.h
Scanning dependencies of target plasma_wallpaper_pattern
[ 75%] Building CXX object wallpapers/pattern/CMakeFiles/plasma_wallpaper_pattern.dir/plasma_wallpaper_pattern_automoc.o
[ 75%] Building CXX object wallpapers/pattern/CMakeFiles/plasma_wallpaper_pattern.dir/pattern.o
In file included from /usr/local/include/eigen2/Eigen/Core:109,
                  from /usr/ports/deskutils/kdeplasma-addons/work/kdeplasma-addons-4.6.2/wallpapers/mandelbrot/mix.h:23,
                  from /usr/ports/deskutils/kdeplasma-addons/work/kdeplasma-addons-4.6.2/wallpapers/mandelbrot/render_impl.cpp:20,
                  from /usr/ports/deskutils/kdeplasma-addons/work/kdeplasma-addons-4.6.2/wallpapers/mandelbrot/render_with_arch_defaults.cpp:1:
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h: In static member function 'static void Eigen::ei_palign_impl<Offset, float __vector__>::run(float __vector__&, const float __vector__&)':
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h:239: error: there are no arguments to '_mm_alignr_epi8' that depend on a template parameter, so a declaration of '_mm_alignr_epi8' must be available
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h:239: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h: In static member function 'static void Eigen::ei_palign_impl<Offset, long long int __vector__>::run(long long int __vector__&, const long long int __vector__&)':
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h:249: error: there are no arguments to '_mm_alignr_epi8' that depend on a template parameter, so a declaration of '_mm_alignr_epi8' must be available
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h: In static member function 'static void Eigen::ei_palign_impl<Offset, double __vector__>::run(double __vector__&, const double __vector__&)':
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h:259: error: there are no arguments to '_mm_alignr_epi8' that depend on a template parameter, so a declaration of '_mm_alignr_epi8' must be available
gmake[2]: *** [wallpapers/mandelbrot/CMakeFiles/plasma_wallpaper_mandelbrot.dir/render_with_arch_defaults.o] Error 1
gmake[1]: *** [wallpapers/mandelbrot/CMakeFiles/plasma_wallpaper_mandelbrot.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
Linking CXX shared module ../../lib/plasma_wallpaper_pattern.so
[ 75%] Built target plasma_wallpaper_pattern
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/deskutils/kdeplasma-addons.
*** Error code 1

Stop in /usr/ports/deskutils/kdeplasma-addons.

===>>> make failed for deskutils/kdeplasma-addons
===>>> Aborting update

===>>> Update for deskutils/kdeplasma-addons failed
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
        portmaster <flags> x11/kde4 deskutils/kdeplasma-addons math/eigen2 misc/kdeedu4 math/gsl x11-themes/kdeartwork4


More information about the kde-freebsd mailing list