Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301538 - sci-visualization/paraview-3.6.2 fails to emerge because of undefined reference to vtkODBCDatabase::New()
Summary: sci-visualization/paraview-3.6.2 fails to emerge because of undefined referen...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 302621
  Show dependency tree
 
Reported: 2010-01-19 16:46 UTC by Juergen Rose
Modified: 2010-01-30 18:33 UTC (History)
1 user (show)

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


Attachments
gzippid /var/tmp/portage/sci-visualization/paraview-3.6.2/temp/build.log (build.log.gz,268.34 KB, application/octet-stream)
2010-01-19 16:48 UTC, Juergen Rose
Details
/var/tmp/portage/sci-visualization/paraview-3.6.2/temp/build.log.gz (build.log.gz,632.34 KB, application/octet-stream)
2010-01-22 19:28 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2010-01-19 16:46:56 UTC
'emerge paraview' fails with:
...
cd /var/tmp/portage/sci-visualization/paraview-3.6.2/work/ParaView3_build/VTK/Wrapping/Python && /usr/bin/cmake -E cmake_link_script CMakeFiles/pvtkpython.dir/link.txt --verbose=TRUE
/usr/bin/x86_64-pc-linux-gnu-g++   -O2 -pipe -DH5_USE_16_API  -Wno-deprecated  -Wno-deprecated  -Wl,-O1  CMakeFiles/pvtkpython.dir/vtkParaPythonAppInit.o  -o ../../../bin/pvtkpython -rdynamic -lpython2.6 ../../../bin/libvtksys.so.pv3.6 ../../../bin/libvtkCommon.so.pv3.6 ../../../bin/libvtkFiltering.so.pv3.6 ../../../bin/libvtkIO.so.pv3.6 ../../../bin/libvtkGraphics.so.pv3.6 ../../../bin/libvtkImaging.so.pv3.6 -lutil ../../../bin/libvtkRendering.so.pv3.6 ../../../bin/libvtkVolumeRendering.so.pv3.6 ../../../bin/libvtkHybrid.so.pv3.6 ../../../bin/libvtkWidgets.so.pv3.6 ../../../bin/libvtkParallel.so.pv3.6 ../../../bin/libvtkGeovis.so.pv3.6 ../../../bin/libvtkInfovis.so.pv3.6 ../../../bin/libvtkViews.so.pv3.6 ../../../bin/libvtkInfovis.so.pv3.6 ../../../bin/libvtkWidgets.so.pv3.6 ../../../bin/libvtkHybrid.so.pv3.6 ../../../bin/libvtkParallel.so.pv3.6 ../../../bin/libvtkRendering.so.pv3.6 ../../../bin/libvtkIO.so.pv3.6 -lpq -lmysqlclient ../../../bin/libvtkDICOMParser.so.pv3.6 ../../../bin/libvtkmetaio.so.pv3.6 ../../../bin/libvtksqlite.so.pv3.6 -ljpeg -ltiff -lexpat ../../../bin/libvtkGraphics.so.pv3.6 ../../../bin/libvtkverdict.so.vtk5.5.0 ../../../bin/libvtkImaging.so.pv3.6 ../../../bin/libvtkFiltering.so.pv3.6 ../../../bin/libvtkCommon.so.pv3.6 ../../../bin/libvtksys.so.pv3.6 -ldl -lm ../../../bin/libvtkftgl.so.pv3.6 /usr/lib64/qt4/libQtGui.so -lpng -lSM -lICE -lXrender -lXrandr -lXcursor -lXfixes -lfontconfig -lXext -lX11 /usr/lib64/qt4/libQtSql.so /usr/lib64/qt4/libQtCore.so -lgthread-2.0 -lglib-2.0 -lgobject-2.0 -lrt -ldl -lXt -lSM -lICE -lXrender -lXrandr -lXcursor -lXfixes -lfontconfig -lXext -lX11 /usr/lib64/qt4/libQtSql.so /usr/lib64/qt4/libQtCore.so -lgthread-2.0 -lglib-2.0 -lgobject-2.0 -lrt -ldl -lXt -lfreetype -lz -lpthread -lGL ../../../bin/libvtkexoIIc.so.pv3.6 ../../../bin/libvtkNetCDF.so.pv3.6 -lmpi_cxx -lmpi -lopen-rte -lopen-pal -ldl -lnsl -ldl -lnsl -lutil -lm -lxml2 ../../../bin/libvtkalglib.so.pv3.6 ../../../bin/libvtkproj4.so.pv3.6 -lm 
../../../bin/libvtkIO.so.pv3.6: undefined reference to `vtkODBCDatabase::New()'
collect2: ld returned 1 exit status


Reproducible: Always




root@moose:/usr/local/portage/dev-db/sqlite(46)# emerge --info =sci-visualization/paraview-3.6.2
Portage 2.1.7.16 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.32-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9650_@_3.00GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 19 Jan 2010 03:00:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4, 3.1.1-r1
dev-python/pycrypto: 2.1.0
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
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="* -@EULA PUEL dlj-1.1 skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
FFLAGS="-march=nocona -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="de fr"
MAKEOPTS="-j1"
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/layman/zugaina /usr/local/portage/layman/java-overlay /usr/local/portage/layman/science /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi administrator afs alsa amd64 amrr ao aotuv apache2 asf aspell audacious audiofile automount bash-completion beagle berkdb bjam blas bluetooth boo boost branding bzip2 c++ cairo cardbus cdda cddb cdf cdio cdparanoia cdr cgi chm cli consolekit corba cracklib crypt cups curl cxx daap dbus device-mapper dga dia djvu doc dri ds2490 dts dv dvb dvd dvdr dvi dxr3 eds elf emacs emboss encode epiphany evo examples exif expat extra extras fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx fts3 fuse galago garmin gd gdal gdbm geolocation geos gif gimp ginac git glade glib glitz gml gmp gnokii gnome gnome-keyring gnuplot gnutls gphoto2 gpm graphics graphtft graphviz gs gsl gsm gstreamer gtk guile hal harness hddtemp hdf hdf5 hlapi http httpd hvm iconv icq icu id3 ide imagemagick imap innodb ipod ipv6 irda ithreads jabber jadetex java java5 java6 jbig john jpeg jpeg2k kde kerberos kexi kpathsea kvm ladspa lame lapack laptop latex lcms ldap libffi libgda libnotify libsamplerate lirc lm_sensors lua lzo mad mail maildir mailwrapper math matroska matrox mikmod mmx mmxext mng modules mono motif mozdevelop mozilla mp3 mp4 mpeg mpi mplayer mtp mudflap multilib musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networking networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs ntp numarray numeric nvidia obex objc ocaml octave odbc ogdi ogg ole openexr opengl openmp pae pam pcre pda pdf perl plotutils plugins png podcast policykit posix postgres postscript ppds pppd preview-latex proj projectx pstricks pulseaudio pymol python qhull qt3support qt4 quicktime readline reflection reiserfs rle romio rpc rrdcgi rrdtool samba sasl science sdl server session slang slp smbclient smp sndfile snmp soup sox speex spell spl sql sqlite sse sse2 ssl startup-notification stlport subtitles subversion suexec svg swig sysfs szip t1lib tcl tcpd tex tex4ht texmacs theora thinkpad threads thunar thunderbird tidy tiff tk tntc tools truetype udev unicode usb userlocales utempter v4l2 virtualbox vorbis wav webdav webdav-serf webkit wifi wmf wxwidgets x264 xattr xcb xemacs xext xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="intel8x0" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse                evdev               " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler ruby websvccommon xml" QEMU_SOFTMMU_TARGETS="i386 ppc ppc64 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18 jruby" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


root@moose:/usr/local/portage/dev-db/sqlite(47)# emerge -pqv =sci-visualization/paraview-3.6.2
[ebuild     U ] sci-visualization/paraview-3.6.2 [3.6.1-r1] USE="boost doc examples gui%* hdf5 mpi mysql%* odbc%* plugins postgres%* python -cg% -overview% -streaming% (-qt4%*)"
Comment 1 Juergen Rose 2010-01-19 16:48:27 UTC
Created attachment 216914 [details]
gzippid /var/tmp/portage/sci-visualization/paraview-3.6.2/temp/build.log
Comment 2 François Bissey 2010-01-20 20:11:57 UTC
Hi,

So it looks like it is odbc related.
I admit I haven't tested all the database interfaces when I added them.
I think I tested mysql as it is already installed on my system, I trusted
paraview for the other two, I shouldn't have.
However I had made them conditional to the "overview" use flag, I don't
know if it will build without it, can you try to build with the overview
use flag?
Comment 3 Juergen Rose 2010-01-21 12:20:36 UTC
I get the same error with the overview flag:
...
/usr/bin/x86_64-pc-linux-gnu-g++   -O2 -pipe -DH5_USE_16_API  -Wno-deprecated  -Wno-deprecated  -Wl,-O1  CMakeFiles/pvtkpython.dir/vtkParaPythonAppInit.o  -o ../../../bin/pvtkpython -rdynamic ... ../../../bin/libvtkproj4.so.pv3.6 -lm../../../bin/libvtkIO.so.pv3.6: undefined reference to `vtkODBCDatabase::New()'
collect2: ld returned 1 exit status


root@moose:/home/rose(59)# emerge -pqv =sci-visualization/paraview-3.6.2
[ebuild     U ] sci-visualization/paraview-3.6.2 [3.6.1-r1] USE="boost doc examples gui%* hdf5 mpi mysql%* odbc%* overview%* plugins postgres%* python -cg% -streaming% (-qt4%*)" 
Comment 4 François Bissey 2010-01-21 20:34:13 UTC
(In reply to comment #3)
> I get the same error with the overview flag:
> ...
> /usr/bin/x86_64-pc-linux-gnu-g++   -O2 -pipe -DH5_USE_16_API  -Wno-deprecated 
> -Wno-deprecated  -Wl,-O1  CMakeFiles/pvtkpython.dir/vtkParaPythonAppInit.o  -o
> ../../../bin/pvtkpython -rdynamic ... ../../../bin/libvtkproj4.so.pv3.6
> -lm../../../bin/libvtkIO.so.pv3.6: undefined reference to
> `vtkODBCDatabase::New()'
> collect2: ld returned 1 exit status
> 
> 
> root@moose:/home/rose(59)# emerge -pqv =sci-visualization/paraview-3.6.2
> [ebuild     U ] sci-visualization/paraview-3.6.2 [3.6.1-r1] USE="boost doc
> examples gui%* hdf5 mpi mysql%* odbc%* overview%* plugins postgres%* python
> -cg% -streaming% (-qt4%*)" 
> 
I am sorry Juergen but it looks like you will have to try without
the odbc use flag. I am guessing you don't use odbc database with
paraview as we didn't really offer that option before so I am hoping
it won't be a problem for you.
I will look into it as it should either be fixed or dropped.

Thanks for the report. 
Comment 5 Markus Dittrich (RETIRED) gentoo-dev 2010-01-22 03:16:26 UTC
The problem is that paraview's build system is a bit broken.
Presently, it doesn't find the odbc libraries but still builds
some of the interface code and then of course fails to link.

Markus
Comment 6 Markus Dittrich (RETIRED) gentoo-dev 2010-01-22 03:40:52 UTC
This should be fixed now. Please try again in a few
hours after re-syncing.

Best,
Markus
Comment 7 Juergen Rose 2010-01-22 19:25:39 UTC
'emerge paraview' now fails with:
...
In file included from /var/tmp/portage/sci-visualization/paraview-3.6.2/work/ParaView3/Plugins/H5PartReader/H5Part/src/H5Part.h:16,
                 from /var/tmp/portage/sci-visualization/paraview-3.6.2/work/ParaView3/Plugins/H5PartReader/vtkH5PartReader.cxx:83:
/var/tmp/portage/sci-visualization/paraview-3.6.2/work/ParaView3/Plugins/H5PartReader/H5Part/src/H5PartTypes.h:21: error: conflicting declaration 'typedef int MPI_Comm'
/usr/include/mpi.h:221: error: 'MPI_Comm' has a previous declaration as 'typedef struct ompi_communicator_t* MPI_Comm'
make[2]: *** [Plugins/H5PartReader/CMakeFiles/H5PartReader.dir/vtkH5PartReader.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sci-visualization/paraview-3.6.2/work/ParaView3_build'
make[1]: *** [Plugins/H5PartReader/CMakeFiles/H5PartReader.dir/all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sci-visualization/paraview-3.6.2/work/ParaView3_build'
make: *** [all] Error 2
 * ERROR: sci-visualization/paraview-3.6.2 failed:
 *   Make failed!
Comment 8 Juergen Rose 2010-01-22 19:26:48 UTC
root@moose:/root(40)# emerge --info =sci-visualization/paraview-3.6.2
Portage 2.1.7.16 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.32-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9650_@_3.00GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 22 Jan 2010 18:00:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4, 3.1.1-r1
dev-python/pycrypto: 2.1.0
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
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="* -@EULA PUEL dlj-1.1 skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
FFLAGS="-march=nocona -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="de fr"
MAKEOPTS="-j1"
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/layman/zugaina /usr/local/portage/layman/java-overlay /usr/local/portage/layman/science /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi administrator afs alsa amd64 ao aotuv apache2 asf aspell audacious audiofile automount bash-completion beagle berkdb blas bluetooth boo boost branding bzip2 c++ cairo cdda cddb cdf cdio cdparanoia cdr cgi chm cli consolekit corba cracklib crypt cups curl cxx daap dbus device-mapper dga dia djvu doc dri ds2490 dts dv dvb dvd dvdr dvi dxr3 eds elf emacs emboss encode epiphany evo examples exif expat extra extras fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx fts3 fuse galago garmin gd gdal gdbm geolocation geos gif gimp ginac git glade glib glitz gml gmp gnokii gnome gnome-keyring gnuplot gnutls gphoto2 gpm graphics graphtft graphviz gs gsl gsm gstreamer gtk guile hal harness hddtemp hdf hdf5 hlapi http httpd hvm iconv icq icu id3 ide imagemagick imap innodb ipod ipv6 irda ithreads jabber jadetex java java5 java6 jbig john jpeg jpeg2k kde kerberos kexi kpathsea kvm ladspa lame lapack latex lcms ldap libffi libgda libnotify libsamplerate lirc lm_sensors lua lzo mad mail maildir mailwrapper math matroska mikmod mmx mmxext mng modules mono motif mozdevelop mozilla mp3 mp4 mpeg mpi mplayer mtp mudflap multilib musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networking networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs ntp numarray numeric nvidia obex objc ocaml octave odbc ogdi ogg ole openexr opengl openmp overview pae pam pcre pda pdf perl plotutils plugins png podcast policykit posix postgres postscript ppds pppd preview-latex proj projectx pstricks pulseaudio pymol python qhull qt3support qt4 quicktime readline reflection reiserfs rle romio rpc rrdcgi rrdtool samba sasl science sdl server session slang slp smbclient smp sndfile snmp soup sox speex spell spl sql sqlite sse sse2 ssl startup-notification stlport subtitles subversion suexec svg swig sysfs szip t1lib tcl tcpd tex tex4ht texmacs theora thinkpad threads thunar thunderbird tidy tiff tk tntc tools truetype udev unicode usb userlocales utempter v4l2 virtualbox vorbis wav webdav webdav-serf webkit wifi wmf wxwidgets x264 xattr xcb xemacs xext xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="intel8x0" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse                evdev               " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler ruby websvccommon xml" QEMU_SOFTMMU_TARGETS="i386 ppc ppc64 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18 jruby" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



root@moose:/root(41)# emerge -pqv =sci-visualization/paraview-3.6.2
[ebuild     U ] sci-visualization/paraview-3.6.2 [3.6.1-r1] USE="boost doc examples gui%* mpi mysql%* odbc%* overview%* plugins postgres%* python -cg% -streaming% (-hdf5%*) (-qt4%*)" 
Comment 9 Juergen Rose 2010-01-22 19:28:42 UTC
Created attachment 217187 [details]
/var/tmp/portage/sci-visualization/paraview-3.6.2/temp/build.log.gz

Gzipped /var/tmp/portage/sci-visualization/paraview-3.6.2/temp/build.log.
Comment 10 Justin Bronder (RETIRED) gentoo-dev 2010-01-22 20:16:42 UTC
(In reply to comment #7)
> 'emerge paraview' now fails with:
> ...
> In file included from
> /var/tmp/portage/sci-visualization/paraview-3.6.2/work/ParaView3/Plugins/H5PartReader/H5Part/src/H5Part.h:16,
>                  from
> /var/tmp/portage/sci-visualization/paraview-3.6.2/work/ParaView3/Plugins/H5PartReader/vtkH5PartReader.cxx:83:
> /var/tmp/portage/sci-visualization/paraview-3.6.2/work/ParaView3/Plugins/H5PartReader/H5Part/src/H5PartTypes.h:21:
> error: conflicting declaration 'typedef int MPI_Comm'
> /usr/include/mpi.h:221: error: 'MPI_Comm' has a previous declaration as
> 'typedef struct ompi_communicator_t* MPI_Comm'
> make[2]: ***
> [Plugins/H5PartReader/CMakeFiles/H5PartReader.dir/vtkH5PartReader.o] Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/sci-visualization/paraview-3.6.2/work/ParaView3_build'
> make[1]: *** [Plugins/H5PartReader/CMakeFiles/H5PartReader.dir/all] Error 2
> make[1]: Leaving directory
> `/var/tmp/portage/sci-visualization/paraview-3.6.2/work/ParaView3_build'
> make: *** [all] Error 2
>  * ERROR: sci-visualization/paraview-3.6.2 failed:
>  *   Make failed!
> 

H5PartTypes.h has the following:

#ifndef H5PART_HAS_MPI
typedef int  MPI_Comm;
#endif

That's obviously wrong :)
Comment 11 François Bissey 2010-01-22 22:15:26 UTC
The lesson here is that neither I or Markus have an mpi enabled machine.
I guess I'll correct that in the near future (mpi machine that is).
The other problem is that this is really a new bug a should have
been filled separately. This one is marked fixed and I am the only one left
in CC so Markus may not hear about it. 
Thanks for the footwork Justin.
Comment 12 Markus Dittrich (RETIRED) gentoo-dev 2010-01-29 04:09:11 UTC
(In reply to comment #11)
> The lesson here is that neither I or Markus have an mpi enabled machine.
> I guess I'll correct that in the near future (mpi machine that is).
> The other problem is that this is really a new bug a should have
> been filled separately. This one is marked fixed and I am the only one left
> in CC so Markus may not hear about it. 
> Thanks for the footwork Justin.
> 

Well, I do have mpi since I use it for work and incidentally I don't hit
this even with USE="mpi". I'll have to have a closer look what is going on.

In any case, I completely agree with Francois, please try to file
new issues as separate bugs. At the very least reopen the bug
otherwise I might not notice.

Thanks,
Markus
Comment 13 Markus Dittrich (RETIRED) gentoo-dev 2010-01-30 18:33:02 UTC
This should be fixed now I hope - please re-sync your tree in
an hour or so and try again. The H5Part plugin is fairly broken in 
several regards right now, including

- the H5PART_HAS_MPI macro isn't part of the build system 
  at all and hence doesn't do anything

- even if it would be the snippet pointed out by Justin will
  still break if hdf5 was compiled with mpi support.

Upstream knows about this and as a remedy I've added a
small patch. Furthermore, per #302621 paraview now
requires the mpi useflag if hdf5 was compiled with it.

If there a still issues please re-open the bug.

best,
Markus