Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683198 - net-wireless/iwd-0.16 fail on musl static declaration
Summary: net-wireless/iwd-0.16 fail on musl static declaration
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-12 18:41 UTC by Jory A. Pratt
Modified: 2019-04-12 19:33 UTC (History)
0 users

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


Attachments
config.log (config.log,35.91 KB, text/x-log)
2019-04-12 18:41 UTC, Jory A. Pratt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jory A. Pratt gentoo-dev 2019-04-12 18:41:55 UTC
Created attachment 572630 [details]
config.log

In file included from src/eap-mschapv2.c:28:
./src/missing.h:24:20: error: static declaration of 'explicit_bzero' follows non-static declaration
 static inline void explicit_bzero(void *s, size_t n)
                    ^~~~~~~~~~~~~~
In file included from ./ell/util.h:26,
                 from /usr/include/ell/ell.h:23,
                 from src/eap-mschapv2.c:26:
/usr/include/string.h:85:6: note: previous declaration of 'explicit_bzero' was here
 void explicit_bzero (void *, size_t);
      ^~~~~~~~~~~~~~
make[1]: *** [Makefile:2060: src/eap-mschapv2.o] Error 1
make: *** [Makefile:1345: all] Error 2

config.log shows 
 #define HAVE_EXPLICIT_BZERO 1

missing.h
 #ifndef HAVE_EXPLICIT_BZERO

Portage 2.3.62 (python 3.6.8-final-0, default/linux/amd64/17.0/musl/hardened, gcc-8.3.0, musl-1.1.22, 5.0.7-gentoo x86_64)
=================================================================
System uname: Linux-5.0.7-gentoo-x86_64-Intel-R-_Core-TM-_i5-3320M_CPU_@_2.60GHz-with-gentoo-2.6
KiB Mem:     7968332 total,   5400528 free
KiB Swap:    4194300 total,   4194300 free
Head commit of repository gentoo: f116ea372762cb0dd20879f479272678ef39f731

Head commit of repository anarchy: 0c37ab2ba43687a3df9897d24b0455600c26202d

Head commit of repository libressl: 656e54a46c18a478a03b9ff1d860fa03ef1d240e

Head commit of repository mozilla: 96d2b36404ba5a99068ec1808053874d03390fe4

Head commit of repository musl: 0114b694f673821db0bbd13afc6945afcbe5bf79

Head commit of repository smaeul: 48f69bef7b208e902f0a71cea586c16e882b51ee

sh dash 0.5.10.2
ld GNU ld (Gentoo 2.32 p1) 2.32.0
ccache version 3.6 [enabled]
app-shells/bash:          5.0_p3-r1::gentoo
dev-lang/perl:            5.26.3::anarchy
dev-lang/python:          2.7.16::gentoo, 3.6.8::gentoo
dev-util/ccache:          3.6::gentoo
dev-util/cmake:           3.14.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.15::musl
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32::gentoo
sys-devel/gcc:            8.3.0-r1::musl
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.0-r1::musl (virtual/os-headers)
sys-libs/musl:            1.1.22::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git+ssh://git@git.gentoo.org/repo/gentoo.git
    priority: -1000
    eclass-overrides: musl

anarchy
    location: /home/sources/anarchy
    sync-type: git
    sync-uri: git+ssh://git@git.gentoo.org/dev/anarchy.git
    masters: gentoo
    eclass-overrides: musl

libressl
    location: /home/sources/libressl
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/proj/libressl.git
    masters: gentoo
    eclass-overrides: musl

mozilla
    location: /home/sources/mozilla
    sync-type: git
    sync-uri: git+ssh://git@git.gentoo.org/proj/mozilla.git
    masters: gentoo
    eclass-overrides: musl

musl
    location: /home/sources/musl
    sync-type: git
    sync-uri: git+ssh://git@git.gentoo.org/proj/musl.git
    masters: gentoo
    eclass-overrides: musl

smaeul
    location: /home/sources/smaeul
    sync-type: git
    sync-uri: https://github.com/smaeul/portage-overlay
    masters: gentoo
    eclass-overrides: musl

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-gentoo-linux-musl"
CFLAGS="-Os -march=native -pipe"
CHOST="x86_64-gentoo-linux-musl"
CONFIG_PROTECT="/etc /usr/lib/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --quiet-build=y --autounmask-keep-masks"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-Os -march=native -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-Os -march=native -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="charset.alias"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common"
MAKEOPTS="-j5 --no-print-directory -l4"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-z -9 -f -S .xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X aac alsa amd64 bluetooth bzip2 cairo cdio cgroups crypt cups cxx dbus dri dri3 elogind ffmpeg gtk gtk3 hardened iconv icu introspection ipv6 jpeg libcanberra libressl libsecret libtirpc lzma mp3 ncurses nptl opengl openmp pam pax_kernel pcre pdf pic pie png policykit postproc pulseaudio readline seccomp spell sqlite ssh ssl ssp theora threads tiff truetype udev udisks unicode upower vaapi vpx x264 xattr xcb xinerama xtpax xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="libressl" ELIBC="musl" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="BPF X86" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="i915 i965 intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, LANG, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Larry the Git Cow gentoo-dev 2019-04-12 19:33:03 UTC
The bug has been closed via the following commit(s):

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

commit fdfdf352dc37b123b50274d06f87c8d56e54138e
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2019-04-12 19:32:14 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2019-04-12 19:32:32 +0000

    net-wireless/iwd: add upstream patch for bug 683198
    
    Closes: https://bugs.gentoo.org/683198
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 net-wireless/iwd/files/iwd-have_config_h-fix.patch | 140 +++++++++++++++++++++
 net-wireless/iwd/iwd-0.16.ebuild                   |   2 +
 2 files changed, 142 insertions(+)