ppp failed with "if_pppox.h:75: error: field ‘pppol2tpv3’ has incomplete type" Reproducible: Always Steps to Reproduce: emerge ppp with ~x86 flag Actual Results: Build fails Expected Results: Fix attached --- ppp-2.4.5/include/linux/if_pppol2tp.h 2009-11-16 22:26:07.000000000 +0000 +++ ppp-2.4.5/include/linux/if_pppol2tp.h 2010-07-16 22:35:22.000000000 +0100 @@ -32,6 +32,20 @@ __u16 d_tunnel, d_session; /* For sending outgoing packets */ }; +/* The L2TPv3 protocol changes tunnel and session ids from 16 to 32 + * bits. So we need a different sockaddr structure. + */ +struct pppol2tpv3_addr { + pid_t pid; /* pid that owns the fd. + * 0 => current */ + int fd; /* FD of UDP or IP socket to use */ + + struct sockaddr_in addr; /* IP address and port to send to */ + + __u32 s_tunnel, s_session; /* For matching incoming packets */ + __u32 d_tunnel, d_session; /* For sending outgoing packets */ +}; + /* Socket options: * DEBUG - bitmask of debug message categories * SENDSEQ - 0 => don't send packets with sequence numbers
More information: if_pppox.h is included in the ppp package and need the patch Could be that we also need this in the kernel ?
Patch is here: https://bugzilla.redhat.com/attachment.cgi?id=433979 Bug url: https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=617625
Sorry, don't need to post. Crazy ;)
For this bug and for bug #334397, I don't believe the described problems are correct. Rationale: I have 3 nearly identical systems. Each system consists of AMD64 level processors, ATI radeon graphics chips and at least two gigs of memory. Two of the systems were "cloned" using minimal "stage4" saves from the original system about 2 months ago. Aside from some kernel setting variations to account for mobo chipset differences, these three systems really are virtually identical. I recently upgraded "emerge --sync && emerge -uND world" two of these systems about 2 weeks ago (but no earlier than August 22) and both systems had no problem running ppp-2.4.5 and ntfs3g-2010.8.8 to completion. About a week later, I followed up and upgraded the third system (also using "emerge --sync && emerge -uND world"). Both the ppp and ntfs3g upgrades failed as described in their respective bugzilla entries. As it happens, I also re-upgraded the other two systems at the same time considering that there wouldn't be very many packages updated and also because I wanted the latest kernel updates. "emerge =ppp-2.4.5 =ntfs3g-2010.8.8" no longer run to completion on these two systems and fail in exactly the same way. I thought that perhaps the upgrade of portage from portage-2.2_rc67 to portage-2.2_r69 might possibly have been the cause and therefore downgraded portage back to 2.2_rc67. The ppp and ntfs3g emerges still fail on all three systems. I also tried upgrading portage to the latest version 2.2_rc72 and no still no joy. I don't know enough to feel comfortable downgrading python-2.6* and I also don't know enough to figure out which other packages I might consider downgrading for testing. I'm putting together and attachment consisting of the "emerge --info" results for all three systems plus some other information I feel will show what I've mentioned here. I'll post it shortly.
Created attachment 245267 [details] pyrodydno information For the computer systems named "pyrodyno", this file contains the results of: emerge --info emerge --depclean -p emerge -pv ppp ntfs3g revdep-rebuild -i -p emerge ppp
Created attachment 245268 [details] pyrotekk information For the computer systems named "pyrotekk", this file contains the results of: emerge --info emerge --depclean -p emerge -pv ppp ntfs3g revdep-rebuild -i -p emerge ppp
Created attachment 245269 [details] slizard information For the computer systems named "slizard", this file contains the results of: emerge --info emerge --depclean -p emerge -pv ppp ntfs3g emerge ppp (oops - forgot to include "revdep-rebuild -i -p")
I will be testing with some prior versions of the kernel. I want to check if the problem here and possibly with ntfs3g may be caused by an issue introduced in a kernel revision. I'm currently running vanilla-sources-2.6.35.4 on all three systems.
I did the following: cd /usr/src rm linux ln -s linux-2.6.34.2/ linux reboot Since I have multiple kernels avaiable through my grub menu, I rebooted to vanilla-sources-2.6.34.2. emerge ppp emerge ntfs3g The emerge of ppp-2.4.5 failed. The emerge of ntfs3g-2010.8.8 went through to completion. I'm going to test further by downgrading linux-headers and seeing if ppp will compile with that instead.
You can execute the following: emerge =linux-headers-2.6.34 && emerge ppp && emerge linux-headers I don't know if ppp will work afterwords so I don't know if this is a valid workaround. Use at your own risk.
See also bug #334047. This bug should be closed in favor of 334047.
please search when filing bugs *** This bug has been marked as a duplicate of bug 334047 ***