Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99551 - dev-php/PECL-crack missing ~amd64 keyword
Summary: dev-php/PECL-crack missing ~amd64 keyword
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-19 10:35 UTC by Abdul-Wahid Paterson
Modified: 2005-09-06 22:29 UTC (History)
1 user (show)

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 Abdul-Wahid Paterson 2005-07-19 10:35:44 UTC
I tested the dev-php/PECL-crack ebuild on AMD64 and it works fine. (Apache
threading disbled). Please add ~amd64 to ebuild.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Richard Freeman gentoo-dev 2005-07-19 15:31:05 UTC
It does not compile on a mostly-stable amd64 config.  It looks like the eclass
requires an executable called phpize, which I infer should be in /usr/bin based
on grepping other eclasses, but I do not have it on my system.  I do have
dev-php/php installed, as well as mod_php (which is quite functional).

Are we missing a DEPEND?
Comment 2 Abdul-Wahid Paterson 2005-07-20 02:50:05 UTC
I think you will find the phpize is in the stable php ebuild (php-4.4.0) which
is what I built against. After that sometime (I know for php5) the phpize has
been moved to a separate ebuild: phpconfig.  Which version of PHP did you build for?

BTW, when I have threading enabled on apache, I get the following error on
loading  ...

PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib64/php/extensions/no-debug-non-zts-20020429/crack.so' -
/usr/lib64/php/extensions/no-debug-non-zts-20020429/crack.so: undefined symbol:
core_globals in Unknown on line 0

I am not sure if this is specifically an AMD64 issue though. Withouth threading
in apache it works fine.

Comment 3 Richard Freeman gentoo-dev 2005-07-20 04:00:31 UTC
That could be it - I'm using php-5.0.4-r1 (well, I did say mostly stable - I
must have had some dependancy issue).

Sounds like we need a potential dependancy on phpconfig if php < 5.0.
Comment 4 Abdul-Wahid Paterson 2005-07-20 04:23:37 UTC
from what I understand, the php eclass is still be worked on for php5 and there
are some issues that remain in sorting out the separation of the pecl and pear
stuff in the PHP5 ebuilds. I don't think that it is a AMD64 specific issue. I
think if you emerge phpconfig you will have phpize and you will then be able to
get the PECL cracklib working.

In my case, I upgraded from one stable php to another and found some
functionality (cracklib) that  I had been using had disappeared and the PECL
cracklib ebuild doesn't even have ~amd64.

Comment 5 Simon Stelling (RETIRED) gentoo-dev 2005-08-25 11:00:54 UTC
PHP team: any update on this one?
Comment 6 Stuart Herbert (RETIRED) gentoo-dev 2005-08-25 16:02:21 UTC
Hi,

phpconfig was an experiment, and will be leaving the Portage tree any day now,
as will the php5 ebuilds.  They are replaced by the packages currently in the
Gentoo PHP Overlay [1].

Best regards,
Stu
Comment 7 Sebastian Bergmann (RETIRED) gentoo-dev 2005-09-06 22:29:17 UTC
PECL-crack-0.2 has been marked ~amd64.