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 <twe...@debian.org>
> 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          <julien.cris...@logilab.fr>
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

Reply via email to