Mailing List Archive

what's wrong with my USE= statement in /etc/portage/make.conf?
It produced many errors when I tried to emerge @world.

Script started on 2020-10-18 15:02:00-04:00 [TERM="linux" TTY="/dev/tty1" COLUMNS="80" LINES="25"]
livecd /etc/portage # cat /etc/portage/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="--march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j9"
ACCEPTLICENSE="@EULA"
USE="a52 aac acpi accessibility alsa audiofile calendar cdda cdr crypt css debug dvdr espeak ffmpeg fftw flac fortran ftp git imap ipv6 mad mp3 mp4 mpeg mplayer mtp multilib mysql mysqli ncurses nntp ogg openal opus pcre pda pdf perl php pie plotutils portaudio posix postgres -pulseaudio python quicktime readline recode rss ruby sasl seccomp slang smp sndfile snmp sockets sound sox speex spell sqlite ssl static-libs subversion symlink syslog szip taglib tcl tcmalloc tcpd telemetry test threads tidy timidity udev udisks unicode unwind upnp upnp-av usb v4l vaapi vcd vdpau verify-sig videos vim-syntax vorbis wavpack wifi x264 xattr xml zip xv xvid zlib zstd"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C

GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo https://gentoo.osuosl.org/ http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ https://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/ rsync://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.cs.utah.edu/"

[.01;31mlivecd[.01;34m /etc/portage #[.00m emerge --ask --verbose --update --deep --newuse @world

[.32mThese are the packages that would be merged, in order:[.39;49;00m

Calculating dependencies  - / | / / \ \ | \ \ / | | / | - / | / / | - - - \ \ | \ \ | - \ \ \ |... done!

!!! The ebuild selected to satisfy "sys-auth/polkit" has unmet requirements.
- sys-auth/polkit-0.116-r1::gentoo USE="[.31;01mintrospection[.39;49;00m [.31;01mnls[.39;49;00m [.31;01mpam[.39;49;00m [.31;01mtest[.39;49;00m [.34;01m-elogind[.39;49;00m [.34;01m-examples[.39;49;00m [.34;01m-gtk[.39;49;00m [.34;01m-jit[.39;49;00m [.34;01m-kde[.39;49;00m ([.34;01m-selinux[.39;49;00m) [.34;01m-systemd[.39;49;00m" ABI_X86="([.31;01m64[.39;49;00m)"

The following REQUIRED_USE flag constraints are unsatisfied:
exactly-one-of ( elogind systemd )

(dependency required by "sys-auth/elogind-243.7::gentoo[policykit]" [ebuild])
(dependency required by "sys-auth/pambase-20201013::gentoo[elogind]" [ebuild])
(dependency required by "sys-libs/pam-1.4.0_p20200829::gentoo" [ebuild])
(dependency required by "sys-auth/passwdqc-1.4.0-r1::gentoo" [ebuild])
[.01;31mlivecd[.01;34m /etc/portage # exit
exit

Script done on 2020-10-18 15:02:45-04:00 [COMMAND_EXIT_CODE="1"]

--
Re: what's wrong with my USE= statement in /etc/portage/make.conf? [ In reply to ]
On Sun, Oct 18, 2020 at 03:06:19PM -0400, Jude DaShiell wrote:
> [.01;31mlivecd[.01;34m /etc/portage # emerge --ask --verbose --update --deep --newuse @world

Please filter your script with `ansifilter` to remove ANSI colour control codes.
Otherwise, output is remarkably difficult to read with the majority of pagers.
I've filtered further quotations for you.

> The following REQUIRED_USE flag constraints are unsatisfied:
> exactly-one-of ( elogind systemd )
>
> (dependency required by "sys-auth/elogind-243.7::gentoo[policykit]" [ebuild])
> (dependency required by "sys-auth/pambase-20201013::gentoo[elogind]" [ebuild])
> (dependency required by "sys-libs/pam-1.4.0_p20200829::gentoo" [ebuild])
> (dependency required by "sys-auth/passwdqc-1.4.0-r1::gentoo" [ebuild])

This does not really indicate an error in your make.conf file; you just need to
build Polkit with EITHER the `elogind` or `systemd` flags set, but you probably
don't want to set these flags globally. Polkit is pulled in as a dependency by
the listed packages.

Unless you're using systemd, add the following to your `package.use` listings
and see if the issue is resolved:

sys-auth/polkit elogind

This restriction is defined at [1], using the built-in XOR "^^" operator [2].
The "exactly-one-of" terminology is used to save non-developers the hassle of
trudging through the on-line Development Manual to find the meaning of obscure
notations.

[1] https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-auth/polkit/polkit-0.118.ebuild#n18
[2] https://devmanual.gentoo.org/ebuild-writing/variables/#required_use

--

Ashley Dixon
suugaku.co.uk

2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA
Re: what's wrong with my USE= statement in /etc/portage/make.conf? [ In reply to ]
On Sun, 18 Oct 2020, Ashley Dixon wrote:

> Date: Sun, 18 Oct 2020 15:42:06
> From: Ashley Dixon <ash@suugaku.co.uk>
> Reply-To: gentoo-user@lists.gentoo.org
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] what's wrong with my USE= statement in
> /etc/portage/make.conf?
>
> On Sun, Oct 18, 2020 at 03:06:19PM -0400, Jude DaShiell wrote:
> > [.01;31mlivecd[.01;34m /etc/portage # emerge --ask --verbose --update --deep --newuse @world
>
> Please filter your script with `ansifilter` to remove ANSI colour control codes.
> Otherwise, output is remarkably difficult to read with the majority of pagers.
> I've filtered further quotations for you.
>
> > The following REQUIRED_USE flag constraints are unsatisfied:
> > exactly-one-of ( elogind systemd )
> >
> > (dependency required by "sys-auth/elogind-243.7::gentoo[policykit]" [ebuild])
> > (dependency required by "sys-auth/pambase-20201013::gentoo[elogind]" [ebuild])
> > (dependency required by "sys-libs/pam-1.4.0_p20200829::gentoo" [ebuild])
> > (dependency required by "sys-auth/passwdqc-1.4.0-r1::gentoo" [ebuild])
>
> This does not really indicate an error in your make.conf file; you just need to
> build Polkit with EITHER the `elogind` or `systemd` flags set, but you probably
> don't want to set these flags globally. Polkit is pulled in as a dependency by
> the listed packages.
>
> Unless you're using systemd, add the following to your `package.use` listings
> and see if the issue is resolved:
>
> sys-auth/polkit elogind
>
> This restriction is defined at [1], using the built-in XOR "^^" operator [2].
> The "exactly-one-of" terminology is used to save non-developers the hassle of
> trudging through the on-line Development Manual to find the meaning of obscure
> notations.
>
> [1] https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-auth/polkit/polkit-0.118.ebuild#n18
> [2] https://devmanual.gentoo.org/ebuild-writing/variables/#required_use
>
The ansifilter package won't build on this system yet. Certainly one to
get in future though.
I have a /etc/portage/package.use subdirectory containing zz-autounmask
file.
Do I need to append sys-auth/polkit elogind to the end of that
zz-autounmask file?

--
Re: what's wrong with my USE= statement in /etc/portage/make.conf? [ In reply to ]
On Sun, Oct 18, 2020 at 04:45:06PM -0400, Jude DaShiell wrote:
> The ansifilter package won't build on this system yet. Certainly one to
> get in future though.

I'll see if I can send you a binary off-list. It's not a particularly
complicated package, so I reckon you should be able to run a pre-compiled
executable without many issues.

> I have a /etc/portage/package.use subdirectory containing zz-autounmask
> file.
> Do I need to append sys-auth/polkit elogind to the end of that
> zz-autounmask file?

If package.use is a directory, that's fine (and recommended). Every file in the
directory, and any subdirectories, contains package.use entries, all
concatenated together by Portage when processing. If you want, you could append
the entry to zz-autounmask, but you could also do something more elegant:

/etc/portage/package.use $ mkdir sys-auth
/etc/portage/package.use $ echo "sys-auth/polkit elogind" > sys-auth/polkit

--

Ashley Dixon
suugaku.co.uk

2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA
Re: what's wrong with my USE= statement in /etc/portage/make.conf? [ In reply to ]
On Sun, 18 Oct 2020, Ashley Dixon wrote:

> Date: Sun, 18 Oct 2020 17:12:45
> From: Ashley Dixon <ash@suugaku.co.uk>
> Reply-To: gentoo-user@lists.gentoo.org
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] what's wrong with my USE= statement in
> /etc/portage/make.conf?
>
> On Sun, Oct 18, 2020 at 04:45:06PM -0400, Jude DaShiell wrote:
> > The ansifilter package won't build on this system yet. Certainly one to
> > get in future though.
>
> I'll see if I can send you a binary off-list. It's not a particularly
> complicated package, so I reckon you should be able to run a pre-compiled
> executable without many issues.
>
> > I have a /etc/portage/package.use subdirectory containing zz-autounmask
> > file.
> > Do I need to append sys-auth/polkit elogind to the end of that
> > zz-autounmask file?
>
> If package.use is a directory, that's fine (and recommended). Every file in the
> directory, and any subdirectories, contains package.use entries, all
> concatenated together by Portage when processing. If you want, you could append
> the entry to zz-autounmask, but you could also do something more elegant:
>
> /etc/portage/package.use $ mkdir sys-auth
> /etc/portage/package.use $ echo "sys-auth/polkit elogind" > sys-auth/polkit
>
I hope the USE variable was entirely too rich. I shortened it
considerably and saved the make.conf file so some duplicate work can be
speeded up. I'm taking the system to bare metal and will use the
make.conf file I have without earlier steps that are causing several
packages to compile fail.
I will be curious if I get further this next time.
More later when I discover and I'll search ansifilter on other linux
flavors since that to my mind is a seriously useful program when handling
typescript files.

>

--