Forums

Skip to content

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

clang (among other packages) has unmet requirements

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
21 posts • Page 1 of 1
Author
Message
bjdacre
n00b
n00b
User avatar
Posts: 35
Joined: Tue Nov 25, 2014 6:43 am
Location: Whangarei, NZ

clang (among other packages) has unmet requirements

  • Quote

Post by bjdacre » Mon Dec 09, 2019 1:18 am

Gentlepeople,

I have been trying to update two laptops and they both running into the same problem;

Code: Select all

The following REQUIRED_USE flag constraints are unsatisfied:
    python_single_target_python2_7
They all previously compiled successfully with

Code: Select all

PYTHON_TARGETS="python2_7
according to emerge --info.

Among the other packages were itstools and tdb. I got itstools to move on by setting

Code: Select all

=dev-util/itstool-2.0.2 python_single_target_python2_7
in package use, but then tdb came up and to my mind there was something bigger wrong.
Also, I was reluctant to use >= because the next version of itstool appears to support python 3...

Brendan
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

Re: clang (among other packages) has unmet requirements

  • Quote

Post by fedeliallalinea » Mon Dec 09, 2019 6:43 am

bjdacre wrote:Among the other packages were itstools and tdb. I got itstools to move on by setting

Code: Select all

=dev-util/itstool-2.0.2 python_single_target_python2_7
in package use, but then tdb came up and to my mind there was something bigger wrong.
dev-util/itstool-2.0.2 has not python_single_target_python2_7 use flag

Code: Select all

[ebuild  N     ] dev-util/itstool-2.0.2::gentoo  PYTHON_TARGETS="python2_7" 0 KiB
you can post exact emerge output?
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
snIP3r
l33t
l33t
Posts: 866
Joined: Fri May 21, 2004 6:21 pm
Location: germany

  • Quote

Post by snIP3r » Mon Dec 09, 2019 6:54 am

hi all!

same here:

Code: Select all

area52 ~ # emerge -uavDN world

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies /

!!! Problem resolving dependencies for sys-libs/ldb from @selected                                                                                    ... done!

!!! The ebuild selected to satisfy "sys-libs/ldb" has unmet requirements.
- sys-libs/ldb-1.3.6::gentoo USE="ldap python -doc" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="-python2_7" PYTHON_TARGETS="python2_7"

  The following REQUIRED_USE flag constraints are unsatisfied:
    python? ( python_single_target_python2_7 )

  The above constraints are a subset of the following complete expression:
    python? ( exactly-one-of ( python_single_target_python2_7 ) python_single_target_python2_7? ( python_targets_python2_7 ) )

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
and ldb is just the beginning. more and more packages are listed when i add the mentioned package...

emerge --info:

Code: Select all

area52 ~ # emerge --info
Portage 2.3.79 (python 2.7.16-final-0, default/linux/amd64/17.0, gcc-8.3.0, glibc-2.29-r2, 4.19.23-gentoo x86_64)
=================================================================
System uname: Linux-4.19.23-gentoo-x86_64-Intel-R-_Core-TM-_i3-4130T_CPU_@_2.90GHz-with-gentoo-2.6
KiB Mem:     8136268 total,    419192 free
KiB Swap:    2096060 total,   1990116 free
Timestamp of repository gentoo: Mon, 09 Dec 2019 06:15:01 +0000
Head commit of repository gentoo: 27d3e4549dfcbc89442c54b4e5c602b274284203
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.28.2-r1::gentoo
dev-lang/python:          2.7.16::gentoo, 3.5.7::gentoo, 3.6.9::gentoo
dev-util/cmake:           3.14.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.26.1::gentoo, 2.28-r2::gentoo, 2.28.1::gentoo, 2.29.1-r1::gentoo, 2.30-r4::gentoo, 2.31.1-r6::gentoo, 2.3                                                                                     2-r1::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo, 8.3.0-r1::gentoo, 9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24

foo-overlay
    location: /var/lib/layman/foo-overlay
    masters: gentoo
    priority: 50

