Bug 487022 - R-make-search-index.sh dont't produce correct search index.txt and emit warning in %post and %post
Summary: R-make-search-index.sh dont't produce correct search index.txt and emit warni...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: R
Version: el5
Hardware: All
OS: Linux
low
urgent
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL: http://http://cvs.fedoraproject.org/v...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-23 17:49 UTC by Elia Pinto
Modified: 2009-03-05 13:46 UTC (History)
1 user (show)

Fixed In Version: Fixed in the FC10 package 2.8.1-2.fc10
Clone Of:
Environment:
Last Closed: 2009-03-05 13:46:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Elia Pinto 2009-02-23 17:49:01 UTC
Description of problem:

R have an old and wrong, i presume, R-make-search-index.sh.

Version-Release number of selected component (if applicable):
2.8.1-2.el5 on RHEL5.3



How reproducible:

Always

Install R and install any R-<package> 


Steps to Reproduce:
1. yum -y install R
2. yum -y install R-zoo
3.
  
Actual results:

In installing R-zoo

 yum -y install R-zoo
Loaded plugins: downloadonly, keys, security, versionlock
Reading version lock configuration
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package R-zoo.noarch 0:1.5-4.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================
 Package                           Arch                               Version                                  Repository                                Size
==============================================================================================================================================================
Installing:
 R-zoo                             noarch                             1.5-4.el5                                epel-updates                             748 k

Transaction Summary
==============================================================================================================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 748 k
Downloading Packages:
R-zoo-1.5-4.el5.noarch.rpm                                                                                                             | 748 kB     00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : R-zoo                                             [1/1]
/usr/lib/rpm/R-make-search-index.sh: line 7: /usr/lib64/R/doc/html/search/index.txt: No such file or directory
/usr/lib/rpm/R-make-search-index.sh: line 8: /usr/lib64/R/doc/html/search/index.txt: No such file or directory

Installed: R-zoo.noarch 0:1.5-4.el5
Complete!


Expected results:

No warning in %post and %postun postinstall and correct generation of R index.txt.

Additional info:

If the R-make-search-index.sh from FC10 is right, and i am sure of this,
also the Fedora Packaging Guideline of packaging R are wrong when describe   the "generating the search index.txt" paragraph. In particular
the 

"at %{_libdir}/R/doc/html/search/index.txt" referenced should be changed in something like

"at  /usr/share/doc/R-<version>/html/search/index.txt"

Comment 1 Tom "spot" Callaway 2009-03-04 20:25:24 UTC
Whoops! I forgot to update the EPEL branches with the updated R-make-search-index.sh. I've also corrected the Packaging/R page with the proper location for the search index.txt.

I'll fix this in the next build, along with 477076.

Comment 2 Tom "spot" Callaway 2009-03-05 13:46:21 UTC
Built updates for EPEL, R-2.8.1-3.el4 and R-2.8.1-3.el5.


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