Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]LLVM 3 blocking LLVM 4+
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Laachax
n00b
n00b


Joined: 03 Jun 2017
Posts: 31
Location: Null island

PostPosted: Thu Jul 27, 2017 5:46 pm    Post subject: [Solved]LLVM 3 blocking LLVM 4+ Reply with quote

Hello everyone, I'm still kinda new to gentoo and I was planning to upgrade my llvm to 4.0 or better to reap the performance benefits(and have the portage slot advantage). But I seem to have reached an impass.

Code:
Calculating dependencies... done!
[ebuild  N    ~] sys-devel/llvm-common-4.0.1
[ebuild  N     ] dev-perl/OLE-StorageLite-0.190.0-r1
[ebuild  N     ] dev-perl/Unicode-Map-0.112.0-r1
[ebuild  N     ] dev-perl/Crypt-RC4-2.020.0-r1
[ebuild  N     ] virtual/perl-XSLoader-0.220.0-r1
[ebuild  N     ] virtual/perl-IO-1.360.100_rc-r1
[ebuild  N     ] dev-perl/Digest-Perl-MD5-1.900.0
[ebuild  N     ] dev-perl/IO-stringy-2.111.0
[ebuild  N     ] dev-perl/Text-CSV_XS-1.280.0  USE="-examples {-test}"
[ebuild  N     ] dev-perl/Spreadsheet-ParseExcel-0.650.0  USE="unicode -cjk {-test}"
[ebuild  N     ] dev-python/snowballstemmer-1.2.0  PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-pypy3) (-python3_5) (-python3_6)"
[ebuild  N     ] dev-python/imagesize-0.7.1  USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-pypy3) (-python3_5) (-python3_6)"
[ebuild  N     ] dev-python/sphinx_rtd_theme-0.1.9  PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-pypy3) (-python3_5) (-python3_6)"
[ebuild  N     ] dev-python/alabaster-0.7.9  PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-pypy3) (-python3_5) (-python3_6)"
[ebuild  N     ] dev-python/markupsafe-0.23  PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-pypy3) (-python3_5) (-python3_6)"
[ebuild  N     ] dev-python/Babel-2.3.4  USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-pypy3) (-python3_5) (-python3_6)"
[ebuild  N     ] dev-python/jinja-2.9.5  USE="-doc -examples {-test}" PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-pypy3) (-python3_5) (-python3_6)"
[ebuild  N     ] dev-texlive/texlive-plainextra-2016  USE="source -doc"
[ebuild  N     ] dev-tex/xcolor-2.12  USE="-doc"
[ebuild  N     ] virtual/texi2dvi-0
[ebuild  N     ] app-text/dvipng-1.15  USE="truetype {-test}"
[ebuild  N     ] dev-tex/pgf-3.0.1-r1  USE="source -doc"
[ebuild  N     ] dev-texlive/texlive-pictures-2016  USE="source -doc"
[ebuild  N     ] dev-texlive/texlive-latexextra-2016  USE="source -doc"
[ebuild  N     ] dev-python/sphinx-1.5.2  USE="latex -doc -net {-test}" PYTHON_TARGETS="python2_7 python3_4 (-python3_5) (-python3_6)"
[ebuild  NS   ~] sys-devel/llvm-4.0.1 [3.9.1-r1] USE="doc gold libffi ncurses -debug -libedit {-test}" ABI_X86="32 (64) (-x32)" \
                     LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARM -Hexagon -Lanai -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ -XCore"
[ebuild  N    ~] sys-devel/llvmgold-4
[blocks B      ] sys-devel/llvm:0 ("sys-devel/llvm:0" is blocking sys-devel/llvm-4.0.1, sys-devel/llvmgold-4, sys-devel/llvm-common-4.0.1)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-devel/llvm-4.0.1:4/4::gentoo, ebuild scheduled for merge) pulled in by
    llvm
    >=sys-devel/llvm-3.9 required by (dev-libs/libclc-0.2.0_pre20160921:0/0::gentoo, installed)
    sys-devel/llvm[llvm_targets_AMDGPU] required by (media-libs/mesa-17.1.5:0/0::gentoo, installed)
    sys-devel/llvm:4[gold] required by (sys-devel/llvmgold-4:0/0::gentoo, ebuild scheduled for merge)

  (sys-devel/llvm-3.9.1-r1:0/3.9.1::gentoo, installed) pulled in by
    >=sys-devel/llvm-3.9.0:0/3.9.1=[abi_x86_32(-),abi_x86_64(-)] required by (media-libs/mesa-17.1.5:0/0::gentoo, installed)
    ~sys-devel/llvm-3.9.1[clang(-),debug=,python?,static-analyzer?,llvm_targets_AArch64?,llvm_targets_AMDGPU?,llvm_targets_ARM?,llvm_targets_BPF?,llvm_targets_Hexagon?
   ,llvm_targets_Mips?,llvm_targets_MSP430?,llvm_targets_NVPTX?,llvm_targets_PowerPC?,llvm_targets_Sparc?,llvm_targets_SystemZ?,llvm_targets_X86?, \
    llvm_targets_XCore?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,\
   abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (~sys-devel/llvm-3.9.1[clang(-),-debug,python,static-analyzer,llvm_targets_AMDGPU,\
   llvm_targets_BPF,llvm_targets_NVPTX,llvm_targets_X86,abi_x86_32(-),abi_x86_64(-)]) required by (sys-devel/clang-3.9.1-r100:0/3.9.1::gentoo, installed)
    >=sys-devel/llvm-3.6.0:0/3.9.1=[abi_x86_32(-),abi_x86_64(-)] required by (media-libs/mesa-17.1.5:0/0::gentoo, installed)
    >=sys-devel/llvm-3.6.0:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,\
    abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (>=sys-devel/llvm-3.6.0:=[abi_x86_32(-),abi_x86_64(-)]) required by (media-libs/mesa-17.1.5:0/0::gentoo, installed)
    >=sys-devel/llvm-3.9.0:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?\
   ,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (>=sys-devel/llvm-3.9.0:=[abi_x86_32(-),abi_x86_64(-)]) required by (media-libs/mesa-17.1.5:0/0::gentoo, installed)



Any help is appreciated, because I frankly don't know what I'm doing.

[Line breaks added by NeddySeagoon]


Last edited by Laachax on Fri Jul 28, 2017 11:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Thu Jul 27, 2017 6:15 pm    Post subject: Reply with quote

Laachax,

Your emerge output shows that you are mixing the stable and testing branches.
Why do you need a testing llvm?

Once you mix things like this, its up to you to find a set of packages that work. You keyword once package and that may have dependencies that need to be keyworded and those packages in turn ... and so on.

Which brings us back to what do you want to do?
llvm is not something you normally install deliberately. It's pulled in as a dependency of something.

Further, llvm is only slotted from version 4 onwards.
Code:
$ equery d llvm
 * These packages depend on llvm:
media-libs/mesa-9999 (vulkan ? >=sys-devel/llvm-3.9.0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
                     (>=sys-devel/llvm-3.6.0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
                     (video_cards_radeonsi ? sys-devel/llvm[llvm_targets_AMDGPU])
                     (video_cards_radeonsi ? sys-devel/llvm[video_cards_radeon])
                     (opencl ? >=sys-devel/llvm-3.6.0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
sys-devel/llvm-4.0.1 (>=sys-devel/llvm-3.5)

It appears that mesa-9999 is the only package I have that depends on llvm.

ebuilds with version numbers of 9999 and 99999999 point to the live code in the upstream repository. At any time, it may not build and if it builds, it may not work.
You presently have media-libs/mesa-17.1.5, which is the latest testing mesa.
I recommend you don't try the live mesa but its your Gentoo. If it breaks, Xorg won't work but as long as you are confident of fixing it without a GUI, its harmless.

You learn more when it breaks :)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Laachax
n00b
n00b


Joined: 03 Jun 2017
Posts: 31
Location: Null island

PostPosted: Thu Jul 27, 2017 6:24 pm    Post subject: Reply with quote

I'm looking to be able to use the slots and some nice performance upgrades(Since I have fairly new mesa and use AMDGPU).

I was considering doing mesa-9999 as well, I don't mind it randomly exploding x)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Thu Jul 27, 2017 6:27 pm    Post subject: Reply with quote

Laachax,

Go for it then.

You might want to make friends with quickpkg and emerge -K before you start.
That will make backing out easier.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Laachax
n00b
n00b


Joined: 03 Jun 2017
Posts: 31
Location: Null island

PostPosted: Thu Jul 27, 2017 6:38 pm    Post subject: Reply with quote

Ooo good idea, forgot about those options. Now time to get around this block, not sure what to do.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Thu Jul 27, 2017 6:43 pm    Post subject: Reply with quote

Laachax

quickpkg mesa and llvm because they will be replaced.
mesa-9999 is not keyworded at all, so add
Code:
=media-libs/mesa-9999 **
to package.accept_keywords.
Code:
emerge -1av mesa
should offer to update mesa, which in turn will pull in llvm-4.x

You may need to keyword other things .. emerge will tell you.

Homework,
What does ** mean in package.accept_keywords?
Why emerge -1... ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Laachax
n00b
n00b


Joined: 03 Jun 2017
Posts: 31
Location: Null island

PostPosted: Thu Jul 27, 2017 7:49 pm    Post subject: Reply with quote

** means use the latest visible package, which is 9999 right?

-1 is a one shot so it's not in the @world, thus it can avoid some things?

When I do
Code:
emerge -1av mesa
it doesn't pull in llvm 4. Should I do that anyways then remove llvm3 and grab llvm4, then finally do a non-oneshot to get mesa-9999 compiled with llvm4?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Thu Jul 27, 2017 8:55 pm    Post subject: Reply with quote

Laachax,

** matches any keyword. Including none at all, which is how all the live ebuilds are keyworded. They are invisible until you do the **
-1, --oneshot indeed keeps things out of world.

mesa is a dependency of either Xorg or some video drivers.
llvm is a dependency of mesa, so nome of what you are doing needs to be listed in world.
It won't matter right now but when dependencies change, things listed in world will be kept, even if they are not needed.

Post the output of
Code:
emerge --info
and
Code:
emerge -1av mesa

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Laachax
n00b
n00b


Joined: 03 Jun 2017
Posts: 31
Location: Null island

PostPosted: Thu Jul 27, 2017 9:47 pm    Post subject: Reply with quote

emerge --info

Code:

Portage 2.3.6 (python 3.4.6-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-6.3.0, glibc-2.23-r4, 4.11.10-ck x86_64)
=================================================================
System uname: Linux-4.11.10-ck-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.3
KiB Mem:     8126564 total,    526940 free
KiB Swap:    8387580 total,   8387580 free
Timestamp of repository gentoo: Fri, 21 Jul 2017 20:00:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28 p1.2) 2.28
distcc 3.2rc1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo, 3.6.1-r1::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.26.3::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.28-r2::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 6.3.0::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

bobwya
    location: /var/lib/layman/bobwya
    masters: gentoo
    priority: 50

google-cloud-sdk
    location: /var/lib/layman/google-cloud-sdk
    masters: gentoo
    priority: 50

jorgicio
    location: /var/lib/layman/jorgicio
    masters: gentoo
    priority: 50

slyfox
    location: /var/lib/layman/slyfox
    masters: gentoo
    priority: 50

steam-overlay
    location: /usr/local/portage/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

Installed sets: @steam
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distcc distcc-pump distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.rit.edu/gentoo/ rsync://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://mirror.iawnet.sandia.gov/gentoo/ http://cosmos.illinois.edu/pub/gentoo/ ftp://cosmos.illinois.edu/pub/gentoo/ rsync://gentoo.cs.uni.edu/gentoo-distfiles http://gentoo.cs.uni.edu/"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j41 -l4"
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="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups curl cxx dbus declarative dri dts dvd dvdr emboss encode exif fam fbcon ffmpeg firefox flac fortran ftp gdbm gif git glamor gnutls gpm gtk gtk3 gzip handbook iconv icu ipv6 jpeg kde kipi kwallet lame latex lcms ldap legacy-systray libnotify lm_sensors lzma lzo mad mng modules mp3 mp4 mpeg multilib mysql ncurses nls nptl ogg openal opengl openmp pam pango pcre pdf phonon plasma png policykit posix postgres ppds python qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session smp sockets sound source spell sqlit ssl startup-notification static-libs svg symlink tcpd threads tiff truetype udev udisks unicode upower usb vdpau vorbis vulkan widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64 32" 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="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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2 sse3 sse4a 3dnow 3dnownext" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi radeon" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON



emerge -1av mesa

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

Calculating dependencies... done!
[ebuild  N     ] dev-python/markupsafe-0.23::gentoo  PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-pypy3) (-python3_5) (-python3_6)" 14 KiB
[ebuild  N     ] dev-python/mako-1.0.3::gentoo  USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-python3_5) (-python3_6)" 552 KiB
[ebuild  N    ~] dev-libs/wayland-protocols-1.9::gentoo  114 KiB
[ebuild     U *] media-libs/mesa-9999::gentoo [17.1.5::gentoo] USE="d3d9 dri3 egl gallium gbm gles1 gles2 llvm nptl opencl openmax osmesa vaapi* valgrind vdpau vulkan wayland xa xvmc -bindist -classic* -debug -pax_kernel -pic (-selinux) -unwind" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="radeon radeonsi (-freedreno) -i915 -i965 -imx -intel -nouveau -r100 -r200 -r300 -r600 (-vc4) (-vivante) -vmware" 0 KiB

