Hi,

[ sorry for the delay ]

On Fri, Dec 25, 2009 at 06:27:05PM -0500, Michael Hanke wrote:
> Hi,
> 
> On Thu, Dec 24, 2009 at 11:31:42AM +0100, Lucas Nussbaum wrote:
> > Source: fslview
> > Version: 3.1.2+4.1.4-2
> > Severity: serious
> > User: debian...@lists.debian.org
> > Usertags: qa-ftbfs-20091213 qa-ftbfs
> > Justification: FTBFS on amd64
> > 
> > > /build/user-fslview_3.1.2+4.1.4-2-amd64-imf6Ze/fslview-3.1.2+4.1.4/src/storage/image.h:42:
> > >  warning: 'typedef' was ignored in this declaration
> > > make[3]: *** No rule to make target `/usr/lib/openmpi/lib/libmpi_cxx.so', 
> > > needed by `bin/fslview'.  Stop.
> > > make[2]: *** [src/fslview/CMakeFiles/fslview.dir/all] Error 2make[3]: 
> > > Leaving directory 
> > > `/build/user-fslview_3.1.2+4.1.4-2-amd64-imf6Ze/fslview-3.1.2+4.1.4/obj-x86_64-linux-gnu'
> 
> Hmmm, fslview doesn't use openmpi. Don't know why this shows up, since
> the sources do not refer to any mpi-related stuff. I am somewhat
> inclined to blame some package that fslview build-depends on.

It seems that I was right with my assumption. Fslview links against
libvtkHybrid.so that is in turn linked against 74 other libraries. Here
is a list of selected items (I might have missed other important ones,
or added some false positive):

  libmysqlclient.so.16 => /usr/lib/libmysqlclient.so.16 (0xf6547000)
  libavcodec.so.52 => /usr/lib/i686/cmov/libavcodec.so.52 (0xf566e000)
  libavformat.so.52 => /usr/lib/i686/cmov/libavformat.so.52 (0xf5573000)
  libavutil.so.49 => /usr/lib/i686/cmov/libavutil.so.49 (0xf5561000)
  libswscale.so.0 => /usr/lib/i686/cmov/libswscale.so.0 (0xf5533000)
  libmpi_cxx.so.0 => /usr/lib/libmpi_cxx.so.0 (0xf54ec000)
  libmpi.so.0 => /usr/lib/libmpi.so.0 (0xf5455000)
  libopen-rte.so.0 => /usr/lib/libopen-rte.so.0 (0xf5413000)
  libopen-pal.so.0 => /usr/lib/libopen-pal.so.0 (0xf53ac000)
  libdirac_encoder.so.0 => /usr/lib/libdirac_encoder.so.0 (0xf4fdc000)

To be able to build fslview on sid I would need to add the following
build-dependencies

  libopenmpi-dev
  libavcodec-dev
  libavformat-dev
  libswscale-dev
  libgl2ps-dev

However, none of them is required by fslview itself, but all are pulled
in by VTK. I therefore think that the 'vtki5-dev' package should depend
on these instead.

On the other hand, I can remove all of the -l statements for the
libraries above from the link command in question and linking still
works -- so apparently these libs are no really critical. Yet, there are
added is deps for linking (somehow).

I'm not sure you who is to blame. cmake is identical in squeeze and sid
and linking works on squeeze. OTOH VTK is more advanced in sid, but the
complexity of the package makes it relatively difficult to get a clue
what is going on.

For now, I'm going to reassign this bug to vtk, since there seems to be
little that I can do in fslview to fix that properly.

For reference:

The only relevant link config in the CMakeLists.txt of fslview is this

src/fslview/CMakeLists.txt:TARGET_LINK_LIBRARIES( fslview vtkHybrid vtkWidgets 
QVTK )
(there is more linking: local libs, Qt, but nothing related to the
problem above)

Linking is attempted with this command (this is a single command,
reformated for better readability):

-----------------------------------
/usr/bin/g++   -g -O2 -I/tmp/fslview-3.1.2+4.1.4/fsl/libprob
-I/usr/include/newmat -I/usr/include/qwt -I/usr/include/nifti -g -Wall
-O2  -Wno-deprecated  -Wl,--as-needed -Wl,--no-undefined
CMakeFiles/fslview.dir/main.o CMakeFiles/fslview.dir/preferences.o
CMakeFiles/fslview.dir/atlas.o CMakeFiles/fslview.dir/filemanager.o
CMakeFiles/fslview.dir/logger.o CMakeFiles/fslview.dir/application.o
CMakeFiles/fslview.dir/assistantclient.o
CMakeFiles/fslview.dir/splashscreen.o CMakeFiles/fslview.dir/version.o
CMakeFiles/fslview.dir/tracker.o CMakeFiles/fslview.dir/cursor.o
CMakeFiles/fslview.dir/bricon.o CMakeFiles/fslview.dir/imagegroup.o
CMakeFiles/fslview.dir/overlaylist.o CMakeFiles/fslview.dir/metaimage.o
CMakeFiles/fslview.dir/imagedata.o CMakeFiles/fslview.dir/drawsettings.o
CMakeFiles/fslview.dir/imagedisplaysetting.o
CMakeFiles/fslview.dir/lookuptable.o
CMakeFiles/fslview.dir/curvedatalist.o
CMakeFiles/fslview.dir/imagedatastore.o
CMakeFiles/fslview.dir/imagebuffer.o
CMakeFiles/fslview.dir/graphmanager.o
CMakeFiles/fslview.dir/briconwidget.o
CMakeFiles/fslview.dir/cursorwidget.o
CMakeFiles/fslview.dir/drawwidget.o CMakeFiles/fslview.dir/imagewidget.o
CMakeFiles/fslview.dir/viewwidget.o CMakeFiles/fslview.dir/orthowidget.o
CMakeFiles/fslview.dir/singlewidget.o
CMakeFiles/fslview.dir/lightboxwidget.o
CMakeFiles/fslview.dir/slicewidget.o CMakeFiles/fslview.dir/sliceview.o
CMakeFiles/fslview.dir/timeserieswidget.o
CMakeFiles/fslview.dir/singleserieswidget.o
CMakeFiles/fslview.dir/overlaywidget.o
CMakeFiles/fslview.dir/histogramwidget.o
CMakeFiles/fslview.dir/clusterbrowser.o
CMakeFiles/fslview.dir/histogramtoolbar.o
CMakeFiles/fslview.dir/overlayinfodialog.o
CMakeFiles/fslview.dir/meshoptionsdialog.o
CMakeFiles/fslview.dir/atlasoptionsdialog.o
CMakeFiles/fslview.dir/atlasselectiondialog.o
CMakeFiles/fslview.dir/viewoptionsdialog.o
CMakeFiles/fslview.dir/histogramoptionsdialogimpl.o
CMakeFiles/fslview.dir/properties.o
CMakeFiles/fslview.dir/propertiesdialogimpl.o
CMakeFiles/fslview.dir/vtkpropertydialog.o
CMakeFiles/fslview.dir/vtktoolbar.o
CMakeFiles/fslview.dir/timeseriestoolbar.o
CMakeFiles/fslview.dir/talairachwidget.o CMakeFiles/fslview.dir/shape.o
CMakeFiles/fslview.dir/rect.o CMakeFiles/fslview.dir/command.o
CMakeFiles/fslview.dir/modelfit.o CMakeFiles/fslview.dir/clusterdata.o
CMakeFiles/fslview.dir/tsplotcode.o CMakeFiles/fslview.dir/maintoolbar.o
CMakeFiles/fslview.dir/modetoolbar.o
CMakeFiles/fslview.dir/vtkmeshsurface.o
CMakeFiles/fslview.dir/vtkwidget.o  -o ../../bin/fslview -rdynamic
-L/usr/lib/vtk-5.2 -L/tmp/fslview-3.1.2+4.1.4/fsl/lib
-L/tmp/fslview-3.1.2+4.1.4/fsl/extras/lib
-L/tmp/fslview-3.1.2+4.1.4/obj-i486-linux-gnu/lib -L/usr/lib/openmpi/lib
../../lib/libutilities.a ../../lib/libui.a ../../lib/libstorage.a
-Wl,-Bstatic -lqassistantclient -Wl,-Bdynamic -lqt-mt -lSM -lICE -lX11
-lXext -ldl -lpthread ../../lib/libfslio.a -lniftiio -lznz -lz
../../lib/libmiscmaths.a -lnewmat ../../lib/libutils.a
-lqassistantclient -lqwt -lvtkHybrid -lvtkWidgets -lQVTK -lvtkHybrid
-lvtkParallel -lvtkexoIIc /usr/lib/openmpi/lib/libmpi_cxx.so
/usr/lib/openmpi/lib/libmpi.so /usr/lib/openmpi/lib/libopen-rte.so
/usr/lib/openmpi/lib/libopen-pal.so -ldl -lnsl -lutil -lm -ldl -lnsl
-lutil -lm -lvtkRendering -lvtkIO -lmysqlclient -lvtkDICOMParser
-lvtkNetCDF -lvtkmetaio -lvtksqlite -ljpeg -ltiff -lexpat -lavcodec
-lavformat -lavutil -lswscale -lvtkGraphics -lvtkverdict -lvtkImaging
-lvtkFiltering -lvtkCommon -lpthread -lvtksys -ldl -lm -lvtkftgl
-lfreetype -lgl2ps -lpng -lz -lGL -lXt -lSM -lICE -lX11 -lXext -lXss
-lXft
-----------------------------------

Thanks,

Michael


-- 
GPG key:  1024D/3144BE0F Michael Hanke
http://mih.voxindeserto.de



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to