Bug#708862: gmsh: FTBFS on powerpcspe

Anton Gladky gladk at debian.org
Sun May 19 09:34:44 UTC 2013


tags 708862 +patch +pending
thanks

Hi Roland,

thanks for bugreport and patch! It is committed into VCS and will appear
in the next upload.

Anton

On 05/19/2013 11:18 AM, Debian BTS wrote:
> 
> Source: gmsh
> Version: 2.7.0.dfsg-1
> Severity: wishlist
> Tags: patch
> User: debian-powerpcspe at breakpoint.cc
> Usertags: powerpcspe
> 
> gmsh FTBFS on powerpcspe[1]:
> 
> ...
> /usr/bin/mpicxx   -DNO_PARALLEL_THREADS -DNOTCL -DHAVE_NO_OCC_CONFIG_H -DOCCGEOMETRY -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX -fopenmp -lmpi -fPIC -Wall -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -O2 -g -I/«PKGBUILDDIR»/contrib/onelab -I/«PKGBUILDDIR»/contrib/mpeg_encode/headers -I/«PKGBUILDDIR»/contrib/lbfgs -I/«PKGBUILDDIR»/contrib/DiscreteIntegration -I/«PKGBUILDDIR»/contrib/HighOrderMeshOptimizer -I/«PKGBUILDDIR»/contrib/kbipack -I/«PKGBUILDDIR»/contrib/MathEx -I/«PKGBUILDDIR»/contrib/Chaco/main -I/«PKGBUILDDIR»/contrib/rtree -I/«PKGBUILDDIR»/contrib/voro++/src -I/«PKGBUILDDIR»/contrib/blossom/MATCH -I/«PKGBUILDDIR»/contrib/blossom/concorde97 -I/«PKGBUILDDIR»/contrib/blossom/concorde97/INCLUDE -I/«PKGBUILDDIR»/contrib/Netgen -I/«PKGBUILDDIR»/contrib/Netgen/libsrc/include -I/«PKGBUILDDIR»/contrib/Netgen/nglib -I/«PKGBUILDDIR»/contrib/
>  bamg -I/
>  «PKGBUILDDIR»/contrib/bamg/bamglib -I/«PKGBUILDDIR»/contrib/mmg3d/build/sources -I/«PKGBUILDDIR»/contrib/Salome -I/«PKGBUILDDIR»/Common -I/«PKGBUILDDIR»/Fltk -I/«PKGBUILDDIR»/Geo -I/«PKGBUILDDIR»/Graphics -I/«PKGBUILDDIR»/Mesh -I/«PKGBUILDDIR»/Solver -I/«PKGBUILDDIR»/Numeric -I/«PKGBUILDDIR»/Parser -I/«PKGBUILDDIR»/Plugin -I/«PKGBUILDDIR»/Post -I/«PKGBUILDDIR»/Qt -I/usr/include/FL/images -I/usr/include/jpeg -I/usr/include/zlib -I/usr/include/png -I/usr/include/ANN -I/usr/include/gmm -I/usr/include/slepc -I/usr/include/petsc -I/usr/lib/oce-0.9.1/../../include/oce -I/usr/include/mpi -I/«PKGBUILDDIR»/debian/build/Common    -Wall -o CMakeFiles/gmsh.dir/Common/GmshMessage.cpp.o -c /«PKGBUILDDIR»/Common/GmshMessage.cpp
> In file included from /usr/include/slepc/slepc.h:29:0,
>                  from /«PKGBUILDDIR»/Common/GmshMessage.cpp:35:
> /usr/include/slepc/slepcsys.h:33:23: fatal error: slepcconf.h: No such file or directory
> compilation terminated.
> make[4]: *** [CMakeFiles/gmsh.dir/Common/GmshMessage.cpp.o] Error 1
> ...
> 
> As for other architectures where gmsh FTBFS with libslepc and libpetsc, this
> can be worked around by omitting these from Build-Depends:, see attached patch.
> This patch further fixes a multiarch path in debian/rules to make the package
> build in current sid.
> 
> Thanks,
> 
> Roland
> 
> 
> [1] http://wiki.debian.org/PowerPCSPEPort
> 
> -- System Information:
> Debian Release: 7.0
>   APT prefers unreleased
>   APT policy: (500, 'unreleased'), (500, 'unstable')
> Architecture: powerpcspe (ppc)
> 
> Kernel: Linux 3.9.0-dirty (SMP w/2 CPU cores)
> Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> --===============2105477895==
> Content-Type: text/x-diff; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: attachment; filename="gmsh.patch"
> 
> --- gmsh-2.7.0.dfsg/debian/control.orig	2013-05-07 09:40:02.000000000 +0200
> +++ gmsh-2.7.0.dfsg/debian/control	2013-05-18 18:50:20.484782969 +0200
> @@ -17,8 +17,8 @@
>   libblas-dev, liblapack-dev, libgl2ps-dev, freeglut3-dev,
>   python-dev (>= 2.6.6-3~), swig2.0,
>   chrpath, libann-dev,
> - libpetsc3.2-dev [!kfreebsd-amd64 !kfreebsd-i386 !armel !armhf !s390x],
> - libslepc3.2-dev [!kfreebsd-amd64 !kfreebsd-i386 !armel !armhf !s390x],
> + libpetsc3.2-dev [!kfreebsd-amd64 !kfreebsd-i386 !armel !armhf !powerpcspe !s390x],
> + libslepc3.2-dev [!kfreebsd-amd64 !kfreebsd-i386 !armel !armhf !powerpcspe !s390x],
>   javahelper, default-jdk
>  Standards-Version: 3.9.4
>  X-Python-Version: current
> --- gmsh-2.7.0.dfsg/debian/rules.orig	2013-03-15 22:54:57.000000000 +0100
> +++ gmsh-2.7.0.dfsg/debian/rules	2013-05-18 23:15:05.056623369 +0200
> @@ -2,6 +2,8 @@
>  BUILDDIR = $(CURDIR)/debian/build
>  JAVA_HOME=/usr/lib/jvm/default-java
>  
> +DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
> +
>  export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
>  export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
>  
> @@ -19,7 +21,7 @@
>  
>  extra_flags += \
>  -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python2.7 \
> --DPYTHON_LIBRARY:FILEPATH=/usr/lib/libpython2.7.so \
> +-DPYTHON_LIBRARY:FILEPATH=/usr/lib/$(DEB_HOST_MULTIARCH)/libpython2.7.so \
>  -DENABLE_METIS:BOOL=OFF \
>  -DENABLE_TAUCS:BOOL=OFF \
>  -DENABLE_OSMESA:BOOL=OFF \
> 
> --===============2105477895==--
> 
> 
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20130519/c3657424/attachment.pgp>


More information about the debian-science-maintainers mailing list