vdr-devel
    location: /var/lib/layman/vdr-devel
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=haswell -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/fax /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/vdr/record /var/lib/sabnzbd/config /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.1/ext-active/ /etc/                                                                                     php/apache2-php7.2/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cgi-php7.3/e                                                                                     xt-active/ /etc/php/cli-php7.1/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/termi                                                                                     nfo"
CXXFLAGS="-march=haswell -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HO                                                                                     ME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-syn                                                                                     c multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs                                                                                      unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://gentoo.mneisen.org/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de                                                                                     /gentoo/ rsync://mirror.netcologne.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ http:/                                                                                     /ftp.halifax.rwth-aachen.de/gentoo/ rsync://ftp.halifax.rwth-aachen.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.spline                                                                                     .inf.fu-berlin.de/mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.uni-erlange                                                                                     n.de/pub/mirrors/gentoo ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp-stud.hs-esslingen.de/gentoo/ http://ftp-stud.hs-esslingen.de/pub/                                                                                     Mirrors/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/tmp"
USE="acl acpi amd64 apache2 apm berkdb bzip2 cli crypt cxx dri dvd fortran gdbm iconv ipv6 jbig libtirpc logrotate maildir multilib ncurses nls nodropro                                                                                     ot nptl oav openmp pam pcre perl python readline samba seccomp split-usr sqlite ssl tcpd unicode usb xattr xml xml2 xvid zlib" ABI_X86="64" ADA_TARGET="                                                                                     gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m                                                                                      maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_core authz_core authn_d                                                                                     bd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock                                                                                      dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negot                                                                                     iation perl proxy proxy_ajp proxy_connect proxy_http rewrite security setenvif so socache_shmcb speling status unique_id unixd userdir usertrack vhost_a                                                                                     lias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" EL                                                                                     IBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver olds                                                                                     tyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_D                                                                                     EVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_M                                                                                     ODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATIO                                                                                     N="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY                                                                                     _TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan                                                                                      length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORT                                                                                     AGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
what to do???
thx
snIP3r
Intel i3-4130T on ASUS P9D-X
Kernel 6.6.52-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Mon Dec 09, 2019 7:10 am

snIP3r, in your case you should add python_single_target_python2_7 use flag to sys-libs/ldb package.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
snIP3r
l33t
l33t
Posts: 866
Joined: Fri May 21, 2004 6:21 pm
Location: germany

  • Quote

Post by snIP3r » Mon Dec 09, 2019 7:20 am

thats no problem. but after i have done this, another package wants this setting too and so on... so i assume this is a more general issue...
Intel i3-4130T on ASUS P9D-X
Kernel 6.6.52-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Top
Ionen
Developer
Developer
User avatar
Posts: 3014
Joined: Thu Dec 06, 2018 2:23 pm

  • Quote

Post by Ionen » Mon Dec 09, 2019 7:37 am

Have you tried to --sync again? There were some changes recently regarding python targets that were later partially reverted, maybe you caught a bad commit. Everything seems fine right "now" but not sure for earlier.
Last edited by Ionen on Mon Dec 09, 2019 7:49 am, edited 2 times in total.
Top
snIP3r
l33t
l33t
Posts: 866
Joined: Fri May 21, 2004 6:21 pm
Location: germany

  • Quote

Post by snIP3r » Mon Dec 09, 2019 7:48 am

Ionen wrote:Have you tried to --sync again? There were some changes recently regarding python targets that were later partially reverted, maybe you caught a bad commit. Everything seems fine right "now" but not sure for earlier.
yes! synced just 40 mins ago...
Intel i3-4130T on ASUS P9D-X
Kernel 6.6.52-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Top
Ionen
Developer
Developer
User avatar
Posts: 3014
Joined: Thu Dec 06, 2018 2:23 pm

  • Quote

Post by Ionen » Mon Dec 09, 2019 7:57 am

Without even specifying any additional USE flag, seems I can just emerge =sys-libs/ldb-1.3.6 without problems (my single target is 3_6 and targets 2_7+3_6 like your emerge --info), I'm confused why it's attempting to -python2_7 for you.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Mon Dec 09, 2019 8:05 am

Ionen wrote:Without even specifying any additional USE flag, seems I can just emerge =sys-libs/ldb-1.3.6 without problems (my single target is 3_6 and targets 2_7+3_6 like your emerge --info), I'm confused why it's attempting to -python2_7 for you.
Some entry in package.use? What return command grep -r python_single_target /etc/portage/package.use?
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
snIP3r
l33t
l33t
Posts: 866
Joined: Fri May 21, 2004 6:21 pm
Location: germany

  • Quote

Post by snIP3r » Mon Dec 09, 2019 8:09 am

in my case:

Code: Select all

grep -r python_single_target /etc/portage/package.use
app-text/asciidoc python_single_target_python2_7
Intel i3-4130T on ASUS P9D-X
Kernel 6.6.52-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Top
bjdacre
n00b
n00b
User avatar
Posts: 35
Joined: Tue Nov 25, 2014 6:43 am
Location: Whangarei, NZ

