Bug 165639 - vim-X11-6.3.086-0.fc3 requires gtk2 >= 2.6 but only gtk2-2.4 is provided
Summary: vim-X11-6.3.086-0.fc3 requires gtk2 >= 2.6 but only gtk2-2.4 is provided
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: 3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-08-11 00:56 UTC by Bill Dripps
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-08-11 14:29:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bill Dripps 2005-08-11 00:56:45 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc3 Firefox/1.0.6

Description of problem:
'yum update" would like to update my system with vim-X11-6.3.086-0.fc3, but it reequire gtk2-2.6 which is not available for FC3. My guess is that vim-X11 should be rebuilt against gtk2-2.4 for FC3.

Thanks,
Bill

Version-Release number of selected component (if applicable):
vim-X11-6.3.086-0.fc3

How reproducible:
Always

Steps to Reproduce:
1.yum update
2.
3.
  

Actual Results:  ---> Package vim-X11.i386 1:6.3.086-0.fc3 set to be updated
--> Running transaction check
--> Processing Dependency: gtk2 >= 2.6 for package: vim-X11
--> Finished Dependency Resolution
Error: Missing Dependency: gtk2 >= 2.6 is needed by package vim-X11


Expected Results:  Complete!

Additional info:

Comment 1 Michael Sinz 2005-08-11 03:30:41 UTC
The problem is that the vim.spec file calls out for gtk2 >= 2.6 but it does not
need it.  In fact, the spec file builds just fine on a standard FC3 machine
(gtk2 2.4.x) but the resulting RPM fails due to this check!

If you "rpm --nodeps" the file it will install and run just fine.

See line 229 of the vim.spec file.

As far as I can tell, it should not require gtk2 >= 2.6 in atleast the FC3
builds and it would be even better if the spec file defined the dependancy to be
that of the version built against. (Maybe?)

Just change the 2.6 to 2.4 and rebuild the binary RPMs and then you would not
need to use the "--nodeps" option.

Comment 2 Karsten Hopp 2005-08-11 09:10:02 UTC
Yes, leaving the hard requirement was an oversight. It's already fixed in
6.3.086-0.fc3.1 in the testing tree. If you can confirm that it works (even
gvim), I'll move it over to final.

Comment 3 Bill Dripps 2005-08-11 11:42:36 UTC
vim-X11-6.3.086-0.fc3.1.i386.rpm and vim-common-6.3.086-0.fc3.1.i386.rpm from
testing installed and gvim at least started up and edited one file correctly.

But, vim-enhanced would not install at the same time because it wanted
vim-common = 1:6.3.086-0.fc3. This meant that vim and vi were not installed. 

So, it looks to me like all three (vim-common, vim-X11 and vim-enhanced) need to
be updated as a set.

Comment 4 Bill Dripps 2005-08-11 11:53:45 UTC
It looks ok now.

I installed vim-X11.i386 1:6.3.086-0.fc3.1 vim-common.i386 1:6.3.086-0.fc3.1 and
vim-enhanced.i386 1:6.3.086-0.fc3.1 together with no problems. Gvim vim and vi
all see to work. 

I see no further problem.

Comment 5 Karsten Hopp 2005-08-11 14:29:24 UTC
Thanks for testing...
I've moved the package from -testing to -final


Note You need to log in before you can comment on or make changes to this bug.