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

Bug 35417

Summary: operator !< (in DEPEND) does not work as expected
Product: Portage Development Reporter: Alin Năstac (RETIRED) <mrness>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Highest    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alin Năstac (RETIRED) gentoo-dev 2003-12-08 22:33:52 UTC
I guess that !< is equivalent with >=. 

I have the following installed packages:
  kdelibs-3.1.4
  qt-3.2.3
In qt-3.2.3 the DEPEND include the following line:
   !<kde-base/kdelibs-3.1.4

alin root # emerge -upD world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[blocks B     ] <kde-base/kdelibs-3.1.4 (from pkg x11-libs/qt-3.2.3)

When I change !< in >=, portage works as expected.
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-12-09 05:09:57 UTC
! is the blocks operator.
What are you expecting?
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2003-12-09 23:38:14 UTC
I expect from portage to work.

Do you tell me is normal that portage computes <kdelibs-3.1.4 as TRUE, given the fact that I HAVE kdelibs-3.1.4?
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2003-12-10 00:22:08 UTC
!< is NOT the same as >=, see `man 5 ebuild` about DEPEND syntax
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2003-12-10 00:39:54 UTC
I understand that. I know that ! is blocking operator.

The thing is that !<kde-base/kdelibs-3.1.4 should block the package if and only if I do have a version of kdelibs older that 3.1.4. 

The current functionality of portage is equivalent with !<=kde-base/kdelibs-3.1.4
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2003-12-10 00:45:25 UTC
are you absolutely sure that you don't have an older kdelibs version 
installed too ? Run `emerge --unmerge -p \<kdelibs-3.1.4` to check this.
Comment 6 Alin Năstac (RETIRED) gentoo-dev 2003-12-10 08:39:22 UTC
Ups... my mistake. 

I'm sorry for this fake bug.