Re: clang (among other packages) has unmet requirements

  • Quote

Post by bjdacre » Mon Dec 09, 2019 2:06 pm

fedeliallalinea wrote: you can post exact emerge output?

Code: Select all

!!! The ebuild selected to satisfy "dev-util/itstool" has unmet requirements.
- dev-util/itstool-2.0.2::gentoo USE="" ABI_X86="(64)" PYTHON_SINGLE_TARGET="-python2_7" PYTHON_TARGETS="python2_7"

  The following REQUIRED_USE flag constraints are unsatisfied:
    python_single_target_python2_7

  The above constraints are a subset of the following complete expression:
    exactly-one-of ( python_single_target_python2_7 ) python_single_target_python2_7? ( python_targets_python2_7 )

(dependency required by "app-text/evince-3.32.1::gentoo" [ebuild])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
Also

Code: Select all

eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.6 (fallback)
  [2]   python2.7 (fallback)

Code: Select all

emerge --info dev-util/itstool

....
PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6"
....
dev-util/itstool-2.0.2::gentoo was built with the following:
USE="" ABI_X86="(64)" PYTHON_TARGETS="python2_7"
Top
freke
Veteran
Veteran
Posts: 1136
Joined: Thu Jan 23, 2003 3:17 pm
Location: Somewhere in Denmark
Contact:
Contact freke
Website

  • Quote

Post by freke » Mon Dec 09, 2019 6:33 pm

Probably doesn't matter - but they're both listed as (fallback)?

I get

Code: Select all

mail ~ # eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Don't know if you need to

Code: Select all

eselect python cleanup
and set interpreters for --python2 and --python3?

Also your emerge --info says

Code: Select all

Portage 2.3.79 (python 2.7.16-final-0, default/linux/amd64/17.0, gcc-8.3.0, glibc-2.29-r2, 4.19.23-gentoo x86_64)
which suggests Python2.7 as default?
I have

Code: Select all

Portage 2.3.79 (python 3.6.9-final-0, default/linux/amd64/17.1/no-multilib/hardened, gcc-9.2.0, glibc-2.29-r2, 5.4.2-gentoo x86_64)
(although I'm at 17.1-profile)

I have not set PYTHON_TARGETS nor PYTHON_SINGLE_TARGET in make.conf.

And your emerge --info says Python3.5 is installed (though not listed in eselect python list?)?
Do you need to do an emerge --depclean?
Top
bjdacre
n00b
n00b
User avatar
Posts: 35
Joined: Tue Nov 25, 2014 6:43 am
Location: Whangarei, NZ

  • Quote

Post by bjdacre » Tue Dec 10, 2019 3:50 am

So I know this is a bit random, but in trying to understand what is going on, I have been reading ebuilds and not getting very far, but I have noticed that they seem to inherit python-single-r1 and this eclass is dated 2019/12/08 on my system, so it has been updated in the last few days, perhaps coinciding with my update problems.

I tried to read it, but it will take more time than I have as I have to go to work, but maybe someone who understands the syntax a bit better might be able to get a head start on me...
Top
javeree
Guru
Guru
Posts: 465
Joined: Sun Jan 29, 2006 5:17 pm

  • Quote

Post by javeree » Thu Dec 12, 2019 11:59 am

I see the same thing happening over here. lots of packages that should not pull in python2_7 at all complain because one of their dependencies requires

Code: Select all

  The following REQUIRED_USE flag constraints are unsatisfied:
    python_single_target_python2_7

  The above constraints are a subset of the following complete expression:
    exactly-one-of ( python_single_target_python2_7 ) python_single_target_python2_7? ( python_targets_python2_7 )
I have seen it with gtk-doc (dependency of pylint)
itstool (dependency of gnumeric)
clang (dependency of qt-creator)

And it also started quite recently ( a few day ago)

[Moderator edit: added [code] tags to preserve output layout. -Hu]
Top
Ionen
Developer
Developer
User avatar
Posts: 3014
Joined: Thu Dec 06, 2018 2:23 pm

  • Quote

Post by Ionen » Thu Dec 12, 2019 12:14 pm

javeree wrote:I see the same thing happening over here. lots of packages that should not pull in python2_7 at all complain because one of their dependencies requires
Yeah, stable version of clang-8.0.1 and itstool-2.0.2 are py2.7-only (need ~unstable version for py3), gtk-doc is py2.7-only either way. This issue seem to happen only on py2.7-only packages.

As mentioned above, there was a recent change to the python-single-r1 eclass which "appear" to be causing this, but those py2.7 packages work fine for me so I'm not sure (might be different configurations or something, my own targets are just profile defaults, but I do run ~unstable system-wide except for not having other versions but 2.7 and 3.6 installed).

There's another newer thread about this, but it's all over the place and probably not going to help.
Top
freke
Veteran
Veteran
Posts: 1136
Joined: Thu Jan 23, 2003 3:17 pm
Location: Somewhere in Denmark
Contact:
Contact freke
Website

  • Quote

Post by freke » Thu Dec 12, 2019 1:53 pm

If you're using the default from profile (for 17.1 that is PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6"), remove PYTHON_TARGETS and PYTHON_SINGLE_TARGET from make.conf, for me portage then automagically adds PYTHON_SINGLE_TARGET="python2_7" for those packages that needs that.
Top
bjdacre
n00b
n00b
User avatar
Posts: 35
Joined: Tue Nov 25, 2014 6:43 am
Location: Whangarei, NZ

  • Quote

Post by bjdacre » Thu Dec 12, 2019 1:58 pm

OK, so I just commented out PYTHON_TARGETS etc from my make.conf, re-ran an update and now it is updating...

There are 58 updates (including some recompiles) so I will have to wait a while to find out if it all works and I still have a working system.
Top
snIP3r
l33t
l33t
Posts: 866
Joined: Fri May 21, 2004 6:21 pm
Location: germany

  • Quote

Post by snIP3r » Sun Dec 15, 2019 11:32 am

ok, we have some movement here: yesterday after my latest sync i can emerge system as normal... tested already on a testsystem and its working ;)
Intel i3-4130T on ASUS P9D-X
Kernel 6.6.52-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Top
binro
l33t
l33t
User avatar
Posts: 753
Joined: Fri May 06, 2005 7:16 pm
Location: Bangkok

  • Quote

