[Debian-med-packaging] Bug#853341: can not reproduce

Emmanuel Promayon Emmanuel.Promayon at univ-grenoble-alpes.fr
Thu Jul 27 14:14:03 UTC 2017


Dear all,

Now that gcc-7 is available directly in sid, I tried again using the 
following steps:

 1.

    start from a clean sid

 2.

    install g++-7 using |apt-get install -y g++-7|

 3. setup gcc and g++ alternatives :

|update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 10 
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 20 
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 10 
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 20 
update-alternatives --install /usr/bin/cc cc /usr/bin/gcc 30 
update-alternatives --set cc /usr/bin/gcc update-alternatives --install 
/usr/bin/c++ c++ /usr/bin/g++ 30 update-alternatives --set c++ 
/usr/bin/g++ update-alternatives --config gcc sudo update-alternatives 
--config g++ |

 1. build the package (using |gbp buildpackage --git-ignore-new|)

The package does not build and stop with this error:

|... [ 52%] Building CXX object 
imaging/components/itkimage/CMakeFiles/component-itkimage.dir/ItkImageComponent.cpp.o 
cd 
/home/promayon/docker/camitk-debian/camitk-build/imaging/components/itkimage 
&& /usr/bin/c++ -DITK_IO_FACTORY_REGISTER_MANAGER -DQT_CORE_LIB 
-DQT_GUI_LIB -DQT_HELP_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG 
-DQT_OPENGLEXTENSIONS_LIB -DQT_OPENGL_LIB -DQT_UITOOLS_LIB 
-DQT_WIDGETS_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB 
-D_SCL_SECURE_NO_WARNINGS -Dcomponent_itkimage_EXPORTS 
-DvtkFiltersFlowPaths_AUTOINIT="1(vtkFiltersParallelFlowPaths)" 
-DvtkIOExodus_AUTOINIT="1(vtkIOParallelExodus)" 
-DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" 
-DvtkIOImage_AUTOINIT="1(vtkIOMPIImage)" 
-DvtkIOParallel_AUTOINIT="1(vtkIOMPIParallel)" 
-DvtkIOSQL_AUTOINIT="2(vtkIOMySQL,vtkIOPostgreSQL)" 
-DvtkRenderingContext2D_AUTOINIT="1(vtkRenderingContextOpenGL)" 
-DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" 
-DvtkRenderingFreeType_AUTOINIT="2(vtkRenderingFreeTypeFontConfig,vtkRenderingMatplotlib)" 
-DvtkRenderingLIC_AUTOINIT="1(vtkRenderingParallelLIC)" 
-DvtkRenderingVolume_AUTOINIT="1(vtkRenderingVolumeOpenGL)" 
-I/home/promayon/docker/camitk-debian/camitk-build/imaging/components/itkimage/component-itkimage_autogen/include 
-I/home/promayon/docker/camitk-debian/camitk-build/imaging/components/itkimage/ITKIOFactoryRegistration 
-I/usr/include/hdf5/serial -I/usr/include/dcmtk/dcmseg 
-I/usr/include/dcmtk/dcmfg -I/usr/include/dcmtk/dcmiod 
-I/usr/include/dcmtk/dcmrt -I/usr/include/dcmtk/dcmpstat 
-I/usr/include/dcmtk/dcmqrdb -I/usr/include/dcmtk/dcmwlm 
-I/usr/include/dcmtk/dcmsign -I/usr/include/dcmtk/dcmsr 
-I/usr/include/dcmtk/dcmnet -I/usr/include/dcmtk/dcmtls 
-I/usr/include/dcmtk/dcmjpls -I/usr/include/dcmtk/dcmjpeg 
-I/usr/include/dcmtk/dcmimage -I/usr/include/dcmtk/dcmimgle 
-I/usr/include/dcmtk/dcmdata -I/usr/include/dcmtk/oflog 
-I/usr/include/dcmtk/ofstd -I/usr/include/dcmtk/config 
-I/usr/include/x86_64-linux-gnu -I/usr/include/nifti 
-I/usr/include/gdcm-2.6 -I/usr/include/double-conversion -isystem 
/usr/include/ITK-4.10 -I/usr/include/vtk-6.3 -I/usr/include/freetype2 
-I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi 
-I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent 
-I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent/include 
-I/usr/lib/x86_64-linux-gnu/openmpi/include -I/usr/include/python2.7 
-I/usr/include/hdf5/openmpi -I/usr/include/libxml2 
-I/usr/include/jsoncpp -I/usr/include/tcl 
-I/home/promayon/docker/camitk-debian/camitk-build/include/camitk-4.0 
-I/home/promayon/docker/camitk-debian/camitk-build/include/camitk-4.0/libraries 
-I/home/promayon/docker/camitk-debian/camitk-build/include/camitk-4.0/libraries/qtpropertybrowser 
-I/home/promayon/docker/camitk-debian/camitk-build/include/camitk-4.0/libraries/camitkcore 
-I/home/promayon/.config/CamiTK/include/camitk-4.0 -isystem 
/usr/include/x86_64-linux-gnu/qt5 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore -isystem 
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtXml -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtXmlPatterns -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtHelp -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtUiTools -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtOpenGLExtensions 
-I/home/promayon/docker/camitk-debian/camitk-build/imaging/components/itkimage 
-I/home/promayon/docker/camitk-debian/imaging/components/itkimage -g -O2 
-fdebug-prefix-map=/home/promayon/docker/camitk-debian=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -std=c++11 -w -fPIC -fPIC -fPIC -std=gnu++11 -o 
CMakeFiles/component-itkimage.dir/ItkImageComponent.cpp.o -c 
/home/promayon/docker/camitk-debian/imaging/components/itkimage/ItkImageComponent.cpp 
In file included from /usr/include/ITK-4.10/vcl_limits.h:5:0, from 
/usr/include/ITK-4.10/itkNumericTraits.h:51, from 
/usr/include/ITK-4.10/itkConceptChecking.h:32, from 
/usr/include/ITK-4.10/itkAtomicInt.h:38, from 
/usr/include/ITK-4.10/itkLightObject.h:25, from 
/usr/include/ITK-4.10/itkObject.h:31, from 
/usr/include/ITK-4.10/itkLightProcessObject.h:21, from 
/usr/include/ITK-4.10/itkImageIOBase.h:24, from 
/usr/include/ITK-4.10/itkImageFileReader.h:24, from 
/home/promayon/docker/camitk-debian/imaging/components/itkimage/ItkImageComponent.cpp:41: 
/usr/include/ITK-4.10/vcl_compiler.h:79:4: error: #error "Dunno about 
this gcc" # error "Dunno about this gcc" |

This seems the same as bug #853386 [1] and #853602 [2] and seems to be a 
recurrent problem when the major gcc version changes.

Should this bug not be reassigned to src:insighttoolkit4?

Kind Regards,

Mahnu

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853386

[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853602

​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20170727/a614f38a/attachment-0001.html>


More information about the Debian-med-packaging mailing list