Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282095 - dev-lang/icc-11.1 uses app-arch/rpm to install… wth?
Summary: dev-lang/icc-11.1 uses app-arch/rpm to install… wth?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Andrey Kislyuk (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-20 12:09 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-10-07 16:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-20 12:09:17 UTC
Why couldn't it just use rpm2tgz or something like that? I don't think it's very usual, nor a very good idea, to use it like this. Certainly makes me raise my brow from a QA standpoint.
Comment 1 Andrey Kislyuk (RETIRED) gentoo-dev 2009-08-20 14:02:57 UTC
Because the RPM files contain built-in scripts that configure the package and I don't know how to run those scripts without calling rpm. Please refer to this page:

http://software.intel.com/en-us/articles/intel-compilers-for-linux-version-111-silent-installation-guide/

If you can show me how to extract the rpm contents and configure them without using rpm, I'll be happy to revise the ebuild.

In the meantime, I don't see why this is a serious QA problem - that rpm call does not modify the system. The only problem I had was having to use "addpredict /" because rpm open_wr's /, but it doesn't do anything with it.
Comment 2 SpanKY gentoo-dev 2009-08-20 17:50:07 UTC
it isnt a QA problem
Comment 3 SpanKY gentoo-dev 2009-08-20 17:50:45 UTC
the rpm.eclass has helper functions for just unpacking rpm files, but not for running scripts in the .spec and such
Comment 4 Andrey Kislyuk (RETIRED) gentoo-dev 2009-10-07 16:04:15 UTC
Thanks to bicatali for rewriting the ebuild. That said I don't see anything wrong with using rpm the way I did