проблема с portage (hasq: command not found) [РЕШЕНО]

День добрый. Сегодня непонятно по каким причинам случилась беда (вчера начал ставить генту , а сегодня продолжил). При сборке многих пакетов появляется вот такая вот фигня

...
ecompressdir: bzip2 -9 usr/share/man
strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment
usr/lib/portage/bin/tbz2tool
/var/tmp/portage/sys-apps/portage-2.1.3.7/temp/environment: line 58: hasq: command not found
/var/tmp/portage/sys-apps/portage-2.1.3.7/temp/environment: line 62: has: command not found
/var/tmp/portage/sys-apps/portage-2.1.3.7/temp/environment: line 323: hasq: command not found
>>> Merging sys-apps/portage-2.1.3.7 to /
...
Это я устанавливал portage

Второе это когда пытаюсь ставить пакеты из kde-base/* , то под конец получаю

* Running kbuildsycoca to build global database ... [ ok ]
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
!!! FAILED postinst: 1

* Messages for package kde-base/kmix-3.5.7:

*
* ERROR: /kmix-3.5.7 failed.
* Call stack:
* ebuild.sh, line 23: Called source '/var/tmp/portage/kde-base/kmix-3.5.7/temp/environment'
* environment, line 1539: Called source '/usr/portage/kde-base/kmix/kmix-3.5.7.ebuild'
* kmix-3.5.7.ebuild, line 8: Called inherit 'kde-meta' 'eutils'
* environment, line 1284: Called qa_source '/usr/portage/eclass/kde-meta.eclass'
* environment, line 32: Called source '/usr/portage/eclass/kde-meta.eclass'
* kde-meta.eclass, line 116: Called get-parent-package '/kmix'
* kde-functions.eclass, line 329: Called die
*
* Package /kmix not found in KDE_DERIVATION_MAP, please report bug
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/kde-base/kmix-3.5.7/temp/build.log'.
*
Причем пакет устанавливается!!!
Че за бред не понимаю :(
Ну и на последок не хочет устанавливаться апач ругается вот так:

checking which MPM to use...
./configure: line 16871: : command not found
configure: error: the selected mpm -- -- is not supported

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/www-servers/apache-2.2.4-r12/work/httpd-2.2.4/config.log
*
* ERROR: www-servers/apache-2.2.4-r12 failed.
* Call stack:
* ebuild.sh, line 23: Called source '/var/tmp/portage/www-servers/apache-2.2.4-r12/temp/environment'
* environment, line 1652: Called dyn_compile
* environment, line 988: Called qa_call 'src_compile'
* environment, line 42: Called src_compile
* apache-2.2.4-r12.ebuild, line 176: Called econf '--includedir=/usr/include/apache2' '--libexecdir=/usr/lib/apache2/modules' '--datadir=/var/www/localhost' '--sysconfdir=/etc/apache2' '--localstatedir=/var' '--with-mpm=' '--with-perl=/usr/bin/perl' '--with-expat=/usr' '--with-z=/usr' '--with-apr=/usr' '--with-apr-util=/usr' '--with-pcre=/usr' '--with-port=80' '--with-program-name=apache2' '--enable-layout=Gentoo' '--disable-maintainer-mode' '--enable-authnz-ldap=shared' '--enable-ldap=shared' '--with-ssl=/usr' '--enable-ssl=shared' '--with-suexec-safepath=/usr/local/bin:/usr/bin:/bin' '--with-suexec-logfile=/var/log/apache2/suexec_log' '--with-suexec-bin=/usr/sbin/suexec' '--with-suexec-userdir=public_html' '--with-suexec-caller=apache' '--with-suexec-docroot=/var/www' '--with-suexec-uidmin=1000' '--with-suexec-gidmin=100' '--with-suexec-umask=077' '--enable-suexec=shared' '--enable-actions=shared' '--enable-alias=shared' '--disable-asis' '--enable-auth_basic=shared' '--enable-auth_digest=shared' '--disable-authn_alias' '--enable-authn_anon=shared' '--enable-authn_dbd=shared' '--enable-authn_dbm=shared' '--enable-authn_default=shared' '--enable-authn_file=shared' '--enable-authz_dbm=shared' '--enable-authz_default=shared' '--enable-authz_groupfile=shared' '--enable-authz_host=shared' '--enable-authz_owner=shared' '--enable-authz_user=shared' '--enable-autoindex=shared' '--enable-cache=shared' '--disable-cern_meta' '--enable-cgi=shared' '--enable-cgid=shared' '--disable-charset_lite' '--enable-dav=shared' '--enable-dav_fs=shared' '--enable-dav_lock=shared' '--enable-dbd=shared' '--enable-deflate=shared' '--enable-dir=shared' '--enable-disk_cache=shared' '--disable-dumpio' '--disable-echo' '--enable-env=shared' '--disable-example' '--enable-expires=shared' '--enable-ext_filter=shared' '--enable-file_cache=shared' '--enable-filter=shared' '--enable-headers=shared' '--enable-ident=shared' '--enable-imagemap=shared' '--enable-include=shared' '--enable-info=shared' '--enable-log_config=shared' '--disable-log_forensic' '--enable-logio=shared' '--enable-mem_cache=shared' '--enable-mime=shared' '--enable-mime_magic=shared' '--enable-negotiation=shared' '--enable-proxy=shared' '--enable-proxy_ajp=shared' '--enable-proxy_balancer=shared' '--enable-proxy_connect=shared' '--disable-proxy_ftp' '--enable-proxy_http=shared' '--enable-rewrite=shared' '--enable-setenvif=shared' '--enable-so=static' '--enable-speling=shared' '--enable-status=shared' '--enable-unique_id=shared' '--enable-userdir=shared' '--enable-usertrack=shared' '--disable-version' '--enable-vhost_alias=shared'
* environment, line 589: Called die
*
* econf failed
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/www-servers/apache-2.2.4-r12/temp/build.log'.
*

* Messages for package www-servers/apache-2.2.4-r12:

*
* Selected MPM: prefork
*
*
* You can manipulate several configure options of suexec
* through the following environment variables:
*
* SUEXEC_SAFEPATH: Default PATH for suexec (default: /usr/local/bin:/usr/bin:/bin)
* SUEXEC_LOGFILE: Path to the suexec logfile (default: /var/log/apache2/suexec_log)
* SUEXEC_CALLER: Name of the user Apache is running as (default: apache)
* SUEXEC_DOCROOT: Directory in which suexec will run scripts (default: /var/www)
* SUEXEC_MINUID: Minimum UID, which is allowed to run scripts via suexec (default: 1000)
* SUEXEC_MINGID: Minimum GID, which is allowed to run scripts via suexec (default: 100)
* SUEXEC_USERDIR: User subdirectories (like /home/user/html) (default: public_html)
* SUEXEC_UMASK: Umask for the suexec process (default: 077)
*
*
* ERROR: www-servers/apache-2.2.4-r12 failed.
* Call stack:
* ebuild.sh, line 23: Called source '/var/tmp/portage/www-servers/apache-2.2.4-r12/temp/environment'
* environment, line 1652: Called dyn_compile
* environment, line 988: Called qa_call 'src_compile'
* environment, line 42: Called src_compile
* apache-2.2.4-r12.ebuild, line 176: Called econf '--includedir=/usr/include/apache2' '--libexecdir=/usr/lib/apache2/modules' '--datadir=/var/www/localhost' '--sysconfdir=/etc/apache2' '--localstatedir=/var' '--with-mpm=' '--with-perl=/usr/bin/perl' '--with-expat=/usr' '--with-z=/usr' '--with-apr=/usr' '--with-apr-util=/usr' '--with-pcre=/usr' '--with-port=80' '--with-program-name=apache2' '--enable-layout=Gentoo' '--disable-maintainer-mode' '--enable-authnz-ldap=shared' '--enable-ldap=shared' '--with-ssl=/usr' '--enable-ssl=shared' '--with-suexec-safepath=/usr/local/bin:/usr/bin:/bin' '--with-suexec-logfile=/var/log/apache2/suexec_log' '--with-suexec-bin=/usr/sbin/suexec' '--with-suexec-userdir=public_html' '--with-suexec-caller=apache' '--with-suexec-docroot=/var/www' '--with-suexec-uidmin=1000' '--with-suexec-gidmin=100' '--with-suexec-umask=077' '--enable-suexec=shared' '--enable-actions=shared' '--enable-alias=shared' '--disable-asis' '--enable-auth_basic=shared' '--enable-auth_digest=shared' '--disable-authn_alias' '--enable-authn_anon=shared' '--enable-authn_dbd=shared' '--enable-authn_dbm=shared' '--enable-authn_default=shared' '--enable-authn_file=shared' '--enable-authz_dbm=shared' '--enable-authz_default=shared' '--enable-authz_groupfile=shared' '--enable-authz_host=shared' '--enable-authz_owner=shared' '--enable-authz_user=shared' '--enable-autoindex=shared' '--enable-cache=shared' '--disable-cern_meta' '--enable-cgi=shared' '--enable-cgid=shared' '--disable-charset_lite' '--enable-dav=shared' '--enable-dav_fs=shared' '--enable-dav_lock=shared' '--enable-dbd=shared' '--enable-deflate=shared' '--enable-dir=shared' '--enable-disk_cache=shared' '--disable-dumpio' '--disable-echo' '--enable-env=shared' '--disable-example' '--enable-expires=shared' '--enable-ext_filter=shared' '--enable-file_cache=shared' '--enable-filter=shared' '--enable-headers=shared' '--enable-ident=shared' '--enable-imagemap=shared' '--enable-include=shared' '--enable-info=shared' '--enable-log_config=shared' '--disable-log_forensic' '--enable-logio=shared' '--enable-mem_cache=shared' '--enable-mime=shared' '--enable-mime_magic=shared' '--enable-negotiation=shared' '--enable-proxy=shared' '--enable-proxy_ajp=shared' '--enable-proxy_balancer=shared' '--enable-proxy_connect=shared' '--disable-proxy_ftp' '--enable-proxy_http=shared' '--enable-rewrite=shared' '--enable-setenvif=shared' '--enable-so=static' '--enable-speling=shared' '--enable-status=shared' '--enable-unique_id=shared' '--enable-userdir=shared' '--enable-usertrack=shared' '--disable-version' '--enable-vhost_alias=shared'
* environment, line 589: Called die
*
* econf failed
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/www-servers/apache-2.2.4-r12/temp/build.log'.

Пробовал разные mpm выбрать и без mpm не помогло. По ходу почему-то не задается какой mpm использовать :/

Краткость - сестра таланта.

Ты б лучше по делу сказал. emerge --update --newuse system пробовал? world? revdep-rebuild что говорит? Что стоит в CHOST и CFLAGS?
И ещё переустанови пакет... только название напрочь забыл, ну этот, в котором базовая разметка системных папок. Сейчас тебе кто-нибудь в форуме напомнит.

baselayout?

baselayout?

revdep-rebuild грит,

revdep-rebuild грит, что все хорошо

CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer "
LDFLAGS="-Wl,--hash-style=both"
CHOST="i686-pc-linux-gnu"
с таким ипараметрами есть 2 рабочих системки

emerge --update --newuse system сделать нет возможности пока...

Короче обновил

Короче обновил портежи и мне показалось странным , что баш хочит обновиться в обратную сторону! Так и вышло после отката баша с версии bash-3.2_p25 до 3.2_p17-r1 все встало на свои места :/

Сегодня

Сегодня столкнулся с этой же проблемой.
Оказалось забыл сделать
mount -o bind /dev /mnt/gentoo/dev

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

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