notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
Ukraine
non port: lang/rust-nightly/files/patch-src_bootstrap_native.rs
SVNWeb

Number of commits found: 9

Sun, 31 Oct 2021
[ 18:20 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:d5f09dc31fcfdb77b69c86b9093bf67ec67653d9  commit hash:d5f09dc31fcfdb77b69c86b9093bf67ec67653d9  commit hash:d5f09dc31fcfdb77b69c86b9093bf67ec67653d9  d5f09dc 
lang/rust-nightly: Update to 1.58.0.20211030

Make the no-hardlinks-patches conditional and move them to
files/no-hardlinks.

Newer kernels should return sane kern.proc.pathname values for
hardlinks which will hopefully help avoid the intermittent "can't
find crate for `std`" build failures we had on the package
builders.

Thanks to kib@ for fixing kernel behavior. Now let's see if it
makes a difference for lang/rust-nightly.

Changes:	https://github.com/rust-lang/rust/compare/25ec8273855fde2d72ae877b397e054de5300e10...e249ce6b2345587d6e11052779c86adbad626dff
PR:		248184
Wed, 5 Aug 2020
[ 14:46 tobik search for other commits by this committer ] Original commit   Revision:544224
lang/rust*: Bring back the llvm-config-wrapper patches after r543251

Apparently they are still needed:
http://gohan03.nyi.freebsd.org/data/head-amd64-default-baseline/p543836_s363720/logs/errors/rust-1.45.1.log
http://gohan03.nyi.freebsd.org/data/head-amd64-default-baseline/p543836_s363720/logs/errors/rust-nightly-1.47.0.20200724.log
http://gohan03.nyi.freebsd.org/data/head-amd64-default-baseline/p544005_s363784/logs/errors/rust-1.45.1.log

Reported by:	antoine
Fri, 24 Jul 2020
[ 15:50 tobik search for other commits by this committer ] Original commit   Revision:543251
lang/rust-nightly: Attempt to fix intermittent "can't find crate for `std`"
build failures

The location of rustc (found via env::current_exe()) is used to
find the right libstd.  However it might have been "copied" by
creating a hard link to the new location instead.  Like /proc/curproc/file,
KERN_PROC_PATHNAME (used internally by current_exe()) can return
any of the file's multiple paths.  Most of the time it returns the
right rustc path and the build will succeed but occasionally it
will return the "wrong" path and the build fails with:

    error[E0463]: can't find crate for `std`

If this is right a viable workaround should be to never create hard
links during the build, so let's try that.

Also drop the related llvm-config-wrapper workaround.

PR:		248184
Sat, 18 Jul 2020
[ 13:14 tobik search for other commits by this committer ] Original commit   Revision:542502
lang/rust-nightly: Update to 1.47.0.20200718

Changes:	https://github.com/rust-lang/rust/compare/0c03aee8b8...39d5a61f2e
Mon, 4 May 2020
[ 04:24 tobik search for other commits by this committer ] Original commit   Revision:533891
lang/rust-nightly: Update to 1.45.0.20200504

Changes:	https://github.com/rust-lang/rust/compare/e83f756349...65b448273d
Sun, 1 Mar 2020
[ 11:09 tobik search for other commits by this committer ] Original commit   Revision:527545
lang/rust: Attempt to address unreliable rust-lld build

It sometimes fails [0,1] and sometimes succeeds [2,3].  When it
fails it fails with

running: "cmake"
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.41.1-src/src/llvm-project/lld"
"-DCMAKE_INSTALL_MESSAGE=LAZY" "-DCMAKE_C_COMPILER=cc"
"-DCMAKE_CXX_COMPILER=c++" "-DCMAKE_C_FLAGS=-ffunction-sections -fdata-sections
-fPIC -m64 -pipe -fstack-protector-strong -fno-strict-aliasing"
"-DCMAKE_CXX_FLAGS=-ffunction-sections -fdata-sections -fPIC -m64 -pipe
-fstack-protector-strong -fno-strict-aliasing"
"-DLLVM_CONFIG_PATH=/wrkdirs/usr/ports/lang/rust/work/rustc-1.41.1-src/build/bootstrap/debug/deps/llvm-config-wrapper"
"-DLLVM_INCLUDE_TESTS=OFF"
"-DCMAKE_INSTALL_PREFIX=/wrkdirs/usr/ports/lang/rust/work/rustc-1.41.1-src/build/x86_64-unknown-freebsd/lld"
"-DCMAKE_BUILD_TYPE=Release"
-- The C compiler identification is Clang 9.0.1
-- The CXX compiler identification is Clang 9.0.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Sat, 7 Sep 2019
[ 00:52 jbeich search for other commits by this committer ] Original commit   Revision:511388
comlang/rust-nightly: update to 1.38.0.20190907

Changes:	https://github.com/rust-lang/rust/compare/9af17757be1c...6e19f3f383b9
Wed, 29 May 2019
[ 08:12 tobik search for other commits by this committer ] Original commit   Revision:502938
lang/rust*: Add link to upstream issue for the LLVM STAGEDIR bug
Fri, 24 May 2019
[ 05:58 tobik search for other commits by this committer ] Original commit   Revision:502420
lang/rust-nightly: Fix check-plist same as lang/rust 1.35.0

Avoid staging the local copy of LLVM into ${STAGEDIR}${WRKDIR}
during install.

Number of commits found: 9