Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943280 - sys-block/thin-provisioning-tools-1.1.0-r2 with "CARGO is not set" error
Summary: sys-block/thin-provisioning-tools-1.1.0-r2 with "CARGO is not set" error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 943288 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-11-11 17:03 UTC by Oliver Hildebrandt
Modified: 2024-11-11 18:55 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Hildebrandt 2024-11-11 17:03:39 UTC
I think since the conversion of rust in slotted packages thin-provisioning-tools won't build with the following error:

http://0x0.st/XkXg.log

This is my emerge --info '=sys-block/thin-provisioning-tools-1.1.0-r2':
Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-14, glibc-2.40-r5, 6.11.7-gentoo-Cracked.OS x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.11.7-gentoo-Cracked.OS-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.40
KiB Mem:    65715560 total,  47444684 free
KiB Swap:  131748860 total, 131748860 free
Timestamp of repository gentoo: Mon, 11 Nov 2024 16:33:31 +0000
Head commit of repository gentoo: e92bfa22c4625cf6be9904f6e19e2f0edcd80c4b

Timestamp of repository ppfeufer-gentoo-overlay: Tue, 22 Oct 2024 21:18:21 +0000
Head commit of repository ppfeufer-gentoo-overlay: a8fd543bd4d3a0deb17f944311d8a9072a24b839

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
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.17-r1::gentoo
dev-build/cmake:           3.31.0::gentoo
dev-build/libtool:         2.5.3::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.6.0::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.12.7_p1::gentoo, 3.13.0::gentoo
dev-lang/rust:             1.81.0-r100::gentoo, 1.82.0-r100::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/sandbox:          2.40::gentoo
sys-apps/systemd:          256.7::gentoo
sys-devel/binutils:        2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           18.1.8-r6::gentoo, 19.1.3::gentoo
sys-devel/gcc:             13.3.1_p20241025::gentoo, 14.2.1_p20241026::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             18.1.8::gentoo, 19.1.3::gentoo
sys-devel/llvm:            18.1.8-r6::gentoo, 19.1.3::gentoo
sys-kernel/linux-headers:  6.11::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    volatile: False
    sync-git-verify-commit-signature: yes

ollis-overlay
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

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

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver3 -O2 -mtune=znver3 -pipe -fomit-frame-pointer -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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"
CXXFLAGS="-march=znver3 -O2 -mtune=znver3 -pipe -fomit-frame-pointer -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write=y --with-bdeps=y --jobs=2 --load-average=1 --keep-going"
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=znver3 -O2 -mtune=znver3 -pipe -fomit-frame-pointer -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
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 parallel-install 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=znver3 -O2 -mtune=znver3 -pipe -fomit-frame-pointer -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
GENTOO_MIRRORS="https://distfiles.gentoo.org/"
LANG="de_DE.utf8"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="de"
MAKEOPTS="-j32 -l32"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS_FLAGS="-9"
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=" -Clinker-plugin-lto"
SHELL="/bin/bash"
USE="X a52 aac aacplus acl acpi activities aes aio alsa amd64 ao apng appstream arj aspell avx avx2 bash-completion bluetooth bluray branding btrfs bzip2 cairo caps cdda cdr cet cgroup cgroups clang cleartype client cmake colord console corefonts cpudetection crypt cups curl dbus declarative discover dri dri3 drm dts dv dvd dvdr editor efi egl emf encode evdev exif f16c faac faad fat fbcon fbsplash ffmpeg fftw flac flatpak fltk fma fma3 fma4 fontconfig foomaticdb fpm fuse g-sorcery gallium games gbm gcrypt gd gdbm geoclue gif gimp git glamor gles gles2 glut glx gmp gnupg gnutls googledrive gpg gpm grub gsm gtk gui harfbuzz hunspell hwaccel i18n ibus iconv icu id3tag imagemagick inotify iproute2 iptables ipv6 iso ispell ithreads jack java javascript jbig jit jpeg jpeg2k jpg json kde kdesu kf6compat kmod kms kwallet l10n ladspa lame largepages latin1 lcms lensfun lha libass libdrm libglvnd libkms libnotify librtmp libsamplerate libsoxr libtirpc libv4l libva libxml2 llvm lm-sensors lm_sensors loop-aes lto lvm lz4 lzma lzo mad mail matroska mediacenter mem-scramble minizip mjpeg mktemp mmap mmx mng mouse mp3 mp4 mpc mpeg mpfr mplayer mtp multilib multimedia multitarget nautilus ncurses neon networkmanager nftables nls nptl nptlonly nscd nsplugin ntfs ntp nvenc nvme ocaml ogg openal opencl opengl opengpg openmax openmp openssl orc osmesa pae pam pango parted passwdqc passwordsave pclmul pcre pdf pdfimport perl pgo pipewire plasma playlist pm-utils png policykit popcnt postproc ppds pulseaudio python python3 q64 qml qrcode qt qt5 qt6 quad quicktime rar raw readline reencrypt rpm rss rtmp s3tc screencast sdl seccomp secure-delete secureboot semantic-desktop sensors sharedmem shmvideo smp smpeg sndfile sndio sound sox speex spell sqlite sse sse2 sse3 sse4 sse4_1 sse4_2 sse4a sse5 ssl ssse3 startup-notification streaming svg svt-av1 sync-plugin-portage syslog sysprof system-png systemd systeminfo systemtap sysvipc taglib tagsoup test-rust tga theora thin threads thumbnail thunderbird tiff timezone tinfo tls tools tpm tracker trayicon truetype twolame udev udisks uefi unarj unicode unlock-notify unrar unzip upower urandom usb user-session v4l v4l2 va vaapi vdpau vorbis vpx vulkan wayland webengine webp widgets winbind wmf wxwidgets x11 x264 x265 xattr xcb xft xlib-xcb xml xorg xpm xrandr xv xvid zbus zip zlib zoo zstd" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64 pc" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" SANE_BACKENDS="canon canon630u canon_dr pixma" VIDEO_CARDS="amdgpu radeonsi" 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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS

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

sys-block/thin-provisioning-tools-1.1.0-r2::gentoo was built with the following:
USE="-debug -io-uring" ABI_X86="(64)" LLVM_SLOT="18 -17" 


This is the output from emerge -pqv '=sys-block/thin-provisioning-tools-1.1.0-r2::gentoo':
[ebuild   R   ] sys-block/thin-provisioning-tools-1.1.0-r2  USE="-debug -io-uring" LLVM_SLOT="18 -17" 

And here is my /var/tmp/portage/sys-block/thin-provisioning-tools-1.1.0-r2/temp/environment:
http://0x0.st/XkX4.txt
Comment 1 Larry the Git Cow gentoo-dev 2024-11-11 17:08:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93a7eb9802f3046d492883a59d944c6fa80ddc4c

commit 93a7eb9802f3046d492883a59d944c6fa80ddc4c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-11-11 17:07:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-11 17:07:21 +0000

    sys-block/thin-provisioning-tools: define pkg_setup
    
    Call both llvm-r1_pkg_setup and rust_pkg_setup.
    
    Closes: https://bugs.gentoo.org/943280
    Signed-off-by: Sam James <sam@gentoo.org>

 .../thin-provisioning-tools/thin-provisioning-tools-1.0.14-r1.ebuild | 5 +++++
 .../thin-provisioning-tools/thin-provisioning-tools-1.1.0-r2.ebuild  | 5 +++++
 2 files changed, 10 insertions(+)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-11 18:55:36 UTC
*** Bug 943288 has been marked as a duplicate of this bug. ***