Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533240 - dev-util/android-ndk-10b - triggers python-updater reinstall ?
Summary: dev-util/android-ndk-10b - triggers python-updater reinstall ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-21 23:47 UTC by Navid Zamani
Modified: 2015-09-06 15:28 UTC (History)
1 user (show)

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


Attachments
emerge --info dev-util/android-ndk (android-ndk.emerge--info,7.32 KB, text/plain)
2014-12-22 10:52 UTC, Navid Zamani
Details
android-ndk-10b:20141221-232958.log.xz (android-ndk-10b:20141221-232958.log.xz,307.43 KB, application/x-xz)
2014-12-22 10:58 UTC, Navid Zamani
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Navid Zamani 2014-12-21 23:47:46 UTC
If andoid-ndk is installed,
then every time python-updater is run,
android-ndk is reinstalled,
no matter what.

Reproducible: Always

Steps to Reproduce:
1. Run python-updater.
2. android-ndk is reinstalled.
3. Immediately run python-updater again.
Actual Results:  
4. android-ndk is reinstalled again. :(

Expected Results:  
4. android-ndk should only be reinstalled if necessary. :)

The android-ndk ebuild does not have a configure phase nor a install phase.
Which makes this rather unnecessary in any case, unless I’m missing something.

Since android-ndk is *huge* (>48k files!), this still takes long and hogs the CPU a lot (with iowait), even without any compilation going on. (Not everyone can afford an SSD. :/ )
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-22 09:44:39 UTC
1) Please post your `emerge --info dev-util/android-ndk' output in a comment.
2) Please attach an entire build log to this bug report.
Comment 2 Navid Zamani 2014-12-22 10:52:08 UTC
Created attachment 392220 [details]
emerge --info dev-util/android-ndk

(In reply to Jeroen Roovers from comment #1)
> 1) Please post your `emerge --info dev-util/android-ndk' output in a comment.
> 2) Please attach an entire build log to this bug report.

Damn, I forgot! Here they are:
Comment 3 Navid Zamani 2014-12-22 10:58:45 UTC
Created attachment 392222 [details]
android-ndk-10b:20141221-232958.log.xz

(Even with .gz it was so lange, I had to recompress it.)
Comment 4 Navid Zamani 2014-12-22 11:02:31 UTC
There is nothing in the android-ndk ebuild to trigger anything though.
It’s just a bunch of files being copied over.
(Looks more like a python-updater bug. (Especially given the generally really bad state of that tool.))
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-22 14:44:04 UTC
Does python-updater give any output explaining why?
Comment 6 Navid Zamani 2014-12-22 15:25:05 UTC
(In reply to Jeroen Roovers from comment #5)
> Does python-updater give any output explaining why?

Ah! After MAXIMUM VERBOSITY I found it:

Checking dev-util/android-ndk-10b:0
  Adding to list: dev-util/android-ndk:0
    check: static_linking [ Binaries linked against Python static libraries found:
      /opt/android-ndk/prebuilt/linux-x86_64/bin/python2.7
      /opt/android-ndk/toolchains/mipsel-linux-android-4.8/prebuilt/linux-x86_64/bin/mipsel-linux-android-gdb
      /opt/android-ndk/toolchains/mipsel-linux-android-4.6/prebuilt/linux-x86_64/bin/mipsel-linux-android-gdb
      /opt/android-ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gdb
      /opt/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gdb
      /opt/android-ndk/toolchains/x86-4.8/prebuilt/linux-x86_64/bin/i686-linux-android-gdb
      /opt/android-ndk/toolchains/x86-4.6/prebuilt/linux-x86_64/bin/i686-linux-android-gdb
    ]
y
Comment 7 Doug Goldstein (RETIRED) gentoo-dev 2015-09-06 04:12:01 UTC
Reassign to the maintainer.
Comment 8 Jason Zaman gentoo-dev 2015-09-06 15:28:36 UTC
commit 17247c89817729b79406d90e6873c80add72e713
Author: Jason Zaman <perfinion@gentoo.org>
Date:   Sun Sep 6 23:26:29 2015 +0800

    dev-util/android-ndk: Make python-updater ignore the package
    
    Package-Manager: portage-2.2.20.1

Fixed thanks. the package might need to be re-installed once before python-updater sees the change unfortunately. but after that it will be fine.