Opened 2 years ago

Closed 22 months ago

#66294 closed defect (fixed)

binaryen fails to build on macOS Ventura with Xcode-14.1

Reported by: bit-fu (Ulrich Singer) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: ventura Cc:
Port: binaryen

Description

When trying to update binaryen I get the following error message:

In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_binaryen/binaryen/work/binaryen-100/src/wasm/wasm-type.cpp:28:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_binaryen/binaryen/work/binaryen-100/src/wasm-type.h:365:10: error: definition of implicit copy constructor for 'Tuple' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy]
  Tuple& operator=(const Tuple&) = delete;
         ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_binaryen/binaryen/work/binaryen-100/src/wasm/wasm-type.cpp:51:51: note: in implicit copy constructor for 'wasm::Tuple' first required here
  TypeInfo(const Tuple& tuple) : kind(TupleKind), tuple(tuple) {}
                                                  ^

Either the offending assignment operator should be removed or the warning/error flags adjusted.

Using Xcode-14.1 on macOS-13.0.1 (Ventura) with MacPorts base version 2.8.0.

Change History (4)

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Keywords: ventura added; binaryen Ventura removed
Owner: set to MarcusCalhoun-Lopez
Status: newassigned

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

Yes, ports should not use -Werror precisely for this kind of reason.

comment:3 Changed 23 months ago by kencu (Ken)

I can't reproduce this on:

macOS 13.1 22C65 arm64
Xcode 14.2 14C18

port installs without issues for me.

% port -v installed binaryen
The following ports are currently installed:
  binaryen @111_0 (active) requested_variants='' platform='darwin 22' archs='arm64' date='2023-01-07T11:01:15-0800'

comment:4 Changed 22 months ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

this builds fine for me on Intel 13.1 / Xcode 14.2 as well, so I'll close this pending new information being submitted.

Presumably some update fixed this.

Note: See TracTickets for help on using tickets.