Source: openjdk-8
Source-Version: 8u442-ga-2
Severity: serious

Hi!

As was discovered in bug #1095746, this package misbuilds when calling
for example «fakeroot debian/rules binary-arch» w/o first calling
«debian/rules build-arch», which is a policy violation:

   ,---
   "binary" (required), "binary-arch" (required), "binary-indep" (required)

    The "binary" target must be all that is necessary for the user to
    build the binary package(s) produced from this source package. It
    is split into two parts: "binary-arch" builds the binary packages
    which are specific to a particular architecture, and "binary-indep"
    builds those which are not.

    "binary" may be (and commonly is) a target with no commands which
    simply depends on "binary-arch" and "binary-indep".

    Both "binary-*" targets should depend on the "build" target, or on
    the appropriate "build-arch" or "build-indep" target, so that the
    package is built if it has not been already. It should then create
    the relevant binary package(s), using "dpkg-gencontrol" to make
    their control files and "dpkg-deb" to build them and place them in
    the parent of the top level directory.

    […]
   `---

Thanks,
Guillem

Reply via email to