Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939701 - dev-lang/rust-1.81.0 rust-demangler symlink requested, but source file not found
Summary: dev-lang/rust-1.81.0 rust-demangler symlink requested, but source file not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Randy Barlow
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-15 10:13 UTC by nurali
Modified: 2024-10-08 00:58 UTC (History)
7 users (show)

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


Attachments
emerge --info (emergeinfo.txt,8.67 KB, text/plain)
2024-09-17 09:24 UTC, selckin
Details
rust-1.81.0-20240917-090128.log (rust-1.81.0-20240917-090128.log.xz,805.75 KB, application/x-xz)
2024-09-17 18:35 UTC, selckin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nurali 2024-09-15 10:13:15 UTC
* Installing cargo-clippy symlink
'/var/tmp/portage/dev-lang/rust-1.81.0/image/usr/lib/rust/1.81.0/bin/cargo-clippy-1.81.0' => '/var/tmp/portage/dev-lang/rust-1.81.0/image/usr/lib/rust/1.81.0/bin/cargo-clippy'
 * rust-demangler symlink requested, but source file not found
 * please report this

I noticed those when I was updating the dev-lang/rust to latest,maybe it is a bug
Comment 1 Mike Gilbert gentoo-dev 2024-09-15 18:18:05 UTC
Please attach the full build log and provide emerge --info. Then change the status to UNCONFIRMED.
Comment 2 selckin 2024-09-17 09:19:35 UTC
>>> Emerging (1 of 1) dev-lang/rust-1.81.0::gentoo
>>> Installing (1 of 1) dev-lang/rust-1.81.0::gentoo
>>> Completed (1 of 1) dev-lang/rust-1.81.0::gentoo
>>> Jobs: 1 of 1 complete                           Load avg: 4.6, 12.2, 12.6

 * Messages for package dev-lang/rust-1.81.0:
 * Log file: /var/log/portage/dev-lang:rust-1.81.0:20240917-090128.log

 * rust-demangler symlink requested, but source file not found
 * please report this
Comment 3 selckin 2024-09-17 09:24:26 UTC
Created attachment 903213 [details]
emerge --info

Build log is too big to attach

http://selckin.be/rust-1.81.0-20240917-090128.log
Comment 4 Mike Gilbert gentoo-dev 2024-09-17 18:30:52 UTC
That link does not work. Please compress the log and attach it.
Comment 5 selckin 2024-09-17 18:35:06 UTC
Created attachment 903235 [details]
rust-1.81.0-20240917-090128.log

wget or opening in new tab should work, chrome is blocking it because its http from and https site

but xz -9e can get it small enough, attached
Comment 6 Larry the Git Cow gentoo-dev 2024-09-18 02:56:04 UTC
The bug has been closed via the following commit(s):

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

commit c5ffa34a34acbd878f6277c519ce0c6c8852bfa6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-09-18 02:52:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-09-18 02:55:28 +0000

    dev-lang/rust: drop obsolete rust-demangler bits from 1.81.0
    
    This was dropped in upstream commit fd4fe7d129cac2b7a0668847117775ee23031771.
    
    See https://github.com/rust-lang/rust/pull/125880. rust-demangler is no more.
    
    Note that we keep USE=profiler as it still seems to be used for other
    bits like the profiling runtime.
    
    Bug: https://bugs.gentoo.org/939669
    Closes: https://bugs.gentoo.org/939701
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-lang/rust/rust-1.81.0.ebuild | 5 -----
 1 file changed, 5 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit 0c77534fd8dd2f47f988a417c94f52d48685a6cb
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-09-18 02:54:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-09-18 02:55:29 +0000

    virtual/rust: adapt 1.81.0 virtual to USE=profiler changes
    
    * rust-bin no longer has USE=profiler as it was only controlling
      rust-demangler which is now gone upstream.
    
    * rust still has USE=profiler however as it controls if it was built
      with the profiler runtime.
    
    AFAIK, rust-bin is always built upstream w/ the profiler runtime,
    so the USE flag is gone there.
    
    Bug: https://bugs.gentoo.org/939669
    Bug: https://bugs.gentoo.org/939701
    Signed-off-by: Sam James <sam@gentoo.org>

 virtual/rust/{rust-1.81.0.ebuild => rust-1.81.0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

commit cecf4748804bd1a878c94eb448540c29f2418c1a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-09-18 02:49:49 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-09-18 02:55:28 +0000

    dev-lang/rust-bin: drop USE=profiler in 1.81.0
    
    This was dropped in upstream commit fd4fe7d129cac2b7a0668847117775ee23031771.
    
    See https://github.com/rust-lang/rust/pull/125880. rust-demangler is no more.
    
    For rust-bin *only*, USE=profiler was just used to control rust-demangler,
    not whether rust-bin was built with the profiler runtime (obviously), so
    we drop the USE flag for rust-bin.
    
    Bug: https://bugs.gentoo.org/939701
    Closes: https://bugs.gentoo.org/939669
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-lang/rust-bin/rust-bin-1.81.0.ebuild | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)