Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

[Solved] smart-live-rebuild stuck

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
sdauth
l33t
l33t
User avatar
Posts: 770
Joined: Wed Sep 19, 2018 2:48 am
Location: Ásgarðr

[Solved] smart-live-rebuild stuck

  • Quote

Post by sdauth » Sat Dec 14, 2019 6:10 pm

[EDIT]
Solved. Buggy live ebuild was causing this error. I chose to uninstall the problematic package (as I don't use it anymore) but one can exclude problematic package to solve this issue as well (see bottom of the thread)


Hello,

I'm having issues with smart-live-rebuild lately. (version 1.3.6)
It seems to halt when updating some package.*

EDIT :

Code: Select all

!!! Error enumerating =x11-misc/oblogout-0.2-r2: [KeyError] "Environment does not declare: ['EGIT_REPO_URI', 'EGIT_VERSION']"
Previously, even with this error, it was working fine though.

I tried to run it with "-d" (debug) switch to see what is going on and it returns the following :

Code: Select all

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.6/smart-live-rebuild", line 26, in <module>
    sys.exit(main(sys.argv))
  File "/usr/lib64/python3.6/site-packages/smartliverebuild/cli.py", line 142, in main
    packages = SmartLiveRebuild(opts, pm, cliargs = args)
  File "/usr/lib64/python3.6/site-packages/smartliverebuild/core.py", line 120, in SmartLiveRebuild
    cache = cache)
  File "/usr/lib64/python3.6/site-packages/smartliverebuild/vcs/git_r3.py", line 16, in __init__
    RemoteVCSSupport.__init__(self, *args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/smartliverebuild/vcs/__init__.py", line 99, in __init__
    raise KeyError('Environment does not declare: %s' % missingvars)
KeyError: "Environment does not declare: ['EGIT_REPO_URI', 'EGIT_VERSION']"
Any idea ?
Thanks for your help !
Last edited by sdauth on Sun Dec 15, 2019 8:04 am, edited 3 times in total.
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Sat Dec 14, 2019 7:04 pm

You need to contact the maintainer of that ebuild and tell them to fix it.
Top
sdauth
l33t
l33t
User avatar
Posts: 770
Joined: Wed Sep 19, 2018 2:48 am
Location: Ásgarðr

  • Quote

Post by sdauth » Sun Dec 15, 2019 4:46 am

I uninstalled the package so it doesn't stop anymore on the failure but it is still stuck :

Code: Select all

sudo smart-live-rebuild -d
*** Forking to drop superuser privileges ...
*** Updating the repositories using 2 parallel jobs...
->  https://github.com/sekrit-twc/zimg [HEAD]
--> git ls-remote https://github.com/sekrit-twc/zimg HEAD
->  [media-libs/zimg:0] https://github.com/sekrit-twc/zimg [HEAD]
--> at rev 9ae36d7d5f7420eaacd9644451933512fa13d716 (no changes)

[stuck here without further output, forced to halt with ctrl+c]

^C!!! Updates interrupted, proceeding with already updated repos.
*** No updates found (in 1 live packages)
Top
sdauth
l33t
l33t
User avatar
Posts: 770
Joined: Wed Sep 19, 2018 2:48 am
Location: Ásgarðr

  • Quote

Post by sdauth » Sun Dec 15, 2019 4:54 am

Solved (almost)

I only have two live packages :

zimg
sayonara (jorgicio overlay)

If I uninstall sayonara, then smart-live-rebuild works fine again. It seems there are issues with the sayonara live ebuild.

By the way, is it possible to exclude some packages to be updated with smart-live-rebuild ? If yes, how to do ? There is no manual entry for it.
Top
Ionen
Developer
Developer
User avatar
Posts: 3012
Joined: Thu Dec 06, 2018 2:23 pm

  • Quote

Post by Ionen » Sun Dec 15, 2019 5:38 am

sdauth wrote:There is no manual entry for it.
When all else fails, typically <command> -h/--help still works.

Code: Select all

 -f FILTER_PACKAGES, --filter-packages=FILTER_PACKAGES
                        Update only named packages (wildcard on package name
                        or cat/pn, prefix with ! for exclusive, can be used
                        multiple times).
smart-live-rebuild -f '!package-atom' should work to exclude. Apparently can use a configuration file as well but I haven't checked what you can do with that (I haven't needed to permanently exclude/set things, just now and then)
Top
sdauth
l33t
l33t
User avatar
Posts: 770
Joined: Wed Sep 19, 2018 2:48 am
Location: Ásgarðr

  • Quote

Post by sdauth » Sun Dec 15, 2019 5:56 am

Thanks Ionen.

sudo smart-live-rebuild -f '!x11-misc/oblogout' (example)

works fine ! :wink:
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Sun Dec 15, 2019 6:22 am

You can also do

Code: Select all

emerge @smart-live-rebuild --exclude=package
Top
sdauth
l33t
l33t
User avatar
Posts: 770
Joined: Wed Sep 19, 2018 2:48 am
Location: Ásgarðr

  • Quote

Post by sdauth » Sun Dec 15, 2019 7:59 am

Thanks Ant. P. I added it to my bash_aliases 8)

Thread marked as solved.
Top
Post Reply

8 posts • Page 1 of 1

Return to “Other Things Gentoo”

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

 

 

magic