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

Bug 575098

Summary: mail-client/mailx fails to compile on armv7a-hardfp-musl
Product: Gentoo Linux Reporter: Michael Jones <gentoo>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    
Attachments: Proposed patch for mailx

Description Michael Jones 2016-02-18 20:10:17 UTC
armv7a-hardfp-musl ~ # emerge -1 --ignore-default-opts mailx
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) mail-client/mailx-8.1.2.20050715-r6::gentoo
 * mailx_8.1.2-0.20050715cvs.orig.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                                           [ ok ]
 * mailx_8.1.2-0.20050715cvs-1.diff.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                                             [ ok ]
>>> Unpacking source...
>>> Unpacking mailx_8.1.2-0.20050715cvs.orig.tar.gz to /var/tmp/portage/mail-client/mailx-8.1.2.20050715-r6/work
>>> Unpacking mailx_8.1.2-0.20050715cvs-1.diff.gz to /var/tmp/portage/mail-client/mailx-8.1.2.20050715-r6/work
 * Applying mailx_8.1.2-0.20050715cvs-1.diff.gz ...                                                                                                                                                                                                                     [ ok ]
 * Applying mailx-8.1.2.20050715-nostrip.patch ...                                                                                                                                                                                                                      [ ok ]
 * Applying mailx-8.1.2.20050715-offsetof.patch ...                                                                                                                                                                                                                     [ ok ]
>>> Source unpacked in /var/tmp/portage/mail-client/mailx-8.1.2.20050715-r6/work
>>> Compiling source in /var/tmp/portage/mail-client/mailx-8.1.2.20050715-r6/work/mailx-8.1.2-0.20050715cvs.orig ...
make -j30 CC=armv7a-hardfloat-linux-musleabi-gcc 'EXTRAFLAGS=-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard'
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c version.c -o version.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c aux.c -o aux.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c cmd1.c -o cmd1.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c cmd2.c -o cmd2.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c cmd3.c -o cmd3.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c cmdtab.c -o cmdtab.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c collect.c -o collect.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c edit.c -o edit.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c fio.c -o fio.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c getname.c -o getname.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c head.c -o head.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c v7.local.c -o v7.local.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c lex.c -o lex.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c list.c -o list.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c main.c -o main.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c names.c -o names.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c popen.c -o popen.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c quit.c -o quit.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c send.c -o send.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c strings.c -o strings.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c temp.c -o temp.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c tty.c -o tty.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c vars.c -o vars.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c EXT/strlcat.c -o EXT/strlcat.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c EXT/strlcpy.c -o EXT/strlcpy.o
armv7a-hardfloat-linux-musleabi-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c EXT/vis.c -o EXT/vis.o
In file included from def.h:57:0,
                 from rcv.h:43,
                 from list.c:41:
EXT/vis.h:73:23: fatal error: sys/cdefs.h: No such file or directory
 #include <sys/cdefs.h>
                       ^
compilation terminated.
Makefile:36: recipe for target 'list.o' failed
make: *** [list.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from def.h:57:0,
                 from rcv.h:43,
                 from edit.c:41:
EXT/vis.h:73:23: fatal error: sys/cdefs.h: No such file or directory
 #include <sys/cdefs.h>
                       ^
compilation terminated.
Makefile:36: recipe for target 'edit.o' failed
make: *** [edit.o] Error 1
In file included from def.h:57:0,
                 from rcv.h:43,
                 from aux.c:41:
EXT/vis.h:73:23: fatal error: sys/cdefs.h: No such file or directory
 #include <sys/cdefs.h>
                       ^
compilation terminated.
Makefile:36: recipe for target 'aux.o' failed
make: *** [aux.o] Error 1
In file included from def.h:57:0,
                 from cmdtab.c:41:
EXT/vis.h:73:23: fatal error: sys/cdefs.h: No such file or directory
 #include <sys/cdefs.h>
                       ^
compilation terminated.
In file included from def.h:57:0,
                 from rcv.h:43,
                 from cmd1.c:41:
EXT/vis.h:73:23: fatal error: sys/cdefs.h: No such file or directory
 #include <sys/cdefs.h>
                       ^
compilation terminated.
Makefile:36: recipe for target 'cmdtab.o' failed
make: *** [cmdtab.o] Error 1
Makefile:36: recipe for target 'cmd1.o' failed
make: *** [cmd1.o] Error 1
In file included from def.h:57:0,
                 from rcv.h:43,
                 from v7.local.c:49:
EXT/vis.h:73:23: fatal error: sys/cdefs.h: No such file or directory
 #include <sys/cdefs.h>
                       ^
compilation terminated.
Makefile:36: recipe for target 'v7.local.o' failed
make: *** [v7.local.o] Error 1
In file included from def.h:57:0,
                 from rcv.h:43,
                 from tty.c:47:
EXT/vis.h:73:23: fatal error: sys/cdefs.h: No such file or directory
 #include <sys/cdefs.h>
                       ^
compilation terminated.
Makefile:36: recipe for target 'tty.o' failed
make: *** [tty.o] Error 1
In file included from def.h:57:0,
                 from rcv.h:43,
                 from cmd3.c:41:
EXT/vis.h:73:23: fatal error: sys/cdefs.h: No such file or directory
 #include <sys/cdefs.h>
                       ^
compilation terminated.
In file included from def.h:57:0,
                 from rcv.h:43,
                 from cmd2.c:41:
EXT/vis.h:73:23: fatal error: sys/cdefs.h: No such file or directory
 #include <sys/cdefs.h>
                       ^
compilation terminated.
Makefile:36: recipe for target 'cmd3.o' failed
make: *** [cmd3.o] Error 1
Makefile:36: recipe for target 'cmd2.o' failed
make: *** [cmd2.o] Error 1
In file included from def.h:57:0,
                 from rcv.h:43,
                 from strings.c:49:
EXT/vis.h:73:23: fatal error: sys/cdefs.h: No such file or directory
 #include <sys/cdefs.h>
                       ^
compilation terminated.
In file included from def.h:57:0,
                 from rcv.h:43,
                 from quit.c:44:
EXT/vis.h:73:23: fatal error: sys/cdefs.h: No such file or directory
 #include <sys/cdefs.h>
                       ^
compilation terminated.
Makefile:36: recipe for target 'strings.o' failed
make: *** [strings.o] Error 1
In file included from def.h:57:0,
                 from rcv.h:43,
                 from main.c:47:
EXT/vis.h:73:23: fatal error: sys/cdefs.h: No such file or directory
 #include <sys/cdefs.h>
                       ^
compilation terminated.
Makefile:36: recipe for target 'quit.o' failed
make: *** [quit.o] Error 1
Makefile:36: recipe for target 'main.o' failed
make: *** [main.o] Error 1
In file included from EXT/vis.c:38:0:
EXT/vis.h:73:23: fatal error: sys/cdefs.h: No such file or directory
 #include <sys/cdefs.h>
                       ^
compilation terminated.
Makefile:36: recipe for target 'EXT/vis.o' failed
make: *** [EXT/vis.o] Error 1
In file included from def.h:57:0,
                 from rcv.h:43,
                 from names.c:47:
EXT/vis.h:73:23: fatal error: sys/cdefs.h: No such file or directory
 #include <sys/cdefs.h>
                       ^
compilation terminated.
Makefile:36: recipe for target 'names.o' failed
make: *** [names.o] Error 1
In file included from def.h:57:0,
                 from rcv.h:43,
                 from fio.c:41:
EXT/vis.h:73:23: fatal error: sys/cdefs.h: No such file or directory
 #include <sys/cdefs.h>
                       ^
compilation terminated.
In file included from def.h:57:0,
                 from rcv.h:43,
                 from collect.c:48:
EXT/vis.h:73:23: fatal error: sys/cdefs.h: No such file or directory
 #include <sys/cdefs.h>
                       ^
compilation terminated.
Makefile:36: recipe for target 'fio.o' failed
make: *** [fio.o] Error 1
Makefile:36: recipe for target 'collect.o' failed
make: *** [collect.o] Error 1
In file included from def.h:57:0,
                 from rcv.h:43,
                 from temp.c:41:
EXT/vis.h:73:23: fatal error: sys/cdefs.h: No such file or directory
 #include <sys/cdefs.h>
                       ^
compilation terminated.
In file included from def.h:57:0,
                 from rcv.h:43,
                 from lex.c:41:
EXT/vis.h:73:23: fatal error: sys/cdefs.h: No such file or directory
 #include <sys/cdefs.h>
                       ^
compilation terminated.
Makefile:36: recipe for target 'temp.o' failed
make: *** [temp.o] Error 1
Makefile:36: recipe for target 'lex.o' failed
make: *** [lex.o] Error 1
In file included from def.h:57:0,
                 from rcv.h:43,
                 from head.c:41:
EXT/vis.h:73:23: fatal error: sys/cdefs.h: No such file or directory
 #include <sys/cdefs.h>
                       ^
compilation terminated.
In file included from def.h:57:0,
                 from rcv.h:43,
                 from popen.c:41:
EXT/vis.h:73:23: fatal error: sys/cdefs.h: No such file or directory
 #include <sys/cdefs.h>
                       ^
compilation terminated.
In file included from def.h:57:0,
                 from rcv.h:43,
                 from getname.c:41:
EXT/vis.h:73:23: fatal error: sys/cdefs.h: No such file or directory
 #include <sys/cdefs.h>
                       ^
compilation terminated.
Makefile:36: recipe for target 'head.o' failed
make: *** [head.o] Error 1
Makefile:36: recipe for target 'popen.o' failed
make: *** [popen.o] Error 1
Makefile:36: recipe for target 'getname.o' failed
make: *** [getname.o] Error 1
In file included from def.h:57:0,
                 from rcv.h:43,
                 from send.c:42:
EXT/vis.h:73:23: fatal error: sys/cdefs.h: No such file or directory
 #include <sys/cdefs.h>
                       ^
compilation terminated.
Makefile:36: recipe for target 'send.o' failed
make: *** [send.o] Error 1
In file included from def.h:57:0,
                 from rcv.h:43,
                 from vars.c:41:
EXT/vis.h:73:23: fatal error: sys/cdefs.h: No such file or directory
 #include <sys/cdefs.h>
                       ^
compilation terminated.
Makefile:36: recipe for target 'vars.o' failed
make: *** [vars.o] Error 1
emake failed
 * ERROR: mail-client/mailx-8.1.2.20050715-r6::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 133:  Called src_compile
 *   environment, line 2211:  Called die
 * The specific snippet of code:
 *       emake CC=$(tc-getCC) EXTRAFLAGS="${CFLAGS}" || die
 *
 * If you need support, post the output of `emerge --info '=mail-client/mailx-8.1.2.20050715-r6::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=mail-client/mailx-8.1.2.20050715-r6::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/mail-client/mailx-8.1.2.20050715-r6/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/mail-client/mailx-8.1.2.20050715-r6/temp/environment'.
 * Working directory: '/var/tmp/portage/mail-client/mailx-8.1.2.20050715-r6/work/mailx-8.1.2-0.20050715cvs.orig'
 * S: '/var/tmp/portage/mail-client/mailx-8.1.2.20050715-r6/work/mailx-8.1.2-0.20050715cvs.orig/'

>>> Failed to emerge mail-client/mailx-8.1.2.20050715-r6, Log file:

>>>  '/var/tmp/portage/mail-client/mailx-8.1.2.20050715-r6/temp/build.log.gz'

 * Messages for package mail-client/mailx-8.1.2.20050715-r6:

 * ERROR: mail-client/mailx-8.1.2.20050715-r6::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 133:  Called src_compile
 *   environment, line 2211:  Called die
 * The specific snippet of code:
 *       emake CC=$(tc-getCC) EXTRAFLAGS="${CFLAGS}" || die
 *
 * If you need support, post the output of `emerge --info '=mail-client/mailx-8.1.2.20050715-r6::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=mail-client/mailx-8.1.2.20050715-r6::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/mail-client/mailx-8.1.2.20050715-r6/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/mail-client/mailx-8.1.2.20050715-r6/temp/environment'.
 * Working directory: '/var/tmp/portage/mail-client/mailx-8.1.2.20050715-r6/work/mailx-8.1.2-0.20050715cvs.orig'
 * S: '/var/tmp/portage/mail-client/mailx-8.1.2.20050715-r6/work/mailx-8.1.2-0.20050715cvs.orig/'
armv7a-hardfp-musl ~ #
Comment 1 Michael Jones 2016-02-18 20:11:18 UTC
Probably should be linked to: https://bugs.gentoo.org/show_bug.cgi?id=430702

armv7a-hardfp-musl ~ # emerge --info mailx
Portage 2.2.26 (python 2.7.10-final-0, hardened/linux/musl/arm/armv7a, gcc-4.9.3, musl-1.1.13, 4.3.3-hardened-r4 armv7l)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.3.3-hardened-r4-armv7l-with-gentoo-2.2
KiB Mem:    41198476 total,  28829412 free
KiB Swap:   52428796 total,  52420260 free
Timestamp of repository gentoo: Thu, 18 Feb 2016 18:27:02 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r99::musl
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3-r99::musl
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.16::musl (virtual/os-headers)
sys-libs/musl:            1.1.13::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: -1000

musl
    location: /usr/portage-overlays/musl
    masters: gentoo
    priority: 0

Installed sets: @arm-base-system, @portage
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv7a-hardfloat-linux-musleabi"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
CHOST="armv7a-hardfloat-linux-musleabi"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
DISTDIR="/usr/portage-distfiles"
EMERGE_DEFAULT_OPTS=" --jobs --keep-going --newuse --deep --backtrack=3000 --complete-graph --with-bdeps=y"
FCFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
FEATURES="assume-digests binpkg-logs buildpkg clean-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="charset.alias"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j30"
PKGDIR="/usr/portage-packages"
PORTAGE_COMPRESS="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"
PORTAGE_TMPDIR="/var/tmp"
USE="a52 aac acpi alsa apng arm autoipd avahi bindist branding cairo cdda cdr cli cracklib crypt cxx dbus dconf dri dts dvd dvdr egl emboss encode exif fam ffmpeg firefox flac fortran gcj gd gif gnome-keyring gpm gstreamer gtk gudev iconv icu ipv6 jpeg lcms libnotify libsecret lm_sensors mad mdnsresponder-compat minizip mng modules mp3 mp4 mpeg ncurses networkmanager nls nptl ogg opengl openmp pango pax_kernel pcre pdf pic png policykit ppds pulseaudio python qt4 qt5 readline samba sdl seccomp session sound spell sqlite ssl startup-notification svg tcpd theora threads tiff truetype udev udisks unicode upower usb vorbis wayland wifi xattr xcb xinerama xml xv xvid zeroconf zlib" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="musl" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="coreboot efi-32 efi-64 emu qemu pc" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="arm aarch64 i386 x86_64" QEMU_USER_TARGETS="arm aarch64 i386 x86_64" RUBY_TARGETS="ruby20 ruby21 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="vesa modesetting fbdev" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Felix Janda 2016-02-22 16:42:30 UTC
Created attachment 426242 [details, diff]
Proposed patch for mailx

c++ is not used, so the __*_DECLS are unecessary.
Comment 3 Felix Janda 2016-04-24 19:30:32 UTC
https://github.com/gentoo/gentoo/pull/1338
Comment 4 Anthony Basile gentoo-dev 2016-04-24 19:42:35 UTC
the fix is in the tree with mailx-8.1.2.20050715-r7