Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems in installing ssmtp
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
ororo
n00b
n00b


Joined: 13 Jan 2013
Posts: 3

PostPosted: Sun Jan 13, 2013 4:55 pm    Post subject: Problems in installing ssmtp Reply with quote

Trying to install Gentoo, following th Handbook.
Everything works fine, until I try to install vixie-cron.
The error is:

Failed to emerge mail-mta/ssmtp-2.64-r2
(...)
ERROR: mail-mta/ssmtp-2.64-r2 failed (install phase)
fperms failed

(...)

The package suggest to post the complete build log:
Code:

 * Package:    mail-mta/ssmtp-2.64-r2
 * Repository: gentoo
 * Maintainer: net-mail@gentoo.org
 * USE:        amd64 elibc_glibc ipv6 kernel_linux mta multilib ssl userland_GNU
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking ssmtp_2.64.orig.tar.bz2 to /var/tmp/portage/mail-mta/ssmtp-2.64-r2/work
>>> Unpacking ssmtp-2.64-patches-3.tar.bz2 to /var/tmp/portage/mail-mta/ssmtp-2.64-r2/work
>>> Source unpacked in /var/tmp/portage/mail-mta/ssmtp-2.64-r2/work
>>> Preparing source in /var/tmp/portage/mail-mta/ssmtp-2.64-r2/work/ssmtp-2.64 ...
 * Applying various patches (bugfixes/updates) ...
 *   0010_all_maxsysuid.patch ...
 [ ok ]
 *   0020_all_from-format-fix.patch ...
 [ ok ]
 *   0030_all_authpass.patch ...
 [ ok ]
 *   0040_all_darwin7.patch ...
 [ ok ]
 *   0050_all_strndup.patch ...
 [ ok ]
 *   0060_all_opessl_crypto.patch ...
 [ ok ]
 *   0070_all_solaris-basename.patch ...
 [ ok ]
 *   0080_all_gnutls.patch ...
 [ ok ]
 *   0090_all_debian-remote-addr.patch ...
 [ ok ]
 *   0100_all_ldflags.patch ...
 [ ok ]
 *   0110_all_stdint.patch ...
 [ ok ]
 * Done with patching
 * Running autoconf ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/mail-mta/ssmtp-2.64-r2/work/ssmtp-2.64 ...
