Bug#707754: libvisp-dev: arch-dependent files in "Multi-Arch: same" package

Jakub Wilk jwilk at debian.org
Fri May 10 23:24:59 UTC 2013


Package: libvisp-dev
Version: 2.7.0-2
Severity: important
User: multiarch-devel at lists.alioth.debian.org
Usertags: multiarch

libvisp-dev is marked as "Multi-Arch: same", but the following files are 
architecture-dependent:

/usr/include/visp/vpConfig.h
/usr/share/visp/VISPConfig.cmake
/usr/share/visp/VISPLibraryDepends.cmake

An example diff between i386 and powerpc is attached.

-- 
Jakub Wilk
-------------- next part --------------
diff -ur libvisp-dev_2.7.0-2_i386/usr/include/visp/vpConfig.h libvisp-dev_2.7.0-2_powerpc/usr/include/visp/vpConfig.h
--- libvisp-dev_2.7.0-2_i386/usr/include/visp/vpConfig.h	2013-04-26 23:28:55.000000000 +0200
+++ libvisp-dev_2.7.0-2_powerpc/usr/include/visp/vpConfig.h	2013-04-26 23:36:42.000000000 +0200
@@ -113,7 +113,7 @@
 #endif
 
 // Defined if GTK2 library available
-#define VISP_HAVE_GTK
+/* #undef VISP_HAVE_GTK */
 
 // Defined if GDI (Graphics Device Interface) library available
 /* #undef VISP_HAVE_GDI */
diff -ur libvisp-dev_2.7.0-2_i386/usr/share/visp/VISPConfig.cmake libvisp-dev_2.7.0-2_powerpc/usr/share/visp/VISPConfig.cmake
--- libvisp-dev_2.7.0-2_i386/usr/share/visp/VISPConfig.cmake	2013-04-26 23:28:55.000000000 +0200
+++ libvisp-dev_2.7.0-2_powerpc/usr/share/visp/VISPConfig.cmake	2013-04-26 23:36:42.000000000 +0200
@@ -78,12 +78,12 @@
 #MESSAGE("VISP_INCLUDE_DIRS: ${VISP_INCLUDE_DIRS}")
 
 # Get ViSP specific definitions
-SET(VISP_DEFINITIONS "-DUNIX;-DBOOST_ALL_NO_LIB")
+SET(VISP_DEFINITIONS "-DUNIX;-DBIGENDIAN;-DBOOST_ALL_NO_LIB")
 #MESSAGE("VISP_DEFINITIONS: ${VISP_DEFINITIONS}")
 
 # Tells the user project where to find ViSP third party headers used
 # to compile ViSP. These locations are concatenate to VISP_INCLUDE_DIRS
-SET(VISP_EXTERN_INCLUDE_DIRS "/usr/include;/usr/include/OGRE;/usr/include/ois;/usr/include/libxml2;/usr/include/opencv;/usr/include/gtk-2.0;/usr/include/glib-2.0;/usr/lib/i386-linux-gnu/glib-2.0/include;/usr/include/pango-1.0;/usr/include/atk-1.0;/usr/lib/i386-linux-gnu/gtk-2.0/include;/usr/include/cairo;/usr/include/gdk-pixbuf-2.0;/usr/include/libavcodec;/usr/include/libavformat;/usr/include/libavutil;/usr/include/libswscale")
+SET(VISP_EXTERN_INCLUDE_DIRS "/usr/include;/usr/include/OGRE;/usr/include/ois;/usr/include/libxml2;/usr/include/opencv;/usr/include/libavcodec;/usr/include/libavformat;/usr/include/libavutil;/usr/include/libswscale")
 #MESSAGE("VISP_EXTERN_INCLUDE_DIRS: ${VISP_EXTERN_INCLUDE_DIRS}")
 FOREACH(val ${VISP_EXTERN_INCLUDE_DIRS})
   LIST(APPEND VISP_INCLUDE_DIRS "${val}")
@@ -92,7 +92,7 @@
 #MESSAGE("VISP_INCLUDE_DIRS: ${VISP_INCLUDE_DIRS}")
 
 # Tells the user project where to find ViSP library
-SET(VISP_LIBRARY_DIRS "${VISP_ROOT_DIR}/lib/i386-linux-gnu" CACHE FILEPATH "Location of ViSP library")
+SET(VISP_LIBRARY_DIRS "${VISP_ROOT_DIR}/lib/powerpc-linux-gnu" CACHE FILEPATH "Location of ViSP library")
 
 # Tells the user project where to find third party libraries used to
 # compile ViSP
@@ -107,13 +107,13 @@
 INCLUDE("${VISP_ROOT_DIR_CMAKE}/VISPLibraryDepends.cmake")
 
 # export source dir for doxygen eventually
-SET(VISP_SOURCE_DIR "/build/buildd-visp_2.7.0-2-i386-YvZaIl/visp-2.7.0")
+SET(VISP_SOURCE_DIR "/build/buildd-visp_2.7.0-2-powerpc-iZqtE5/visp-2.7.0")
 
 # Tells the user project ViSP library name
 SET(VISP_LIBRARIES debug "visp" optimized "visp")
 
 # Tells the user project libraries name used to build ViSP library
-SET(VISP_EXTERN_LIBRARIES "/usr/lib/liblapack.so;/usr/lib/libblas.so;/usr/lib/i386-linux-gnu/libSM.so;/usr/lib/i386-linux-gnu/libICE.so;/usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so;-lm;/usr/lib/libboost_serialization-mt.so;/usr/lib/libboost_thread-mt.so;pthread;/usr/lib/libboost_date_time-mt.so;/usr/lib/i386-linux-gnu/libOgreMain.so;/usr/lib/i386-linux-gnu/libOgreMain.so;/usr/lib/i386-linux-gnu/libOIS.so;/usr/lib/i386-linux-gnu/libOIS.so;/usr/lib/i386-linux-gnu/libGLU.so;/usr/lib/i386-linux-gnu/libGL.so;/usr/lib/i386-linux-gnu/libSM.so;/usr/lib/i386-linux-gnu/libICE.so;/usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so;/usr/lib/libCoin.so;/usr/lib/i386-linux-gnu/libxml2.so;/usr/lib/i386-linux-gnu/libfreenect.so;/usr/lib/i386-linux-gnu/libpthread.so;opencv_gpu;opencv_contrib;opencv_legacy;opencv_objdetect;opencv_calib3d;opencv_features2d;opencv_video;opencv_highgui;opencv_ml;opencv_imgproc;opencv_flann;opencv_core;/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so;/usr/lib/i386-linux-gnu/libgdk-x11-2.0.so;/usr/lib/i386-linux-gnu/libglib-2.0.so;/usr/lib/i386-linux-gnu/libgobject-2.0.so;/usr/lib/i386-linux-gnu/libgmodule-2.0.so;/usr/lib/i386-linux-gnu/libgthread-2.0.so;/usr/lib/i386-linux-gnu/libz.so;/usr/lib/i386-linux-gnu/libjpeg.so;/usr/lib/i386-linux-gnu/libpng.so;/usr/lib/i386-linux-gnu/libz.so;/usr/lib/i386-linux-gnu/libswscale.so;/usr/lib/i386-linux-gnu/libavformat.so;/usr/lib/i386-linux-gnu/libavcodec.so;/usr/lib/i386-linux-gnu/libavutil.so;/usr/lib/i386-linux-gnu/libz.so;/usr/lib/i386-linux-gnu/libbz2.so;/usr/lib/i386-linux-gnu/libdc1394.so;/usr/lib/i386-linux-gnu/libv4l2.so;/usr/lib/i386-linux-gnu/libv4lconvert.so")
+SET(VISP_EXTERN_LIBRARIES "/usr/lib/liblapack.so;/usr/lib/libblas.so;/usr/lib/powerpc-linux-gnu/libSM.so;/usr/lib/powerpc-linux-gnu/libICE.so;/usr/lib/powerpc-linux-gnu/libX11.so;/usr/lib/powerpc-linux-gnu/libXext.so;-lm;/usr/lib/libboost_serialization-mt.so;/usr/lib/libboost_thread-mt.so;pthread;/usr/lib/libboost_date_time-mt.so;/usr/lib/powerpc-linux-gnu/libOgreMain.so;/usr/lib/powerpc-linux-gnu/libOgreMain.so;/usr/lib/powerpc-linux-gnu/libOIS.so;/usr/lib/powerpc-linux-gnu/libOIS.so;/usr/lib/powerpc-linux-gnu/libGLU.so;/usr/lib/powerpc-linux-gnu/libGL.so;/usr/lib/powerpc-linux-gnu/libSM.so;/usr/lib/powerpc-linux-gnu/libICE.so;/usr/lib/powerpc-linux-gnu/libX11.so;/usr/lib/powerpc-linux-gnu/libXext.so;/usr/lib/libCoin.so;/usr/lib/powerpc-linux-gnu/libxml2.so;/usr/lib/powerpc-linux-gnu/libfreenect.so;/usr/lib/powerpc-linux-gnu/libpthread.so;opencv_gpu;opencv_contrib;opencv_legacy;opencv_objdetect;opencv_calib3d;opencv_features2d;opencv_video;opencv_highgui;opencv_ml;opencv_imgproc;opencv_flann;opencv_core;/usr/lib/powerpc-linux-gnu/libz.so;/usr/lib/powerpc-linux-gnu/libjpeg.so;/usr/lib/powerpc-linux-gnu/libpng.so;/usr/lib/powerpc-linux-gnu/libz.so;/usr/lib/powerpc-linux-gnu/libswscale.so;/usr/lib/powerpc-linux-gnu/libavformat.so;/usr/lib/powerpc-linux-gnu/libavcodec.so;/usr/lib/powerpc-linux-gnu/libavutil.so;/usr/lib/powerpc-linux-gnu/libz.so;/usr/lib/powerpc-linux-gnu/libbz2.so;/usr/lib/powerpc-linux-gnu/libdc1394.so;/usr/lib/powerpc-linux-gnu/libv4l2.so;/usr/lib/powerpc-linux-gnu/libv4lconvert.so")
 FOREACH(val ${VISP_EXTERN_LIBRARIES})
   LIST(APPEND VISP_LIBRARIES "${val}")
 ENDFOREACH(val ${VISP_EXTERN_LIBRARIES})
@@ -138,7 +138,7 @@
 
 SET(VISP_HAVE_X11            "TRUE")
 SET(VISP_HAVE_PTHREAD        "TRUE")
-SET(VISP_HAVE_GTK            "TRUE")
+SET(VISP_HAVE_GTK            "")
 SET(VISP_HAVE_GDI            "")
 SET(VISP_HAVE_D3D9           "")
 SET(VISP_HAVE_DISPLAY        "")
diff -ur libvisp-dev_2.7.0-2_i386/usr/share/visp/VISPLibraryDepends.cmake libvisp-dev_2.7.0-2_powerpc/usr/share/visp/VISPLibraryDepends.cmake
--- libvisp-dev_2.7.0-2_i386/usr/share/visp/VISPLibraryDepends.cmake	2013-04-26 23:28:56.000000000 +0200
+++ libvisp-dev_2.7.0-2_powerpc/usr/share/visp/VISPLibraryDepends.cmake	2013-04-26 23:36:42.000000000 +0200
@@ -2,8 +2,8 @@
 
 IF("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER 2.4)
   # Information for CMake 2.6 and above.
-  SET("visp_LIB_DEPENDS" "general;/usr/lib/liblapack.so;general;/usr/lib/libblas.so;general;/usr/lib/i386-linux-gnu/libSM.so;general;/usr/lib/i386-linux-gnu/libICE.so;general;/usr/lib/i386-linux-gnu/libX11.so;general;/usr/lib/i386-linux-gnu/libXext.so;general;-lm;general;/usr/lib/libboost_serialization-mt.so;general;/usr/lib/libboost_thread-mt.so;general;pthread;general;/usr/lib/libboost_date_time-mt.so;general;/usr/lib/i386-linux-gnu/libOgreMain.so;general;/usr/lib/i386-linux-gnu/libOgreMain.so;general;/usr/lib/i386-linux-gnu/libOIS.so;general;/usr/lib/i386-linux-gnu/libOIS.so;general;/usr/lib/i386-linux-gnu/libGLU.so;general;/usr/lib/i386-linux-gnu/libGL.so;general;/usr/lib/i386-linux-gnu/libSM.so;general;/usr/lib/i386-linux-gnu/libICE.so;general;/usr/lib/i386-linux-gnu/libX11.so;general;/usr/lib/i386-linux-gnu/libXext.so;general;/usr/lib/libCoin.so;general;/usr/lib/i386-linux-gnu/libxml2.so;general;/usr/lib/i386-linux-gnu/libfreenect.so;general;/usr/lib/i386-linux-gnu/libpthread.so;general;opencv_gpu;general;opencv_contrib;general;opencv_legacy;general;opencv_objdetect;general;opencv_calib3d;general;opencv_features2d;general;opencv_video;general;opencv_highgui;general;opencv_ml;general;opencv_imgproc;general;opencv_flann;general;opencv_core;general;/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so;general;/usr/lib/i386-linux-gnu/libgdk-x11-2.0.so;general;/usr/lib/i386-linux-gnu/libglib-2.0.so;general;/usr/lib/i386-linux-gnu/libgobject-2.0.so;general;/usr/lib/i386-linux-gnu/libgmodule-2.0.so;general;/usr/lib/i386-linux-gnu/libgthread-2.0.so;general;/usr/lib/i386-linux-gnu/libz.so;general;/usr/lib/i386-linux-gnu/libjpeg.so;general;/usr/lib/i386-linux-gnu/libpng.so;general;/usr/lib/i386-linux-gnu/libz.so;general;/usr/lib/i386-linux-gnu/libswscale.so;general;/usr/lib/i386-linux-gnu/libavformat.so;general;/usr/lib/i386-linux-gnu/libavcodec.so;general;/usr/lib/i386-linux-gnu/libavutil.so;general;/usr/lib/i386-linux-gnu/libz.so;general;/usr/lib/i386-linux-gnu/libbz2.so;general;/usr/lib/i386-linux-gnu/libdc1394.so;general;/usr/lib/i386-linux-gnu/libv4l2.so;general;/usr/lib/i386-linux-gnu/libv4lconvert.so;")
+  SET("visp_LIB_DEPENDS" "general;/usr/lib/liblapack.so;general;/usr/lib/libblas.so;general;/usr/lib/powerpc-linux-gnu/libSM.so;general;/usr/lib/powerpc-linux-gnu/libICE.so;general;/usr/lib/powerpc-linux-gnu/libX11.so;general;/usr/lib/powerpc-linux-gnu/libXext.so;general;-lm;general;/usr/lib/libboost_serialization-mt.so;general;/usr/lib/libboost_thread-mt.so;general;pthread;general;/usr/lib/libboost_date_time-mt.so;general;/usr/lib/powerpc-linux-gnu/libOgreMain.so;general;/usr/lib/powerpc-linux-gnu/libOgreMain.so;general;/usr/lib/powerpc-linux-gnu/libOIS.so;general;/usr/lib/powerpc-linux-gnu/libOIS.so;general;/usr/lib/powerpc-linux-gnu/libGLU.so;general;/usr/lib/powerpc-linux-gnu/libGL.so;general;/usr/lib/powerpc-linux-gnu/libSM.so;general;/usr/lib/powerpc-linux-gnu/libICE.so;general;/usr/lib/powerpc-linux-gnu/libX11.so;general;/usr/lib/powerpc-linux-gnu/libXext.so;general;/usr/lib/libCoin.so;general;/usr/lib/powerpc-linux-gnu/libxml2.so;general;/usr/lib/powerpc-linux-gnu/libfreenect.so;general;/usr/lib/powerpc-linux-gnu/libpthread.so;general;opencv_gpu;general;opencv_contrib;general;opencv_legacy;general;opencv_objdetect;general;opencv_calib3d;general;opencv_features2d;general;opencv_video;general;opencv_highgui;general;opencv_ml;general;opencv_imgproc;general;opencv_flann;general;opencv_core;general;/usr/lib/powerpc-linux-gnu/libz.so;general;/usr/lib/powerpc-linux-gnu/libjpeg.so;general;/usr/lib/powerpc-linux-gnu/libpng.so;general;/usr/lib/powerpc-linux-gnu/libz.so;general;/usr/lib/powerpc-linux-gnu/libswscale.so;general;/usr/lib/powerpc-linux-gnu/libavformat.so;general;/usr/lib/powerpc-linux-gnu/libavcodec.so;general;/usr/lib/powerpc-linux-gnu/libavutil.so;general;/usr/lib/powerpc-linux-gnu/libz.so;general;/usr/lib/powerpc-linux-gnu/libbz2.so;general;/usr/lib/powerpc-linux-gnu/libdc1394.so;general;/usr/lib/powerpc-linux-gnu/libv4l2.so;general;/usr/lib/powerpc-linux-gnu/libv4lconvert.so;")
 ELSE("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER 2.4)
   # Information for CMake 2.4 and lower.
-  SET("visp_LIB_DEPENDS" "/usr/lib/liblapack.so;/usr/lib/libblas.so;/usr/lib/i386-linux-gnu/libSM.so;/usr/lib/i386-linux-gnu/libICE.so;/usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so;-lm;/usr/lib/libboost_serialization-mt.so;/usr/lib/libboost_thread-mt.so;pthread;/usr/lib/libboost_date_time-mt.so;/usr/lib/i386-linux-gnu/libOgreMain.so;/usr/lib/i386-linux-gnu/libOgreMain.so;/usr/lib/i386-linux-gnu/libOIS.so;/usr/lib/i386-linux-gnu/libOIS.so;/usr/lib/i386-linux-gnu/libGLU.so;/usr/lib/i386-linux-gnu/libGL.so;/usr/lib/i386-linux-gnu/libSM.so;/usr/lib/i386-linux-gnu/libICE.so;/usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so;/usr/lib/libCoin.so;/usr/lib/i386-linux-gnu/libxml2.so;/usr/lib/i386-linux-gnu/libfreenect.so;/usr/lib/i386-linux-gnu/libpthread.so;opencv_gpu;opencv_contrib;opencv_legacy;opencv_objdetect;opencv_calib3d;opencv_features2d;opencv_video;opencv_highgui;opencv_ml;opencv_imgproc;opencv_flann;opencv_core;/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so;/usr/lib/i386-linux-gnu/libgdk-x11-2.0.so;/usr/lib/i386-linux-gnu/libglib-2.0.so;/usr/lib/i386-linux-gnu/libgobject-2.0.so;/usr/lib/i386-linux-gnu/libgmodule-2.0.so;/usr/lib/i386-linux-gnu/libgthread-2.0.so;/usr/lib/i386-linux-gnu/libz.so;/usr/lib/i386-linux-gnu/libjpeg.so;/usr/lib/i386-linux-gnu/libpng.so;/usr/lib/i386-linux-gnu/libz.so;/usr/lib/i386-linux-gnu/libswscale.so;/usr/lib/i386-linux-gnu/libavformat.so;/usr/lib/i386-linux-gnu/libavcodec.so;/usr/lib/i386-linux-gnu/libavutil.so;/usr/lib/i386-linux-gnu/libz.so;/usr/lib/i386-linux-gnu/libbz2.so;/usr/lib/i386-linux-gnu/libdc1394.so;/usr/lib/i386-linux-gnu/libv4l2.so;/usr/lib/i386-linux-gnu/libv4lconvert.so;")
+  SET("visp_LIB_DEPENDS" "/usr/lib/liblapack.so;/usr/lib/libblas.so;/usr/lib/powerpc-linux-gnu/libSM.so;/usr/lib/powerpc-linux-gnu/libICE.so;/usr/lib/powerpc-linux-gnu/libX11.so;/usr/lib/powerpc-linux-gnu/libXext.so;-lm;/usr/lib/libboost_serialization-mt.so;/usr/lib/libboost_thread-mt.so;pthread;/usr/lib/libboost_date_time-mt.so;/usr/lib/powerpc-linux-gnu/libOgreMain.so;/usr/lib/powerpc-linux-gnu/libOgreMain.so;/usr/lib/powerpc-linux-gnu/libOIS.so;/usr/lib/powerpc-linux-gnu/libOIS.so;/usr/lib/powerpc-linux-gnu/libGLU.so;/usr/lib/powerpc-linux-gnu/libGL.so;/usr/lib/powerpc-linux-gnu/libSM.so;/usr/lib/powerpc-linux-gnu/libICE.so;/usr/lib/powerpc-linux-gnu/libX11.so;/usr/lib/powerpc-linux-gnu/libXext.so;/usr/lib/libCoin.so;/usr/lib/powerpc-linux-gnu/libxml2.so;/usr/lib/powerpc-linux-gnu/libfreenect.so;/usr/lib/powerpc-linux-gnu/libpthread.so;opencv_gpu;opencv_contrib;opencv_legacy;opencv_objdetect;opencv_calib3d;opencv_features2d;opencv_video;opencv_highgui;opencv_ml;opencv_imgproc;opencv_flann;opencv_core;/usr/lib/powerpc-linux-gnu/libz.so;/usr/lib/powerpc-linux-gnu/libjpeg.so;/usr/lib/powerpc-linux-gnu/libpng.so;/usr/lib/powerpc-linux-gnu/libz.so;/usr/lib/powerpc-linux-gnu/libswscale.so;/usr/lib/powerpc-linux-gnu/libavformat.so;/usr/lib/powerpc-linux-gnu/libavcodec.so;/usr/lib/powerpc-linux-gnu/libavutil.so;/usr/lib/powerpc-linux-gnu/libz.so;/usr/lib/powerpc-linux-gnu/libbz2.so;/usr/lib/powerpc-linux-gnu/libdc1394.so;/usr/lib/powerpc-linux-gnu/libv4l2.so;/usr/lib/powerpc-linux-gnu/libv4lconvert.so;")
 ENDIF("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER 2.4)


More information about the debian-science-maintainers mailing list