Bug#923284: Seemingly miscompiles with jdk-11
Sjoerd Simons
sjoerd at debian.org
Mon Feb 25 20:54:44 GMT 2019
Source: bsh
Version: 2.0b4-19
Severity: serious
When building bsh with openjdk-11 it seems that afterwards building packages
using it fails e.g. after rebuilding bsh gradle fails to build.
Attached is a dockerfile which nicely shows the issue
-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf
Kernel: Linux 4.19.0-2-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
FROM debian:buster
RUN apt-get update && \
apt-get install -y --no-install-recommends vim-tiny
RUN cat /etc/apt/sources.list | sed 's,^deb,deb-src,g' > /etc/apt/sources.list.d/s.list
RUN apt-get update && \
apt-get install -y build-essential devscripts
RUN apt-get update && \
apt-get build-dep -y bsh gradle
# builds fine
RUN apt-get source gradle && \
cd gradle* && \
debuild -uc -us
# Rebuild bsh
RUN apt-get source bsh && \
cd bsh* && \
debuild -uc -us && \
cd .. && \
dpkg -i libbsh-java*.deb
# fail :/
RUN apt-get source gradle && \
cd gradle* && \
debuild -uc -us
More information about the pkg-java-maintainers
mailing list