FreeBSD Bugzilla – Attachment 221982 Details for
Bug 251254
lang/rust: 1.48.0 fails to build on aarch64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v0
rust.diff (text/plain), 4.40 KB, created by
Mikael Urankar
on 2021-01-28 09:13:26 UTC
(
hide
)
Description:
v0
Filename:
MIME Type:
Creator:
Mikael Urankar
Created:
2021-01-28 09:13:26 UTC
Size:
4.40 KB
patch
obsolete
>Index: lang/rust/Makefile >=================================================================== >--- lang/rust/Makefile (revision 563037) >+++ lang/rust/Makefile (working copy) >@@ -70,7 +70,7 @@ > > # See WRKSRC/src/stage0.txt for the date and version values. > BOOTSTRAPS_DATE?= 2020-11-19 >-RUST_BOOTSTRAP_VERSION?= 1.48.0 >+RUST_BOOTSTRAP_VERSION?= 1.49.0 > > BOOTSTRAPS_SUFFIX?= ${BOOTSTRAPS_SUFFIX_${ARCH}} > BOOTSTRAPS_SUFFIX_powerpc64?= -${PPC_ABI:tl} >@@ -186,21 +186,50 @@ > > do-build: > @cd ${WRKSRC} && \ >- ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} x.py build --jobs=${MAKE_JOBS_NUMBER} >+ ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} x.py dist --jobs=${MAKE_JOBS_NUMBER} \ >+ library/std src/librustc cargo clippy rustfmt src >+ ${RM} -rf ${WRKSRC}/build/tmp/dist > >+COMPONENTS= rustc-${PORTVERSION}-${_RUST_TARGET} \ >+ rust-std-${PORTVERSION}-${_RUST_TARGET} \ >+ cargo-${PORTVERSION}-${_RUST_TARGET} \ >+ clippy-${PORTVERSION}-${_RUST_TARGET} \ >+ rustfmt-${PORTVERSION}-${_RUST_TARGET} >+ >+.if ${PORT_OPTIONS:MSOURCES} >+COMPONENTS+= rust-src-${PORTVERSION} >+.endif >+ >+.if ${PORT_OPTIONS:MWASM} >+COMPONENTS+= rust-std-${PORTVERSION}-wasm32-unknown-unknown >+.endif >+ > do-install: >- @cd ${WRKSRC} && \ >- ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} x.py install --jobs=${MAKE_JOBS_NUMBER} >+ @${RM} -r ${WRKSRC}/_extractdist >+.for _c in ${COMPONENTS} >+ ${MKDIR} ${WRKSRC}/_extractdist >+ cd ${WRKSRC}/_extractdist && ${TAR} xf \ >+ ${WRKSRC}/build/dist/${_c}.tar.xz >+ ${REINPLACE_CMD} 's|/bin/bash|${LOCALBASE}/bin/bash|' \ >+ ${WRKSRC}/_extractdist/${_c}/install.sh >+ cd ${WRKSRC}/_extractdist/${_c} && \ >+ ${LOCALBASE}/bin/bash ./install.sh \ >+ --prefix="${STAGEDIR}${PREFIX}" \ >+ --mandir="${STAGEDIR}${PREFIX}/share/man" >+ @${RM} -r ${WRKSRC}/_extractdist >+.endfor >+ > # We autogenerate the plist file. We do that, instead of the > # regular pkg-plist, because several libraries have a computed > # filename based on the absolute path of the source files. As it > # is user-specific, we cannot know their filename in advance. >+post-install: > @${RM} -r ${STAGEDIR}${DOCSDIR}/*.old \ >- ${STAGEDIR}${DOCSDIR}/html/.lock \ >- ${STAGEDIR}${DOCSDIR}/html/.stamp \ > ${STAGEDIR}${PREFIX}/lib/rustlib/install.log \ >- ${STAGEDIR}${PREFIX}/lib/rustlib/manifest-* \ >- ${STAGEDIR}${PREFIX}/lib/rustlib/uninstall.sh >+ ${STAGEDIR}${PREFIX}/lib/rustlib/uninstall.sh \ >+ ${STAGEDIR}${PREFIX}/lib/rustlib/rust-installer-version \ >+ ${STAGEDIR}${PREFIX}/lib/rustlib/components \ >+ ${STAGEDIR}${PREFIX}/lib/rustlib/manifest-* > @${FIND} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/lib -exec ${FILE} -i {} + | \ > ${AWK} -F: '/executable|sharedlib/ { print $$1 }' | ${XARGS} ${STRIP_CMD} > @${FIND} ${STAGEDIR}${PREFIX} -not -type d | \ >Index: lang/rust/distinfo >=================================================================== >--- lang/rust/distinfo (revision 563037) >+++ lang/rust/distinfo (working copy) >@@ -1,12 +1,9 @@ > TIMESTAMP = 1609603291 > SHA256 (rust/rustc-1.49.0-src.tar.xz) = ebe910edc824a0a037a10be443446a0511923ba8342fa3c331ec8a22481d5d15 > SIZE (rust/rustc-1.49.0-src.tar.xz) = 108330280 >-SHA256 (rust/2020-11-19/rustc-1.48.0-aarch64-unknown-freebsd.tar.xz) = 1a2d975dc14f30044cdef9045af7fbe47fdb4652b5f1da55afebda59857e56b4 >-SIZE (rust/2020-11-19/rustc-1.48.0-aarch64-unknown-freebsd.tar.xz) = 39078180 >-SHA256 (rust/2020-11-19/rust-std-1.48.0-aarch64-unknown-freebsd.tar.xz) = 3c4af0093a028c8273e4bcd0c45444a42bfa1627de96ee925795573898dad1c9 >-SIZE (rust/2020-11-19/rust-std-1.48.0-aarch64-unknown-freebsd.tar.xz) = 16735248 >-SHA256 (rust/2020-11-19/cargo-1.48.0-aarch64-unknown-freebsd.tar.xz) = 180b78e030d105818b6989f71491a86edcd69bf7554e1500a0a01d9dc94d6f87 >-SIZE (rust/2020-11-19/cargo-1.48.0-aarch64-unknown-freebsd.tar.xz) = 3276872 >+SHA256 (rust/2020-11-19/cargo-1.49.0-aarch64-unknown-freebsd.tar.xz) = 01c3013b50bf9a72a430367b5783345b4c837f314d5f410826dc3bd0098bc59e >+SHA256 (rust/2020-11-19/rust-std-1.49.0-aarch64-unknown-freebsd.tar.xz) = 2e7b41755898f61ce66a0b8210f271befdc7c59d4e0200a41711e18c87d2140e >+SHA256 (rust/2020-11-19/rustc-1.49.0-aarch64-unknown-freebsd.tar.xz) = a3fe3d3ba8a5844deefb6a4f9308b30c82b2f6b5ab71a1ba10150a20973ba1a8 > SHA256 (rust/2020-11-19/rustc-1.48.0-x86_64-unknown-freebsd.tar.xz) = 60306c65024dd56fc23ad23f3815bd2a405603eb9ca2f0695954127bc0c36308 > SIZE (rust/2020-11-19/rustc-1.48.0-x86_64-unknown-freebsd.tar.xz) = 38980996 > SHA256 (rust/2020-11-19/rust-std-1.48.0-x86_64-unknown-freebsd.tar.xz) = 2240679f9b4b94fa8dd028f215872d4255a67a6d8c119faeb73624e9a161ce60
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 251254
:
219811
|
219812
|
221195
| 221982