Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713416 - net-dialup/ppp-2.4.8 : /.../if_ether.h: error: redefinition of struct ethhdr
Summary: net-dialup/ppp-2.4.8 : /.../if_ether.h: error: redefinition of struct ethhdr
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard: mixed kernel/userspace headers?
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-19 11:16 UTC by Toralf Förster
Modified: 2022-06-24 15:30 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.35 KB, text/plain)
2020-03-19 11:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,123.41 KB, text/plain)
2020-03-19 11:16 UTC, Toralf Förster
Details
environment (environment,98.30 KB, text/plain)
2020-03-19 11:17 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.79 KB, application/x-bzip)
2020-03-19 11:17 UTC, Toralf Förster
Details
net-dialup:ppp-2.4.8:20200319-041530.log (net-dialup:ppp-2.4.8:20200319-041530.log,7.69 KB, text/plain)
2020-03-19 11:17 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.51 KB, application/x-bzip)
2020-03-19 11:17 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-03-19 11:16:52 UTC
In file included from pppoe.h:94,
                 from plugin.c:29:
/usr/include/netinet/if_ether.h:113:8: error: redefinition of struct ethhdr
  113 | struct ethhdr {
      |        ^~~~~~
In file included from pppoe.h:84,

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Mar 2020 13:38:27 +0000
emerge -qpvO net-dialup/ppp
[ebuild  N    ] net-dialup/ppp-2.4.8  USE="ipv6 pam -activefilter -atm -dhcp -eap-tls -gtk -libressl -radius"
Comment 1 Toralf Förster gentoo-dev 2020-03-19 11:16:54 UTC
Created attachment 622412 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-19 11:16:57 UTC
Created attachment 622414 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-19 11:17:00 UTC
Created attachment 622416 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-19 11:17:02 UTC
Created attachment 622418 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-19 11:17:05 UTC
Created attachment 622420 [details]
net-dialup:ppp-2.4.8:20200319-041530.log
Comment 6 Toralf Förster gentoo-dev 2020-03-19 11:17:08 UTC
Created attachment 622422 [details]
temp.tbz2
Comment 7 Michael 'veremitz' Everitt 2020-03-19 11:24:12 UTC
musl upstream has a FAQ entry specifically for this error:
https://wiki.musl-libc.org/faq.html#Q:-Why-am-I-getting-

Suggested workarounds are in the FAQ.
Comment 8 Ben Kohler gentoo-dev 2022-06-24 15:30:19 UTC
This seems to be fixed in 2.4.9-r8, probably in upstream's 2.4.9 release