Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 342697

Summary: dev-php5/pecl-bbcode-1.0.2 wants to downgrade php to php-5.2.14
Product: Gentoo Linux Reporter: lou <whitehatcheck>
Component: New packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED INVALID    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description lou 2010-10-26 05:41:50 UTC
Currently, I have php-5.3.3-r1 installed on my system. I require dev-php5/pecl-bbcode. This is currently masked with keyword, but adding this to keyword downgrades php to dev-lang/php-5.2.14

Side note, I was able to compile pecl-bbcode-1.0.2 with --nodeps argument. With emerge -uvDp world, I'm seeing a downgrade for PHP.

This appears to be related to this 'resolved' bug:
http://bugs.gentoo.org/show_bug.cgi?id=341367

I tried to emerge both dev-php5/pecl-bbcode-1.0.2 and dev-php5/pecl-bbcode-1.0.2-r1 with similar problems (wanting to downgrade PHP)

Reproducible: Always

Steps to Reproduce:
1.emerge php-5.3.3-r1
2.emerge dev-php5/pecl-bbcode
3.

Actual Results:  
Wants to downgrade PHP to dev-lang/php-5.2.14 (after adding ~x86 to keywords pecl-bbcode-1.0.2  and or unmasking pecl-bbcode-1.0.2-r1)

Expected Results:  
Compile pecl-bbcode without downgrading PHP.
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-10-26 10:33:44 UTC
The pecl-bbcode-1.0.2 ebuild depends on <php-5.3. -1.0.2-r1 does not.
You need remove the security bolts from dev-php5/pecl-bbcode-1.0.2-r1 (which is just keyworded, not stable and package mask'ed) by adding the line

=dev-php5/pecl-bbcode-1.0.2-r1

to both, your /etc/portage/package.keywords and /etc/portage/package.unmask.

Now re-emerge dev-php5/pecl-bbcode with

emerge -av1 dev-php5/pecl-bbcode 

and hopefully you see the newer version installed.
Michael
Comment 2 Ole Markus With (RETIRED) gentoo-dev 2010-10-26 13:27:43 UTC
emerge forces downgrade because bbcode doesn't work with php-5.3.3. This is a confirmed upstream bug, and is even fixed upstream, but they have yet to create a release with said fix.

You even refer to the bug where this is mentioned, so why do you open a bug  about this?

dev-php5/pecl-bbcode-1.0.2-r1 is a version of pecl-bbcode for PHP with minor version slotting.
Comment 3 lou 2010-10-26 13:31:38 UTC
(In reply to comment #1)
> The pecl-bbcode-1.0.2 ebuild depends on <php-5.3. -1.0.2-r1 does not.
> You need remove the security bolts from dev-php5/pecl-bbcode-1.0.2-r1 (which is
> just keyworded, not stable and package mask'ed) by adding the line
> 
> =dev-php5/pecl-bbcode-1.0.2-r1
> 
> to both, your /etc/portage/package.keywords and /etc/portage/package.unmask.
> 
> Now re-emerge dev-php5/pecl-bbcode with
> 
> emerge -av1 dev-php5/pecl-bbcode 
> 
> and hopefully you see the newer version installed.
> Michael

I had that in unmask and keywords. Still seeing downgrade request.

Thanks!

Comment 4 lou 2010-10-26 13:33:45 UTC
(In reply to comment #2)
> emerge forces downgrade because bbcode doesn't work with php-5.3.3. This is a
> confirmed upstream bug, and is even fixed upstream, but they have yet to create
> a release with said fix.
> 
> You even refer to the bug where this is mentioned, so why do you open a bug 
> about this?
> 
> dev-php5/pecl-bbcode-1.0.2-r1 is a version of pecl-bbcode for PHP with minor
> version slotting.
> 


When I read your comment.. which you say "Did a few quick fixes to the ebuild and commited it to the tree." I figured it was 'fixed'

Also... I compiled pecl-bbcode-1.0.2 against php-5.3.3 as stated in my earlier post. The bug was a compile error..no?  Again, so I thought it was fixed.

So that's two reasons why I opened this bug.


Comment 5 Ole Markus With (RETIRED) gentoo-dev 2010-10-26 13:41:52 UTC
Hehe. I can see the misunderstanding :) The 'fix' was that you cannot install packages that are incompatible anymore.
Comment 6 lou 2010-10-26 14:05:40 UTC
(In reply to comment #5)
> Hehe. I can see the misunderstanding :) The 'fix' was that you cannot install
> packages that are incompatible anymore.
> 

Curious why I'm able to compile pecl-bbcode-1.0.2 against php-5.3.3. I'm wondering if the source did get upgraded.
Comment 7 Ole Markus With (RETIRED) gentoo-dev 2010-10-26 14:37:50 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > Hehe. I can see the misunderstanding :) The 'fix' was that you cannot install
> > packages that are incompatible anymore.
> > 
> 
> Curious why I'm able to compile pecl-bbcode-1.0.2 against php-5.3.3. I'm
> wondering if the source did get upgraded.
> 

Neither of the source tarballs (PHP or pecl-bbcode) can be "just updated" without any gentoo dev updating the package's Manifest file so that is unlikely (impossible, really?)
Comment 8 Ole Markus With (RETIRED) gentoo-dev 2010-10-29 08:31:56 UTC
Well. As the behavior noted in the summary is  by design, I'm closing as invalid