Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 633406 - media-gfx/inkscape-0.92.1-r1 - should not check for compiler when installing from a binary package
Summary: media-gfx/inkscape-0.92.1-r1 - should not check for compiler when installing ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-03 20:47 UTC by Sławomir Nizio
Modified: 2019-06-01 14:26 UTC (History)
0 users

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 Sławomir Nizio 2017-10-03 20:47:15 UTC
It does this:

109 pkg_pretend() {                                                                                        
110     if use openmp; then
111         tc-has-openmp || die "Please switch to an openmp compatible compiler"
112     fi
113 }

but it shouldn't be necessary when it's installed from a binary package (correct me if I'm wrong).

Maybe it could be doing something like e.g. app-crypt/johntheripper

   pkg_setup() {
       if use openmp && [[ ${MERGE_TYPE} != binary ]]; then                                           
           tc-has-openmp || die "Please switch to an openmp compatible compiler"
       fi
   }
Comment 1 Larry the Git Cow gentoo-dev 2019-06-01 14:26:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40e3eed16f422d97562d24703ef1e0111af5081a

commit 40e3eed16f422d97562d24703ef1e0111af5081a
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-06-01 12:17:57 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-06-01 14:26:00 +0000

    media-gfx/inkscape: Check compiler if compiling only
    
    Closes: https://bugs.gentoo.org/633406
    Package-Manager: Portage-2.3.67, Repoman-2.3.13
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-gfx/inkscape/inkscape-0.92.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)