Closed dhuseby closed 1 month ago
it isn't the better moment to build beta currently. it requires a 1.77.0 (stable) compiler which was commited in openbsd ports tree only few hours ago.
could you ensure that you are using (and building) the expected versions ?
at the beginning of the build, you should have something like:
Fri Mar 22 11:38:27 CET 2024: info: building: 1.78.0-beta.1 (efd9d2df1 2024-03-18)
Fri Mar 22 11:38:27 CET 2024: info: required stage0:
"compiler": {
"date": "2024-02-04",
"version": "beta"
},
Fri Mar 22 11:38:27 CET 2024: info: rustc -vV
rustc 1.77.0 (aedd173a2 2024-03-17) (built from a source tarball)
binary: rustc
commit-hash: aedd173a2c086e558c2b66d3743b344f977621a7
commit-date: 2024-03-17
host: x86_64-unknown-openbsd
release: 1.77.0
LLVM version: 16.0.6
You mean OpenBSD 7.4?
You mean OpenBSD 7.4?
Oops. Yes. Fixed.
it requires a 1.77.0 (stable) compiler which was commited in openbsd ports tree only few hours ago.
I just checked out the current ports and sources and I'm building the 1.77 rust right now.
I just did a fresh install of 7.4 i386, used cvs to pull down the current ports, src, and xeoncara trees. Tried building 1.77 but it fails. This is on an old 32-bit laptop from 2008 so I'm not sure if it is because of the i386/32-bit build is broken or if I didn't something wrong setting up my test box. Do I need to build and run the current kernel/sys/ports for this to work?
using -current ports tree on 7.4 system isn't a supported configuration. for example, for building lang/rust, it is using binary bootstrap build for -current, and the binaries isn't necessary compatible with 7.4.
it is preferable to install a -current system (mostly 7.5 currently) using snapshots.
@dhuseby If I remember, rustc can't compile itself on 32-bits platforms.
I've build 1.73, 1.74, 1.75, 1.76 & 1.77 on OpenBSD 7.4 x86_64 during the weekend. 1.77 can be downloaded there for those who don't want to build it manually, and its SHA256 hash is 66c4952e1e5ed91f0cb5e0714b4e379c61d3583f88968eeda32838df9d17a58b
@dhuseby If I remember, rustc can't compile itself on 32-bits platforms.
It works well. I am building all bootstraps natively, and it is also how OpenBSD is producing the package on i386.
@dhuseby If I remember, rustc can't compile itself on 32-bits platforms. It works well. I am building all bootstraps natively, and it is also how OpenBSD is producing the package on i386.
My bad, it was an old problem which has been fixed.
closing. building is expected to be done on OpenBSD -current version.
I got the following error message while trying to build beta and haven't had the time to debug it yet:
It looks like that solution is to just add the file_set_times feature to the opener dependency to make this error go away.