Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Superuser privileges are required" on Prefix #20

Open
thesamesam opened this issue Mar 28, 2021 · 1 comment
Open

"Superuser privileges are required" on Prefix #20

thesamesam opened this issue Mar 28, 2021 · 1 comment

Comments

@thesamesam
Copy link

thesamesam commented Mar 28, 2021

Is it possible to force smart-live-rebuild to not pretend or otherwise ignore this on Prefix?

$ emerge -av @smart-live-rebuild
These are the packages that would be merged, in order:

Calculating dependencies /!!! Superuser privileges are required!

This tool requires superuser privileges. If you would like to force running
the update using your current user account, please pass the --unprivileged-user
option.
... done!

Total: 0 packages, Size of downloads: 0 KiB

Nothing to merge; quitting.
$ smart-live-rebuild --unprivileged-user
*** Running as an unprivileged user, assuming --pretend.
*** Updating the repositories...
*** No updates found (in 0 live packages)
Portage 3.0.14-prefix (python 3.9.1-final-0, prefix/darwin/macos/11.0/x64/gcc, gcc-10.2.0, unavailable, 20.3.0 x86_64)
=================================================================
System uname: macOS-11.2.3-x86_64-i386-64bit
Timestamp of repository gentoo_prefix: Sun, 28 Mar 2021 11:27:20 +0000
Head commit of repository gentoo_prefix: 8752b44eb4b7e49cd244f1368f41673b6ccf000d
sh bash 5.1_p4
ld xtools-2.2.4 ld (Gentoo binutils-apple-8.2.1-r101)
app-shells/bash:      5.1_p4::gentoo_prefix
dev-lang/perl:        5.32.1::gentoo_prefix
dev-lang/python:      3.7.8-r2::gentoo_prefix-dev, 3.8.7_p2::gentoo_prefix, 3.9.1_p2::gentoo_prefix
dev-util/cmake:       3.20.0::gentoo_prefix
sys-devel/autoconf:   2.69-r5::gentoo_prefix, 2.71::gentoo_prefix
sys-devel/automake:   1.16.3-r1::gentoo_prefix
sys-devel/gcc:        10.2.0-r5::gentoo_prefix
sys-devel/gcc-config: 1.9.1::gentoo_prefix
sys-devel/libtool:    2.4.6-r6::gentoo_prefix
sys-devel/make:       4.3::gentoo_prefix
Repositories:

gentoo_prefix-dev
    location: /Users/sam/Documents/git/prefix
    masters: gentoo_prefix
    priority: -9998
    eclass-overrides: gentoo_prefix

gentoo_prefix
    location: /Users/sam/Gentoo/var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="~x64-macos"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-apple-darwin20"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-apple-darwin20"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/Users/sam/Gentoo/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y --complete-graph --deep"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS=""
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs case-insensitive-fs config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix ipc-sandbox merge-sync multilib-strict network-sandbox news nostrip parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sfperms strict unknown-features-warn unmerge-logs unmerge-orphans unprivileged"
FFLAGS=""
GENTOO_MIRRORS="https://mirror.bytemark.co.uk/gentoo/ https://mirrors.gethosted.online/gentoo https://www.mirrorservice.org/sites/distfiles.gentoo.org/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-dead_strip_dylibs"
MAKEOPTS="-j4"
PKGDIR="/Users/sam/Gentoo/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/Users/sam/Gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/Users/sam/Gentoo/var/tmp"
USE="aqua coreaudio freetype ipv6 libglvnd ncurses nls objc objc++ prefix prefix-guest readline ssl unicode x64-macos zlib" ABI_X86="64" ADA_TARGET="gnat_2018" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8 python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
@mgorny
Copy link
Member

mgorny commented Apr 9, 2021

I need a good idea how to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants