Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904740 - net-dialup/ppp-2.4.9-r8[-ipv6] pppol2tp.so: undefined symbol: ipv6_up_notifier
Summary: net-dialup/ppp-2.4.9-r8[-ipv6] pppol2tp.so: undefined symbol: ipv6_up_notifier
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-21 11:56 UTC by Ivan Diorditsa
Modified: 2023-04-21 22:16 UTC (History)
1 user (show)

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 Ivan Diorditsa 2023-04-21 11:56:42 UTC
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
Comment 1 Mike Gilbert gentoo-dev 2023-04-21 17:28:56 UTC
We are dropping the IPv6 USE flag in ppp-2.5.0 anyway.
Comment 2 Larry the Git Cow gentoo-dev 2023-04-21 17:42:40 UTC
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(-)
Comment 3 Ivan Diorditsa 2023-04-21 22:16:49 UTC
thank you. Amazing and quick work