Bug#713208: petsc: FTBFS: cp: cannot stat '/usr/share/automake-1.11/config.*': No such file or directory

2013-09-09 Thread Thomas Weber
On Mon, Sep 09, 2013 at 02:21:05PM +0200, Julien Cristau wrote:
> On Mon, Sep  9, 2013 at 14:09:17 +0200, Thomas Weber wrote:
> > @@ -89,7 +93,7 @@ build-indep:
> >  build-arch: 
> > dh_quilt_patch
> > echo Using MPI implementation $(PETSC_MPI) in directory $(PETSC_MPI_DIR)
> > -   cp -fp /usr/share/automake-1.13/config.* 
> > config/BuildSystem/config/packages/
> > +   cp -fp $(AUTOMAKE_LIB_DIR)/config.* config/BuildSystem/config/packages/
> 
> You could just copy them from /usr/share/misc, which doesn't change.

Okay, new patch attached.

Thomas
>From 9af0f6fe749bcbd18c97f0e0a3407387d8e278f8 Mon Sep 17 00:00:00 2001
From: Thomas Weber 
Date: Mon, 9 Sep 2013 09:38:01 +0200
Subject: [PATCH] Make copying config.guess and config.sub independent of
 automake version

Replace automake by autotools-dev for that.
---
 debian/control | 2 +-
 debian/rules   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index da5096a..04e9838 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: extra
 Maintainer: Debian Science Maintainers 
 Uploaders: "Adam C. Powell, IV" 
 Standards-Version: 3.9.2
-Build-Depends: debhelper (>= 7.0.50), quilt, python (>= 2.2), gfortran, automake,
+Build-Depends: debhelper (>= 7.0.50), quilt, python (>= 2.2), gfortran, autotools-dev,
  libx11-dev, mpi-default-dev,
  libblas-dev, liblapack-dev,
  libsuitesparse-dev (>= 3.1.0-2),
diff --git a/debian/rules b/debian/rules
index 6046d46..908d150 100755
--- a/debian/rules
+++ b/debian/rules
@@ -89,7 +89,7 @@ build-indep:
 build-arch: 
 	dh_quilt_patch
 	echo Using MPI implementation $(PETSC_MPI) in directory $(PETSC_MPI_DIR)
-	cp -fp /usr/share/automake-1.13/config.* config/BuildSystem/config/packages/
+	cp -fp /usr/share/misc/config.* config/BuildSystem/config/packages/
 	if [ ! -f TAGS.backup ]; then cp -a TAGS TAGS.backup; fi
 	PETSC_DIR=$(CURDIR) PETSC_ARCH=$(PETSC_ARCH)-c-debug \
 	  ./config/configure.py --with-shared-libraries --with-debugging=1 \
-- 
1.8.4.rc3



Bug#713208: petsc: FTBFS: cp: cannot stat '/usr/share/automake-1.11/config.*': No such file or directory

2013-09-09 Thread Julien Cristau
On Mon, Sep  9, 2013 at 14:09:17 +0200, Thomas Weber wrote:

> tags 713208 patch 
> thanks
> 
> 
> On Sat, Jun 22, 2013 at 02:11:22PM +0200, Lucas Nussbaum wrote:
> > Relevant part:
> > >  debian/rules build
> > > dh_quilt_patch
> > > File series fully applied, ends at patch umfpack.patch
> > > echo Using MPI implementation openmpi in directory /usr/lib/openmpi
> > > Using MPI implementation openmpi in directory /usr/lib/openmpi
> > > cp -fp /usr/share/automake-1.11/config.* 
> > > config/BuildSystem/config/packages/
> > > cp: cannot stat '/usr/share/automake-1.11/config.*': No such file or 
> > > directory
> > > make: *** [build-arch] Error 1
> 
> The attached patch should get rid of the requirement for a path with the
> automake version in it. The build still fails at a later stage, though:
> 
> makefile:15: linux-gnu-c-debug/conf/petscvariables: No such file or directory
> /tmp/petsc/conf/variables:108: 
> /tmp/petsc/linux-gnu-c-debug/conf/petscvariables: No such file or directory
> /tmp/petsc/conf/rules:963: /tmp/petsc/linux-gnu-c-debug/conf/petscrules: No 
> such file or directory
> make[1]: *** No rule to make target 
> `/tmp/petsc/linux-gnu-c-debug/conf/petscrules'.  Stop.
> 
>   Thomas

> >From f5f31590c3098971cefbce75903dba941dc54a4b Mon Sep 17 00:00:00 2001
> From: Thomas Weber 
> Date: Mon, 9 Sep 2013 09:38:01 +0200
> Subject: [PATCH] Make copying config.guess and config.sub independent of
>  automake version
> 
> ---
>  debian/rules | 6 +-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/debian/rules b/debian/rules
> index 6046d46..55dba7c 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -56,6 +56,10 @@ PETSC_NAME=petsc$(PETSC_VERSION)
>  ARCH_GENERATED_FILES=debian/lib$(PETSC_NAME)-dev.docs \
>   debian/lib$(PETSC_NAME)-dev.postinst debian/lib$(PETSC_NAME)-dev.prerm
>  
> +# Get automake library directory, to make the copying later independent of 
> the
> +# installed version of automake, see http://bugs.debian.org/713208
> +AUTOMAKE_LIB_DIR=$(shell automake --print-libdir)
> +
>  clean:
>   dh_testdir
>   if [ -f TAGS.backup ]; then mv -f TAGS.backup TAGS; fi
> @@ -89,7 +93,7 @@ build-indep:
>  build-arch: 
>   dh_quilt_patch
>   echo Using MPI implementation $(PETSC_MPI) in directory $(PETSC_MPI_DIR)
> - cp -fp /usr/share/automake-1.13/config.* 
> config/BuildSystem/config/packages/
> + cp -fp $(AUTOMAKE_LIB_DIR)/config.* config/BuildSystem/config/packages/

You could just copy them from /usr/share/misc, which doesn't change.

>   if [ ! -f TAGS.backup ]; then cp -a TAGS TAGS.backup; fi
>   PETSC_DIR=$(CURDIR) PETSC_ARCH=$(PETSC_ARCH)-c-debug \
> ./config/configure.py --with-shared-libraries --with-debugging=1 \
> -- 
> 1.8.4.rc3
> 
Cheers,
Julien
-- 
Julien Cristau  
Logilab http://www.logilab.fr/
Informatique scientifique & gestion de connaissances


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



Bug#713208: petsc: FTBFS: cp: cannot stat '/usr/share/automake-1.11/config.*': No such file or directory

2013-09-09 Thread Thomas Weber
tags 713208 patch 
thanks


On Sat, Jun 22, 2013 at 02:11:22PM +0200, Lucas Nussbaum wrote:
> Relevant part:
> >  debian/rules build
> > dh_quilt_patch
> > File series fully applied, ends at patch umfpack.patch
> > echo Using MPI implementation openmpi in directory /usr/lib/openmpi
> > Using MPI implementation openmpi in directory /usr/lib/openmpi
> > cp -fp /usr/share/automake-1.11/config.* config/BuildSystem/config/packages/
> > cp: cannot stat '/usr/share/automake-1.11/config.*': No such file or 
> > directory
> > make: *** [build-arch] Error 1

The attached patch should get rid of the requirement for a path with the
automake version in it. The build still fails at a later stage, though:

makefile:15: linux-gnu-c-debug/conf/petscvariables: No such file or directory
/tmp/petsc/conf/variables:108: 
/tmp/petsc/linux-gnu-c-debug/conf/petscvariables: No such file or directory
/tmp/petsc/conf/rules:963: /tmp/petsc/linux-gnu-c-debug/conf/petscrules: No 
such file or directory
make[1]: *** No rule to make target 
`/tmp/petsc/linux-gnu-c-debug/conf/petscrules'.  Stop.

Thomas
>From f5f31590c3098971cefbce75903dba941dc54a4b Mon Sep 17 00:00:00 2001
From: Thomas Weber 
Date: Mon, 9 Sep 2013 09:38:01 +0200
Subject: [PATCH] Make copying config.guess and config.sub independent of
 automake version

---
 debian/rules | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 6046d46..55dba7c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -56,6 +56,10 @@ PETSC_NAME=petsc$(PETSC_VERSION)
 ARCH_GENERATED_FILES=debian/lib$(PETSC_NAME)-dev.docs \
 	debian/lib$(PETSC_NAME)-dev.postinst debian/lib$(PETSC_NAME)-dev.prerm
 
+# Get automake library directory, to make the copying later independent of the
+# installed version of automake, see http://bugs.debian.org/713208
+AUTOMAKE_LIB_DIR=$(shell automake --print-libdir)
+
 clean:
 	dh_testdir
 	if [ -f TAGS.backup ]; then mv -f TAGS.backup TAGS; fi
@@ -89,7 +93,7 @@ build-indep:
 build-arch: 
 	dh_quilt_patch
 	echo Using MPI implementation $(PETSC_MPI) in directory $(PETSC_MPI_DIR)
-	cp -fp /usr/share/automake-1.13/config.* config/BuildSystem/config/packages/
+	cp -fp $(AUTOMAKE_LIB_DIR)/config.* config/BuildSystem/config/packages/
 	if [ ! -f TAGS.backup ]; then cp -a TAGS TAGS.backup; fi
 	PETSC_DIR=$(CURDIR) PETSC_ARCH=$(PETSC_ARCH)-c-debug \
 	  ./config/configure.py --with-shared-libraries --with-debugging=1 \
-- 
1.8.4.rc3



Bug#713208: petsc: FTBFS: cp: cannot stat '/usr/share/automake-1.11/config.*': No such file or directory

2013-06-22 Thread Lucas Nussbaum
Source: petsc
Version: 3.2.dfsg-6
Severity: serious
Tags: jessie sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20130620 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
>  debian/rules build
> dh_quilt_patch
> File series fully applied, ends at patch umfpack.patch
> echo Using MPI implementation openmpi in directory /usr/lib/openmpi
> Using MPI implementation openmpi in directory /usr/lib/openmpi
> cp -fp /usr/share/automake-1.11/config.* config/BuildSystem/config/packages/
> cp: cannot stat '/usr/share/automake-1.11/config.*': No such file or directory
> make: *** [build-arch] Error 1

The full build log is available from:
   
http://aws-logs.debian.net/ftbfs-logs/2013/06/20/petsc_3.2.dfsg-6_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


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