Установка dovecot: /src/plugins/quota/rquota.h: No such file or directory

Ставлю dovecot следующей командой:
emerge -v dovecot
после чего установка завершается аварийно, сообщая, что не может найти /src/plugins/quota/rquota.h .

Начало лога:

 * Package:    net-mail/dovecot-2.2.9
 * Repository: gentoo
 * Maintainer:  
 * USE:        bzip2 elibc_glibc ipv6 kernel_linux maildir mysql ssl tcpd userland_GNU x86 zlib
 * FEATURES:   ccache preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking dovecot-2.2.9.tar.gz to /var/tmp/portage/net-mail/dovecot-2.2.9/work
>>> Source unpacked in /var/tmp/portage/net-mail/dovecot-2.2.9/work
>>> Preparing source in /var/tmp/portage/net-mail/dovecot-2.2.9/work/dovecot-2.2.9 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-mail/dovecot-2.2.9/work/dovecot-2.2.9 ...
 * econf: updating dovecot-2.2.9/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating dovecot-2.2.9/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=i486-pc-linux-gnu --host=i486-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-silent-rules --disable-dependency-tracking --localstatedir=/var --with-moduledir=/usr/lib/dovecot --without-stemmer --with-storages=maildir  --disable-rpath --with-systemdsystemunitdir=/usr/lib/systemd/system --with-bzlib --without-libcap --without-gssapi --without-ldap --without-lucene --with-mysql --without-pam --without-pgsql --without-sqlite --without-solr --with-ssl --with-libwrap --without-vpopmail --with-zlib --disable-static --with-sql

Конец лога:

/bin/sh ../../../libtool  --tag=CC   --mode=compile i486-pc-linux-gnu-gcc -DHAVE
_CONFIG_H -I. -I../../..  -I../../../src/lib -I../../../src/lib-master -I../../.
./src/lib-dict -I../../../src/lib-index -I../../../src/lib-mail -I../../../src/l
ib-storage -I../../../src/lib-storage/index -I../../../src/lib-storage/index/mai
ldir -I../../../src/doveadm   -std=gnu99 -O2 -march=pentium-mmx -mno-cx16 -mno-s
ahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-
fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -mno-sse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase -mtune=pentium -pipe -mmmx -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2   -c -o rquota_xdr.lo rquota_xdr.c
libtool: compile:  i486-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-master -I../../../src/lib-dict -I../../../src/lib-index -I../../../src/lib-mail -I../../../src/lib-storage -I../../../src/lib-storage/index -I../../../src/lib-storage/index/maildir -I../../../src/doveadm -std=gnu99 -O2 -march=pentium-mmx -mno-cx16 -mno-sahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -mno-sse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase -mtune=pentium -pipe -mmmx -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -c rquota_xdr.c  -fPIC -DPIC -o .libs/rquota_xdr.o
rquota_xdr.c:8:47: fatal error: ../../../src/plugins/quota/rquota.h: No such file or directory
compilation terminated.
make[4]: *** [rquota_xdr.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/net-mail/dovecot-2.2.9/work/dovecot-2.2.9/src/plugins/quota'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-mail/dovecot-2.2.9/work/dovecot-2.2.9/src/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-mail/dovecot-2.2.9/work/dovecot-2.2.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-mail/dovecot-2.2.9/work/dovecot-2.2.9'
make: *** [all] Error 2
make: INTERNAL: Exiting with 14 jobserver tokens available; should be 13!
 * ERROR: net-mail/dovecot-2.2.9::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-mail/dovecot-2.2.9::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-mail/dovecot-2.2.9::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-mail/dovecot-2.2.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-mail/dovecot-2.2.9/temp/environment'.
 * Working directory: '/var/tmp/portage/net-mail/dovecot-2.2.9/work/dovecot-2.2.9'
 * S: '/var/tmp/portage/net-mail/dovecot-2.2.9/work/dovecot-2.2.9'

emerge -pv dovecot:

These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild  N     ] net-mail/dovecot-2.2.9  USE="bzip2 ipv6 maildir mysql ssl tcpd zlib -caps -cydir -doc -imapc -kerberos -ldap -lucene -managesieve -mbox -mdbox -pam -pop3c -postgres -sdbox (-selinux) -sieve -solr -sqlite -static-libs -suid -vpopmail" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

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

uname -a
Linux zenbooster 3.12.13-gentoo #5 Tue Apr 22 12:08:31 MSK 2014 i586 05/08 Vortex86 SoC GNU/Linux
cat /etc/portage/package.use | grep net-mail/dovecot
net-mail/dovecot mysql maildir -pam

Причем тут (/var/tmp/portage/net-mail/dovecot-2.2.9/work/dovecot-2.2.9/src/plugins/quota) есть файлы Makefile.am и rquota.x, которые должны вместе создавать rquota.h .

1. emerge --info

1. emerge --info

Compute:
Bosch M2.8.1 -> custom Bosch M2.8.3 clone from Russia.
Speed about 260 km,Ram 2 pers.,HDD - 70 kg,210 FLOPS ;)

emerge --info Portage

emerge --info

Portage 2.2.8-r1 (default/linux/x86/13.0, gcc-4.7.3, glibc-2.17, 3.12.13-gentoo i586)
=================================================================
System uname: Linux-3.12.13-gentoo-i586-05-08-with-gentoo-2.2
KiB Mem:      513936 total,     72368 free
KiB Swap:    1048572 total,    535664 free
Timestamp of tree: Mon, 12 May 2014 19:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 i486-pc-linux-gnu [disabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r3, 3.3.3
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-mmx -mno-cx16 -mno-sahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -mno-sse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase -mtune=pentium -pipe -mmmx"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-mmx -mno-cx16 -mno-sahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -mno-sse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase -mtune=pentium -pipe -mmmx"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j13 -l1"
PKGDIR="/usr/portage/packages"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync2.ru.gentoo.org/gentoo-portage"
USE="acl alsa apache2 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv imap ipv6 mmx modules mysql ncurses nls nptl openmp pam pcre readline rtmp session ssl tcpd threads unicode vhosts x86 zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="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 ublox 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-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" 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

Начать стоит с выключения

Начать стоит с выключения сcache и MAKEOPTS="-j1",
Не уверен, но зачем нужен это зоопарк: CHOST="i486-pc-linux-gnu", System uname: Linux-3.12.13-gentoo-i586-05-08-with-gentoo-2.2, CFLAGS="-O2 -march=pentium-mmx -mno-cx16 -mno-sahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -mno-sse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase -mtune=pentium -pipe -mmmx"
если не поможет - писать в багзиллу

_SerEga_ написал(а): Начать

_SerEga_ написал(а):
Начать стоит с выключения сcache и MAKEOPTS="-j1",

Попробую.

_SerEga_ написал(а):
Не уверен, но зачем нужен это зоопарк: CHOST="i486-pc-linux-gnu", System uname: Linux-3.12.13-gentoo-i586-05-08-with-gentoo-2.2, CFLAGS="-O2 -march=pentium-mmx -mno-cx16 -mno-sahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -mno-sse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase -mtune=pentium -pipe -mmmx"
если не поможет - писать в багзиллу

Объясню. У меня система крутится на неттопе ebox3350mx. Процессор там Vortex86MX - фактически Pentium MMX. Систему брал отсюда: http://www.gentoo.org/main/en/where.xml , и там в разделе x86 есть либо 486 либо 686. Т.е. CHOST приехал оттуда. А System uname: Linux-3.12.13-gentoo-i586-05-08-with-gentoo-2.2 - это уже более тонкая настройка ядра. Где то читал, что CHOST лучше не трогать, вот и не трогаю пока.

да, chost без полной

да, chost без полной переустановки лучше менять
странно смотрится i486 и почти три строки CFLAGS )

- это расшифровка

- это расшифровка -march=native для distcc.

Что-то вроде:
gcc -march=native -O2 -pipe -E -v - </dev/null 2>&1 | sed -n 's/.* -v - //p'

zenbooster

zenbooster написал(а):
_SerEga_ написал(а):
Начать стоит с выключения сcache и MAKEOPTS="-j1",

Попробую.

Собралось! =)

это ccache ;)

это ccache ;)

Compute:
Bosch M2.8.1 -> custom Bosch M2.8.3 clone from Russia.
Speed about 260 km,Ram 2 pers.,HDD - 70 kg,210 FLOPS ;)

slepnoga написал(а): это

slepnoga написал(а):
это ccache ;)

Почему ccache?

Вот, нашел кое что:

Цитата:
Bug 410065 – net-mail/dovecot-2.1.3 fails at parallel make: fatal error: ../../../src/plugins/quota/rquota.h: No such file or directory --- https://bugs.gentoo.org/410065 (2013-11-19)

Так, что думаю, дело в MAKEOPTS="-j1".

a зачем вы собираете 2.1.* ?

a зачем вы собираете 2.1.* ? оно же замаскано

Compute:
Bosch M2.8.1 -> custom Bosch M2.8.3 clone from Russia.
Speed about 260 km,Ram 2 pers.,HDD - 70 kg,210 FLOPS ;)

Баг не закрыт, возможно

Баг не закрыт, возможно грабли присутствуют и в 2.2.9, который и собирается топикстартером

Нейтральность - высшее достижение сознания!

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".