Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295411 - <=kde-base/kdelibs-4.4.0 problem with FindEigen2.cmake (?)
Summary: <=kde-base/kdelibs-4.4.0 problem with FindEigen2.cmake (?)
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 304333 305375 (view as bug list)
Depends on:
Blocks: 313999
  Show dependency tree
 
Reported: 2009-12-02 10:08 UTC by Helmut Jarausch
Modified: 2010-05-17 21:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Build LOG from MAKEOPTS='-j1' emerge -1 kde-base/step (build.log,9.84 KB, text/plain)
2009-12-02 10:47 UTC, Helmut Jarausch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2009-12-02 10:08:16 UTC
Emerging kde-base/step-4.3.4 fails because it doesn't find
Eigen/IterativeSolvers :

[ 14%] Building CXX object step/stepcore/CMakeFiles/stepcore.dir/constraintsolver.o
/var/tmp/portage/kde-base/step-4.3.4/work/step-4.3.4/step/stepcore/constraintsolver.cc:23:46: error: unsupported/Eigen/IterativeSolvers: No such file or directory

Yes, I do have dev-cpp/eigen-2.0.9 installed here (and kde-base/step-4.3.3, as well)



Reproducible: Always




emerge --info
Portage 2.2_rc54 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r0, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-2.0.1
Timestamp of tree: Wed, 02 Dec 2009 06:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 1.3.7-r1, 2.1.9-r1
dev-lang/python:     2.6.4
dev-python/pycrypto: 2.1.0_beta1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo "
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/layman/java-overlay"
SYNC="rsync://rsync.informatik.RWTH-Aachen.de/gentoo-portage"
USE="3dnow 3dnowext 3dnowprefetch X a52 aac acl acpi alsa amd64 atm avahi berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus dri dts dvd dvdr eds emboss encode evo fam ffmpeg fftw firefox flac fortran fuse gdbm gfortran gif gimp gnome gpm gstreamer gtk gtk2 hal iconv ipv6 jpeg kde lapack lcms libnotify mad mikmod mmx mmxext modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt qt3support qt4 quicktime readline reflection sdl session smp spell spl sqlite sqlite3 sse sse2 sse3 sse4a ssl startup-notification svg sysfs tcl tcpd threads thunar tiff tk truetype unicode usb vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeonhd" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-12-02 10:15:20 UTC
So your eigen doesn't install those files?

Or -I/usr/include/eigen2 is missing?

# emerge portage-utils
$ qfile -v IterativeSolvers
dev-cpp/eigen-2.0.9 (/usr/include/eigen2/unsupported/Eigen/IterativeSolvers)
dev-cpp/eigen-2.0.9 (/usr/include/eigen2/unsupported/Eigen/src/IterativeSolvers)
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2009-12-02 10:20:22 UTC
Could you attach complete build.log?

Also could you try "MAKEOPTS="-j" emerge  -1 step"
Comment 3 Helmut Jarausch 2009-12-02 10:45:00 UTC
(In reply to comment #1)
> So your eigen doesn't install those files?
> 
> Or -I/usr/include/eigen2 is missing?

probably (the files are there!)

> 
> # emerge portage-utils
> $ qfile -v IterativeSolvers
> dev-cpp/eigen-2.0.9 (/usr/include/eigen2/unsupported/Eigen/IterativeSolvers)
> dev-cpp/eigen-2.0.9
> (/usr/include/eigen2/unsupported/Eigen/src/IterativeSolvers)
> 

Comment 4 Helmut Jarausch 2009-12-02 10:47:58 UTC
Created attachment 211744 [details]
Build LOG from  MAKEOPTS='-j1' emerge -1 kde-base/step
Comment 5 Helmut Jarausch 2009-12-03 08:14:42 UTC
It seems the recognition of the Eigen include directory is broken.
(cmake-2.8.0 / eigen-2.0.9)

The temporary patch of CMakeLists.txt (in the base directory) fixes the problem
--- CMakeLists.txt.ORIG	2009-12-03 09:07:39.287389203 +0100
+++ CMakeLists.txt	2009-12-03 09:07:39.288389190 +0100
@@ -60,7 +60,7 @@
 include(MacroBoolTo01)
 
 add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
-include_directories (${QDBUS_INCLUDE_DIRS}  ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
+include_directories ( "/usr/include/eigen2" ${QDBUS_INCLUDE_DIRS}  ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
 
 add_subdirectory(cmake)
 #DONOTCOMPILE add_subdirectory(data)
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2010-02-10 15:44:47 UTC
*** Bug 304333 has been marked as a duplicate of this bug. ***
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-02-10 15:51:39 UTC
What does command `pkg-config --cflags-only-I eigen2` return as output? 
It should return "/usr/include/eigen2" and does here.
Comment 8 Helmut Jarausch 2010-02-10 16:30:25 UTC
(In reply to comment #7)
> What does command `pkg-config --cflags-only-I eigen2` return as output? 
> It should return "/usr/include/eigen2" and does here.
> 
Yes, the same here:

-I/usr/include/eigen2  
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2010-02-16 11:33:55 UTC
*** Bug 305375 has been marked as a duplicate of this bug. ***
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2010-02-16 11:34:54 UTC
Please try with a fresh start (something like emerge -C cmake kdelibs eigen and re-emerging them)
Comment 11 Helmut Jarausch 2010-02-16 18:05:53 UTC
(In reply to comment #10)
> Please try with a fresh start (something like emerge -C cmake kdelibs eigen and
> re-emerging them)
> 

I did that and the error looks a bit different. Eigen2 has been located but
there is an error while compiling step.stepcore/constraintsolver.cc

patching this by replacing
#include <unsupported/Eigen/IterativeSolvers>
by
#include <eigen2/unsupported/Eigen/IterativeSolvers>

makes step build and install just fine.
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2010-02-16 18:09:39 UTC
That isn't required
Comment 13 Helmut Jarausch 2010-02-17 07:51:51 UTC
(In reply to comment #12)
> That isn't required
> 

I applied the patch AFTER the build has failed. And it succeeded with the
patch. So, here at least, it was necessary. Probably an -I /usr/include/eigen2
is/was missing somewhere.
Comment 14 Andreas K. Hüttel archtester gentoo-dev 2010-04-18 19:41:13 UTC
Is this still happening with kde-4.4.2?
Comment 15 Andreas K. Hüttel archtester gentoo-dev 2010-05-17 21:38:04 UTC
hmmm, 4.4.3 emerges fine here
Comment 16 Andreas K. Hüttel archtester gentoo-dev 2010-05-17 21:47:51 UTC
OK, I'm closing this as worksforme now.

Seems like we have no idea what's wrong, and it affects only one system. 
If you still have problems with 4.4.2/4.4.3 and want to figure out what's happening, please just reopen...