Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 713670

Summary: net-misc/cfengine-3.6.2 : /.../ip.h: error: redefinition of struct iphdr
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: sysadmin
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: mixed kernel/userspace headers?
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-misc:cfengine-3.6.2:20200320-184922.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-20 19:08:59 UTC
In file included from ../libutils/platform.h:370,
                 from generic_at.c:25:
/usr/include/linux/ip.h:86:8: error: redefinition of struct iphdr
   86 | struct iphdr {
      |        ^~~~~
In file included from ../libutils/platform.h:350,

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

  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 *

timestamp of the main tree
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 20 Mar 2020 17:39:47 +0000

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo/timestamp.git	Fri Mar 20 17:39:48 UTC 2020
/var/db/repos/musl/timestamp.git	Wed Mar 18 03:21:45 UTC 2020

emerge -qpvO net-misc/cfengine
[ebuild  N    ] net-misc/cfengine-3.6.2  USE="acl qdbm -examples -libvirt -masterfiles -mysql -postgres (-selinux) -tokyocabinet -vim-syntax -xml"
Comment 1 Toralf Förster gentoo-dev 2020-03-20 19:09:01 UTC
Created attachment 623394 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-20 19:09:04 UTC
Created attachment 623396 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-20 19:09:07 UTC
Created attachment 623398 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-20 19:09:10 UTC
Created attachment 623400 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-20 19:09:13 UTC
Created attachment 623402 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-20 19:09:15 UTC
Created attachment 623404 [details]
net-misc:cfengine-3.6.2:20200320-184922.log
Comment 7 Toralf Förster gentoo-dev 2020-03-20 19:09:18 UTC
Created attachment 623406 [details]
temp.tbz2
Comment 8 Michael 'veremitz' Everitt 2020-03-21 02:11:27 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 9 Sam James archtester gentoo-dev Security 2020-03-31 19:25:24 UTC
can't see patch in alpine: https://git.alpinelinux.org/aports/tree/community/cfengine/APKBUILD