Subject: Bug#856062: Please don't use obsolete libsysfs-dev any more Resent-Date: Fri, 24 Feb 2017 22:09:04 +0000
Resent-From: Michael Biebl <biebl@debian.org>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: mpitt@debian.org, Debian S/390 Team
<debian-s390@lists.debian.org>
Date: Fri, 24 Feb 2017 23:08:20 +0100
From: Michael Biebl <biebl@debian.org>
Reply-To: Michael Biebl <biebl@debian.org>, 856062@bugs.debian.org
To: Debian Bug Tracking System <submit@bugs.debian.org>
Source: s390-tools
Version: 1.36.1-1
Severity: important
User: mpitt@debian.org
Usertags: libsysfs-deprecation
Hello,
Some years ago libsysfs (source package: sysfsutils) was written as an abstraction layer for accessing /sys/. However, this turned out to be
a historical error and evolutionary dead end: It does not actually
abstract anything (it's just as specific to the Linux kernel and a
particular version thereof as /sys itself), and just adds unnecessary complexity, RAM overhead, and bugs. Thus its development has ceased
years ago, in favor of programs just using /sys as it is.
In fact, most applications probably don't want to access /sys at all,
but use libudev [1] or gudev [2] instead. These provide a better API
for device enumeration, properties, and callbacks for hardware
changes.
This package is one of the few which still use the old libsysfs. Can
you please check with upstream to prepare a migration away from
libsysfs to using plain /sys or libudev?
Thank you for considering!
[1] http://www.kernel.org/pub/linux/utils/kernel/hotplug/libudev/
[2] http://www.kernel.org/pub/linux/utils/kernel/hotplug/gudev/
-- System Information:
Debian Release: 9.0
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
On 27 February 2017 at 12:16, Stefan Haberland <sth@linux.vnet.ibm.com> wrote:
$ pull-debian-source s390-toolsHi,
I just double checked this and the libsysfs dependency was removed in 2006 >> with s390-tools 1.6.0. As far as I see the s390-tools 1.36.1 do not use or >> require libsysfs.
Is there anything I am missing?
$ grep libsysfs s390-tools-1.36.1/debian/control
Build-Depends: debhelper (>> 9), libsysfs-dev, libz-dev, quilt,
gcc-multilib, libfuse-dev, libncurses-dev, libpfm4-dev
Hi,
I just double checked this and the libsysfs dependency was removed in 2006 with s390-tools 1.6.0. As far as I see the s390-tools 1.36.1 do not use or require libsysfs.
Is there anything I am missing?
tags -1 + patchBug #856062 [src:s390-tools] Please don't use obsolete libsysfs-dev any more Added tag(s) patch.
OK, I do not know who has added this dependency but it is not needed.
The s390-tools do not require libsysfs. So it can be removed.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 407 |
Nodes: | 16 (2 / 14) |
Uptime: | 13:42:44 |
Calls: | 8,554 |
Calls today: | 6 |
Files: | 13,219 |
Messages: | 5,925,563 |