when I emerge net-dialup/ppp-2.4.9-r8 with -ipv6 flag, the ipv6 disabled and pppd/ipv6cp.c does not compile. However pppd/plugins/pppol2tp/pppol2tp.c still adds the ipv6_up_notifier (which is not provided due to ipv6cp.c is not part of compilation now). This results in pppol2tp.so never loading as loader cannot resolve the symbol ipv6_up_notifier Reproducible: Always Steps to Reproduce: 1. emerge ppp with -ipv6 2. run pppd and load the pppol2tp.so plugin 3. Actual Results: 2023-04-21T11:40:12.22783 /usr/sbin/pppd: /usr/lib64/pppd/2.4.9/pppol2tp.so: undefined symbol: ipv6_up_notifier 2023-04-21T11:40:12.22787 /usr/sbin/pppd: Couldn't load plugin pppol2tp.so Expected Results: pppol2tp plugin can load successfully
We are dropping the IPv6 USE flag in ppp-2.5.0 anyway.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fba1ae8a6a18bd43afc1f23171b6cbfab7832aa commit 7fba1ae8a6a18bd43afc1f23171b6cbfab7832aa Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2023-04-21 17:41:40 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2023-04-21 17:41:40 +0000 net-dialup/ppp: fix pppol2tp plugin with USE=-ipv6 Closes: https://bugs.gentoo.org/904740 Signed-off-by: Mike Gilbert <floppym@gentoo.org> net-dialup/ppp/files/ppp-2.4.9-pppol2tp-ipv6.patch | 28 ++++++++++++++++++++++ .../{ppp-2.4.9-r8.ebuild => ppp-2.4.9-r9.ebuild} | 3 ++- 2 files changed, 30 insertions(+), 1 deletion(-)
thank you. Amazing and quick work