[Pkg-scicomp-devel] Bug#580546: --with-clanguage=C++ breaks C support.

Adam C Powell IV hazelsct at debian.org
Mon May 10 11:26:07 UTC 2010


reassign 580546 src:petsc
tags 580546 +pending
severity 580546 important
thanks

Hi,

I'm afraid this package is part of the python transition, so I'm loath
to upload it and delay things another few days...  However, I've built,
tested, and committed a fix to debian-science git.  To build:

        git clone
        git://git.debian.org/git/debian-science/packages/petsc.git
        DEB_BUILD_GNU_SYSTEM=linux-gnu git-buildpackage

Please let me know if it works for you.

[Upgraded severity because this breaks illuminator and probably deal.II,
but both of those have other RC bugs so I don't want this to slow down
transitions...]

-Adam

On Thu, 2010-05-06 at 12:50 -0400, Adam C Powell IV wrote: 
> clone 576799 -1
> fixed 576799 3.1.dfsg-1
> retitle -1 --with-clanguage=C++ breaks C support
> thanks
> 
> On Wed, 2010-05-05 at 17:11 -0400, Don Pellegrino wrote:
> > After upgrading to petsc-dev version 3.1 I now receive the following
> > error when trying to compile with a C compiler:
> > 
> > configure:3973: checking petscmat.h usability
> > configure:3973: gcc -c -g -O2 -I/usr/include/mpi -I/usr/include/ncbi
> > -I/usr/lib/petscdir/3.1/include -I/usr/include/libxml2 conftest.c >&5
> > In file included from /usr/lib/petscdir/3.1/include/petscis.h:7,
> >                  from /usr/lib/petscdir/3.1/include/petscvec.h:9,
> >                  from /usr/lib/petscdir/3.1/include/petscmat.h:6,
> >                  from conftest.c:57:
> > /usr/lib/petscdir/3.1/include/petscsys.h:22:2: error: #error "PETSc
> > configured with --with-clanguage=c++ and NOT --with-c-support - it can
> > be used only with a C++ compiler"
> > 
> > Could --with-c-support be used in conjunction with C++ compatibility
> > to address bug 576799 without breaking C support?
> 
> Sure, I should be able to take care of this today -- assuming it works
> of course.
> 
> -Adam


-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Engineering consulting with open source tools
http://www.opennovation.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-scicomp-devel/attachments/20100510/0fe81f12/attachment.pgp>


More information about the Pkg-scicomp-devel mailing list