Opened 9 months ago

Closed 7 weeks ago

#68020 closed defect (fixed)

cargo @0.72.2: buildbot link failure for 10.6/10.8: undefined symbols _renameat, _unlinkat, _linkat

Reported by: mascguy (Christopher Nielsen) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: RobK88
Port: cargo

Description

Occurring for 10.8, as well as 10.6 (both 64-bit and 32-bit):

  = note: Undefined symbols for architecture i386:
            "_renameat", referenced from:
                rustix::backend::fs::syscalls::renameat::hd02a45fea11f7f48 in librustix-765c2c0e7c5d25b9.rlib(rustix-765c2c0e7c5d25b9.rustix.4fc29d2fb3205d-cgu.1.rcgu.o)
            "_unlinkat", referenced from:
                rustix::backend::fs::syscalls::unlinkat::h83aff2a481f273ec in librustix-765c2c0e7c5d25b9.rlib(rustix-765c2c0e7c5d25b9.rustix.4fc29d2fb3205d-cgu.1.rcgu.o)
            "_linkat", referenced from:
                rustix::backend::fs::syscalls::linkat::h7f7002104108da39 in librustix-765c2c0e7c5d25b9.rlib(rustix-765c2c0e7c5d25b9.rustix.4fc29d2fb3205d-cgu.1.rcgu.o)
          ld: symbol(s) not found for architecture i386
          clang: error: linker command failed with exit code 1 (use -v to see invocation)

https://ports.macports.org/port/cargo/builds/

Attachments (2)

cargo.log (979.5 KB) - added by rmottola (Riccardo) 9 months ago.
10.7 64bit full build
main.log (977.1 KB) - added by aiyagari (Sanjay Aiyagari) 8 months ago.
Log for 10.9

Download all attachments as: .zip

Change History (8)

comment:1 Changed 9 months ago by rmottola (Riccardo)

I think I just experience the same on 10.7 64bit... attach log, seems the same error with different arch.

Changed 9 months ago by rmottola (Riccardo)

Attachment: cargo.log added

10.7 64bit full build

comment:2 Changed 8 months ago by aiyagari (Sanjay Aiyagari)

Same occurrence in 10.9, with same log.

Changed 8 months ago by aiyagari (Sanjay Aiyagari)

Attachment: main.log added

Log for 10.9

comment:3 Changed 8 months ago by rmottola (Riccardo)

0.72.2_1 still fails the same on 10.7

comment:4 Changed 8 months ago by rmottola (Riccardo)

tried old 0.71.0 receipe and it compiled fine.

comment:5 Changed 7 months ago by RobK88

Cc: RobK88 added

comment:6 Changed 7 weeks ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: assignedclosed

No longer an issue, with the latest Cargo release (0.78.1).

Note: See TracTickets for help on using tickets.