[Debian-med-packaging] Bug#755225: FTBFS with clang instead of gcc

Andreas Tille tille at debian.org
Wed Jul 23 09:54:46 UTC 2014


Hi Alexander,

thanks a lot for your clang-QA checks and the patch.  Steffen, I applied
the patch in Git but I somehow suspect that the Git repository is somehow
broken and does not build since git-buildpackage says:

dpkg-source: info: building ball using existing ./ball_1.4.2+20140406.orig.tar.xz
dpkg-source: warning: ignoring deletion of file include/BALL/NMR/nmr.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/PLUGIN/plugin.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/QSAR/qsar.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/COMMON/common.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/MOLMEC/molmec.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/MOLMEC/AMBER/amber.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/MOLMEC/COMMON/common.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/MOLMEC/MINIMIZATION/minimization.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/MOLMEC/CHARMM/charmm.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/MOLMEC/PARAMETER/parameter.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/MOLMEC/MDSIMULATION/mdsimulation.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/MOLMEC/MMFF94/MMFF94.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/SYSTEM/system.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/VIEW/view.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/VIEW/PRIMITIVES/primitives.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/VIEW/MODELS/models.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/VIEW/WIDGETS/widgets.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/VIEW/DIALOGS/dialogs.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/VIEW/DATATYPE/datatype.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/VIEW/KERNEL/kernel.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/VIEW/RENDERING/rendering.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/SOLVATION/solvation.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/FORMAT/format.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/CONCEPT/concept.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/ENERGY/energy.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/PYTHON/python.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/DATATYPE/datatype.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/MATHS/maths.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/KERNEL/kernel.doc, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/BALL/STRUCTURE/structure.doc, use --include-removal to override
dpkg-source: warning: executable mode 0755 of 'include/BALL/STRUCTURE/DOCKING/geometricFit.h' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'source/STRUCTURE/DOCKING/geometricFit.C' will not be represented in diff
dpkg-source: info: local changes detected, the modified files are:
 ball-1.4.2+20140406/cmake/FindBLAS.cmake
 ball-1.4.2+20140406/cmake/FindLAPACK.cmake
 ball-1.4.2+20140406/cmake/FindSpaceNavigator.cmake
 ball-1.4.2+20140406/data/XRAY/spacegroups.dat
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/SVDSolver.h
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/SVDSolver.iC
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/SVDSolver.ih
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/baseFilterIterator.h
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/baseIterator.h
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/bidirectionalFilterIterator.h
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/bidirectionalIterator.h
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/cblas.h
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/columnIterator.h
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/diagonalIterator.h
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/eigenSolver.h
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/eigenSolver.iC
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/eigenSolver.ih
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/elementColumnIterator.h
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/elementRowIterator.h
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/forwardFilterIterator.h
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/forwardIterator.h
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/global.h
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/lapack.h
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/linalgException.h
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/lowerTriangularMatrix.ih
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/lowerTriangularMatrixBasicFunctions.iC
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/lowerTriangularMatrixConstructors.iC
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/lowerTriangularMatrixIO.iC
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/matrix.h
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/matrix.ih
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/matrixBasicFunctions.iC
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/matrixConstructors.iC
 ball-1.4.2+20140406/include/BALL/MATHS/LINALG/matrixIO.iC
...
 ball-1.4.2+20140406/source/TEST/SVDSolver_test.C
 ball-1.4.2+20140406/source/TEST/networkTest.h
 ball-1.4.2+20140406/source/VIEW/RENDERING/POVRenderer.C
 ball-1.4.2+20140406/source/VIEW/RENDERING/STLRenderer.C
 ball-1.4.2+20140406/source/VIEW/RENDERING/VRMLRenderer.C
 ball-1.4.2+20140406/source/VIEW/RENDERING/glRenderer.C
 ball-1.4.2+20140406/source/VIEW/RENDERING/renderer.C
 ball-1.4.2+20140406/source/VIEW/RENDERING/tilingRenderer.C
 ball-1.4.2+20140406/source/VIEW/WIDGETS/editableScene.C
dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/ball_1.4.2+20140406-2.diff.WBQT7a
dpkg-source: info: you can integrate the local changes with dpkg-source --commit
dpkg-buildpackage: error: dpkg-source -i.git -I.git -b ball-1.4.2+20140406 gave error exit status 2


I have no other idea to fix this rather than creating the Git repository
from scratch.  Anybody able to build the current status in Git (and
volunteers to upload the package to fix the clang problem)?

Kind regards

        Andreas.


On Sat, Jul 19, 2014 at 01:55:07AM +0400, Alexander wrote:
> Source: ball
> Severity: minor
> Tags: patch
> User: pkg-llvm-team at lists.alioth.debian.org
> Usertags: clang-ftbfs
> 
> Hello,
> 
> Using the rebuild infrastructure, your package fails to build with clang 
> (instead of gcc).
> 
> We detected this kinf of error:
> http://clang.debian.net/status.php?version=3.4.2&key=WRONG_DEFAULT_DECLARATION
> 
> Full build log is available here:
> http://clang.debian.net/logs/2014-06-16/ball_1.4.2+20140406-1_unstable_clang.log
> 
> Thanks,
> Alexander
> 
> 
> -- System Information:
> Debian Release: jessie/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash

> --- ./source/DATATYPE/string.C	2013-03-07 21:15:10.000000000 +0400
> +++ ../ball-1.4.2+20140406-my/./source/DATATYPE/string.C	2014-07-18 21:39:55.398459849 +0400
> @@ -1289,7 +1289,7 @@
>  		return result;
>  	}
>  
> -	istream& getline(istream& s, String& str, char delimiter)
> +	istream& getline(istream& s, String& str, char delimiter = '\n')
>  	{
>  		char c;
>  		
> --- ./include/BALL/DATATYPE/string.h	2013-03-07 21:15:10.000000000 +0400
> +++ ../ball-1.4.2+20140406-my/./include/BALL/DATATYPE/string.h	2014-07-18 21:40:04.242303406 +0400
> @@ -998,7 +998,7 @@
>  
>  		///
>  		BALL_EXPORT
> -		friend std::istream& getline(std::istream& s,  String& string,  char delimiter = '\n');
> +		friend std::istream& getline(std::istream& s,  String& string,  char delimiter);
>  
>  		//@}
>  

> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging


-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list