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

Bug 832563

Summary: net-misc/mptcpd-0.9: fails to build on musl
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: candrews, esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
net-misc:mptcpd-0.9:20220202-075209.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-02-02 08:36:28 UTC
      |                                 ^~~~~~~~~~~~~
configuration.c:792:9: note: in expansion of macro 'MPTCPD_SET_LOG_FUNCTION'
  792 |         MPTCPD_SET_LOG_FUNCTION();  // For early logging.
      |         ^~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:784: libpath_manager_la-configuration.lo] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-misc/mptcpd-0.9/work/mptcpd-0.9/src'

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang/llvm (if any):
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.58.1 *
php cli:

  HEAD of ::gentoo
commit a4a57ffce20a3b08d91ae518a0268db677ea3da4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Feb 2 06:52:11 2022 +0000

    2022-02-02 06:52:08 UTC

emerge -qpvO net-misc/mptcpd
[ebuild  N    ] net-misc/mptcpd-0.9  USE="-debug -doc"
Comment 1 Toralf Förster gentoo-dev 2022-02-02 08:36:30 UTC
Created attachment 764198 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-02-02 08:36:31 UTC
Created attachment 764199 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-02-02 08:36:38 UTC
Created attachment 764200 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-02-02 08:36:45 UTC
Created attachment 764201 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-02-02 08:36:46 UTC
Created attachment 764202 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-02-02 08:36:47 UTC
Created attachment 764203 [details]
net-misc:mptcpd-0.9:20220202-075209.log
Comment 7 Toralf Förster gentoo-dev 2022-02-02 08:36:55 UTC
Created attachment 764204 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-06-11 06:15:55 UTC
The bug has been referenced in the following commit(s):

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

commit 9cbba7cb4ccab1d8c79371d75ef63cd0a12bce3d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-11 06:15:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-11 06:15:32 +0000

    net-misc/mptcpd: drop Werror
    
    Doesn't fix the actual musl issue though
    
    Bug: https://bugs.gentoo.org/832563
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/mptcpd/files/mptcpd-0.9-no-werror.patch | 21 +++++++++++++++++++++
 net-misc/mptcpd/mptcpd-0.9.ebuild                |  8 +++++++-
 net-misc/mptcpd/mptcpd-9999.ebuild               |  4 +++-
 3 files changed, 31 insertions(+), 2 deletions(-)