Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 892369 - dev-lang/rust-1.67.0 install: error: manifest for -json-preview does not exist at /var/tmp/portage/dev-lang/rust-1.67.0/work/rust-1.66.1-x86_64-unknown-linux-gnu/-json-preview/manifest.in.
Summary: dev-lang/rust-1.67.0 install: error: manifest for -json-preview does not exis...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords:
: 892461 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-01-28 09:13 UTC by Julien Delquié
Modified: 2023-01-28 22:23 UTC (History)
11 users (show)

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


Attachments
build.log (build.log,2.08 KB, text/plain)
2023-01-28 09:31 UTC, Leonid Kopylov
Details
install.log (install.log,56.19 KB, text/plain)
2023-01-28 09:31 UTC, Leonid Kopylov
Details
emerge --info (emerge-info.txt,7.44 KB, text/plain)
2023-01-28 10:49 UTC, Julien Delquié
Details
rust-docs-json-json-preview-workaround.patch (rust-docs-json-preview-workaround.patch,457 bytes, patch)
2023-01-28 14:46 UTC, Søren Dalby Larsen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Delquié 2023-01-28 09:13:22 UTC
Impossible to build dev-lang/rust-1.67.0.

This line appear when it fails:
install: error: manifest for -json-preview does not exist at /var/tmp/portage/dev-lang/rust-1.67.0/work/rust-1.66.1-x86_64-unknown-linux-gnu/-json-preview/manifest.in. see logs at '/var/tmp/portage/dev-lang/rust-1.67.0/work/rust-stage0/lib/rustlib/install.log'

Content of /var/tmp/portage/dev-lang/rust-1.67.0/work/rust-stage0/lib/rustlib/install.log is not helpful.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-28 09:15:22 UTC
Please attach the full build.log and emerge --info.
Comment 2 Leonid Kopylov 2023-01-28 09:31:17 UTC
Created attachment 849337 [details]
build.log
Comment 3 Leonid Kopylov 2023-01-28 09:31:52 UTC
Created attachment 849339 [details]
install.log
Comment 4 Julien Delquié 2023-01-28 10:49:20 UTC
Created attachment 849347 [details]
emerge --info
Comment 5 tt_1 2023-01-28 11:25:12 UTC
I got the same error, no idea where its from. 

maybe here: https://github.com/rust-lang/rust/issues/105755
Comment 6 Alex Buell 2023-01-28 11:36:09 UTC
Confirmed here :(
Comment 7 Søren Dalby Larsen 2023-01-28 14:46:59 UTC
Created attachment 849359 [details, diff]
rust-docs-json-json-preview-workaround.patch

From the issue mentioned by tt_1 (https://github.com/rust-lang/rust/issues/105755) a workaround that got it working for me (not having docs enabled) is attached. YMMV
Comment 8 Alex Buell 2023-01-28 15:56:59 UTC
(In reply to Søren Dalby Larsen from comment #7)
> Created attachment 849359 [details, diff] [details, diff]
> rust-docs-json-json-preview-workaround.patch
> 
> From the issue mentioned by tt_1
> (https://github.com/rust-lang/rust/issues/105755) a workaround that got it
> working for me (not having docs enabled) is attached. YMMV

Nice one, works for me. Many thanks.
Comment 9 Georgy Yakovlev archtester gentoo-dev 2023-01-28 19:33:38 UTC
it only happens on arches where internal bootstrap tarball has docs.

I happened to test internal bootstrap with ppc64 tarballs, which does not have rust-doc or rust-doc-json component.

thanks for finding it.
Comment 10 Larry the Git Cow gentoo-dev 2023-01-28 19:34:29 UTC
The bug has been closed via the following commit(s):

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

commit f666b359a91dfc9af71e72482a22619c0d726c14
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2023-01-28 19:29:26 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2023-01-28 19:33:53 +0000

    dev-lang/rust: fix 1.67.0 selfbootstrap
    
    Closes: https://bugs.gentoo.org/892369
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 dev-lang/rust/files/1.67.0-bootstrap.patch | 38 ++++++++++++++++++++++++++++++
 dev-lang/rust/rust-1.67.0.ebuild           |  1 +
 2 files changed, 39 insertions(+)

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

commit ca82be3124f2223165f1d3434bd57e9cfc714b82
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2023-01-28 19:26:38 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2023-01-28 19:33:52 +0000

    dev-lang/rust: fix internal bootstrap on arches with docs
    
    Closes: https://bugs.gentoo.org/892369
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 dev-lang/rust/rust-1.67.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 11 Greg Kubaryk 2023-01-28 22:23:43 UTC
*** Bug 892461 has been marked as a duplicate of this bug. ***