Menu

#2497 fedora 9 tk.spec failure and fix

obsolete: 8.6a2
open
8
2008-09-30
2008-09-05
Ben Collver
No

# rpmbuild -ta /usr/src/redhat/SOURCES/tk8.6a2-src.tar.gz
error: Failed build dependencies:
XFree86-devel is needed by tk-8.6a2-2.i386

The above error is discussed at the following document.
https://www.redhat.com/archives/fedora-devel-list/2005-November/msg00277.html

A way to deal with it is discussed at the following document.
http://fedoraproject.org/wiki/DistTag

Attached is a patch to fix the spec, and the fixed spec that worked for me on Fedora 9.

Discussion

  • Ben Collver

    Ben Collver - 2008-09-05

    patch to fix problem

     
  • Ben Collver

    Ben Collver - 2008-09-05

    spec that worked for me

     
  • Ben Collver

    Ben Collver - 2008-09-05

    Logged In: YES
    user_id=778667
    Originator: YES

    File Added: tk.spec

     
  • Donal K. Fellows

    • priority: 5 --> 8
     
  • Don Porter

    Don Porter - 2008-09-12
    • assigned_to: mdejong --> dgp
     
  • Don Porter

    Don Porter - 2008-09-29

    rmax, are these changes workable
    for you as well?

     
  • Don Porter

    Don Porter - 2008-09-29
    • assigned_to: dgp --> rmax
     
  • Reinhard Max

    Reinhard Max - 2008-09-30

    It doesn't matter to me, as I have always been using my own .spec file for building Tk and I am not aware of anybody who tries to build Tk on SUSE with the included .spec file.

    But looking at the patch, I think the else block should use xorg-x11-devel instead of XFree86-devel, because AFAIK all relevant Linux distributions have been using X.Org instead of XFree86 for several years now.

     
  • Reinhard Max

    Reinhard Max - 2008-09-30
    • assigned_to: rmax --> dgp
     
  • Don Porter

    Don Porter - 2008-09-30
    • assigned_to: dgp --> hobbs
     
  • Don Porter

    Don Porter - 2008-09-30

    Jeff, is there a good reason we
    should remain in the business of
    maintaining the *.spec files in the
    Tcl and Tk source distributions? Do
    we know of anyone successfully using
    them? Do we have anyone who can
    more adequately maintain them?

     
  • Ben Collver

    Ben Collver - 2008-11-01

    If the else block should use xorg-x11-devel then the Fedora version comparison should be inverted. It would save some work to remove the spec file.

     
MongoDB Logo MongoDB