What to do with rebuild-detector results

Hi all,

Apologies if this is in the wrong category or a really stupid question. And doubly so if both.

I don’t remember why I checked, so don’t ask, but I just did a checkrebuilds:

$ checkrebuild

foreign android-studio
foreign icecat-bin

So, I tried to rebuild android-studio:

$ pamac build android-studio  
Warning: Building packages as root
Warning: Setting build directory to /var/cache/pamac
Cloning android-studio build files...
Running as unit: run-u231.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 1.455s
Checking android-studio dependencies...
Warning: android-studio- is up to date -- reinstalling
Resolving dependencies...
Checking inter-conflicts...

To build (1):
android-studio               AUR

Edit build files : [e] 
Apply transaction ? [e/y/N] y

Building android-studio...
Running as unit: run-u232.service
Press ^] three times within 1s to disconnect TTY.
==> Making package: android-studio (Wed 05 May 2021 14:59:30)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading android-studio-ide-201.7199119-linux.tar.gz...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100  882M  100  882M    0     0  5894k      0  0:02:33  0:02:33 --:--:-- 4315k
-> Found android-studio.desktop
-> Found license.html
==> Validating source files with sha256sums...
android-studio-ide-201.7199119-linux.tar.gz ... Passed
android-studio.desktop ... Passed
license.html ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting android-studio-ide-201.7199119-linux.tar.gz with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "android-studio"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: android-studio (Wed 05 May 2021 15:02:25)
==> Cleaning up...
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 2min 56.946s
Running as unit: run-u237.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 1.256s

Checking keyring...                                                                                                                                                                                                        [1/1]
Checking integrity...                                                                                                                                                                                                      [1/1]
Loading package files...                                                                                                                                                                                                   [1/1]
Checking file conflicts...                                                                                                                                                                                                 [1/1]
Checking available disc space...                                                                                                                                                                                           [1/1]
Reinstalling android-studio (                                                                                                                                                                                 [1/1]
Running post-transaction hooks...
Arming ConditionNeedsUpdate...                                                                                                                                                                                             [1/4]
pacnew-chaser notify                                                                                                                                                                                                       [2/4]
Error: command failed to execute correctly
Checking which packages need to be rebuilt                                                                                                                                                                                 [3/4]
foreign android-studio
Updating the desktop file MIME type cache...                                                                                                                                                                               [4/4]
Transaction successfully finished.

And all seems to have gone well. However, when I re-run checkrebuild, the results are unchanged:

$ checkrebuild

foreign android-studio
foreign icecat-bin

Leading me to think it wasn’t that. And also, there isn’t a rebuild option for pamac:

$ pamac rebuild android-studio

Available actions:
pamac --version
pamac --help, -h     [action]
pamac search         [options] <package(s)>
pamac list           [options] <package(s)>
pamac info           [options] <package(s)>
pamac install        [options] <package(s)>
pamac reinstall      [options] <package(s)>
pamac remove         [options] [package(s)]
pamac checkupdates   [options]
pamac update,upgrade [options]
pamac clone          [options] <package(s)>
pamac build          [options] [package(s)]
pamac clean          [options]

So it’s obviously not that.

So my question is, is it safe to ignore this? I’m asking especially since I just installed Android studio an hour or two ago.

The same happens with icecat-bin but it’s not my primary browser, so it never worried me. Also, I know the -bin version is far behind Firefox, or even the official non -bin version, and since I don’t want to spend half and eternity compiling it, it never bothered me.

Have you run

checkrebuild -v


go to aur page, android-studio is Flagged out-of-date :wink:

I thought it was merely more verbose and gave more info. But I’ve just done so,:

$ checkrebuild -v

foreign android-studio
foreign icecat-bin

ldd /usr/lib/icecat/plugin-container

libxul.so => not found

ldd /usr/lib/icecat/libxul.so

libmozsandbox.so => not found
liblgpllibs.so => not found
libmozsqlite3.so => not found
libmozgtk.so => not found

ldd /usr/lib/icecat/libsoftokn3.so

libmozsqlite3.so => not found

ldd /usr/lib/icecat/libmozavcodec.so

libmozavutil.so => not found

ldd /opt/android-studio/plugins/android/resources/simpleperf/linux-x86_64/simpleperf

libncurses.so.5 => not found
libtinfo.so.5 => not found

doc here

AH, OK. Is there another way, too get an up-to-date one though? I’m kinda in the dark about it.

Maybe, the most up-to-date one isn’t even neccessary, seeing as I just started experimenting with Flutter

as writed, this old version want ncurses 5 and we have ncurses 6

for flutter … I use desktop device for debug or web device (less resources required ) - and we can also use our phone

1 Like

Yeah. I usually also hate it when just assuming things. But i my defense, I did try and find out more about it, and only now found the documentation thanks to your link, so thank you very much!

Thank you! Any idea where I can get a more up-to-date version?

Yes, that’s why I wasn’t really too worried about it. And it’s just for experimenting and playing around anyway. Nothing serious.

only wait new android-studio aur version :wink: we can use vscode for edit code (i not use android-studio ) :wink:
adb not work with flutter ? you can create a sym link libncurses.so → libncurses.so.5

That’s what I figured.

That was my plan anyway, thank you.

Don’t know. Have honestly not got there yet.

I was thinking about trying this, but wasn’t sure if it’ll work.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.