Debian removed the openjdk-10-jdk package from Debian sid, so the apt-get install no longer pulls that version and consequently fails the build. Debian removed on 12/5/2018 the openjdk10 packages from Debian sid, only the openjdk-10-jdk-headless versions are left. [91m+ apt-get install -y --no-install-recommends dpkg-dev gcc libapr1-dev libssl-dev make openjdk-10-jdk=10.0.2+13-1 Reading package lists... Building dependency tree... Reading state information... [91mE: Unable to locate package openjdk-10-jdk