• Bug#856062: Please don't use obsolete libsysfs-dev any more

    From Michael Biebl@21:1/5 to All on Fri Feb 24 23:10:01 2017
    XPost: linux.debian.bugs.dist

    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)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefan Haberland@21:1/5 to All on Mon Feb 27 13:20:01 2017
    XPost: linux.debian.bugs.dist

    -------- Forwarded Message --------
    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)



    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?

    # dpkg -I s390-tools_1.36.1-1_s390x.deb
    new debian package, version 2.0.
    size 436146 bytes: control archive=3666 bytes.
    128 bytes, 4 lines conffiles
    1072 bytes, 22 lines control
    6026 bytes, 100 lines md5sums
    Package: s390-tools
    Version: 1.36.1-1
    Architecture: s390x
    Maintainer: Debian S/390 Team <debian-s390@lists.debian.org>
    Installed-Size: 1491
    Depends: libc6 (>= 2.15), libfuse2 (>= 2.8), libgcc1 (>= 1:3.0),
    libncurses5 (>= 6), libstdc++6 (>= 5), libtinfo5 (>= 6), zlib1g (>=
    1:1.1.4), gawk
    Recommends: sg3-utils
    Section: admin
    Priority: important
    Homepage: http://www.ibm.com/developerworks/linux/linux390/s390-tools.html
    Description: Set of fundamental utilities for Linux on S/390
    The package contains:
    * dasdfmt, which is used to low-level format ECKD-DASDs with either
    the classic disk layout or the new zSeries compatible disk layout.
    * dasdview, which is used to display DASD and VTOC information or to
    dump the contents of a DASD to the console.
    * fdasd, which is used to create or modify partitions on ECKD-DASDs
    formatted with the zSeries compatible disk layout.
    * zipl, which is used to make either dasds or tapes bootable for
    system IPL or system dump.
    * zgetdump, which is used to retrieve system dumps from either tapes
    or dasds.

    Regards,
    Stefan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefan Haberland@21:1/5 to Dimitri John Ledkov on Mon Feb 27 17:10:02 2017
    XPost: linux.debian.bugs.dist

    On 27.02.2017 13:32, Dimitri John Ledkov wrote:
    On 27 February 2017 at 12:16, Stefan Haberland <sth@linux.vnet.ibm.com> wrote:

    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?

    $ pull-debian-source s390-tools

    $ 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


    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.


    Regards,
    Stefan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dimitri John Ledkov@21:1/5 to Stefan Haberland on Mon Feb 27 13:40:02 2017
    XPost: linux.debian.bugs.dist

    On 27 February 2017 at 12:16, Stefan Haberland <sth@linux.vnet.ibm.com> wrote: >>


    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?


    $ pull-debian-source s390-tools

    $ 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

    --
    Regards,

    Dimitri.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Mon Feb 27 17:40:02 2017
    Processing control commands:

    tags -1 + patch
    Bug #856062 [src:s390-tools] Please don't use obsolete libsysfs-dev any more Added tag(s) patch.

    --
    856062: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856062
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael Biebl@21:1/5 to Stefan Haberland on Mon Feb 27 17:40:02 2017
    XPost: linux.debian.bugs.dist
    To: xnox@debian.org (Dimitri John Ledkov)
    To: 856062@bugs.debian.org
    Copy: oberpar@linux.vnet.ibm.com (Peter Oberparleiter)
    Copy: holzheu@linux.vnet.ibm.com (Michael Holzheu)

    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --MjKRdL7XlmSBORWU3B4UGPLe8J1U5VU9H
    Content-Type: multipart/mixed;
    boundary="------------B9224B43C885F830985E96E6"

    This is a multi-part message in MIME format. --------------B9224B43C885F830985E96E6
    Content-Type: text/plain; charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    Control: tags -1 + patch

    Am 27.02.2017 um 17:04 schrieb Stefan Haberland:
    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.

    Even better. It's probably just a leftover from older times.

    Given your feedback, the change would be as simple as the attached patch
    then.

    Regards,
    Michael

    --
    Why is it that all of the instruments seeking intelligent life in the
    universe are pointed away from Earth?

    --------------B9224B43C885F830985E96E6
    Content-Type: text/x-patch;
    name="0001-Drop-obsolete-Build-Depends-on-libsysfs-dev.patch" Content-Transfer-Encoding: quoted-printable
    Content-Disposition: attachment;
    filename="0001-Drop-obsolete-Build-Depends-on-libsysfs-dev.patch"

    From 2380a263f0c38450bbea75b4e904054626d94fba Mon Sep 17 00:00:00 2001
    From: Michael Biebl <biebl@debian.org>
    Date: Mon, 27 Feb 2017 17:36:56 +0100
    Subject: [PATCH] Drop obsolete Build-Depends on libsysfs-dev

    It is no longer needed.

    Closes: #856062
    ---
    debian/control | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/debian/control b/debian/control
    index 1e6978b..f0404ae 100644
    --- a/debian/control
    +++ b/debian/control
    @@ -3,7 +3,7 @@ Section: admin
    Priority: important
    Maintainer: Debian S/390 Team <debian-s390@lists.debian.org>
    Uploaders: Bastian Blank <waldi@debian.org>, Phi
  • From Debian Bug Tracking System@21:1/5 to All on Sun Sep 10 00:20:05 2017
    This is a multi-part message in MIME format...

    Your message dated Sat, 09 Sep 2017 21:13:19 +0000
    with message-id <E1dqn43-000D7x-54@fasolo.debian.org>
    and subject line Bug#856062: fixed in s390-tools 1.37.1-1
    has caused the Debian Bug report #856062,
    regarding Please don't use obsolete libsysfs-dev any more
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    856062: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856062
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 24 Feb 2017 22:08:23 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02
    (2014-02-07) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-10.9 required=4.0 tests=BAYES_00,FOURLA,
    FROMDEVELOPER,XMAILER_REPORTBUG,X_DEBBUGS_CC autolearn=ham autolearn_force=no
    version=3.4.0-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 9; hammy, 150; neutral, 99; spammy, 0.
    spammytokens: hammytokens:0.000-+--H*F:U*biebl, 0.000-+--H*rp:U*biebl,
    0.000-+--H*RU:sk:biebl@d, 0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug
    Return-path: <biebl@debian.org>
    Received: from dd17218.kasserver.com ([85.13.136.134])
    by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
    (Exim 4.84_2)
    (envelope-from <biebl@debian.org>)
    id 1chO2I-0004Rg-Kr
    for submit@bugs.de