Opened 2 years ago

Last modified 2 years ago

#57174 new defect

cotvnc wont compile

Reported by: axet (Alexey Kuznetsov) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: xcode10 Cc:
Port: cotvnc

Description (last modified by ryandesign (Ryan Schmidt))

recent os x mac wont build.

:info:build error: can't exec '/Applications/Xcode.app/Contents/Developer/usr/bin/nasm' (No such file or directory)

axet-laptop:~ axet$ ls /Applications/Xcode.app/Contents/Developer/usr/bin/nasm
ls: /Applications/Xcode.app/Contents/Developer/usr/bin/nasm: No such file or directory
axet-laptop:~ axet$ ls /usr/bin/nasm
/usr/bin/nasm

Attachments (1)

main.log (566.1 KB) - added by axet (Alexey Kuznetsov) 2 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 2 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)

Please attach the main.log file.

Changed 2 years ago by axet (Alexey Kuznetsov)

Attachment: main.log added

comment:2 Changed 2 years ago by ryandesign (Ryan Schmidt)

As a workaround, try installing the nasm port, then cleaning cotvnc and trying again. If that works, we can add that dependency to the Portfile.

comment:3 Changed 2 years ago by axet (Alexey Kuznetsov)

Already installed. Not working.

comment:4 Changed 2 years ago by ryandesign (Ryan Schmidt)

Keywords: mojave added

comment:5 Changed 2 years ago by MaddTheSane (C.W. Betts)

The NASM warning is from Xcode. In order to build this on Xcode 10, you need to use the Legacy build system. It will ignore NASM files (as Xcode seems to think they'll only compile on i386).

comment:6 Changed 2 years ago by mf2k (Frank Schima)

Keywords: xcode10 added; mojave removed

Confirmed. This issue is with the new build system in Xcode 10 because it fails to build on High Sierra with Xcode 10.

Last edited 2 years ago by mf2k (Frank Schima) (previous) (diff)

comment:7 Changed 2 years ago by kencu (Ken)

This one is bugging me. The usual fixes (useoldbuildsystem, set the deriveddata path) don't reliably work. Just to make it tantalizing, it _did_ work once or twice on High Sierra with Xcode10, but it is not reproducible. Frustrating one.

Note: See TracTickets for help on using tickets.