Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835395 - app-misc/broot-1.9.4: Cargo feature called `strip`required but not stabilized in this version
Summary: app-misc/broot-1.9.4: Cargo feature called `strip`required but not stabilized...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Karl-Johan Karlsson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-16 07:15 UTC by korte
Modified: 2022-03-16 08:10 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,15.69 KB, text/x-log)
2022-03-16 07:17 UTC, korte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description korte 2022-03-16 07:15:24 UTC
I am trying to update my @world, see build.log

>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-misc/broot-1.9.4/work/broot-1.9.4 ...
 * cargo build --release --features clipboard --no-default-features
error: failed to parse manifest at `/var/tmp/portage/app-misc/broot-1.9.4/work/broot-1.9.4/Cargo.toml`

Caused by:
  feature `strip` is required

  The package requires the Cargo feature called `strip`, but that feature is not stabilized in this versio
n of Cargo (1.58.0).
  Consider trying a newer version of Cargo (this may require the nightly release).
  See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#profile-strip-option for more inform
ation about the status of this feature.
 * ERROR: app-misc/broot-1.9.4::gentoo failed (compile phase):
 *   cargo build failed
 *
 * Call stack:
 *     ebuild.sh, line  127:  Called src_compile
 *   environment, line 1814:  Called cargo_src_compile
 *   environment, line  918:  Called die
 * The specific snippet of code:
 *       "${@}" || die "cargo build failed"
 *
 * If you need support, post the output of `emerge --info '=app-misc/broot-1.9.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-misc/broot-1.9.4::gentoo'`.
 * The complete build log is located at '/var/log/portage/build/app-misc/broot-1.9.4:20220316-065352.log.g
z'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-misc/broot-1.9.4/temp/b
uild.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/app-misc/broot-1.9.4/temp/environment'.
 * Working directory: '/var/tmp/portage/app-misc/broot-1.9.4/work/broot-1.9.4'
 * S: '/var/tmp/portage/app-misc/broot-1.9.4/work/broot-1.9.4'

>>> Failed to emerge app-misc/broot-1.9.4, Log file:

>>>  '/var/log/portage/build/app-misc/broot-1.9.4:20220316-065352.log.gz'


Reproducible: Always




Portage 3.0.30 (python 3.9.10-final-0, default/linux/arm64/17.0, gcc-11.2.0, glibc-2.33-r13, 5.10.63-v8 aarch64)
=================================================================
System uname: Linux-5.10.63-v8-aarch64-with-glibc2.33
KiB Mem:     3831552 total,    240804 free
KiB Swap:    4194300 total,   3194564 free
Timestamp of repository gentoo: Wed, 16 Mar 2022 05:30:01 +0000
Head commit of repository gentoo: 7dc271ad2d8851528155dca844a13125c5799a77
sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
distcc 3.4 aarch64-unknown-linux-gnu [disabled]
ccache version 4.5.1 [enabled]
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:	   2.3.1::gentoo
dev-lang/perl:             5.34.0-r6::gentoo
dev-lang/python:           2.7.18_p13::gentoo, 3.8.12_p1::gentoo, 3.9.10_p1::gentoo, 3.10.2_p1::gentoo
dev-lang/rust:             1.58.1::gentoo
dev-util/ccache:           4.5.1::gentoo
dev-util/cmake:            3.22.2::gentoo
dev-util/meson:            0.60.3::gentoo
sys-apps/baselayout:	   2.7-r3::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.25::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.4::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:           12.0.1::gentoo, 13.0.1::gentoo
sys-devel/gcc:             11.2.0::gentoo
sys-devel/gcc-config:	   2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             13.0.1::gentoo
sys-devel/llvm:            11.1.0::gentoo, 12.0.1::gentoo, 13.0.1::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.33-r13::gentoo
Repositories:

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

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

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

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

ACCEPT_KEYWORDS="arm64"
ACCEPT_LICENSE="* @EULA"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="aarch64-unknown-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"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-O2 -pipe -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live ccache compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbo
x sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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"
SHELL="/bin/bash"
USE="24-bit-color 256-color X \ a52 aac aalib acl aften alsa ap apng archive arm64 avif bittorrent blake2 bluetooth bmp bogofilter brotli bzip2 cacert cairo cdda cddb cli codec2 console crypt cups curl dav1d dbus dcaenc dri dts egl elogind encode evdev exif faac faad fading-colors fasteap fdformat fdk ffmpeg flac fort
ran gbm gd gdbm gentoo-vm geoip german128 ghcbootstrap gif gles1 gles2 gme gpg gstreamer gtk gtk2 gtk3 harfbuzz hddtemp http http2 hwaccel iconv icu id3tag inotify ipv6 ithreads jingle jpeg kms lame libdrm libglvnd libmpeg2 libnotify libsamplerate libtesseract libtirpc libzfs lz4 lzma lzo mad matroska metalink midi mi
kmod minizip mod modplug mount mp3 mpeg musicbrainz ncurses network nls nptl ogg omemo openal opengl openh264 openmp opus pcre pdf pdfimport perl plugins png postproc postscript ppds python qml qt5 rar rav1e readline rtmp rubberband samba sdl seccomp session sftp smime snappy sox speech speex spell split-usr ssh ssl s
u svg taglib text theora threads tiff timidity tk toolame tremor truetype twolame unicode upnp usb v4l vc verify-sig vlc vorbis vpx wavpack webp widgets x264 x265 xattr xen xface xft xml xmlrpc xorg xpm xv xvfb xvid xxhash zeroconf zip zlib zstd" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_sh
mcb 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_c
ache 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_ARM="crc32 edsp thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" ELIBC="glibc" GPSD_PROTOCO
LS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis 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" L10N="de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd447
80 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_
SOFTMMU_TARGETS="aarch64 i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="fbdev v3d vc4" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos accou
nt"
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, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORT
AGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 korte 2022-03-16 07:17:05 UTC
Created attachment 767135 [details]
build.log
Comment 2 Larry the Git Cow gentoo-dev 2022-03-16 07:24:23 UTC
The bug has been closed via the following commit(s):

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

commit d3fcba04acd5b4e6cc7b96259a7531b311ab037b
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-03-16 07:18:21 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-03-16 07:22:35 +0000

    app-misc/broot: depend on >=rust-1.59
    
    per upstream's rust-version = "1.59" added in 1.9.4
    
    Closes: https://bugs.gentoo.org/835395
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 app-misc/broot/broot-1.9.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Ionen Wolkens gentoo-dev 2022-03-16 07:48:03 UTC
Hm, looking at what this feature does it's a bit of a problem though (just noticed the other bug #835400).

I'll have a closer look at this.
Comment 4 Larry the Git Cow gentoo-dev 2022-03-16 08:10:44 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=129a28a4e2f2ccdadb45ce6e639901eed35ecb32

commit 129a28a4e2f2ccdadb45ce6e639901eed35ecb32
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-03-16 07:58:25 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-03-16 08:10:11 +0000

    app-misc/broot: disable stripping with release profile
    
    Missed this due to doing most testing with USE=debug (faster
    compilation), unfortunately this still requires >=rust-1.59
    for non-nightly unless go with modifying the Cargo.toml which
    doesn't feel worth it on the long run.
    
    Bug: https://bugs.gentoo.org/835395
    Closes: https://bugs.gentoo.org/835400
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 app-misc/broot/broot-1.9.4.ebuild | 1 +
 1 file changed, 1 insertion(+)