Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 159725

Summary: dev-lang/icc-9.1.045 doesn't install idb
Product: Gentoo Linux Reporter: Philip Taylor <excors+gentoobugs>
Component: New packagesAssignee: Karl Trygve Kalleberg (RETIRED) <karltk>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 183393    
Bug Blocks:    
Attachments: patch

Description Philip Taylor 2007-01-02 08:30:48 UTC
dev-lang/icc-9.1.045 fails to install idb, since it only unpacks the first .rpm file. It says:

        for x in *.rpm
        do
                # WORKDIR must be set properly for rpm_unpack()
                rpm_unpack ${S}/data/${x}
        done

and *.rpm (in the current directory) is an empty list so it calls "rpm_unpack ${S}/data/*.rpm" which appears to unpack only the first file. Moving the ${S}/data/ into the 'for' line makes it unpack all of the .rpm files as intended. idb is then installed and seems to work (at least after I make a link from libXft.so.1 to libXft.so.2).

(Is it a problem that that line uses "${S}/data/*.rpm" when the previous section uses just "data/*.rpm"?)

As an unrelated issue, src_compile() uses SUPPORTFILE with *s in the filename and attempts to write to that file, which doesn't work. It does work without complaining if I just remove the *s, though I'm not certain whether they'd ever be needed.
Comment 1 Philip Taylor 2007-01-02 08:32:01 UTC
Created attachment 105177 [details, diff]
patch
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-10-03 19:05:19 UTC
So use dev-lang/idb