Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712340 - sys-apps/tcp-wrappers-7.6.28 : tcpd.h: error: expected ; before struct
Summary: sys-apps/tcp-wrappers-7.6.28 : tcpd.h: error: expected ; before struct
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL: https://patchwork.openembedded.org/pa...
Whiteboard:
Keywords:
: 713122 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-03-13 08:21 UTC by Toralf Förster
Modified: 2021-08-13 13:58 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.57 KB, text/plain)
2020-03-13 08:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,18.04 KB, text/plain)
2020-03-13 08:22 UTC, Toralf Förster
Details
environment (environment,83.97 KB, text/plain)
2020-03-13 08:22 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.67 KB, application/x-bzip)
2020-03-13 08:22 UTC, Toralf Förster
Details
sys-apps:tcp-wrappers-7.6.28:20200313-020844.log (sys-apps:tcp-wrappers-7.6.28:20200313-020844.log,5.24 KB, text/plain)
2020-03-13 08:22 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.40 KB, application/x-bzip)
2020-03-13 08:22 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-13 08:21:57 UTC
x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16  -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS     -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\/usr/sbin\ -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO	 -DRFC931_TIMEOUT=10  -DHOSTS_DENY=\/etc/hosts.deny\ -DHOSTS_ALLOW=\/etc/hosts.allow\    -DAPPEND_DOT  -DALWAYS_HOSTNAME -o tcpd.o -c tcpd.c
In file included from tcpd.c:40:
tcpd.h:14:14: error: expected ; before struct
   14 | __BEGIN_DECLS
      |              ^
      |              ;

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.2.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 <==
Thu, 12 Mar 2020 23:38:53 +0000

emerge -qpvO sys-apps/tcp-wrappers
[ebuild  N    ] sys-apps/tcp-wrappers-7.6.28  USE="ipv6 (split-usr) -netgroups -static-libs"
Comment 1 Toralf Förster gentoo-dev 2020-03-13 08:22:00 UTC
Created attachment 618322 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-13 08:22:03 UTC
Created attachment 618324 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-13 08:22:05 UTC
Created attachment 618326 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-13 08:22:08 UTC
Created attachment 618328 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-13 08:22:11 UTC
Created attachment 618330 [details]
sys-apps:tcp-wrappers-7.6.28:20200313-020844.log
Comment 6 Toralf Förster gentoo-dev 2020-03-13 08:22:13 UTC
Created attachment 618332 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-16 16:12:35 UTC
The first attempt to tinderbox a musl image failed at all.

I'll mass close therefore all filed bug reports of the last days related to this tinderbox image.

Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay.
Comment 8 Michael 'veremitz' Everitt 2020-03-18 21:40:38 UTC
*** Bug 713122 has been marked as a duplicate of this bug. ***
Comment 9 Joshua Kinard gentoo-dev 2020-10-29 23:31:48 UTC
The patch in URL looks like it needs to be applied.  Can the musl team add sys-apps/tcp-wrappers to the musl-overlay and carry this patch?  Otherwise, I can added it to the main repo.  Doesn't look like it'll harm glibc-based systems.
Comment 10 Joshua Kinard gentoo-dev 2020-10-29 23:59:58 UTC
(In reply to Joshua Kinard from comment #9)
> The patch in URL looks like it needs to be applied.  Can the musl team add
> sys-apps/tcp-wrappers to the musl-overlay and carry this patch?  Otherwise,
> I can added it to the main repo.  Doesn't look like it'll harm glibc-based
> systems.

Nevermind, I had my repos.conf setup incorrectly in a new chroot and thus wasn't picking up the musl overlay, which already has this patched in it.
Comment 11 David Seifert gentoo-dev 2021-08-13 13:58:08 UTC
Tested, works fine under musl with sys-apps/tcp-wrappers-7.6.31.