Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704306 - net-dialup/accel-ppp-1.12.0[ipoe]: error: ‘struct rtable’ has no member named ‘rt_gateway’ (and more)
Summary: net-dialup/accel-ppp-1.12.0[ipoe]: error: ‘struct rtable’ has no member named...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sergey Popov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-30 18:35 UTC by Michał Górny
Modified: 2020-01-10 14:54 UTC (History)
0 users

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


Attachments
/var/log/portage/net-dialup:accel-ppp-1.12.0:20191230-183158.log (net-dialup:accel-ppp-1.12.0:20191230-183158.log,108.78 KB, text/plain)
2019-12-30 18:35 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-12-30 18:35:12 UTC
Created attachment 601924 [details]
/var/log/portage/net-dialup:accel-ppp-1.12.0:20191230-183158.log

CC [M]  /tmp/portage/net-dialup/accel-ppp-1.12.0/work/accel-ppp-1.12.0_build/drivers/ipoe/driver/ipoe.o
/tmp/portage/net-dialup/accel-ppp-1.12.0/work/accel-ppp-1.12.0_build/drivers/ipoe/driver/ipoe.c: In function ‘check_nat_required’:
/tmp/portage/net-dialup/accel-ppp-1.12.0/work/accel-ppp-1.12.0_build/drivers/ipoe/driver/ipoe.c:258:8: error: ‘struct rtable’ has no member named ‘rt_gateway’
  258 |  if (rt->rt_gateway || (rt->dst.dev != link && rt->dst.dev != skb->dev))
      |        ^~
/tmp/portage/net-dialup/accel-ppp-1.12.0/work/accel-ppp-1.12.0_build/drivers/ipoe/driver/ipoe.c: At top level:
/tmp/portage/net-dialup/accel-ppp-1.12.0/work/accel-ppp-1.12.0_build/drivers/ipoe/driver/ipoe.c:1748:4: error: ‘struct genl_ops’ has no member named ‘policy’
 1748 |   .policy = ipoe_nl_policy,
      |    ^~~~~~
/tmp/portage/net-dialup/accel-ppp-1.12.0/work/accel-ppp-1.12.0_build/drivers/ipoe/driver/ipoe.c:1748:13: error: initialization of ‘int (*)(struct netlink_callback *)’ from incompatible pointer type ‘struct nla_policy *’ [-Werror=incompatible-pointer-types]
 1748 |   .policy = ipoe_nl_policy,
      |             ^~~~~~~~~~~~~~

(and that repeats multiple times)

That's with kernel 5.4.6.
Comment 1 Larry the Git Cow gentoo-dev 2020-01-09 12:25:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8405112f9e37d099beb627a54af37cae60647ec3

commit 8405112f9e37d099beb627a54af37cae60647ec3
Author:     Sergey Popov <pinkbyte@gentoo.org>
AuthorDate: 2020-01-09 12:22:49 +0000
Commit:     Sergey Popov <pinkbyte@gentoo.org>
CommitDate: 2020-01-09 12:25:34 +0000

    net-dialup/accel-ppp: backport compatibility patch for new kernels
    
    Closes: https://bugs.gentoo.org/704306
    Signed-off-by: Sergey Popov <pinkbyte@gentoo.org>
    Package-Manager: Portage-2.3.66, Repoman-2.3.11

 net-dialup/accel-ppp/Manifest                      |   1 -
 net-dialup/accel-ppp/accel-ppp-1.12.0.ebuild       |   3 +-
 .../files/accel-ppp-1.12.0-kernel-5.2.patch        | 282 +++++++++++++++++++++
 3 files changed, 284 insertions(+), 2 deletions(-)
Comment 2 Larry the Git Cow gentoo-dev 2020-01-10 14:54:24 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78702db30c13e2dcbcd9780ab65c4c7ff1eb8c51

commit 78702db30c13e2dcbcd9780ab65c4c7ff1eb8c51
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-01-10 12:07:17 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-01-10 14:54:15 +0000

    net-dialup/accel-ppp: Fix patch name
    
    Bug: https://bugs.gentoo.org/704306
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 net-dialup/accel-ppp/accel-ppp-1.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)