[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: petsc interface to other packages



On Wed, 2017-11-08 at 12:00 +0100, Matteo Semplice wrote:
> On 08/11/17 08:33, Drew Parsons wrote:
> > 
> Hi Drew,
>      I cloned the git repo, switched to experimental branch,
> branched 
> off again to "local" to make my changes but it does not compile. So
> I 
> returned to experimental and realized that I cannot even compile the 
> experimental branch without modifications:
> 
> matteo@signalkuppe:~/software/petsc$ git branch -vv
> * experimental 4b7653fcb [origin/experimental] upload 3.8.0+dfsg1-
> 1exp1 
> to experimental
>    local        4b7653fcb upload 3.8.0+dfsg1-1exp1 to experimental
>    master       f4811ce9c [origin/master] upload 3.7.7+dfsg1-2 to
> unstable
> matteo@signalkuppe:~/software/petsc$ git diff
> matteo@signalkuppe:~/software/petsc$ dpkg-buildpackage
> dpkg-buildpackage: info: source package petsc
> dpkg-buildpackage: info: source version 3.8.0+dfsg1-1exp1
> dpkg-buildpackage: info: source distribution experimental
> dpkg-buildpackage: info: source changed by Drew Parsons 
> <dparsons@debian.org>
> dpkg-buildpackage: info: host architecture amd64
>   dpkg-source --before-build petsc


Your dpkg-buildpackage did not apply the debian patches for some
reason, which is unusual. That may be why it then complains about
petscvariables.  Which version of dpkg-dev do you have? And which
version of debian are you working with?

dpkg-buildpackage is supposed to just work, and additionally helps
ensure Build-Depends are installed.  But you can also build manually

1) apply the patches

$ dh_quilt_patch

2) "manual" build
$ fakeroot debian/rules binary


See if that gets it going.

Drew



Reply to: