Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerging mail-mta/nullmailer failed, permission denied error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
elliptical_clocks
n00b
n00b


Joined: 09 May 2012
Posts: 8

PostPosted: Wed Apr 17, 2013 3:11 am    Post subject: Emerging mail-mta/nullmailer failed, permission denied error Reply with quote

I'm trying to install vixie-cron, which depends on mail-mta/nullmailer-1.11-r1. During the compilation of nullmailer, emerge aborts, which seems to have been caused by chmod: permission denied error. Here are log files:

emerge --info '=mail-mta/nullmailer-1.11-r1':
Code:

localhost / # emerge --info '=mail-mta/nullmailer-1.11-r1'
Portage 2.1.11.55 (default/linux/amd64/13.0/desktop/kde, gcc-4.6.3, glibc-2.15-r3, 3.6.0-hardened x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.6.0-hardened-x86_64-Intel-R-_Core-TM-_i5-3450_CPU_@_3.10GHz-with-gentoo-2.1
KiB Mem:    32895264 total,  28725852 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Tue, 16 Apr 2013 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-lang/python:          3.2.3-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.69
sys-devel/automake:       1.10.3, 1.12.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=x86-64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/entropy /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=x86-64 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fontconfig fortran gdbm gif gpm handbook hardened iconv ipv6 jpeg kde kipi lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline sdl semantic-desktop session spell sqlite sse sse2 ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xcomposite xft xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


emerge -pqv '=mail-mta/nullmailer-1.11-r1':
Code:

localhost / # emerge -pqv '=mail-mta/nullmailer-1.11-r1'
[ebuild  N    ] mail-mta/nullmailer-1.11-r1  USE="ssl"


Complete build log:
Code:

cat /var/tmp/portage/mail-mta/nullmailer-1.11-r1/temp/build.log
 * Package:    mail-mta/nullmailer-1.11-r1
 * Repository: gentoo
 * Maintainer: robbat2@gentoo.org net-mail@gentoo.org
 * USE:        abi_x86_64 amd64 consolekit elibc_glibc kernel_linux multilib policykit ssl userland_GNU
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking nullmailer-1.11.tar.gz to /var/tmp/portage/mail-mta/nullmailer-1.11-r1/work
>>> Unpacking nullmailer_1.11-1.debian.tar.gz to /var/tmp/portage/mail-mta/nullmailer-1.11-r1/work
>>> Source unpacked in /var/tmp/portage/mail-mta/nullmailer-1.11-r1/work
>>> Preparing source in /var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11 ...
 * Applying nullmailer_1.11-1.debian.tar.gz ...                         [ ok ]
 * Applying 02_ipv6.diff ...                                            [ ok ]
 * Running eautoreconf in '/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11' ...
 * Running aclocal ...                                                  [ ok ]
 * Running autoconf ...                                                 [ ok ]
 * Running autoheader ...                                               [ ok ]
 * Running automake --add-missing --copy ...                            [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking --localstatedir=/var --enable-tls
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... none
checking whether x86_64-pc-linux-gnu-g++ accepts -fno-rtti... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -fno-exceptions... yes
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for strip... /usr/bin/strip
checking for rm... /bin/rm
checking for mkdir... /bin/mkdir
checking for socket in -lxnet... no
checking for socket in -linet... no
checking for socket in -lsocket... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for size_t... yes
checking whether struct tm contains tm_isdst... yes
checking whether struct tm contains __tm_isdst... no
checking whether struct tm contains tm_gmtoff... yes
checking whether struct tm contains __tm_gmtoff... no
checking whether struct utsname contains domainname... yes
checking whether struct utsname contains __domainname... no
checking whether named pipes are buggy... no
checking for setenv... yes
checking for srandom... yes
checking for gnutls_certificate_set_verify_function in -lgnutls... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating lib/Makefile
config.status: creating lib/cli++/Makefile
config.status: creating lib/fdbuf/Makefile
config.status: creating lib/mystring/Makefile
config.status: creating protocols/Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11 ...
make -j5
cd . && /bin/sh /var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/missing --run autoheader
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/doc'
Making all in lib
make[2]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib'
Making all in cli++
make[3]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib/cli++'
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o main.o main.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o messages.o messages.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o only_long.o only_long.cc
rm -f libcli++.a
ar cru libcli++.a main.o messages.o only_long.o
x86_64-pc-linux-gnu-ranlib libcli++.a
make[3]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib/cli++'
Making all in fdbuf
make[3]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib/fdbuf'
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o fdbuf.o fdbuf.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o fdbuf_copy.o fdbuf_copy.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o fdibuf.o fdibuf.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o fdobuf.o fdobuf.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o fdobuf_chownmod.o fdobuf_chownmod.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o fdobuf_seek.o fdobuf_seek.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o fdobuf_signed.o fdobuf_signed.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o fdobuf_unsigned.o fdobuf_unsigned.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o tlsibuf.o tlsibuf.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o tlsobuf.o tlsobuf.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o fdibuf_mystring.o fdibuf_mystring.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o fdibuf_netstring.o fdibuf_netstring.cc
rm -f libfdbuf.a
ar cru libfdbuf.a fdbuf.o fdbuf_copy.o fdibuf.o fdobuf.o fdobuf_chownmod.o fdobuf_seek.o fdobuf_signed.o fdobuf_unsigned.o tlsibuf.o tlsobuf.o fdibuf_mystring.o fdibuf_netstring.o
x86_64-pc-linux-gnu-ranlib libfdbuf.a
make[3]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib/fdbuf'
Making all in mystring
make[3]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib/mystring'
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o append.o append.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o assign.o assign.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o count.o count.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o fdobuf.o fdobuf.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o find_first_ch.o find_first_ch.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o find_first_of.o find_first_of.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o find_last_ch.o find_last_ch.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o find_last_of.o find_last_of.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o iter.o iter.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o join.o join.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o lower.o lower.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o lstrip.o lstrip.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o mystring.o mystring.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o rep.o rep.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o rstrip.o rstrip.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o sub.o sub.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o subst.o subst.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o strip.o strip.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o upper.o upper.cc
rm -f libmystring.a
ar cru libmystring.a append.o assign.o count.o fdobuf.o find_first_ch.o find_first_of.o find_last_ch.o find_last_of.o iter.o join.o lower.o lstrip.o mystring.o rep.o rstrip.o sub.o subst.o strip.o upper.o
x86_64-pc-linux-gnu-ranlib libmystring.a
make[3]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib/mystring'
make[3]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib'
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..     -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o address.o address.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..     -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o base64.o base64.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..     -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o canonicalize.o canonicalize.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..     -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o config_read.o config_read.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..     -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o config_readlist.o config_readlist.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..     -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o config_readint.o config_readint.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..     -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o tcpconnect.o tcpconnect.cc
Creating defines.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..     -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o errcodes.o errcodes.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..     -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o hostname.o hostname.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..     -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o itoa.o itoa.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..     -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o makefield.o makefield.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..     -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o netstring.o netstring.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..     -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o selfpipe.o selfpipe.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..     -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o setenv.o setenv.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..     -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o defines.o defines.cc
selfpipe.cc: In function ‘void catcher(int)’:
selfpipe.cc:69:34: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
rm -f libmisc.a
ar cru libmisc.a address.o base64.o canonicalize.o config_read.o config_readlist.o config_readint.o tcpconnect.o defines.o errcodes.o hostname.o itoa.o makefield.o netstring.o selfpipe.o setenv.o
x86_64-pc-linux-gnu-ranlib libmisc.a
/bin/rm -f libnullmailer.a
sh mergelib.sh libnullmailer.a \
   libmisc.a \
   fdbuf/libfdbuf.a \
   mystring/libmystring.a
make[3]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib'
make[2]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib'
Making all in protocols
make[2]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/protocols'
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib/cli++    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o smtp.o smtp.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib/cli++    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o protocol.o protocol.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib/cli++    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o tls_gnutls.o tls_gnutls.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib/cli++    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o qmqp.o qmqp.cc
tls_gnutls.cc: In function ‘void tls_send(fdibuf&, int)’:
tls_gnutls.cc:117:65: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
x86_64-pc-linux-gnu-g++  -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall  -Wl,-O1 -Wl,--as-needed -o qmqp qmqp.o protocol.o tls_gnutls.o ../lib/cli++/libcli++.a ../lib/libnullmailer.a -lgnutls
x86_64-pc-linux-gnu-g++  -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall  -Wl,-O1 -Wl,--as-needed -o smtp smtp.o protocol.o tls_gnutls.o ../lib/cli++/libcli++.a ../lib/libnullmailer.a -lgnutls
make[2]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/protocols'
Making all in src
make[2]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/src'
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib/cli++    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o mailq.o mailq.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib/cli++    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o inject.o inject.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib/cli++    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o smtpd.o smtpd.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib/cli++    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o queue.o queue.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib/cli++    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o send.o send.cc
queue.cc: In function ‘void trigger()’:
queue.cc:74:19: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
send.cc: In function ‘bool read_trigger()’:
send.cc:340:35: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib/cli++    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o sendmail.o sendmail.cc
x86_64-pc-linux-gnu-g++  -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall  -Wl,-O1 -Wl,--as-needed -o mailq mailq.o ../lib/libnullmailer.a
x86_64-pc-linux-gnu-g++  -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall  -Wl,-O1 -Wl,--as-needed -o nullmailer-queue queue.o ../lib/libnullmailer.a
x86_64-pc-linux-gnu-g++  -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall  -Wl,-O1 -Wl,--as-needed -o nullmailer-smtpd smtpd.o ../lib/libnullmailer.a
x86_64-pc-linux-gnu-g++  -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall  -Wl,-O1 -Wl,--as-needed -o sendmail sendmail.o ../lib/cli++/libcli++.a ../lib/libnullmailer.a
x86_64-pc-linux-gnu-g++  -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall  -Wl,-O1 -Wl,--as-needed -o nullmailer-send send.o ../lib/cli++/libcli++.a ../lib/libnullmailer.a
x86_64-pc-linux-gnu-g++  -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall  -Wl,-O1 -Wl,--as-needed -o nullmailer-inject inject.o ../lib/cli++/libcli++.a ../lib/libnullmailer.a
make[2]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/src'
Making all in test
make[2]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/test'
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../lib    -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o address-test.o address-test.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -DCLI_ONLY_LONG=false   -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o clitest0-clitest.o `test -f 'clitest.cc' || echo './'`clitest.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -DCLI_ONLY_LONG=true   -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall -c -o clitest1-clitest.o `test -f 'clitest.cc' || echo './'`clitest.cc
x86_64-pc-linux-gnu-g++  -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall  -Wl,-O1 -Wl,--as-needed -o clitest1 clitest1-clitest.o ../lib/libnullmailer.a ../lib/cli++/libcli++.a
x86_64-pc-linux-gnu-g++  -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall  -Wl,-O1 -Wl,--as-needed -o clitest0 clitest0-clitest.o ../lib/libnullmailer.a ../lib/cli++/libcli++.a
x86_64-pc-linux-gnu-g++  -O2 -march=x86-64 -pipe -fno-rtti -fno-exceptions -W -Wall  -Wl,-O1 -Wl,--as-needed -o address-test address-test.o ../lib/libnullmailer.a
make[2]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/test'
make[2]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11'
make[2]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11'
make[1]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11'
>>> Source compiled.
>>> Test phase [not enabled]: mail-mta/nullmailer-1.11-r1

>>> Install nullmailer-1.11-r1 into /var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/ category mail-mta
Making install in doc
make[1]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/doc'
make[2]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/doc'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/share/man/man1" || /bin/mkdir -p "/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/share/man/man1"
 /usr/bin/install -c -m 644 'nullmailer-inject.1' '/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/share/man/man1/nullmailer-inject.1'
 /usr/bin/install -c -m 644 'sendmail.1' '/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/share/man/man1/sendmail.1'
test -z "/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/share/man/man7" || /bin/mkdir -p "/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/share/man/man7"
 /usr/bin/install -c -m 644 'nullmailer.7' '/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/share/man/man7/nullmailer.7'
test -z "/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/share/man/man8" || /bin/mkdir -p "/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/share/man/man8"
 /usr/bin/install -c -m 644 'nullmailer-queue.8' '/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/share/man/man8/nullmailer-queue.8'
 /usr/bin/install -c -m 644 'nullmailer-send.8' '/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/share/man/man8/nullmailer-send.8'
make[2]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/doc'
make[1]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/doc'
Making install in lib
make[1]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib'
Making install in cli++
make[2]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib/cli++'
make[3]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib/cli++'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib/cli++'
make[2]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib/cli++'
Making install in fdbuf
make[2]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib/fdbuf'
make[3]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib/fdbuf'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib/fdbuf'
make[2]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib/fdbuf'
Making install in mystring
make[2]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib/mystring'
make[3]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib/mystring'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib/mystring'
make[2]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib/mystring'
make[2]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib'
make[3]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib'
make[2]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib'
make[1]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/lib'
Making install in protocols
make[1]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/protocols'
make[2]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/protocols'
test -z "/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/libexec/nullmailer" || /bin/mkdir -p "/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/libexec/nullmailer"
  /usr/bin/install -c 'smtp' '/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/libexec/nullmailer/smtp'
  /usr/bin/install -c 'qmqp' '/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/libexec/nullmailer/qmqp'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/protocols'
make[1]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/protocols'
Making install in src
make[1]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/src'
make[2]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/src'
test -z "/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/bin" || /bin/mkdir -p "/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/bin"
  /usr/bin/install -c 'mailq' '/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/bin/mailq'
  /usr/bin/install -c 'nullmailer-inject' '/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/bin/nullmailer-inject'
  /usr/bin/install -c 'nullmailer-smtpd' '/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/bin/nullmailer-smtpd'
test -z "/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/sbin" || /bin/mkdir -p "/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/sbin"
  /usr/bin/install -c 'nullmailer-queue' '/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/sbin/nullmailer-queue'
  /usr/bin/install -c 'nullmailer-send' '/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/sbin/nullmailer-send'
  /usr/bin/install -c 'sendmail' '/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/usr/sbin/sendmail'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/src'
make[1]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/src'
Making install in test
make[1]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/test'
make[2]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/test'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/test'
make[1]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/test'
make[1]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11'
make[2]: Entering directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh /var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/install-sh -d /var/tmp/portage/mail-mta/nullmailer-1.11-r1/image//var/nullmailer/queue
chmod 700 /var/tmp/portage/mail-mta/nullmailer-1.11-r1/image//var/nullmailer/queue
/bin/sh /var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/install-sh -d /var/tmp/portage/mail-mta/nullmailer-1.11-r1/image//var/nullmailer/tmp
chmod 700 /var/tmp/portage/mail-mta/nullmailer-1.11-r1/image//var/nullmailer/tmp
/bin/sh /var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11/install-sh -d /var/tmp/portage/mail-mta/nullmailer-1.11-r1/image/etc
/bin/rm -f /var/tmp/portage/mail-mta/nullmailer-1.11-r1/image//var/nullmailer/trigger
mkfifo /var/tmp/portage/mail-mta/nullmailer-1.11-r1/image//var/nullmailer/trigger
chmod 600 /var/tmp/portage/mail-mta/nullmailer-1.11-r1/image//var/nullmailer/trigger
make[2]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11'
make[1]: Leaving directory `/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11'
chmod: changing permissions of ‘/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image//usr/sbin/nullmailer-queue’: Permission denied
chmod: changing permissions of ‘/var/tmp/portage/mail-mta/nullmailer-1.11-r1/image//usr/bin/mailq’: Permission denied
 * ERROR: mail-mta/nullmailer-1.11-r1 failed (install phase):
 *   fperms failed
 *
 * If you need support, post the output of `emerge --info '=mail-mta/nullmailer-1.11-r1'`,
 * the complete build log and the output of `emerge -pqv '=mail-mta/nullmailer-1.11-r1'`.
 * The complete build log is located at '/var/tmp/portage/mail-mta/nullmailer-1.11-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/mail-mta/nullmailer-1.11-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11'
 * S: '/var/tmp/portage/mail-mta/nullmailer-1.11-r1/work/nullmailer-1.11'

_________________
Every time I compile Gentoo I feel like I should sacrifice a goat.
Back to top
View user's profile Send private message
abuse007
n00b
n00b


Joined: 04 May 2013
Posts: 2

PostPosted: Sat May 04, 2013 7:43 am    Post subject: Reply with quote

I had the exact same issue. I was in a chroot trying to emerge a package that required a mailer (virtual/mta-1). Since nullmailer is the first listed dependency it is the one emerge tries to install to satisfy this virtual. However because I'm using the Gentoo Hardened profile I have GRSecurity installed and it has the CONFIG_GRKERNSEC_CHROOT_CHMOD option enabled. This means that within a chroot you cannot change the SUID or SGID permissions, hence the fperm/chmod permission denied error on emerge.

If you have grsecurity with the sysctl option enabled you should have a kernel.grsecurity.chroot_deny_chmod sysctl. Setting it to 0 will disable the protection allowing the chmod/fperm/emerge to work. After you have performed any necessary chmod/fperm/emerge you can set the sysctl back to 1 re-enabling the protection and continue as per normal.

It took me a while to work out what was going on, which I why I have replied to this and a similar thread.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum