vasiliyvatsyk Posted January 21, 2022 Report Share Posted January 21, 2022 !!! Error enumerating =sys-devel/gcc-9.2.0: [KeyError] "Environment does not declare: ['EGIT_REPO_URI', 'EGIT_VERSION']" *** Found 1 packages to rebuild (out of 0 live packages). -> emerge --oneshot --usepkg=n -av --with-bdeps=y --complete-graph=y sys-devel/gcc:9.2.0 Any Idea? Link to comment Share on other sites More sharing options...
cardinal Posted January 21, 2022 Report Share Posted January 21, 2022 (edited) Smart-live-rebuild rebuilds packages that are members of @live-rebuild package set whose source code has changed since last build . Funtoo has sys-devel/gcc-9.2.0 in 1.4-release and sys-devel/gcc-11.2.0 in next release as members of @live-rebuild. I have not configured any live ebuilds , this list should be empty but it includes sys-devel/gcc-11.2.0 : rj@funtoo-next ~ $ sudo emerge -a @live-rebuild These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-devel/gcc-11.2.0 Would you like to merge these packages? [Yes/No] Only package ebuilds with 9999 live version option that have been enabled by the user should be members of @live-rebuild Smart-live-rebuild spews the error because the gcc ebuild has no 9999 option for the user to add that would provide the required environment. Bug report: [1.4 and next] sys-devel/gcc is a member of @live-rebuild Edited January 21, 2022 by cardinal Link to comment Share on other sites More sharing options...
vasiliyvatsyk Posted January 24, 2022 Author Report Share Posted January 24, 2022 On 1/22/2022 at 1:43 AM, cardinal said: Smart-live-rebuild rebuilds packages that are members of @live-rebuild package set whose source code has changed since last build . Funtoo has sys-devel/gcc-9.2.0 in 1.4-release and sys-devel/gcc-11.2.0 in next release as members of @live-rebuild. I have not configured any live ebuilds , this list should be empty but it includes sys-devel/gcc-11.2.0 : rj@funtoo-next ~ $ sudo emerge -a @live-rebuild These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-devel/gcc-11.2.0 Would you like to merge these packages? [Yes/No] Only package ebuilds with 9999 live version option that have been enabled by the user should be members of @live-rebuild Smart-live-rebuild spews the error because the gcc ebuild has no 9999 option for the user to add that would provide the required environment. Bug report: [1.4 and next] sys-devel/gcc is a member of @live-rebuild Thanks, all ok Link to comment Share on other sites More sharing options...
cardinal Posted January 25, 2022 Report Share Posted January 25, 2022 (edited) Stop smart-live-rebuild from erroneously trying to rebuild gcc with this command : smart-live-rebuild -f '!sys-devel/gcc' Add filter to /etc/portage/smart-live-rebuild.conf : [smart-live-rebuild] filter_packages = !sys-devel/gcc Edited January 26, 2022 by cardinal Add filter configuration avoids having to add it to command. Link to comment Share on other sites More sharing options...
Recommended Posts