Opened 4 months ago
Last modified 3 weeks ago
#73957 assigned defect
rust @1.95.0: error: use of overloaded operator '!=' is ambiguous
| Reported by: | mrkapqa | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.12.5 |
| Keywords: | mojave catalina | Cc: | |
| Port: | rust |
Description (last modified by mrkapqa)
Hello ,
this error when doing selfupdate port upgrade outdated
3 errors generated. :info:build [6/1285] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SILowerSGPRSpills.cpp.o :info:build [7/1285] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIMachineScheduler.cpp.o :info:build [8/1285] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIMachineFunctionInfo.cpp.o :info:build [9/1285] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIOptimizeExecMaskingPreRA.cpp.o :info:build [10/1285] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIPeepholeSDWA.cpp.o :info:build [11/1285] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIPostRABundler.cpp.o :info:build [12/1285] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIOptimizeVGPRLiveRange.cpp.o :info:build ninja: build stopped: subcommand failed. :info:build thread 'main' (9458) panicked at /opt/local/var/macports/build/rust-1e9bb5c5/work/rustc-1.95.0-src/vendor/cmake-0.1.54/src/lib.rs:1119:5: :info:build command did not execute successfully, got: exit status: 1 :info:build build script failed, must exit now
Attachments (2)
Change History (11)
Changed 4 months ago by mrkapqa
comment:2 Changed 4 months ago by mrkapqa
| Description: | modified (diff) |
|---|
comment:3 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)
| Keywords: | rust removed |
|---|---|
| Summary: | (10.14) failed to build rust > ninja subcommand failed → rust @1.95.0: error: use of overloaded operator '!=' is ambiguous |
The real error in the log seems to be:
:info:build /opt/local/var/macports/build/rust-1e9bb5c5/work/rustc-1.95.0-src/src/llvm-project/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:3619:21: error: use of overloaded operator '!=' is ambiguous (with operand types 'llvm::Register' and 'llvm::AMDGPU::(anonymous enum at /opt/local/var/macports/build/rust-1e9bb5c5/work/rustc-1.95.0-src/build/x86_64-apple-darwin/llvm/build/lib/Target/AMDGPU/AMDGPUGenRegisterInfoEnums.inc:22187:1)') :info:build if (UseSubReg != AMDGPU::NoSubRegister && ImmDefSize == 64) :info:build ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
comment:4 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)
| Owner: | set to MarcusCalhoun-Lopez |
|---|---|
| Status: | new → assigned |
comment:5 Changed 3 months ago by CL-Jeremy (Mike L.)
I'm having a hard time reproducing this. This is so weird since it failed exactly on 10.14 and 10.15 during the last batch of bot builds. It was literally compiling LLVM components from freshly built LLVM from the same source distribution across OS versions and yet failed on these two OS versions but on not any other ones. It doesn't fail on my local 10.15 machine, either.
comment:6 follow-up: 8 Changed 3 months ago by mrkapqa
like to add the following information:
am using perlbrew to install perl-5.30.1 for use with youtube-viewer since using system-perl or the ones proposed by macports have led to problem installing and using the program correctly.
since macports tend to "overwrite" the perl version in use, after a macports selfupdate need to do "sudo port deactivate perl-5.34" or whatever version has been brought active. this tend to disable some port;
maybe the error lies in there, and the selfupdate hence leads to such error;
Changed 3 months ago by mrkapqa
| Attachment: | rst-perl5.34active added |
|---|
comment:8 Changed 2 months ago by ryandesign (Ryan Carsten Schmidt)
| Keywords: | catalina added |
|---|

Failed to build rust: command execution failed :debug:build Error code: CHILDSTATUS 816 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec -callback portprogress::target_progress_callback build" :debug:build (procedure "portbuild::build_main" line 10) :debug:build invoked from within :debug:build "$procedure $targetname"