Summary: | app-portage/smart-live-rebuild-1.3.6 should to pass --getbinpkg=n to emerge, not just --usepkg=n | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | flippynelle <flippynelle> |
Component: | Current packages | Assignee: | Michał Górny <mgorny> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | adjudicatordarren, flippynelle |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/projg2/smart-live-rebuild/pull/7 https://github.com/projg2/smart-live-rebuild/pull/8 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
flippynelle
2020-12-09 16:46:52 UTC
Maybe we can make --usepkg=n imply --getbinpkg=n. (In reply to Zac Medico from comment #1) > Maybe we can make --usepkg=n imply --getbinpkg=n. Maybe, I don't know. Do the docs allow for it? I'm unsure... grr --getbinpkg [ y | n ], -g Using the server and location defined in PORTAGE_BINHOST (see make.conf(5)), portage will download the in‐ formation from each binary package found and it will use that information to help build the dependency list. This option implies -k. (Use -gK for binary-only merging.) --getbinpkgonly [ y | n ], -G This option is identical to -g, as above, except binaries from the remote server are preferred over local packages if they are not identical. --usepkg [ y | n ], -k Tells emerge to use binary packages (from $PKGDIR) if they are available, thus possibly avoiding some time-consuming compiles. This option is useful for CD installs; you can export PKGDIR=/mnt/cdrom/packages and then use this option to have emerge "pull" binary packages from the CD in order to satisfy dependen‐ cies. --usepkgonly [ y | n ], -K Tells emerge to only use binary packages (from $PKGDIR). All the binary packages must be available at the time of dependency calculation or emerge will simply abort. Portage does not use ebuild repositories when calculating dependency information so all masking information is ignored. We can update the docs. The --getbinpkg option has implies --usepkg, and I don't see any reason why --usepkg=n should not imply --getbinpkg=n. This got fixed in app-portage/smart-live-rebuild-1.3.7 eg. it does this: -> emerge --oneshot --getbinpkg=n --usepkg-exclude app-editors/vim-core:0 app-editors/vim:0 app-editors/vim-core:0 app-editors/vim:0 which is pretty smart, imho. Thanks! Could that --usepkg-exclude change (and the --getbinpkg=n) be done for 'revdep-rebuild' too ? because I'm getting this: # time revdep-rebuild * This is the new python coded version * Please report any bugs found using it. * The original revdep-rebuild script is installed as revdep-rebuild.sh * Please file bugs at: https://bugs.gentoo.org/ * Checking dynamic linking consistency * Assign files to packages emerge --oneshot --complete-graph=y media-sound/pulseaudio:0 media-libs/libsndfile:0 These are the packages that would be merged, in reverse order: Calculating dependencies ...... done! [binary R ] media-sound/pulseaudio-13.0-r1-2 [binary R ] media-libs/libsndfile-1.0.31-1 Would you like to merge these packages? [Yes/No] n Quitting. (In reply to Adjudicator Darren from comment #5) > Could that --usepkg-exclude change (and the --getbinpkg=n) be done for > 'revdep-rebuild' too ? > > because I'm getting this: > > # time revdep-rebuild > * This is the new python coded version > * Please report any bugs found using it. > * The original revdep-rebuild script is installed as revdep-rebuild.sh > * Please file bugs at: https://bugs.gentoo.org/ > * Checking dynamic linking consistency > * Assign files to packages > > emerge --oneshot --complete-graph=y media-sound/pulseaudio:0 > media-libs/libsndfile:0 > > These are the packages that would be merged, in reverse order: > > Calculating dependencies ...... done! > [binary R ] media-sound/pulseaudio-13.0-r1-2 > [binary R ] media-libs/libsndfile-1.0.31-1 > > Would you like to merge these packages? [Yes/No] n > > Quitting. forgot to mention workaround: # revdep-rebuild -- --getbinpkg=n --usepkg=n * https://github.com/projg2/smart-live-rebuild/commit/77e50009efc554d88a585d7c89650db7cd13f6d6 * https://github.com/projg2/smart-live-rebuild/commit/e473be02e32d9f80fd72bcd779be5c5bf726fb05 * https://github.com/projg2/smart-live-rebuild/commit/e4b3cb2b6b63196a32455e577a293819ecd0f4fa * https://github.com/projg2/smart-live-rebuild/pull/7 * https://github.com/projg2/smart-live-rebuild/pull/8 |