Bug#708862: gmsh: FTBFS on powerpcspe

Debian BTS debbugs at buxtehude.debian.org
Sun May 19 09:18:05 UTC 2013


Hi,
Reply-To: Roland Stigge <stigge at antcom.de>, 708862 at bugs.debian.org
Resent-From: Roland Stigge <stigge at antcom.de>
Resent-To: debian-bugs-dist at lists.debian.org
Resent-CC: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
X-Loop: owner at bugs.debian.org
Resent-Date: Sun, 19 May 2013 09:18:01 +0000
Resent-Message-ID: <handler.708862.B.13689548427027 at bugs.debian.org>
Resent-Sender: owner at bugs.debian.org
X-Debian-PR-Message: report 708862
X-Debian-PR-Package: src:gmsh
X-Debian-PR-Keywords: patch
X-Debian-PR-Source: gmsh
Received: via spool by submit at bugs.debian.org id=B.13689548427027
          (code B); Sun, 19 May 2013 09:18:01 +0000
Received: (at submit) by bugs.debian.org; 19 May 2013 09:14:02 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2-bugs.debian.org_2005_01_02
	(2011-06-06) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-3.9 required=4.0 tests=BAYES_00,FOURLA,
	MURPHY_DRUGS_REL8,PUSSY,T_RP_MATCHES_RCVD,XMAILER_REPORTBUG autolearn=no
	version=3.3.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 34; hammy, 151; neutral, 292; spammy,
	0. spammytokens: hammytokens:0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug,
	0.000-+--H*x:6.4.3, 0.000-+--H*UA:6.4.3, 0.000-+--H*x:reportbug
Received: from antcom.de ([188.40.178.216] helo=chuck.antcom.de)
	by buxtehude.debian.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256)
	(Exim 4.80)
	(envelope-from <stigge at antcom.de>)
	id 1Udzgn-0001mA-GF
	for submit at bugs.debian.org; Sun, 19 May 2013 09:14:01 +0000
Received: from spe1 (unknown [IPv6:2001:a60:f0c7:1:204:9fff:fe02:4ba7])
	by chuck.antcom.de (Postfix) with ESMTPS id 82F53720045;
	Sun, 19 May 2013 09:13:51 +0000 (UTC)
Received: by spe1 (Postfix, from userid 1000)
	id 46F6F3202D4; Sun, 19 May 2013 11:10:41 +0200 (CEST)
Content-Type: multipart/mixed; boundary="===============2105477895=="
MIME-Version: 1.0
From: Roland Stigge <stigge at antcom.de>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Message-ID: <20130519091041.5506.25515.reportbug at spe1.antcom.de>
X-Mailer: reportbug 6.4.3
Date: Sun, 19 May 2013 11:10:41 +0200
Delivered-To: submit at bugs.debian.org

This is a multi-part MIME message sent by reportbug.


--===============2105477895==
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline

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==--



More information about the debian-science-maintainers mailing list