Total: 4 packages (1 upgrade, 3 new), Size of downloads: 679 KiB

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by media-libs/mesa-9999::gentoo[wayland]
# required by mesa (argument)
=dev-libs/wayland-protocols-1.9 ~amd64
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Thu Jul 27, 2017 10:21 pm    Post subject: Reply with quote

Laachax,

wayland should be a global USE flag.

You either want wayland or you don't. Its rather like Xorg ... you want it all or you want none of it.
You have wayland set on something in package.use

To build mesa with wayland support you need the testing dev-libs/wayland-protocols.
Don't do what portage suggests. The[code =dev-libs/wayland-protocols-1.9 ~amd64 [/code]will lock you to a version, that will store up problems for later.
Code:
dev-libs/wayland-protocols ~amd64
lets you upgrade to any testing version.

I misread the mesa ebuild. The llvm fragment is
Code:
         llvm? (
                  video_cards_radeonsi? (
                        virtual/libelf:0=[${MULTILIB_USEDEP}]
                        vulkan? ( >=sys-devel/llvm-3.9.0:=[${MULTILIB_USEDEP}] )
                )
                video_cards_r600? (
                        virtual/libelf:0=[${MULTILIB_USEDEP}]
                )
                video_cards_radeon? (
                        virtual/libelf:0=[${MULTILIB_USEDEP}]
                )
                >=sys-devel/llvm-3.6.0:=[${MULTILIB_USEDEP}]
        )
