← Back to team overview

openjdk team mailing list archive

Bug#972245: openjdk-11-jre-headless: WARNING: tempfile is deprecated; consider using mktemp instead.

 

Package: openjdk-11-jre-headless
Version: 11.0.8+10-1.1
Severity: normal
Usertags: warnings

When upgrading I get a warning that tempfile is deprecated:

   Preparing to unpack .../openjdk-11-jre-headless_11.0.8+10-1.1_amd64.deb ...
   Unpacking openjdk-11-jre-headless:amd64 (11.0.8+10-1.1) over (11.0.8+10-1) ...
   Setting up openjdk-11-jre-headless:amd64 (11.0.8+10-1.1) ...
   WARNING: tempfile is deprecated; consider using mktemp instead.

The manual page confirms that tempfile is deprecated:

   $ man tempfile | grep deprec | fmt
          Exclusive creation is not guaranteed when creating files on
          NFS partitions.  tempfile cannot make temporary directories.
          tempfile is deprecated; you  should  use  mktemp(1)

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.8.0-2-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages openjdk-11-jre-headless depends on:
ii  ca-certificates-java  20190909
ii  java-common           0.72
ii  libasound2            1.2.3.2-1
ii  libc6                 2.31-3
ii  libcups2              2.3.3-3
ii  libfontconfig1        2.13.1-4.2
ii  libfreetype6          2.10.2+dfsg-3
ii  libgcc-s1             10.2.0-13
ii  libjpeg62-turbo       1:2.0.5-1.1
ii  liblcms2-2            2.9-4+b1
ii  libnss3               2:3.56-1
ii  libpcsclite1          1.9.0-1
ii  libstdc++6            10.2.0-13
ii  libx11-6              2:1.6.12-1
ii  libxext6              2:1.3.3-1+b2
ii  libxi6                2:1.7.10-1
ii  libxrender1           1:0.9.10-1
ii  libxtst6              2:1.2.3-1
ii  util-linux            2.36-3+b1
ii  zlib1g                1:1.2.11.dfsg-2

openjdk-11-jre-headless recommends no packages.

Versions of packages openjdk-11-jre-headless suggests:
ii  fonts-dejavu-extra    2.37-2
pn  fonts-indic           <none>
ii  fonts-ipafont-gothic  00303-20
ii  fonts-ipafont-mincho  00303-20
ii  fonts-wqy-microhei    0.2.0-beta-3
ii  libnss-mdns           0.14.1-2

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups