Opened 10 years ago

Closed 9 years ago

#47604 closed defect (worksforme)

watchman @3.1: builds with datatype mismatch in clang

Reported by: siulung@… Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: watchman

Description (last modified by ryandesign (Ryan Carsten Schmidt))

$ sudo port install watchman
--->  Computing dependencies for watchman
--->  Fetching archive for watchman
--->  Attempting to fetch watchman-3.1_0+universal.darwin_14.i386-x86_64.tbz2 from http://packages.macports.org/watchman
[...]
Error: org.macports.build for port watchman returned: command execution failed
Please see the log file for port watchman for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_watchman/watchman/main.log
:info:build watcher/fsevents.c:133:67: error: values of type 'FSEventStreamEventFlags' should not be used as format arguments; add an explicit cast to 'unsigned int' instead [-Werror,-Wformat]
:info:build     w_log(W_LOG_DBG, "fse_thread: add %s %" PRIx32 "\n", pathbuf, evt->flags);
:info:build                                          ~~~                      ^~~~~~~~~~
:info:build                                                                   (unsigned int)
:info:build 1 error generated.

Change History (5)

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

Description: modified (diff)
Owner: changed from macports-tickets@… to sean@…
Port: watchman added
Summary: watchman builds with datatype mismatch in clangwatchman @3.1: builds with datatype mismatch in clang

comment:2 Changed 10 years ago by seanfarley (Sean Farley)

No idea why you're getting this error and I'm not. Are you changing the default compiler or compiler flags?

comment:3 Changed 10 years ago by siulung@…

Note sure if this is the cause, but I am on Xcode 6.3.1 (6D1002) on Yosemite, last updated on Mac App Store about a week ago.

$ clang -v
Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.1.0
Thread model: posix
Last edited 10 years ago by siulung@… (previous) (diff)

comment:4 Changed 10 years ago by seanfarley (Sean Farley)

Hmm, that's what I have as well. By chance, do you have anything in /usr/local?

comment:5 Changed 9 years ago by seanfarley (Sean Farley)

Resolution: worksforme
Status: newclosed

I've updated watchman and haven't heard back so I'll mark this closed. Please reopen it if the error still occurs for watchman 3.5.0.

Note: See TracTickets for help on using tickets.