Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 432804 - http://www.gentoo.org/proj/en/php/php-upgrading.xml multiple small issues
Summary: http://www.gentoo.org/proj/en/php/php-upgrading.xml multiple small issues
Status: VERIFIED FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Project-specific documentation (show other bugs)
Hardware: All All
: Normal trivial (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-26 05:38 UTC by Christopher Head
Modified: 2015-02-19 05:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Head 2012-08-26 05:38:26 UTC
Under Preparations, there is this note:

"Note: If you always want PHP extensions compiled for the last stable PHP version, you can skip the first step."

However, it is not always true that the default PHP_TARGETS value provided by the PHP team is actually equal to the latest stable version of dev-lang/php. Saying "last stable PHP version" is a bit confusing here IMO; as of 2012-08-25 latest stable was 5.4 but the default target for extensions was still 5.3.

Code listing 3.4 is very complicated (and wrong? the egrep should not have "-v" because that gives all the stuff that's not extensions). According to olemarkus in #gentoo-php, it's sufficient to just do a newuse as PHP_TARGETS is USE-expanded, so any affected extensions will be rebuilt.

The paragraph above code listing 3.4 states, in its last sentence, "The php team has provided a minor version slotting compatible version of every package in the dev-php5 category.". Category dev-php5 no longer exists.
Comment 1 Ole Markus With (RETIRED) gentoo-dev 2014-11-23 14:30:47 UTC
Moved to wiki. So this no longer applies.