Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713152 - net-libs/gnet-2.0.8-r4 : ./usagi_ifaddrs.h: fatal error: sys/cdefs.h: No such file or directory
Summary: net-libs/gnet-2.0.8-r4 : ./usagi_ifaddrs.h: fatal error: sys/cdefs.h: No such...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard: cdefs.h
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-18 08:36 UTC by Toralf Förster
Modified: 2022-11-14 15:12 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.93 KB, text/plain)
2020-03-18 08:37 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,52.31 KB, text/plain)
2020-03-18 08:37 UTC, Toralf Förster
Details
environment (environment,118.75 KB, text/plain)
2020-03-18 08:37 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.54 KB, application/x-bzip)
2020-03-18 08:37 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.30 KB, application/x-bzip)
2020-03-18 08:37 UTC, Toralf Förster
Details
net-libs:gnet-2.0.8-r2:20200318-002034.log (net-libs:gnet-2.0.8-r2:20200318-002034.log,14.82 KB, text/plain)
2020-03-18 08:37 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,32.52 KB, application/x-bzip)
2020-03-18 08:37 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-18 08:36:58 UTC
libtool: compile:  x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\GNet\ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c inetaddr.c  -fPIC -DPIC -o .libs/inetaddr.o
In file included from inetaddr.c:26:
./usagi_ifaddrs.h:58:10: fatal error: sys/cdefs.h: No such file or directory
   58 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
compilation terminated.

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

  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) *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 17 Mar 2020 23:38:29 +0000
emerge -qpvO net-libs/gnet
[ebuild  N    ] net-libs/gnet-2.0.8-r2  USE="-debug -test"
Comment 1 Toralf Förster gentoo-dev 2020-03-18 08:37:00 UTC
Created attachment 621356 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-18 08:37:03 UTC
Created attachment 621358 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-18 08:37:06 UTC
Created attachment 621360 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-18 08:37:09 UTC
Created attachment 621362 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-18 08:37:11 UTC
Created attachment 621364 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-18 08:37:15 UTC
Created attachment 621366 [details]
net-libs:gnet-2.0.8-r2:20200318-002034.log
Comment 7 Toralf Förster gentoo-dev 2020-03-18 08:37:18 UTC
Created attachment 621368 [details]
temp.tbz2
Comment 8 Michael 'veremitz' Everitt 2020-03-18 21:34:40 UTC
musl upstream has a FAQ entry specifically for this error:
https://wiki.musl-libc.org/faq.html#Q:-When-compiling-something-against-musl,-I-get-error-messages-about-%3Ccode%3Esys/cdefs.h%3C/code%3E

We will need to check/report upstream and patch affected code temporarily.
Comment 9 Agostino Sarubbo gentoo-dev 2022-01-22 18:17:20 UTC
tinderbox_musl has reproduced this issue with version 2.0.8-r3 - Updating summary.
Comment 10 Agostino Sarubbo gentoo-dev 2022-09-06 11:43:10 UTC
tinderbox_musl has reproduced this issue with version 2.0.8-r4 - Updating summary.
Comment 11 Larry the Git Cow gentoo-dev 2022-10-14 17:03:42 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80831935563c8af13b20f019bd706b0bc5653b0a

commit 80831935563c8af13b20f019bd706b0bc5653b0a
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2022-10-14 16:51:00 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-10-14 17:03:22 +0000

    profiles: Mask net-libs/gnet for removal
    
    Bug: https://bugs.gentoo.org/349301
    Bug: https://bugs.gentoo.org/713152
    Bug: https://bugs.gentoo.org/802723
    Bug: https://bugs.gentoo.org/808435
    Bug: https://bugs.gentoo.org/870730
    Bug: https://bugs.gentoo.org/877079
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 profiles/package.mask | 7 +++++++
 1 file changed, 7 insertions(+)
Comment 12 Larry the Git Cow gentoo-dev 2022-11-14 15:11:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a9c062bf8e328aac84825b9c265a8d1e1d1781f

commit 9a9c062bf8e328aac84825b9c265a8d1e1d1781f
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2022-11-13 13:34:42 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-11-14 15:11:25 +0000

    net-libs/gnet: Delete
    
    Closes: https://bugs.gentoo.org/349301
    Closes: https://bugs.gentoo.org/713152
    Closes: https://bugs.gentoo.org/802723
    Closes: https://bugs.gentoo.org/808435
    Closes: https://bugs.gentoo.org/870730
    Closes: https://bugs.gentoo.org/877079
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 net-libs/gnet/Manifest                             |  1 -
 net-libs/gnet/files/gnet-2.0.8-autotools.patch     | 37 -------------
 .../gnet/files/gnet-2.0.8-check-usage-update.patch | 35 ------------
 net-libs/gnet/files/gnet-2.0.8-context-leak.patch  | 32 -----------
 .../files/gnet-2.0.8-fix-pkgconfig-abuse.patch     | 16 ------
 net-libs/gnet/files/gnet-2.0.8-network-tests.patch | 32 -----------
 .../files/gnet-2.0.8-test-existing-domain.patch    | 32 -----------
 .../gnet/files/gnet-2.0.8-unittest-build.patch     | 22 --------
 .../gnet/files/gnet-2.0.8-unittest-service.patch   | 31 -----------
 net-libs/gnet/gnet-2.0.8-r4.ebuild                 | 62 ----------------------
 net-libs/gnet/metadata.xml                         |  8 ---
 profiles/package.mask                              |  7 ---
 12 files changed, 315 deletions(-)