Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 691290 - sys-apps/portage-2.3.70: emerge and ebuild emit "RTNETLINK answers: Operation not supported"
Summary: sys-apps/portage-2.3.70: emerge and ebuild emit "RTNETLINK answers: Operation...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
Depends on:
Blocks: 691278
  Show dependency tree
 
Reported: 2019-08-02 09:38 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2019-08-04 21:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-08-02 09:38:21 UTC
There's no visible functional limitation but the error message is quite annoying:

# nice ebuild /usr/local/portage/sys-fs/udev/udev-243_rc1.ebuild clean prepare clean
RTNETLINK answers: Operation not supported
 * systemd-243-rc1.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...           [ ok ]
 * udev-243_rc1-revert-systemd-messup.patch.xz SHA256 SHA512 WHIRLPOOL size ;-) ...          [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     4.19.63
 * Checking for suitable kernel configuration options...                 [ ok ]
RTNETLINK answers: Operation not supported
>>> Unpacking source...
>>> Unpacking systemd-243-rc1.tar.gz to /var/tmp/portage/sys-fs/udev-243_rc1/work
>>> Unpacking udev-243_rc1-revert-systemd-messup.patch.xz to /var/tmp/portage/sys-fs/udev-243_rc1/work
>>> Source unpacked in /var/tmp/portage/sys-fs/udev-243_rc1/work
RTNETLINK answers: Operation not supported
>>> Preparing source in /var/tmp/portage/sys-fs/udev-243_rc1/work/systemd-243-rc1 ...
 * Applying udev-243_rc1-revert-systemd-messup.patch ...                 [ ok ]
>>> Source prepared.
RTNETLINK answers: Operation not supported
#
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-08-02 09:47:23 UTC
Seems like "emerge" is emitting that message as well.
Comment 2 Mike Gilbert gentoo-dev 2019-08-02 15:23:06 UTC
Likely triggerd by this change:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=590e32d05fce225dfdab6308555f4a7668378d79

The question is why the "ip address add" commands are failing on your system. Maybe some weird kernel config?
Comment 3 Mike Gilbert gentoo-dev 2019-08-02 15:24:51 UTC
Oh, do you have IPv6 support disabled?
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-08-02 15:40:09 UTC
(In reply to Mike Gilbert from comment #3)
> Oh, do you have IPv6 support disabled?

Yes, this system has no ipv6 support.
Comment 6 Larry the Git Cow gentoo-dev 2019-08-02 20:03:03 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=3572449357927d40e43c937bc35e26d78eb3b91a

commit 3572449357927d40e43c937bc35e26d78eb3b91a
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2019-08-02 15:57:39 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2019-08-02 20:01:10 +0000

    process: redirect IPv6 'ip' command output to /dev/null
    
    Bug: https://bugs.gentoo.org/691290
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 lib/portage/process.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
Comment 8 Larry the Git Cow gentoo-dev 2019-08-04 18:03:55 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=7d05c3e88dd313e3298d74ce7241cbc5b85df54a

commit 7d05c3e88dd313e3298d74ce7241cbc5b85df54a
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2019-08-03 18:40:31 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2019-08-04 17:41:25 +0000

    process: add _has_ipv6() function
    
    Add _has_ipv6() function and use it in _configure_loopback_interface()
    to decide whether to add an IPv6 address.
    
    Bug: https://bugs.gentoo.org/691290
    Reviewed-by: Mike Gilbert <floppym@gentoo.org>
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 lib/portage/process.py | 43 ++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 40 insertions(+), 3 deletions(-)
Comment 9 Larry the Git Cow gentoo-dev 2019-08-04 21:18:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77aa77e77eeb660551b0706e4611e7ab506fe729

commit 77aa77e77eeb660551b0706e4611e7ab506fe729
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2019-08-04 21:15:14 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2019-08-04 21:18:22 +0000

    sys-apps/portage: Bump to version 2.3.71
    
     #691290 Fix RTNETLINK answers: Operation not supported messages when
             IPv6 is disabled
    
    Bug: https://bugs.gentoo.org/691278
    Closes: https://bugs.gentoo.org/691290
    Package-Manager: Portage-2.3.71, Repoman-2.3.16
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 sys-apps/portage/Manifest              |   1 +
 sys-apps/portage/portage-2.3.71.ebuild | 260 +++++++++++++++++++++++++++++++++
 2 files changed, 261 insertions(+)