Bug 241374 - BuildRequires libXmu-devel bzip2-devel ncurses-devel
Summary: BuildRequires libXmu-devel bzip2-devel ncurses-devel
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: R
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-05-25 15:17 UTC by Chris Schanzle
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version: 2.5.0-3.fc7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-06-08 15:55:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Chris Schanzle 2007-05-25 15:17:59 UTC
I built R-2.5.0-2.fc6.src.rpm using chrooted mock and compared the --requires
for a "native" (sorry if that's the wrong term...I just ran 'rpmbuild -bb' on a
well-installed system). I noticed these dependency differences:

$ diff r.native r.mock
7d6
< libbz2.so.1  
27d25
< libncurses.so.5  
36a35
> libtermcap.so.2  
39d37
< libXmu.so.6  

The R documentation in doc/html/R-admin.html states that libbz2 is optional and
will use it's own copy if the system one is not found.  Since the %configure
macro includes --with-system-bzlib, I believe that is the intention, and
bzip2-libs should be included as a BuildRequires.

LibXmu is also documented as optional and if found, will use X's clipboard
functionality.

Libtermcap was discussed in bug 231195 for R-2.4.1-4.fc7 and should be
deprecated in favor of ncurses.

I suggest ammending BuildRequires as follows:

BuildRequires: libXmu-devel, bzip2-devel, ncurses-devel

I verified the --requires are now identical in the mock build with the native build.

[rpmlint also complained about %configure, %makeinstall macros used in changelog
entries, near the bottom.  Perhaps another bugreport is preferable, but if
you're there editing the spec...]

Comment 1 Tom "spot" Callaway 2007-05-25 16:00:28 UTC
Thanks for the bug report!

I've made the BR corrections to the FC-5, FC-6, and F-7 branches of R (along
with the easy changelog fixes).

F-7 already had the ncurses-devel as a BR, but now all the current Fedora
versions do.

Unfortunately, its too late for this fix to make it into F-7 final, but it will
go out as a 0day update.

Comment 2 Fedora Update System 2007-06-08 15:55:52 UTC
R-2.5.0-3.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.


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