Bug 511005 - R package should use the macros
Summary: R package should use the macros
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: R-mAr
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: José Matos
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-13 08:26 UTC by Pierre-YvesChibon
Modified: 2009-07-29 21:36 UTC (History)
2 users (show)

Fixed In Version: 1.1.1-16.fc10
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-29 21:30:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Pierre-YvesChibon 2009-07-13 08:26:25 UTC
Description of problem:
While installing any of the following three libraries:
- R-mAr
- R-wavethresh
- R-waveslim

I have met an error on the %post script:

> Installing     : R-mAr1.1-14.fc11.x86_64                       1/1 
> /var/tmp/rpm-tmp.EbOwNc: line 1: /usr/lib64/R/doc/html/search/index.txt: No > such file or directory
> Non-fatal POSTIN scriptlet failure in rpm package R-mAr-1.1-14.fc11.x86_64
> warning: %post(R-mAr-1.1-14.fc11.x86_64) scriptlet failed, exit status 1


I looked at the CVS to find the you are using: 

> %post
> cat %{_libdir}/R/library/*/CONTENTS > %{_libdir}/R/doc/html/search/index.txt
> 
> %postun
> cat %{_libdir}/R/library/*/CONTENTS > %{_libdir}/R/doc/html/search/index.txt


While the R packaging guidelines [1] advise to use:
> %post
> %{_R_make_search_index}
> 
> %postun
> %{_R_make_search_index}


This is reproducible every time on F11 x86_64

Thanks :)


[1] https://fedoraproject.org/wiki/Packaging/R

Comment 1 Pierre-YvesChibon 2009-07-28 17:02:16 UTC
ping ?

Comment 2 José Matos 2009-07-28 17:26:50 UTC
Pong. :-)

-EBUSY ;-)

You are free to apply the proposed changes.
They are the logical step after the update of the R packaging guidelines.

If not I will do it next week (August).

Comment 3 Pierre-YvesChibon 2009-07-28 17:33:24 UTC
I don't think I can commit on the cvs so it will wait a bit :-)

(I was just wondering if you saw the bug ;-) )

Thanks

Comment 4 Fedora Update System 2009-07-28 21:33:37 UTC
R-wavethresh-2.2.11-1.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/R-wavethresh-2.2.11-1.fc10

Comment 5 Fedora Update System 2009-07-28 21:33:42 UTC
R-wavethresh-2.2.11-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/R-wavethresh-2.2.11-1.fc11

Comment 6 Fedora Update System 2009-07-28 21:35:14 UTC
R-waveslim-1.6.1-5.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/R-waveslim-1.6.1-5.fc10

Comment 7 Fedora Update System 2009-07-28 21:35:19 UTC
R-waveslim-1.6.1-5.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/R-waveslim-1.6.1-5.fc11

Comment 8 Fedora Update System 2009-07-28 22:02:38 UTC
R-mAr-1.1.1-16.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/R-mAr-1.1.1-16.fc10

Comment 9 Fedora Update System 2009-07-28 22:02:43 UTC
R-mAr-1.1.1-16.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/R-mAr-1.1.1-16.fc11

Comment 10 Fedora Update System 2009-07-29 21:30:46 UTC
R-mAr-1.1.1-16.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2009-07-29 21:31:33 UTC
R-wavethresh-2.2.11-1.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2009-07-29 21:31:52 UTC
R-waveslim-1.6.1-5.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2009-07-29 21:32:44 UTC
R-wavethresh-2.2.11-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2009-07-29 21:34:04 UTC
R-waveslim-1.6.1-5.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2009-07-29 21:36:44 UTC
R-mAr-1.1.1-16.fc10 has been pushed to the Fedora 10 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.