Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909731 - net-analyzer/gsa-22.5.0 fails to build: Error: EACCES: permission denied, open '/.config/svgrrc'
Summary: net-analyzer/gsa-22.5.0 fails to build: Error: EACCES: permission denied, ope...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: jonas.licht
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-05 10:17 UTC by Giuseppe Foti
Modified: 2023-07-28 11:59 UTC (History)
3 users (show)

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


Attachments
build.log (gsa-22.5.0:20230705-093242.log,2.48 KB, text/x-log)
2023-07-05 10:17 UTC, Giuseppe Foti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Giuseppe Foti 2023-07-05 10:17:34 UTC
Created attachment 865154 [details]
build.log

gsa-22.5.0 doesn't build.
I think it is better to stay with dist distribution, and not use yarn compiling.
There was an old issue about dist package here https://github.com/greenbone/gsa/issues/3188
Greenbone now ships gsa dist tarbal and it was with that tarbal that we tested the ebuilds
Comment 1 Florian Schmaus gentoo-dev 2023-07-28 11:56:12 UTC
This is caused if the user has a directory /.config that is not readable by the emerge process's user (typically 'portage').

See
- https://github.com/gregberge/svgr/blob/82928f02e4a2ae1160e54884461f9edde4ad2293/website/pages/docs/options.mdx#L23-L30
- https://react-svgr.com/docs/configuration-files/
Comment 2 Larry the Git Cow gentoo-dev 2023-07-28 11:59:30 UTC
The bug has been closed via the following commit(s):

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

commit c433d383887eeb559d1826becd4a5cf9944ca7f7
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2023-07-28 11:58:14 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2023-07-28 11:59:26 +0000

    net-analyzer/gsa: tell SVGR to behave
    
    Closes: https://bugs.gentoo.org/909731
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 net-analyzer/gsa/gsa-22.5.0.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)