Opened 22 months ago

Closed 6 months ago

#65475 closed defect (fixed)

Watchman @2022.06.06.00_1 on M1: watchman port binary SIGTRAPs upon execution, source compile fails compilation

Reported by: ttelford (Troy Telford) Owned by: danchr (Dan Villiom Podlaski Christiansen)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: arm64 Cc:
Port: watchman

Description

After installing watchman-2022.06.06.00_1.darwin_21.arm64.tbz2, with port install watchman I am unable to use it:

watchman -h
[1]    29497 trace trap  watchman -h

A SIGTRAP is received.

If I try to build it from source port -s install watchman, I receive a :info:build ld: symbol(s) not found for architecture arm64 linker error (full log attached).

Attachments (1)

main.log (347.2 KB) - added by ttelford (Troy Telford) 22 months ago.
Build log

Download all attachments as: .zip

Change History (4)

Changed 22 months ago by ttelford (Troy Telford)

Attachment: main.log added

Build log

comment:1 Changed 22 months ago by jmroot (Joshua Root)

Keywords: arm64 added
Owner: set to danchr
Port: @2022.06.06.00_1 removed
Status: newassigned
Summary: Watchman on M1: watchman port binary SIGTRAPs upon execution, source compile fails compilationWatchman @2022.06.06.00_1 on M1: watchman port binary SIGTRAPs upon execution, source compile fails compilation

comment:2 Changed 22 months ago by cganoe (Craig Ganoe)

I am seeing the same/similar issue on x86_64 Mac OS Monterey 12.4. When I do sudo port -s install watchman the compile fails with the same errors and in the same place as the log posted by ttelford (except the architecture says x86_64)

If I do an install with sudo port install watchman when I execute watchman --version the version reports as "0.0.0".

Last edited 22 months ago by cganoe (Craig Ganoe) (previous) (diff)

comment:3 Changed 6 months ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: assignedclosed

In 500bb44a1b9aefea8b1cdbee11e27ca0a44b7601/macports-ports (master):

watchman, edencommon: Update to 2023.11.13.00

Fix packaging of pywatchman and specify the watchman version number
(which cannot be determined from git in our setup).

Drop the first patch, which does no longer seem to be required.

Update edencommon to the same version, because the build will fail
otherwise.

This fixes the watchman prebuilt package, which is broken since the last
libsodium update in 86381201edd2b233a20f15a542eae461de5eabb6 and was not
fixed in https://github.com/macports/macports-ports/pull/20537 either.

Closes: #65475
Closes: #68702

Note: See TracTickets for help on using tickets.