[Debichem-devel] Bug#875267: Bug#875267: FTBFS: dpkg-source fails due to changes in upstream source

Michael Banck mbanck at debian.org
Sun Jun 24 17:40:32 BST 2018


Hi Drew,

On Sun, Sep 10, 2017 at 01:48:09PM +0800, Drew Parsons wrote:
> nwchem cannot build on its own, since changes are made to some
> upstream files outside of the debian/patches system.
> 
> This is caught during dh_clean in dh_auto_clean built on a pbuilder chroot
> (pdebuild).
> 
> A build log reports:
>   dh_auto_clean
>   make[1]: Leaving directory '/home/drew/projects/scalapack-deps/build/nwchem'
>      dh_autoreconf_clean
>      dh_autotools-dev_restoreconfig
>      dh_clean
>   dpkg-source: info: using source format '3.0 (quilt)'
>   dpkg-source: info: building nwchem using existing ./nwchem_6.6+r27746.orig.tar.bz2
>   dpkg-source: warning: ignoring deletion of file src/nwpw/nwpwlib/D3dB/hilbert.c.bak, use --include-removal to override
>   dpkg-source: warning: ignoring deletion of file src/nwpw/nwpwlib/utilities/paw_utilities/nwpw_gaunt.F.bak, use --include-removal to override
>   dpkg-source: warning: ignoring deletion of file src/nwpw/libraryps/HGH_LDA/C.bak, use --include-removal to override
>   dpkg-source: warning: ignoring deletion of file src/nwpw/libraryps/paw_default/Al.bak, use --include-removal to override
>   dpkg-source: warning: ignoring deletion of file src/atomscf/src.orig, use --include-removal to override
>   dpkg-source: warning: ignoring deletion of file src/tools/ga-5-4/gfutex/examples/scf/twoel.C.orig, use --include-removal to override
>   dpkg-source: warning: ignoring deletion of file src/tools/ga-5-4/comex/src-dmapp/dmapp.h.bak, use --include-removal to override
>   dpkg-source: warning: ignoring deletion of file web/doc/user.4.6/user.html.bak, use --include-removal to override
>   dpkg-source: info: local changes detected, the modified files are:
>    nwchem/src/config/NWCHEM_CONFIG
>    nwchem/src/config/nwchem_config.h

So I guess all it would take is rm those two files in
dh_override_auto_clean, after the dh_auto_clean?

I have pushed such a change to master now if you would like to test it.
I think I don't see it cause I hacked my dpkg-buildpackage -S to no look
at upstream, bad me.


Michael



More information about the Debichem-devel mailing list