Проверяю что флаг не включен в пакет:
Код: Выделить всё
# equery uses dev-lang/php | grep mssql
-mssqlДобавляю флаг в /etc/portage/package.use:
Код: Выделить всё
# cat /etc/portage/package.use | grep php
dev-lang/php cli pcre xml zlib gd mssqlВерсия php: dev-lang/php-5.2.8-r1 (её мне и нужно оставить)
Далее, таких древних пакетов уже нет, но мне нужно пересобрать именно его.
Беру тут ebuild и укладываю в /usr/portage/dev-lang/php/ этот ebuild
Пытаюсь пересобрать пакет:
Код: Выделить всё
# emerge -av =dev-lang/php-5.2.8-r1
* IMPORTANT: 11 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
These are the packages that would be merged, in order:
Calculating dependencies \ * Missing digest for '/usr/portage/dev-lang/php/php-5.2.8-r1.ebuild' ..
. done!
!!! All ebuilds that could satisfy "=dev-lang/php-5.2.8-r1" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-lang/php-5.2.8-r1 (masked by: corruption)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.Добавил в unmask на всякий случай пакет:
Код: Выделить всё
# cat /etc/portage/package.unmask | grep php
=dev-lang/php-5.2.8-r1Из ebuild пробуем установить:
Код: Выделить всё
# ebuild usr/portage/dev-lang/php/php-5.2.8-r1.ebuild digest
Appending /home/usr/portage to PORTDIR_OVERLAY...
*
* ERROR: dev-lang/php-5.2.8-r1 failed.
* Call stack:
* ebuild.sh, line 1881: Called source '/home/usr/portage/dev-lang/php/php-
5.2.8-r1.ebuild'
* php-5.2.8-r1.ebuild, line 33: Called inherit 'versionator' 'php5_2-sapi' 'apache
-module'
* ebuild.sh, line 1215: Called die
* The specific snippet of code:
* [ ! -e "$location" ] && die "${1}.eclass could not be found by inherit()"
* The die message:
* php5_2-sapi.eclass could not be found by inherit()
*
* If you need support, post the topmost build error, and the call stack if relevant.
* This ebuild is from an overlay: '/home/usr/portage/'Эффект абсолютно тот же. Подскажите куда двигаться дальше?