Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940619 - dev-dotnet/dotnet-sdk-8.0.107 fails doing @preserved-rebuild for lttng-ust
Summary: dev-dotnet/dotnet-sdk-8.0.107 fails doing @preserved-rebuild for lttng-ust
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-01 17:13 UTC by anna
Modified: 2024-10-03 23:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (dotnet.tar.gz,129.79 KB, application/gzip)
2024-10-01 17:15 UTC, anna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description anna 2024-10-01 17:13:45 UTC
I am unable to update the lttng-ust preserved libs for the dotnet-sdk rebuild when I emerge @preserved-rebuild

Reproducible: Always

Steps to Reproduce:
emerge @preserved-rebuild
Actual Results:  
Failed compile

Expected Results:  
Successful compile

Portage 3.0.66.1 (python 3.12.6-final-0, default/linux/amd64/23.0/split-usr/desktop/plasma, gcc-14, glibc-2.40-r3, 6.11.1-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.11.1-gentoo-x86_64-AMD_Ryzen_9_7950X_16-Core_Processor-with-glibc2.40
KiB Mem:    31954388 total,    595976 free
KiB Swap:  134217724 total, 127951100 free
Timestamp of repository gentoo: Tue, 01 Oct 2024 15:00:00 +0000
Head commit of repository gentoo: 59d019e7421f99f97560e7d2fd64595da8a7e49c
Head commit of repository claytabase: 834bbfee97f02454383b27dfc16fd67eb568fca2

Timestamp of repository gogooverlay: Wed, 25 Sep 2024 11:19:26 +0000
Head commit of repository gogooverlay: 4aeba49e4744682a54e1e329a04e9a4a804663d2

Timestamp of repository guru: Tue, 01 Oct 2024 15:04:13 +0000
Head commit of repository guru: d0bf31f05c250e926ca04bcb61430228be80ac6f

Timestamp of repository hering-overlay: Wed, 25 Sep 2024 12:34:00 +0000
Head commit of repository hering-overlay: 2af25e52ebfaf594ae26d870d0455311de4e9372

Timestamp of repository menelkir: Wed, 25 Sep 2024 11:19:18 +0000
Head commit of repository menelkir: 5f5b20208445b2295eb0f5b97c49fdb7aa4c607d

Head commit of repository plex-overlay: f25e204a2b947d6db9f28cb7d40efa6b5e1baa97

Timestamp of repository robert7k: Thu, 26 Sep 2024 07:48:57 +0000
Head commit of repository robert7k: 7bac43812267af4768c2b0469d309d875bee3b6a

Timestamp of repository steam-overlay: Sat, 28 Sep 2024 20:51:00 +0000
Head commit of repository steam-overlay: fa47b2515a72363b4946c4e774e49fa5319cd4b4

Timestamp of repository torbrowser: Wed, 25 Sep 2024 11:19:12 +0000
Head commit of repository torbrowser: e84abdef565b8fb9ac38dcba7477dec78345a507

Timestamp of repository usenet-overlay: Thu, 12 Sep 2024 18:49:06 +0000
Head commit of repository usenet-overlay: b4a4f9e2e50540fd6755e141f05b6da7574e9ec2

Head commit of repository brother-overlay: c7e774490529149a447a06da85da595dc0ba4615

sh bash 5.2_p37
ld GNU ld (Gentoo 2.42 p6) 2.42.0
ccache version 4.10.2 [disabled]
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo, 1.17-r1::gentoo
dev-build/cmake:           3.30.4::gentoo
dev-build/libtool:         2.5.3::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.5.2::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.10.15_p1::gentoo, 3.11.10_p1::gentoo, 3.12.6_p4::gentoo, 3.13.0_rc2_p2::gentoo
dev-lang/rust:             1.81.0::gentoo
dev-util/ccache:           4.10.2::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.55.1::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.42-r2::gentoo, 2.43-r1::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.8::gentoo, 19.1.0::gentoo
sys-devel/gcc:             14.2.1_p20240921::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo, 18.1.8::gentoo
sys-devel/llvm:            17.0.6-r3::gentoo, 18.1.8-r4::gentoo, 19.1.0::gentoo
sys-kernel/linux-headers:  6.10::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

XaetaCore
    location: /home/anna/xaetacore
    masters: gentoo
    volatile: True

claytabase
    location: /var/db/repos/claytabase
    sync-type: git
    sync-uri: https://github.com/claybie/claytabase.git
    masters: gentoo
    volatile: False

gogooverlay
    location: /var/db/repos/gogooverlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gogooverlay.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

hering-overlay
    location: /var/db/repos/hering-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/hering-overlay.git
    masters: gentoo
    volatile: False

menelkir
    location: /var/db/repos/menelkir
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/menelkir.git
    masters: gentoo
    volatile: False

plex-overlay
    location: /var/db/repos/plex-overlay
    sync-type: git
    sync-uri: https://github.com/comio/plex-overlay
    masters: gentoo
    volatile: False

robert7k
    location: /var/db/repos/robert7k
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/robert7k.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

torbrowser
    location: /var/db/repos/torbrowser
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/torbrowser.git
    masters: gentoo
    volatile: False

usenet-overlay
    location: /var/db/repos/usenet-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/usenet-overlay.git
    masters: gentoo
    volatile: False

brother-overlay
    location: /usr/local/portage/brother-overlay
    sync-type: git
    sync-uri: https://github.com/stefan-langenmaier/brother-overlay.git
    masters: gentoo
    priority: 9999
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
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=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://mirrors.rit.edu/gentoo/ http://gentoo-mirror.flux.utah.edu/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j8"
PKGDIR="/var/cache/binpkgs"
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"
RUSTFLAGS="-C target-cpu=native"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kf6compat kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls nvidia ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline screencast sdl seccomp semantic-desktop sound spell split-usr ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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 aes avx avx2 avx512bw avx512cd avx512dq avx512f avx512vbmi avx512vl f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="nss" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

dev-dotnet/dotnet-sdk-8.0.107::gentoo was built with the following:
USE="" ABI_X86="(64)" LLVM_SLOT="18 -17"
Comment 1 anna 2024-10-01 17:15:39 UTC
Created attachment 904605 [details]
build log

build log
Comment 2 Mike Gilbert gentoo-dev 2024-10-02 19:06:59 UTC
Comment on attachment 904605 [details]
build log

Please do not put single files inside of a tar archive.
Comment 3 anna 2024-10-03 01:38:47 UTC
my apologies I'll make sure there's more than one file on the tape I'm archiving next time :)
Comment 4 Maciej Barć gentoo-dev 2024-10-03 03:03:15 UTC
I suppose the preserved rebuild is triggered by dev-util/lttng-ust?

Since dev-util/lttng-ust was the problematic pkg, so I did:

I have removed all dev-util/lttng-ust:0/2.12 files, then force-merged dev-util/lttng-ust:0/2.13 and dotnet-sdk and the build passes.

Anna:
- what was the cause of rebuild?
- does the build pass if you remove old dev-util/lttng-ust files?
Comment 5 anna 2024-10-03 15:08:21 UTC
After doing some world updates the last couple of days, @preserved-rebuild now looks like this:

 🐧 anna 08:03:48 AM 10/03/24 ξ‚° 🏠 ξ‚° βœ… ξ‚° sudo emerge --ask @preserved-rebuild
Password:

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

Calculating dependencies... done!
Dependency resolution took 25.37 s (backtrack: 4/20).

[ebuild  r  UD ] dev-util/lttng-ust-2.12.9 [2.13.8]
[ebuild   R    ] dev-db/azure-data-studio-1.37.0
[ebuild   R    ] dev-dotnet/dotnet-sdk-bin-6.0.417-r4
[ebuild   R    ] dev-dotnet/dotnet-sdk-bin-8.0.108
[ebuild  rR    ] dev-dotnet/dotnet-sdk-8.0.107

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-util/lttng-ust:0

  (dev-util/lttng-ust-2.13.8:0/2.13::gentoo, ebuild scheduled for merge) USE="-examples -numa -test" ABI_X86="(64)" conflicts with
    dev-util/lttng-ust:0/2.12 required by (dev-dotnet/dotnet-sdk-bin-8.0.108:8.0/8.0.8::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)"
                      ^^^^^^^
    dev-util/lttng-ust:0/2.12 required by (dev-dotnet/dotnet-sdk-bin-6.0.417-r4:6.0/6.0.25::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)"
                      ^^^^^^^


The following packages are causing rebuilds:

  (dev-util/lttng-ust-2.12.9:0/2.12::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (dev-dotnet/dotnet-sdk-8.0.107:8.0/8.0.7::gentoo, ebuild scheduled for merge)

It does seem like it is clinging to some old versions, but I'm not sure how to clean this up in a way that won't break everything, what would be the best way to proceed?
Comment 6 Maciej Barć gentoo-dev 2024-10-03 15:15:25 UTC
> [ebuild  r  UD ] dev-util/lttng-ust-2.12.9 [2.13.8]

Ok, so you are on the same page that I was yesterday when I returned back to old lttng-ust. EXCEPT that it passed for me.

Also looking at your situation: you have new dev-util/lttng-ust SOMEHOW but also pkgs that require old dev-util/lttng-ust - this should NOT be possible to happen.

I think if you issue "emerge -1 -a dev-util/lttng-ust dotnet-sdk-bin dotnet-sdk "
portage should deal with it.

For me it was:

```
$ emerge -1 -a dev-util/lttng-ust dotnet-sdk-bin dotnet-sdk                                                       
                                                                                                                   
These are the packages that would be merged, in order:                                                             
                                                                                                                   
Calculating dependencies  ... done!                                                                                
Dependency resolution took 15.33 s (backtrack: 0/20).                                                              
                                                                                                                   
[ebuild     UD~] dev-util/lttng-ust-2.12.9 [2.13.8]                                                                
[ebuild   R   ~] dev-dotnet/dotnet-sdk-bin-8.0.108                                                                 
[ebuild   R    ] dev-dotnet/dotnet-sdk-8.0.107                                                                     
                                                                                                                   
WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:                              
                                                                                                                   
dev-util/lttng-ust:0                                                                                               
                                                                                                                   
  (dev-util/lttng-ust-2.13.8:0/2.13::gentoo, ebuild scheduled for merge) USE="-examples -numa -test" ABI_X86="(64)"
 conflicts with                                                                                                    
    dev-util/lttng-ust:0/2.12 required by (dev-dotnet/dotnet-sdk-bin-8.0.108:8.0/8.0.8::gentoo, ebuild scheduled fo
r merge) USE="" ABI_X86="(64)"                                                                                     
                      ^^^^^^^                                                                                      
    dev-util/lttng-ust:0/2.12 required by (dev-util/azuredatastudio-1.49.1:0/0::gentoo, installed) USE="-kerberos" 
ABI_X86="(64)"                                                                                                     
                      ^^^^^^^                                                                                      
    dev-util/lttng-ust:0/2.12 required by (app-shells/pwsh-bin-7.4.5:7.4/7.4::gentoo, installed) USE="" ABI_X86="(6
4)"                                                                                                                
                      ^^^^^^^                                                                                      
    dev-util/lttng-ust:0/2.12 required by (dev-dotnet/dotnet-sdk-bin-6.0.417-r4:6.0/6.0.25::gentoo, installed) USE=
"" ABI_X86="(64)"                                                                                                  
                      ^^^^^^^ 

... then ENTER and passes
```
Comment 7 Maciej Barć gentoo-dev 2024-10-03 15:17:22 UTC
ALSO dev-db/azure-data-studio is NOT from ::gentoo, Gentoo's version is dev-util/azuredatastudio
Comment 8 anna 2024-10-03 17:51:29 UTC
Ah good eye, I had forgotten I had installed that from some overlay before it was available in gentoo. I do not currently need it so I can deselect it and then switch to the gentoo version if I want to use it again. I will report back if this clears the issue.
Comment 9 anna 2024-10-03 22:27:15 UTC
after a lot of re-re-re-recompiling, while removing that azure studio from an overlay helped somewhat, it seems like the fundamental issue is that I still have dotnet-bin-6.0 installed. However, I am not sure how to tell if anything requires that version or of it's safe to remove, or why slotting doesn't handle this properly:

 🐧 anna 03:24:26 PM 10/03/24 ξ‚° 🏠 ξ‚° ❌130 ξ‚° sudo emerge -1 -a dev-util/lttng-ust dotnet-sdk-bin dotnet-sdk

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

Calculating dependencies... done!
Dependency resolution took 5.63 s (backtrack: 0/20).

[ebuild   R    ] dev-util/lttng-ust-2.12.9
[ebuild   R    ] dev-dotnet/dotnet-sdk-bin-8.0.108
[ebuild   R    ] dev-dotnet/dotnet-sdk-8.0.107

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-util/lttng-ust:0

  (dev-util/lttng-ust-2.13.8:0/2.13::gentoo, ebuild scheduled for merge) USE="-examples -numa -test" ABI_X86="(64)" conflicts with
    dev-util/lttng-ust:0/2.12 required by (dev-dotnet/dotnet-sdk-bin-8.0.108:8.0/8.0.8::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)"
                      ^^^^^^^


Would you like to merge these packages? [Yes/No] n

Quitting.

 🐧 anna 03:24:46 PM 10/03/24 ξ‚° 🏠 ξ‚° ❌130 ξ‚° eselect dotnet list
  [1]   dotnet-8.0  (/usr/lib64/dotnet-sdk-8.0)
  [2]   dotnet-bin-6.0  (/opt/dotnet-sdk-bin-6.0)
  [3]   dotnet-bin-8.0 (/opt/dotnet-sdk-bin-8.0) *
 🐧 anna 03:25:01 PM 10/03/24 ξ‚° 🏠 ξ‚° ❌1 ξ‚° eshowkw dotnet-sdk-bin
Keywords for dev-dotnet/dotnet-sdk-bin:
                         |                             |   u            |
                         | a   a     p s   a l   r     |   n            |
                         | m   r h   p p   l o m i s m | e u s          | r
                         | d a m p p c a x p o i s 3 6 | a s l          | e
                         | 6 r 6 p p 6 r 8 h n p c 9 8 | p e o          | p
                         | 4 m 4 a c 4 c 6 a g s v 0 k | i d t          | o
-------------------------+-----------------------------+----------------+-------
           [I]6.0.417-r4 | + + + o o o o o o o o o o o | 8 o 6.0/6.0.25 | gentoo
-------------------------+-----------------------------+----------------+-------
              7.0.404-r4 | + + + o o o o o o o o o o o | 8 o 7.0/7.0.14 | gentoo
-------------------------+-----------------------------+----------------+-------
              8.0.106    | + + + o o o o o o o o o o o | 8 o 8.0/8.0.6  | gentoo
-------------------------+-----------------------------+----------------+-------
              8.0.107    | + + ~ o o o o o o o o o o o | 8 o 8.0/8.0.7  | gentoo
-------------------------+-----------------------------+----------------+-------
           [I]8.0.108    | ~ ~ ~ o o o o o o o o o o o | 8 o 8.0/8.0.8  | gentoo
              8.0.402    | o o o o o o o o o o o o o o | 8 o            | gentoo
-------------------------+-----------------------------+----------------+-------
9.0.100.1.24452.12_rc    | o o o o o o o o o o o o o o | 8 o 9.0/9.0.0  | gentoo
Comment 10 Maciej Barć gentoo-dev 2024-10-03 22:38:18 UTC
> I am not sure how to tell if anything requires that version or of it's safe to remove, or why slotting doesn't handle this properly:

1. check if it is world (/var/lib/portage/world) if so, remove it - --deselect
2. equery d virtual/dotnet-sdk:6.0

> or why slotting doesn't handle this properly:

> [ebuild   R    ] dev-util/lttng-ust-2.12.9

Now this looks fine. This version of lttng-ust is needed by all -bin .NET SDKs since Microsoft compiles for older lttng-ust (2.12.9). In Gentoo we can compile both for old and new SLOT **but** since you have -bin SDK you **will have to** also compile dotnet-sdk with old lttng-ust.

So, now we are in the correct state for the installation of both -bin and non-bin SDKs at the same time. 

From here if you remove -bin you will be able to do a full-update of your system and then you should get a upgrade of lttng-ust and a rebuild of dotnet-sdk-bin.

It's still a mystery to me how you got to https://bugs.gentoo.org/940619#c5 
You must have force-updated lttng-ust.
Comment 11 anna 2024-10-03 23:25:53 UTC
I did not have anything untoward in the world file but it is finally happy and not looping/failing @preserved-rebuilds after I just removed the -bin SDKs. This should be fine since the only thing I need dotnet sdk for that is not handled by portage works fine.

Maybe I went too far into the weeds but it does seem like there's not much point to eselect having multiple versions of the sdks available if it gets stuck on them, especially since I may just be forgetting offhand why I had the older version installed and really want the ability to switch later.