source: xerces-c
version: 3.1.4+debian-1
severity: serious

If I build twice (with a `clean` run in the middle) I get:

   debian/rules override_dh_auto_build-indep
make[1]: Entering directory '/home/mattia/xerces/xerces-c-3.1.4+debian'
mkdir doc/html
mkdir: cannot create directory ‘doc/html’: File exists
debian/rules:21: recipe for target 'override_dh_auto_build-indep' failed
make[1]: *** [override_dh_auto_build-indep] Error 1
make[1]: Leaving directory '/home/mattia/xerces/xerces-c-3.1.4+debian'
debian/rules:6: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



or, alternatively, a dpkg-source error if I instead run a full build (so
source+binary) instead of a binary-only build (-b) as I did above.


This means that the clean target of your package doesn't properly clean
the source as mandated by Policy 4.9:

| clean (required)
|   This must undo any effects that the build and binary targets may have
|   had, except that it should leave alone any output files created in the
|   parent directory by a run of a binary target.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature

Reply via email to