Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942191 - [guru] gui-apps/lemurs-0.3.2 Fails to compile with >=dev-lang/rust-1.81.0: error: `&` without an explicit lifetime name cannot be used here
Summary: [guru] gui-apps/lemurs-0.3.2 Fails to compile with >=dev-lang/rust-1.81.0: er...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: GURU project
URL: https://github.com/coastalwhite/lemur...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-25 23:23 UTC by Manuel Ullmann
Modified: 2024-11-30 09:16 UTC (History)
1 user (show)

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


Attachments
Full build log (build.log,76.75 KB, text/x-log)
2024-10-25 23:25 UTC, Manuel Ullmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Ullmann 2024-10-25 23:23:36 UTC
Since dev-lang/rust-1.81.0 stabilization gui-apps/lemurs won’t compile anymore, because it contains code triggering a deprecation warning, which has become an error as of >=dev-lang/rust-1.81.0.

There is currently no newer release tag for lemurs available, but the deprecation warning has been fixed in main branch.

So I requested a new release tag in a friendly manner upstream. See URL for updates. For the time being gui-apps/lemurs should depend on <

Reproducible: Always

Steps to Reproduce:
1. emerge -1 =dev-lang/rust-1.81.0 =virtual/rust-1.81.0-r1
2. emerge -1 gui-apps/lemurs::guru

Actual Results:  
Compilation fails with the following error:

error: `&` without an explicit lifetime name cannot be used here
   --> src/config.rs:648:25
    |
648 |     const START_SYMBOL: &str = "$";
    |                         ^
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
    = note: for more information, see issue #115010 <https://github.com/rust-lang/rust/issues/115010>

Expected Results:  
Compiling successfully.

Portage 3.0.65 (python 3.12.6-final-0, default/linux/amd64/23.0/hardened, gcc-13, glibc-2.39-r6, 6.6.51-gentoo-dist-hardened x86_64)
=================================================================
System uname: Linux-6.6.51-gentoo-dist-hardened-x86_64-AMD_Ryzen_Threadripper_3990X_64-Core_Processor-with-glibc2.39
KiB Mem:   263748800 total, 247691496 free
KiB Swap:  268435452 total, 268435452 free
Timestamp of repository gentoo: Wed, 23 Oct 2024 00:45:00 +0000
Timestamp of repository arx-libertatis: Tue, 08 Oct 2024 15:50:46 +0000
Head commit of repository arx-libertatis: 5408b817f90db2a2ddb63bd74068e68910d769da

Timestamp of repository average: Tue, 08 Oct 2024 15:51:14 +0000
Head commit of repository average: 932cb6f41955b3c7cd950a36512d047ec430e96e

Timestamp of repository guru: Wed, 23 Oct 2024 10:33:32 +0000
Head commit of repository guru: b7ef6fb5333583e4ddfda9745529676425612831

Timestamp of repository kde: Mon, 21 Oct 2024 22:03:21 +0000
Head commit of repository kde: ea317e317d42b93379008da0763dc3d49d1a2ccc

Timestamp of repository myrvolay: Mon, 14 Oct 2024 12:50:45 +0000
Head commit of repository myrvolay: cf370c46af0ae2e9acc232d0c8ed5d4865c70bdf

Timestamp of repository nest: Fri, 18 Oct 2024 18:03:42 +0000
Head commit of repository nest: c970d6027fe0e0b948d7cf9c6ea5906d38e74780

Timestamp of repository pf4public: Tue, 22 Oct 2024 21:03:14 +0000
Head commit of repository pf4public: b830792f2d09cca1187c47fadfd1422a3b7d3f95

Timestamp of repository pg_overlay: Tue, 22 Oct 2024 17:03:08 +0000
Head commit of repository pg_overlay: da41a3fd94d4550400920ef0de772b3eeebda35f

Timestamp of repository robert7k: Mon, 21 Oct 2024 13:48:20 +0000
Head commit of repository robert7k: 3ab49e469ae7f15b3bf8c97a8a1842374e808244

Timestamp of repository steam-overlay: Tue, 08 Oct 2024 15:50:59 +0000
Head commit of repository steam-overlay: 1dc5a0d57c688eacd472d714a0621b6c277a9385

Timestamp of repository tastytea: Tue, 22 Oct 2024 07:04:38 +0000
Head commit of repository tastytea: 2c136a107e0fbbc2e190ac340dc132ae1a2c6269

Timestamp of repository vaacus: Mon, 14 Oct 2024 12:50:47 +0000
Head commit of repository vaacus: 0813f6e2a29cc51fd774b0343ca02b954db3ad66

Timestamp of repository vapoursynth: Mon, 14 Oct 2024 12:50:29 +0000
Head commit of repository vapoursynth: c1f67efc44eab565ea32ef3d210139a77ced672f

Timestamp of repository xoores: Thu, 17 Oct 2024 18:33:24 +0000
Head commit of repository xoores: bce507f6e2db80bfa6808326e546ff04884e12ea

Timestamp of repository xwing: Sun, 20 Oct 2024 16:03:26 +0000
Head commit of repository xwing: 46b93ddceb566ec461d47a62faf1f814c16a3e23

sh bash 5.2_p37
ld GNU ld (Gentoo 2.42 p6) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::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.11.10_p1::gentoo, 3.12.6_p4::gentoo
dev-lang/rust:             1.81.0::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
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           18.1.8::gentoo
sys-devel/gcc:             13.3.1_p20240614::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             18.1.8::gentoo
sys-devel/llvm:            18.1.8-r4::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: webrsync
    sync-uri: https://ftp.fau.de/gentoo-portage
    priority: -1000
    volatile: False
    sync-webrsync-verify-signature: yes

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

average
    location: /var/db/repos/average
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/average.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

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

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

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

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

pg_overlay
    location: /var/db/repos/pg_overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pg_overlay.git
    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

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

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

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

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

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

zeuch
    location: /var/db/repos/zeuch
    masters: gentoo
    volatile: False

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo
    priority: 10
    volatile: False

Binary Repositories:

fau-bin
    priority: 9999
    sync-uri: https://ftp.fau.de/gentoo/releases/amd64/binpackages/23.0/x86-64_hardened

bytemark-bin
    priority: 9998
    sync-uri: https://mirror.bytemark.co.uk/gentoo/releases/amd64/binpackages/23.0/x86-64_hardened

Installed sets: @steam
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.9/conf /usr/share/sddm/scripts/Xsetup"
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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -mtune=native -pipe -O2"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS=" --autounmask-unrestricted-atoms=y --autounmask-keep-masks=y --autounmask=y --autounmask-continue=y --autounmask-write=y --buildpkg-exclude='virtual/* sys-kernel/*-sources' --jobs=10 --load-average=10.0 --with-bdeps=y --usepkg=y"
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="-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 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="-O2 -pipe"
GENTOO_MIRRORS="https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/     https://mirror.dogado.de/gentoo     https://ftp.agdsn.de/gentoo     https://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/     https://ftp.gwdg.de/pub/linux/gentoo/     https://ftp.uni-hannover.de/gentoo/     https://mirror.netcologne.de/gentoo/     https://mirror.netzwerge.de/gentoo/     https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/     https://ftp.halifax.rwth-aachen.de/gentoo/     https://ftp.tu-ilmenau.de/mirror/gentoo/     https://ftp.fau.de/gentoo     https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/     https://ftp.uni-stuttgart.de/gentoo-distfiles/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="de de_DE en_US en"
MAKEOPTS="-j128 -l96.0"
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="a52 aac acl acpi alsa amd64 audiofile avi berkdb bzip2 cairo cdda cddb cdparanoia cdr cet clang cracklib crypt css cue cups cxx dbus dist-kernel djvu dri dv elogind emacs encode exif faac ffmpeg flac fontconfig fontforge foomaticdb ftp gd gdbm gif glamor gpm graphicsmagick gstreamer gtk gtk3 hardened iconv id3tag irc jpeg jpeg2k kf6compat ladspa libass libnotify libtirpc libwww lm_sensors logrotate lto lzo mad matroska mbox mng modules mp3 mpeg mtp multilib ncurses networkmanager nfs nls nptl nsplugin ogg oggvorbis openal opencl openexr opengl openmp oscar pam pcre pdf pgo pic pie png policykit portaudio python_single_targets_python3_12 qml qt6 raw readline samba sasl sdl seccomp session smp spell ssl ssp svg tcpd test-rust theora threads tiff udev udisks unicode usb v4l v4l2 vaapi vcd verify-sig vhosts vorbis vulkan wavpack wayland wimax wmf x264 x265 xattr xml xpm xtpax xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" AMDGPU_TARGETS="gfx1100" 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" 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="pc efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput evdev" KERNEL="linux" L10N="de en-US en" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="X86 AMDGPU" 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 python3_11" RUBY_TARGETS="ruby32" VIDEO_CARDS="radeon radeonsi amdgpu zink" 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, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Manuel Ullmann 2024-10-25 23:25:51 UTC
Created attachment 906749 [details]
Full build log
Comment 2 Larry the Git Cow gentoo-dev 2024-11-30 09:16:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b40e699ed492e822c42a49ca8f3f8cbf9d50cd84

commit b40e699ed492e822c42a49ca8f3f8cbf9d50cd84
Author:     Takuya Wakazono <pastalian46@gmail.com>
AuthorDate: 2024-11-29 11:45:59 +0000
Commit:     Takuya Wakazono <pastalian46@gmail.com>
CommitDate: 2024-11-29 11:45:59 +0000

    gui-apps/lemurs: fix build with rust-1.81
    
    Closes: https://bugs.gentoo.org/942191
    Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>

 gui-apps/lemurs/files/lemurs-0.3.2-rust-1.81.patch | 14 ++++++++++++++
 gui-apps/lemurs/lemurs-0.3.2.ebuild                |  7 ++++++-
 2 files changed, 20 insertions(+), 1 deletion(-)