Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713670 - net-misc/cfengine-3.6.2-r1 : /.../ip.h: error: redefinition of struct iphdr
Summary: net-misc/cfengine-3.6.2-r1 : /.../ip.h: error: redefinition of struct iphdr
Status: RESOLVED FIXED
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: PMASKED
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-03-20 19:08 UTC by Toralf Förster
Modified: 2022-12-31 18:32 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 Infrastructure 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
Comment 10 Agostino Sarubbo gentoo-dev 2022-02-02 07:53:35 UTC
tinderbox_musl has reproduced this issue with version 3.6.2-r1 - Updating summary.
Comment 11 Larry the Git Cow gentoo-dev 2022-12-31 18:32:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36937c9304bd89ee30e601e9e10f8ff7e638bc53

commit 36937c9304bd89ee30e601e9e10f8ff7e638bc53
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2022-12-31 18:13:40 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2022-12-31 18:30:50 +0000

    net-misc/cfengine: treeclean
    
    Closes: https://bugs.gentoo.org/875455
    Closes: https://bugs.gentoo.org/555214
    Closes: https://bugs.gentoo.org/690918
    Closes: https://bugs.gentoo.org/713670
    Closes: https://bugs.gentoo.org/666006
    Closes: https://bugs.gentoo.org/696046
    Closes: https://bugs.gentoo.org/796446
    Closes: https://bugs.gentoo.org/882759
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 net-misc/cfengine/Manifest                         |   2 -
 net-misc/cfengine/cfengine-3.6.2-r1.ebuild         | 156 ---------------------
 net-misc/cfengine/files/cf-execd.rc6               |  18 ---
 net-misc/cfengine/files/cf-monitord.rc6            |  17 ---
 net-misc/cfengine/files/cf-serverd.rc6             |  17 ---
 .../cfengine/files/cfengine-3.6.2-ifconfig.patch   |  11 --
 .../cfengine/files/cfengine-3.6.2-sysmacros.patch  |  19 ---
 net-misc/cfengine/metadata.xml                     |  34 -----
 profiles/package.mask                              |   5 -
 9 files changed, 279 deletions(-)