Bug#670908: deal.ii: FTBFS: include path for slepc missing

2012-06-28 Thread trophime
Hi,
I have uploaded a patch to fix this issue in Debian science git.
 
hope it helps
C.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670908: deal.ii: FTBFS: include path for slepc missing

2012-06-27 Thread Felix Gruber
I updated the patch to use the variable provided by the configure script
for the SLEPC and PETSC architecture. This way, my change is more
consistent with the rest of the configure script.

Regards,
Felix
Description: add slepc include path with arch triple
 The file slepcconf.h resides under
 /usr/lib/slepc/linux-gnu-c-opt/include/slepcconf.h but the makefiles
 only refer to the include path /usr/lib/slepc/include.
 .
 This patch adds the include path /usr/lib/slepc/linux-gnu-c-opt/include.
Author: Felix Gruber fel...@gmx.de
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/common/Make.global_options.in
+++ b/common/Make.global_options.in
@@ -278,6 +278,7 @@
   include-path-petsc-bmake   = $(DEAL_II_PETSC_DIR)/$(DEAL_II_PETSC_ARCH)/include
 endif
 include-path-slepc   = $(DEAL_II_SLEPC_DIR)/include
+include-path-slepc-arch  = $(DEAL_II_SLEPC_DIR)/$(DEAL_II_PETSC_ARCH)/include
 include-path-slepc-conf  = $(DEAL_II_SLEPC_DIR)/$(DEAL_II_PETSC_ARCH)/conf
 ifeq ($(DEAL_II_PETSC_VERSION_DEV),yes)
   include-path-slepc-include = $(DEAL_II_SLEPC_DIR)/$(DEAL_II_PETSC_ARCH)/include
@@ -314,7 +315,8 @@
 endif
 
 ifeq ($(USE_CONTRIB_SLEPC),yes)
-  INCLUDE += -I$(include-path-slepc) -I$(include-path-slepc-conf)
+  INCLUDE += -I$(include-path-slepc) -I$(include-path-slepc-conf) \
+ -I$(include-path-slepc-arch)
 ifeq ($(DEAL_II_PETSC_VERSION_DEV),yes)
   INCLUDE += -I$(include-path-slepc-include)
 endif


Bug#670908: deal.ii: FTBFS: include path for slepc missing

2012-04-30 Thread Felix Gruber
Package: deal.ii
Version: 7.1.0-1
Severity: serious
Tags: patch

When building deal.ii, the header slepcconf.h needs to be included. It
can be found under /usr/lib/slepc/linux-gnu-c-opt/include, but the
makefiles of deal.ii only refer to /usr/lib/slepc/include which holds
most of the headers of slepc.

The attached patch adds /usr/lib/slepc/linux-gnu-c-opt/include to the
include paths.

Regards,
Felix
Description: add slepc include path with arch triple
 The file slepcconf.h resides under
 /usr/lib/slepc/linux-gnu-c-opt/include/slepcconf.h but the makefiles
 only refer to the include path /usr/lib/slepc/include.
 .
 This patch adds the include path /usr/lib/slepc/linux-gnu-c-opt/include.
Author: Felix Gruber fel...@gmx.de
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/common/Make.global_options.in
+++ b/common/Make.global_options.in
@@ -278,7 +278,8 @@
   include-path-petsc-bmake   = $(DEAL_II_PETSC_DIR)/$(DEAL_II_PETSC_ARCH)/include
 endif
 include-path-slepc   = $(DEAL_II_SLEPC_DIR)/include
-include-path-slepc-conf  = $(DEAL_II_SLEPC_DIR)/$(DEAL_II_PETSC_ARCH)/conf
+include-path-slepc-arch  = $(DEAL_II_SLEPC_DIR)/linux-gnu-c-opt/include
+include-path-slepc-conf  = $(DEAL_II_SLEPC_DIR)/conf
 ifeq ($(DEAL_II_PETSC_VERSION_DEV),yes)
   include-path-slepc-include = $(DEAL_II_SLEPC_DIR)/$(DEAL_II_PETSC_ARCH)/include
 endif
@@ -314,7 +315,8 @@
 endif
 
 ifeq ($(USE_CONTRIB_SLEPC),yes)
-  INCLUDE += -I$(include-path-slepc) -I$(include-path-slepc-conf)
+  INCLUDE += -I$(include-path-slepc) -I$(include-path-slepc-conf) \
+ -I$(include-path-slepc-arch)
 ifeq ($(DEAL_II_PETSC_VERSION_DEV),yes)
   INCLUDE += -I$(include-path-slepc-include)
 endif