so llvm-4 .x is not forced at all. >=sys-devel/llvm-3.9.0 will do.
This should mean that testing mesa will do but if you don't mind it exploding ...


Fix the wayland USE

emerge -1 llvm
emerge -1 mesa to use the new llvm.
Portage will then want you to do emerge @preserved-rebuild the radeon and radeonsi drivers using the new mesa,

-- edit --

Code:
MAKEOPTS="-j41 -l4"
That's some compile farm you have there.
Does it ever run more than 4 make jobs?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Laachax
n00b
n00b


Joined: 03 Jun 2017
Posts: 31
Location: Null island

PostPosted: Fri Jul 28, 2017 12:27 am    Post subject: Reply with quote

Wow, I totally thought I had wayland in my make.conf. Thanks for catching that for me, as I was planning on checking out wayland soon and that certainly would have been a rude awakening!

Now that I'm waiting on that to compile I checked emerge -p1 llvm and it still gets blocked by the llvm3.9 my system has, doing -pvc leads me to believe I can't remove it without removing mesa.

Code:
Calculating dependencies... done!
  sys-devel/llvm-3.9.1-r1 pulled in by:
    dev-libs/libclc-0.2.0_pre20160921 requires >=sys-devel/llvm-3.9
    media-libs/mesa-17.1.5 requires sys-devel/llvm[llvm_targets_AMDGPU], >=sys-devel/llvm-3.6.0:=[abi_x86_32(-),abi_x86_64(-)], >=sys-devel/llvm-3.9.0:=[abi_x86_32(-),abi_x86_64(-)], >=sys-devel/llvm-3.6.0:0/3.9.1=[abi_x86_32(-),abi_x86_64(-)], >=sys-devel/llvm-3.9.0:0/3.9.1=[abi_x86_32(-),abi_x86_64(-)]
    sys-devel/clang-3.9.1-r100 requires ~sys-devel/llvm-3.9.1[clang(-),-debug,python,static-analyzer,llvm_targets_AMDGPU,llvm_targets_BPF,llvm_targets_NVPTX,llvm_targets_X86,abi_x86_32(-),abi_x86_64(-)]



I have a server with a gentoo vm and a few computers in my house are getting converted over to gentoo so I threw distcc on them. It's like the jbod of compiling. If you need to configure more than four jobs then no it doesn't, I'll have to look into that.

This wayland compile will take a while x)

edit; yep llvm3 is still blocking installing llvm 4. But luckily I just remembered that you can do -C and reinstall it again. I'm dumb, thanks for the help and insight!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum