Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 779820 - dev-util/android-studio-4.1.3 version bump
Summary: dev-util/android-studio-4.1.3 version bump
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Jason A. Donenfeld
URL: https://androidstudio.googleblog.com/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-02 13:46 UTC by Sergey Ilinykh
Modified: 2022-05-10 19:40 UTC (History)
3 users (show)

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


Attachments
Android Studio 4.2.1 proposed ebuild (android-studio-4.2.1.0.202.7351085.ebuild,3.48 KB, text/plain)
2021-06-20 13:37 UTC, Adam Giergun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Ilinykh 2021-04-02 13:46:59 UTC
A new version was released

Reproducible: Always
Comment 1 deim 2021-05-10 09:06:45 UTC
There is 4.2.0 already
Comment 2 Adam Giergun 2021-06-01 08:17:30 UTC
There is 4.2.1 already.

Unfortunately the old install script doesn't work with 4.2.x versions.
Comment 3 Luca Santarelli 2021-06-19 13:27:40 UTC
FWIW, commenting out the src_compile() function in the 4.1.3 ebuild seems to work fine (no crashes yet on a local overlay-ed 4.2.1). The libreadline.so file isn't present anymore in the libs directory of Android Studio.
Comment 4 Adam Giergun 2021-06-20 13:37:54 UTC
Created attachment 716955 [details]
Android Studio 4.2.1 proposed ebuild
Comment 5 Adam Giergun 2021-06-20 13:43:24 UTC
(In reply to Luca Santarelli from comment #3)
> FWIW, commenting out the src_compile() function in the 4.1.3 ebuild seems to
> work fine (no crashes yet on a local overlay-ed 4.2.1). The libreadline.so
> file isn't present anymore in the libs directory of Android Studio.

It's readline.so, and it's still present, just a little bit hidden in bin/lldb/lib/python3.8/lib-dynload/ as readline.cpython-38-x86_64-linux-gnu.so. 

Of course there is a question if this patch is still needed.

As I'm using custom-jdk switch I needed to add more modifications to ebuild (see attached ebuild).

Also it's worth to notice that with Android Studio installed this way it crashes with icedtea-8 set as user-vm, but seems to work fine with openjdk-11 and openjdk-bin-11.
Comment 6 Mike Pagano gentoo-dev 2022-05-10 19:40:45 UTC
Newer version in tree