Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699280 - sci-electronics/ngspice is writing outside D
Summary: sci-electronics/ngspice is writing outside D
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: The Soldering-Iron Brotherhood
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-04 08:07 UTC by Michał Górny
Modified: 2019-11-04 19:10 UTC (History)
3 users (show)

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


Attachments
ngspice-31.ebuild.patch (ngspice-31.ebuild.patch,1.40 KB, patch)
2019-11-04 09:46 UTC, Fabio Rossi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-11-04 08:07:24 UTC
emake DESTDIR="${D}_${MULTIBUILD_VARIANT}"

and likes.  You are not allowed to write in parent directory of D, only to D itself and this only works (if it works) because of poorly set up sandbox.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-11-04 08:57:32 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #1)
> https://qa-reports.gentoo.org/output/gentoo-ci/9d5cc83/output.html#sci-
> electronics/ngspice
> 
> Related?

Yes.  It's technically a false positive but shows this problem.
Comment 3 Fabio Rossi 2019-11-04 09:46:47 UTC
Created attachment 594998 [details, diff]
ngspice-31.ebuild.patch

here is the patch for the ebuild in portage
Comment 4 Larry the Git Cow gentoo-dev 2019-11-04 19:10:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a4e51b6503983e26e91c51df2bd0d0284ccc74b

commit 2a4e51b6503983e26e91c51df2bd0d0284ccc74b
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2019-11-04 18:45:25 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2019-11-04 19:09:56 +0000

    sci-electronics/ngspice: rev bump to address several QA issues
    
    Closes: https://bugs.gentoo.org/699292
    Closes: https://bugs.gentoo.org/699280
    Package-Manager: Portage-2.3.78, Repoman-2.3.17
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 .../{ngspice-31.ebuild => ngspice-31-r1.ebuild}    | 122 ++++++++++++---------
 1 file changed, 69 insertions(+), 53 deletions(-)