← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1615615] Re: gcc -Wdeprecated fails with: readdir_r is deprecated

 

** Also affects: snap-confine (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: snap-confine (Ubuntu)
       Status: New => Fix Released

** Also affects: snap-confine (Ubuntu Xenial)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1615615

Title:
  gcc -Wdeprecated fails with: readdir_r is deprecated

Status in Snappy Launcher:
  Fix Released
Status in snap-confine package in Ubuntu:
  Fix Released
Status in snap-confine source package in Xenial:
  New

Bug description:
  [Impact]

  The readdir_r function, which is a reentrant version of readdir() is
  deprecated in glibc. Some newer distributions (e.g. Ubuntu Yakkety)
  could no longer build snap-confine with this function. For more detail
  on readdir_r issue see the end of this bug description.

  [Test Case]

  The package doesn't FTBFS anymore and works as before. This feature is
  used by the LXD quirk code which is covered by this bug report and the
  same SRU request: https://bugs.launchpad.net/snap-confine/+bug/1613845

  [Regression Potential]

  * Minimal, snap-confine is a single-threaded application that doesn't
  use signal handlers with any non-trivial code that might be affected
  by the use of non-reentrant readdir().

  [Other Info]

  * This bug is a part of a major SRU that brings snap-confine in Ubuntu
  16.04 in line with the current upstream release 1.0.41.

  * snap-confine is technically an integral part of snapd which has an
  SRU exception and is allowed to introduce new features and take
  advantage of accelerated procedure. For more information see
  https://wiki.ubuntu.com/SnapdUpdates

  == # Pre-SRU bug description follows # ==

  Since Fedora 24 and Ubuntu 16.10 readdir_r is deprecated and causes
  build failures in strict packaging builds.

  Some more details:

  https://www.sourceware.org/ml/libc-alpha/2016-02/msg00093.html
  https://womble.decadent.org.uk/readdir_r-advisory.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-confine/+bug/1615615/+subscriptions