Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 771006 - dev-lang/rust-1.50.0 prepare fails on aarch64-gentoo-linux-musl: /var/tmp/portage/dev-lang/rust-1.50.0/temp/environment: line 3871: /var/tmp/portage/dev-lang/rust-1.50.0/work/rust-1.49.0-aarch64-unknown-linux-musl/install.sh: No such file or directory
Summary: dev-lang/rust-1.50.0 prepare fails on aarch64-gentoo-linux-musl: /var/tmp/por...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM64 Linux
: Normal normal
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-16 21:12 UTC by Zulu Foxtrott
Modified: 2021-04-27 11:55 UTC (History)
3 users (show)

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


Attachments
build.log (build.log-1.50.0,2.13 KB, text/plain)
2021-02-16 21:12 UTC, Zulu Foxtrott
Details
emerge --info (emerge-info-1.50.0,4.70 KB, text/plain)
2021-02-16 21:13 UTC, Zulu Foxtrott
Details
emerge -pqv (emerge-pqv-1.50.0,362 bytes, text/plain)
2021-02-16 21:13 UTC, Zulu Foxtrott
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zulu Foxtrott 2021-02-16 21:12:36 UTC
Trying to emerge dev-lang/rust-1.50.0 on aarch64-gentoo-linux-musl, prepare fails with:

/var/tmp/portage/dev-lang/rust-1.50.0/temp/environment: line 3871: /var/tmp/portage/dev-lang/rust-1.50.0/work/rust-1.49.0-aarch64-unknown-linux-musl/install.sh: No such file or directory

Same issue with 1.49.0 and 1.48.0 and 1.47.0-r2

Reproducible: Always
Comment 1 Zulu Foxtrott 2021-02-16 21:12:56 UTC
Created attachment 687024 [details]
build.log
Comment 2 Zulu Foxtrott 2021-02-16 21:13:17 UTC
Created attachment 687027 [details]
emerge --info
Comment 3 Zulu Foxtrott 2021-02-16 21:13:31 UTC
Created attachment 687030 [details]
emerge -pqv
Comment 4 Ionen Wolkens gentoo-dev 2021-02-16 22:59:24 UTC
Please also see bug #767451 comment #9, I imagine any help would be welcome for this particular setup if possible.
Comment 5 fee1-dead-beef 2021-02-19 02:26:32 UTC
This is weird. I see that install.sh is present in the 1.49.0 and 1.50.0 tarballs.
1.48.0 should not be able to merge because musl tarball is not available for 1.47.0.
Comment 6 fee1-dead-beef 2021-02-19 02:31:15 UTC
This line in your build.log: 

> Unpacking rust-1.49.0-aarch64-unknown-linux-gnu.tar.xz to /var/tmp/portage/dev-lang/rust-1.50.0/work

Shows that it still picks up the arm64 glibc tarball.

The problem is probably in this line: https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/rust-toolchain.eclass#n113
Comment 7 Georgy Yakovlev archtester gentoo-dev 2021-03-01 21:44:28 UTC
indeed, eclass needs additional elibc_musl URL conditional.
I'll add that.
Comment 8 Georgy Yakovlev archtester gentoo-dev 2021-03-01 21:56:08 UTC
ok I remember now - it's not that simple.
since we have 1.46 in the tree, this one does not have musl tarball.
also, we still have 1.47 in the tree and it needs 1.46 musl tarball for non-system bootstrap.

rust-toolchain eclass is kinda pain to edit, we need a new eclass or some major re-work or re-write.


https://bugs.gentoo.org/671736

I'll work on it as time permits, but don't expect super swift resolution.
Comment 9 Georgy Yakovlev archtester gentoo-dev 2021-04-24 07:58:51 UTC
this will be fixed really soon, within a week or so.
finally can drop old versions, so I can make eclass change simple.
Comment 10 Larry the Git Cow gentoo-dev 2021-04-27 11:55:47 UTC
The bug has been closed via the following commit(s):

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

commit a68d1d71915658d5da118d35a6196eb85d1f044a
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2021-04-24 07:54:15 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2021-04-27 11:51:55 +0000

    dev-lang/rust-bin: re-manifest, add arm64 musl tarball
    
    Closes: https://bugs.gentoo.org/771006
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 dev-lang/rust-bin/Manifest | 1 +
 1 file changed, 1 insertion(+)

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

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

commit 07f94ab062134a489d216db6228a93ab35ab4dfa
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2021-04-24 07:53:20 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2021-04-27 11:51:55 +0000

    dev-lang/rust: re-manifest, add arm64 musl bootstrap tarball
    
    Bug: https://bugs.gentoo.org/771006
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 dev-lang/rust/Manifest | 1 +
 1 file changed, 1 insertion(+)

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

commit 47ccbd74994d1f241bc020582deece40f4ac5f28
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2021-04-24 07:50:06 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2021-04-27 11:51:54 +0000

    eclass/rust-toolchain.eclass: add support for arm64 musl tarballs
    
    Bug: https://bugs.gentoo.org/771006
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 eclass/rust-toolchain.eclass | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)