Post by binro » Fri Jan 10, 2020 1:56 pm

I am getting a similar problem today:

Code: Select all

# emerge -av sys-devel/clang

These are the packages that would be merged, in order:

Calculating dependencies |

!!! Problem resolving dependencies for sys-devel/clang
... done!

!!! The ebuild selected to satisfy "sys-devel/clang" has unmet requirements.
- sys-devel/clang-9.0.1::gentoo USE="static-analyzer xml -debug -default-compiler-rt -default-libcxx -doc -test" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARM -Hexagon -Lanai -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ -WebAssembly -XCore" PYTHON_SINGLE_TARGET="python2_7 python3_6 -python3_7" PYTHON_TARGETS="python2_7 python3_6 -python3_7"

  The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( python_single_target_python2_7 python_single_target_python3_6 python_single_target_python3_7 )

  The above constraints are a subset of the following complete expression:
    exactly-one-of ( python_single_target_python2_7 python_single_target_python3_6 python_single_target_python3_7 ) python_single_target_python2_7? ( python_targets_python2_7 ) python_single_target_python3_6? ( python_targets_python3_6 ) python_single_target_python3_7? ( python_targets_python3_7 ) any-of ( llvm_targets_AArch64 llvm_targets_AMDGPU llvm_targets_ARM llvm_targets_BPF llvm_targets_Hexagon llvm_targets_Lanai llvm_targets_Mips llvm_targets_MSP430 llvm_targets_NVPTX llvm_targets_PowerPC llvm_targets_RISCV llvm_targets_Sparc llvm_targets_SystemZ llvm_targets_WebAssembly llvm_targets_X86 llvm_targets_XCore )
As recommended I commented-out PYTHON_TARGET and PYTHON_SINGLE_TARGET from make.conf, added
sys-devel/clang python_single_target_python2_7
to package.use but no difference. Anyone any ideas?

Thanks
Robin
"Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Fri Jan 10, 2020 2:43 pm

binro wrote:Anyone any ideas?
Remove entry clang and python_single_target_python2_7 in package.use. You can have only one entry selected from PYTHON_SINGLE_TARGET and default is python_single_target_python3_6
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
binro
l33t
l33t
User avatar
Posts: 753
Joined: Fri May 06, 2005 7:16 pm
Location: Bangkok

  • Quote

Post by binro » Fri Jan 10, 2020 3:26 pm

That did it, thanks! :)
"Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
Top
Post Reply

21 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

 

 

magic