Jump to content

smart-live-rebuild


Recommended Posts

!!! 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

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 by cardinal
Link to comment
Share on other sites

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

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 by cardinal
Add filter configuration avoids having to add it to command.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...