Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713670 - net-misc/cfengine-3.6.2 : /.../ip.h: error: redefinition of struct iphdr
Summary: net-misc/cfengine-3.6.2 : /.../ip.h: error: redefinition of struct iphdr
Status: CONFIRMED
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: missing-musl-includes
  Show dependency tree
 
Reported: 2020-03-20 19:08 UTC by Toralf Förster
Modified: 2020-03-31 19:25 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.58 KB, text/plain)
2020-03-20 19:09 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,207.89 KB, text/plain)
2020-03-20 19:09 UTC, Toralf Förster
Details
environment (environment,102.10 KB, text/plain)
2020-03-20 19:09 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.33 KB, application/x-bzip)
2020-03-20 19:09 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,35.36 KB, application/x-bzip)
2020-03-20 19:09 UTC, Toralf Förster
Details
net-misc:cfengine-3.6.2:20200320-184922.log (net-misc:cfengine-3.6.2:20200320-184922.log,23.79 KB, text/plain)
2020-03-20 19:09 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,32.10 KB, application/x-bzip)
2020-03-20 19:09 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-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