./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 --sysconfdir=/etc/ssmtp --enable-ssl --without-gnutls --enable-inet6 --enable-md5auth
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 a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -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/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 limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for strings.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for obsolete openlog... no
checking for an ANSI C-conforming const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for library containing gethostname... none required
checking for library containing socket... none required
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for gethostname... yes
checking for socket... yes
checking for strdup... yes
checking for strndup... yes
checking for strstr... yes
configure: creating ./config.status
config.status: creating Makefile
>>> Source configured.
>>> Compiling source in /var/tmp/portage/mail-mta/ssmtp-2.64-r2/work/ssmtp-2.64 ...
make -j2 etcdir=/etc
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRNDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1 -DHAVE_SSL=1 -DINET6=1 -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\"  -O2 -pipe   -c -o ssmtp.o ssmtp.c
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRNDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1 -DHAVE_SSL=1 -DINET6=1 -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\"  -O2 -pipe   -c -o arpadate.o arpadate.c
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRNDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1 -DHAVE_SSL=1 -DINET6=1 -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\"  -O2 -pipe   -c -o base64.o base64.c
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRNDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1 -DHAVE_SSL=1 -DINET6=1 -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\"  -O2 -pipe   -c -o xgethostname.o xgethostname.c
ssmtp.c:63:19: warning: cast from pointer to integer of different size
ssmtp.c:63:19: warning: initialization makes pointer from integer without a cast
ssmtp.c:64:19: warning: cast from pointer to integer of different size
ssmtp.c:64:19: warning: initialization makes pointer from integer without a cast
ssmtp.c:65:21: warning: cast from pointer to integer of different size
ssmtp.c:65:21: warning: initialization makes pointer from integer without a cast
ssmtp.c:66:21: warning: cast from pointer to integer of different size
ssmtp.c:66:21: warning: initialization makes pointer from integer without a cast
ssmtp.c:67:14: warning: cast from pointer to integer of different size
ssmtp.c:67:14: warning: initialization makes pointer from integer without a cast
ssmtp.c:70:17: warning: cast from pointer to integer of different size
ssmtp.c:70:17: warning: initialization makes pointer from integer without a cast
ssmtp.c:71:17: warning: cast from pointer to integer of different size
ssmtp.c:71:17: warning: initialization makes pointer from integer without a cast
ssmtp.c:73:14: warning: cast from pointer to integer of different size
ssmtp.c:73:14: warning: initialization makes pointer from integer without a cast
ssmtp.c:76:13: warning: cast from pointer to integer of different size
ssmtp.c:76:13: warning: initialization makes pointer from integer without a cast
ssmtp.c:77:21: warning: cast from pointer to integer of different size
ssmtp.c:77:21: warning: initialization makes pointer from integer without a cast
ssmtp.c: In function 'strip_post_ws':
ssmtp.c:268:8: warning: cast from pointer to integer of different size
ssmtp.c: In function 'addr_parse':
ssmtp.c:294:9: warning: cast from pointer to integer of different size
ssmtp.c:317:8: warning: cast from pointer to integer of different size
ssmtp.c: In function 'standardise':
ssmtp.c:370:8: warning: cast from pointer to integer of different size
ssmtp.c: In function 'revaliases':
ssmtp.c:391:10: warning: cast from pointer to integer of different size
ssmtp.c: In function 'rcpt_save':
ssmtp.c:526:13: warning: cast from pointer to integer of different size
ssmtp.c: In function 'rcpt_parse':
ssmtp.c:583:18: warning: cast from pointer to integer of different size
ssmtp.c:591:9: warning: cast from pointer to integer of different size
ssmtp.c: In function 'header_save':
ssmtp.c:683:18: warning: cast from pointer to integer of different size
ssmtp.c: In function 'header_parse':
ssmtp.c:748:11: warning: cast from pointer to integer of different size
ssmtp.c:783:12: warning: cast from pointer to integer of different size
ssmtp.c:785:13: warning: cast from pointer to integer of different size
ssmtp.c:816:12: warning: cast from pointer to integer of different size
ssmtp.c:818:13: warning: cast from pointer to integer of different size
ssmtp.c: In function 'read_config':
ssmtp.c:892:9: warning: cast from pointer to integer of different size
ssmtp.c: In function 'smtp_open':
ssmtp.c:1153:6: warning: assignment discards qualifiers from pointer target type
ssmtp.c: In function 'fd_gets':
ssmtp.c:1344:11: warning: cast from pointer to integer of different size
ssmtp.c: In function 'parse_options':
ssmtp.c:1776:25: warning: cast from pointer to integer of different size
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRNDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1 -DHAVE_SSL=1 -DINET6=1 -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\"  -O2 -pipe   -c -o md5auth/md5c.o md5auth/md5c.c
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRNDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1 -DHAVE_SSL=1 -DINET6=1 -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\"  -O2 -pipe   -c -o md5auth/hmac_md5.o md5auth/hmac_md5.c
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRNDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1 -DHAVE_SSL=1 -DINET6=1 -DMD5AUTH=1 -DSSMTPCONFDIR=\"/etc/ssmtp\" -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\"  -O2 -pipe -Wl,-O1 -Wl,--as-needed -o ssmtp ssmtp.o arpadate.o base64.o xgethostname.o md5auth/md5c.o md5auth/hmac_md5.o -lssl -lcrypto
>>> Source compiled.
>>> Test phase [not enabled]: mail-mta/ssmtp-2.64-r2

>>> Install ssmtp-2.64-r2 into /var/tmp/portage/mail-mta/ssmtp-2.64-r2/image/ category mail-mta
chmod: changing permissions of '/var/tmp/portage/mail-mta/ssmtp-2.64-r2/image//usr/sbin/ssmtp': Permission denied
 * ERROR: mail-mta/ssmtp-2.64-r2 failed (install phase):
 *   fperms failed
 *
 * If you need support, post the output of `emerge --info '=mail-mta/ssmtp-2.64-r2'`,
 * the complete build log and the output of `emerge -pqv '=mail-mta/ssmtp-2.64-r2'`.
 * The complete build log is located at '/var/tmp/portage/mail-mta/ssmtp-2.64-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/mail-mta/ssmtp-2.64-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/mail-mta/ssmtp-2.64-r2/work/ssmtp-2.64'
 * S: '/var/tmp/portage/mail-mta/ssmtp-2.64-r2/work/ssmtp-2.64'



then, emerge --info:

Code:

Portage 2.1.11.31 (hardened/linux/amd64, gcc-4.5.4, glibc-2.15-r3, 3.5.4-hardened-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.5.4-hardened-r1-x86_64-Intel-R-_Core-TM-_i7-2630QM_CPU_@_2.00GHz-with-gentoo-2.1
Timestamp of tree: Sat, 12 Jan 2013 09:30:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-lang/python:          3.2.3
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.6 (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 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -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="ftp://mirrors.linuxant.fr/distfiles.gentoo.org/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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="acl alsa amd64 berkdb bzip2 cdr cli cracklib crypt cups cxx dri dvd gdbm gpm hardened iconv ipv6 justify kde mmx modules mudflap multilib ncurses nls nptl openmp pam pax_kernel pcre pppd qt4 readline session sse sse2 ssl tcpd unicode urandom zlib" 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" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON



and finally emerge -qpv:

Code:

[ebuild  N    ] mail-mta/ssmtp-2.64-r2  USE="ipv6 mta ssl -gnutls"

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.




Thank you.
[/code][/list]
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Mon Jan 14, 2013 3:11 pm    Post subject: Reply with quote

Hm, I've seen this with /boot, but not with /root. Looks like you're in chroot, so log out of chroot, cd, and do mount -o remount,rw /mnt/gentoo. Chroot back in and see if that changes anything.

I have to say, though, that if everything else has worked, not sure how that would have happened.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
ororo
n00b
n00b


Joined: 13 Jan 2013
Posts: 3

PostPosted: Mon Jan 14, 2013 9:12 pm    Post subject: Reply with quote

Thank you.
I have tried, but nothing changes. Both / and /boot are already mounted as rw. And I have read/write access to all files.
Moreover, I have successfully emerged other packages, such as gentoolkit! It's strange.

I noticed I formatted / as ext4, can be this a problem? I don't think so.
Back to top
View user's profile Send private message
ororo
n00b
n00b


Joined: 13 Jan 2013
Posts: 3

PostPosted: Mon Jan 14, 2013 9:47 pm    Post subject: Reply with quote

I think it can be a problem regarding sgid.

ssmtp tries to chmod 2711 /usr/sbin/ssmtp

However:
Code:
$ touch somefile
$ chmod 2711 somefile
chmod: changing permission of 'somefile': Permission denied
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:36 am    Post subject: Reply with quote

ororo wrote:
I think it can be a problem regarding sgid.

ssmtp tries to chmod 2711 /usr/sbin/ssmtp

However:
Code:
$ touch somefile
$ chmod 2711 somefile
chmod: changing permission of 'somefile': Permission denied


I'm not sure if you are in a chroot, I'm guessing you are. If you are using GRSecurity (such as running the Gentoo Hardened Profile) you probably have CONFIG_GRKERNSEC_CHROOT_CHMOD enabled. This means in a chroot you cannot set the suid or sgid bits, hence the chmod permission denied error.

If you have the grsecurity with the sysctl option enabled you will have a sysctl kernel.grsecurity.chroot_deny_chmod. Setting this to 0 will disable the protection allowing the changing of suid and sgid permission bits. After you have performed the chmod (or the ebuild install, or emerge) you can change the setting back to 1, re-enabling the protection.

I hope this helps.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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