Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(solved) dev-java/gwt-2.8.2 : sandbox issue
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Tue Feb 23, 2021 5:08 am    Post subject: (solved) dev-java/gwt-2.8.2 : sandbox issue Reply with quote

I can not install GWT-2.8.2 which is a dependency for rstudio. Bug 762619 already addresses this issue. In that thread Bartłomiej Kamiński offers a potential solution

Bartłomiej Kamiński wrote:
I found that symlinking /var/lib/portage/home/.java to ${PORTAGE_BUILDDIR}/homedir/.java works as a temporary workaround - I managed to build the package by doing that.


The problem is that I don't know where the portage builddir points to. Can someone please tell me how to find this variable?


Last edited by <3 on Thu Feb 25, 2021 2:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30965
Location: here

PostPosted: Tue Feb 23, 2021 6:43 am    Post subject: Reply with quote

PORTAGE_BUILDDIR usually is located in /var/tmp/portage/<category>/<package>-<version>/homedir.
I think that to do what it says in the bug you have to run emerge manually with the command ebuild.
Code:
# ebuild $(portageq get_repo_path / gentoo)/dev-java/gwt/gwt-2.8.2.ebuild unpack

now you can create the symlink in $(portageq envvar PORTAGE_TMPDIR)/portage/dev-java/gwt-2.8.2/homedir
Code:
# ebuild $(portageq get_repo_path / gentoo)/dev-java/gwt/gwt-2.8.2.ebuild merge

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Thu Feb 25, 2021 2:25 pm    Post subject: Reply with quote

Thank you, that worked.
Back to top
View user's profile Send private message
astaines
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2004
Posts: 101
Location: Ireland

PostPosted: Wed May 26, 2021 4:56 pm    Post subject: Reply with quote

Worked for me - full details for people like me

This sequence works

Code:

# ebuild $(portageq get_repo_path / gentoo)/dev-java/gwt/gwt-2.8.2.ebuild unpack


Then set the symlink
Code:

# ln -s $(portageq get_repo_path / gentoo)/dev-java/gwt/homedir /var/lib/portage/hiome/.java


Then finish the emerge
Code:

# ebuild $(portageq get_repo_path / gentoo)/dev-java/gwt/gwt-2.8.2.ebuild merge


Thanks!
Anthony
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum