Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Set/command smart-live-rebuild

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
mrbassie
l33t
l33t
User avatar
Posts: 855
Joined: Fri May 31, 2013 5:46 pm
Location: Go past the sign for cope, right at the sign for seethe. If you see the target you've missed it.

Set/command smart-live-rebuild

  • Quote

Post by mrbassie » Sat Feb 01, 2025 6:23 pm

[Administrator note: this post, and all posts up through (but not including) my first response were originally attached to the topic Portage crashes terminal, unable to compile @world set. -Hu]

Code: Select all

@smart-live-rebuild
What does this do? It's neither in the man page nor the wiki.
I spent a christmas in Vienna twenty something years ago. It was a beautiful city. Everyone was so friendly.
Top
Banana
Moderator
Moderator
User avatar
Posts: 2372
Joined: Fri May 21, 2004 12:02 pm
Location: Germany
Contact:
Contact Banana
Website

  • Quote

Post by Banana » Sat Feb 01, 2025 8:16 pm

mrbassie wrote:

Code: Select all

@smart-live-rebuild
What does this do? It's neither in the man page nor the wiki.
A quick search lead me to this: https://github.com/projg2/smart-live-rebuild/ The readme there explains it very well.
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Top
Zucca
Moderator
Moderator
User avatar
Posts: 4688
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

  • Quote

Post by Zucca » Sat Feb 01, 2025 8:19 pm

I think that set is automatically constructed from packages that fill the the requirement of @installed && FEATURES=live.

Code: Select all

             sets.conf
                     A package set configuration file. Settings here override settings
                     from  /var/db/repos/gentoo/sets.conf  and /usr/share/portage/con‐
                     fig/sets.  The format is described extensively in the Package Set
                     Configuration section of the  html  documentation  which  is  in‐
                     stalled with portage when the "doc" USE flag is enabled.

                     Example:
                     [world]
                     class = portage.sets.base.DummyPackageSet
                     packages = @profile @selected @system

                     [usersets]
                     class = portage.sets.files.StaticFileSet
                     multiset = true
                     directory =  %(PORTAGE_CONFIGROOT)setc/portage/sets
                     world-candidate = True

                     [module-rebuild]
                     class = portage.sets.dbapi.OwnerSet
                     files = /lib/modules
EDIT: The set is added by app-portage/smart-live-rebuild so it's not part of the default sets.
Last edited by Zucca on Sun Feb 02, 2025 4:23 pm, edited 2 times in total.
..: Zucca :..

Code: Select all

init=/sbin/openrc-init
-systemd -logind -elogind seatd
I am NaN! I am a man!
Top
logrusx
Advocate
Advocate
User avatar
Posts: 3529
Joined: Thu Feb 22, 2018 2:29 pm

  • Quote

Post by logrusx » Sat Feb 01, 2025 8:28 pm

It is not a set but a command and it is not related to OP's problem in any way.
Top
pingtoo
Advocate
Advocate
User avatar
Posts: 2180
Joined: Fri Sep 10, 2021 8:37 pm
Location: Richmond Hill, Canada

  • Quote

Post by pingtoo » Sun Feb 02, 2025 4:55 am

logrusx wrote:It is not a set but a command and it is not related to OP's problem in any way.
I must say, I disagreed.

If you install correctly it extend the Portage builtin to have the "smart-live-rebuild" as additional to existing default sets.
Top
logrusx
Advocate
Advocate
User avatar
Posts: 3529
Joined: Thu Feb 22, 2018 2:29 pm

  • Quote

Post by logrusx » Sun Feb 02, 2025 5:08 am

pingtoo wrote:
logrusx wrote:It is not a set but a command and it is not related to OP's problem in any way.
I must say, I disagreed.

If you install correctly it extend the Portage builtin to have the "smart-live-rebuild" as additional to existing default sets.
I must say I disagree. Look closely at the original command. The user alerted the quote.

Best Regards,
Georgi
Top
Josef.95
Advocate
Advocate
Posts: 4857
Joined: Mon Sep 03, 2007 9:46 am
Location: Germany

  • Quote

Post by Josef.95 » Sun Feb 02, 2025 8:10 am

You can using smart-live-rebuild directly or as set - both works :)
/usr/share/doc/smart-live-rebuild-1.4.1/README.bz2 wrote:Portage set support
-------------------
Apart from being called directly, smart-live-rebuild provides a package
set for portage-2.2, called ``smartliverebuild.sets.SmartLiveRebuildSet``.
Please take a look at ``sets.conf.example`` file for a use example.

Code: Select all

emerge --list-sets | grep smart
smart-live-rebuild
Top
Hu
Administrator
Administrator
Posts: 24383
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sun Feb 02, 2025 2:28 pm

logrusx wrote:I must say I disagree. Look closely at the original command. The user alerted the quote.

Best Regards,
Georgi
It is both a set and a command, and different posters in these threads have referred to it in different ways. picarica (author of the original thread Portage crashes terminal, unable to compile @world set) wrote it as a set:
[post=8853393]picarica[/post] wrote:

Code: Select all

$ sudo emerge --sync;sudo emerge -a --verbose --update --deep --newuse --keep-going --with-bdeps=y @world && sudo emerge @smart-live-rebuild
Later, ingenarel posted it as a command
[post=8853505]ingenarel[/post] wrote:

Code: Select all

sudo emerge --ask --deep --verbose --update --newuse @world && sudo smart-live-rebuild
After that, mrbassie asked what the set does:
[post=8853536]mrbassie[/post] wrote:

Code: Select all

@smart-live-rebuild
What does this do?
Thus, depending on whose quote you want to look at, you can say it was altered (if you compare mrbassie's quote as a set to ingenarel's post as a command) or you can say it was a straight quote if you compare mrbassie's quote as a set to picarica's original question as a set. This would have been somewhat clearer if mrbassie's question had quoted the post (and poster name) that he was questioning.

For users who have not installed the package app-portage/smart-live-rebuild, neither the set nor the command is available, which makes researching this very slightly harder. (Though as Banana's first post here demonstrates, it's not particularly hard to find with a search engine.)
Top
logrusx
Advocate
Advocate
User avatar
Posts: 3529
Joined: Thu Feb 22, 2018 2:29 pm

  • Quote

Post by logrusx » Sun Feb 02, 2025 3:16 pm

Hu wrote:It is both a set and a command, and different posters in these threads have referred to it in different ways.
OK, I'll admit it's my bad this time. And I apologize to everybody involved. However I still support it's off topic and diverting attention from the original issue, so thanks for taking into account my complaint and splitting the thread.

Best Regards,
Georgi
Top
Zucca
Moderator
Moderator
User avatar
Posts: 4688
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

  • Quote

Post by Zucca » Sun Feb 02, 2025 4:21 pm

Don't quote me on this, but
  • I think @smart-live-rebuild, the set, invokes the command smart-live-rebuild to construct the items to the before-mentioned set.
..: Zucca :..

Code: Select all

init=/sbin/openrc-init
-systemd -logind -elogind seatd
I am NaN! I am a man!
Top
mrbassie
l33t
l33t
User avatar
Posts: 855
Joined: Fri May 31, 2013 5:46 pm
Location: Go past the sign for cope, right at the sign for seethe. If you see the target you've missed it.

  • Quote

Post by mrbassie » Fri Feb 07, 2025 7:13 pm

Zucca wrote:Don't quote me on this, but
  • I think @smart-live-rebuild, the set, invokes the command smart-live-rebuild to construct the items to the before-mentioned set.
Sorry I had to. An older boy made me.

Code: Select all

$ emerge -pv @smart-live-rebuild
emerge: There are no sets to satisfy 'smart-live-rebuild'. The following sets exist:

    changed-deps
    changed-subslot
    deprecated-live-rebuild
    downgrade
    esteam
    installed
    live-rebuild
    module-rebuild
    preserved-rebuild
    profile
    rebuilt-binaries
    rust-rebuild
    security
    selected
    selected-packages
    selected-sets
    system
    unavailable
    unavailable-binaries
    world
    x11-module-rebuild
Hence the question.
I spent a christmas in Vienna twenty something years ago. It was a beautiful city. Everyone was so friendly.
Top
szatox
Advocate
Advocate
Posts: 3858
Joined: Tue Aug 27, 2013 12:35 pm

  • Quote

Post by szatox » Fri Feb 07, 2025 8:35 pm

I don't know anything about the set, but there is a standalone tool which does the same things as emerge @live-rebuild, but cheaper

Code: Select all

# eix app-portage/smart-live-rebuild
[I] app-portage/smart-live-rebuild
     Available versions:  1.4.1^t **9999*l^t {test PYTHON_TARGETS="pypy3 python3_10 python3_11 python3_12 python3_13"}
     Installed versions:  1.4.1^t(09:57:42 PM 01/21/2025)(-test PYTHON_TARGETS="python3_11 python3_12 -pypy3 -python3_10 -python3_13")
     Homepage:            https://github.com/projg2/smart-live-rebuild/
     Description:         Check live packages for updates and emerge them as necessary

Make Pipewire a system service
Top
sam_
Developer
Developer
User avatar
Posts: 2814
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Fri Feb 07, 2025 9:09 pm

app-portage/smart-live-rebuild installs /usr/share/portage/config/sets/smart-live-rebuild.conf which provides the set. I'm not sure what confusion remains here -- it's been answered a few times above.
Top
Zucca
Moderator
Moderator
User avatar
Posts: 4688
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

  • Quote

Post by Zucca » Sat Feb 08, 2025 6:07 am

I may sound stupid but:
mrbassie wrote:Hence the question.
You need to first install the package: app-portage/smart-live-rebuild
..: Zucca :..

Code: Select all

init=/sbin/openrc-init
-systemd -logind -elogind seatd
I am NaN! I am a man!
Top
Post Reply

14 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy