Changes between Initial Version and Version 1 of Ticket #57387


Ignore:
Timestamp:
Oct 15, 2018, 12:18:16 AM (6 years ago)
Author:
kencu (Ken)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57387

    • Property Status changed from new to assigned
    • Property Cc seanfarley removed
    • Property Summary changed from watchman 4.9.0_0 darwin_18.x86_64: Failed to build watchman: command execution failed to watchman 4.9.0_0 darwin_18.x86_64: bser.cpp:345:17: error: offset of on non-standard-layout type 'json_object_t'
    • Property Keywords mojave added
    • Property Owner set to seanfarley
  • Ticket #57387 – Description

    initial v1  
    22- xcode: 10.0 (10A255)
    33
    4 Followed https://trac.macports.org/wiki/Migration after upgrading to Mojave.
    5 
    6 Running {{{xargs sudo port setrequested < requested.txt}}} gives:
    7 {{{Error: Registry error: watchman not registered as installed.}}}
    8 
    9 Running {{{sudo port install watchman}}} gives:
    104{{{
    11 --->  Computing dependencies for watchman
    12 --->  Fetching archive for watchman
    13 --->  Attempting to fetch watchman-4.9.0_0.darwin_18.x86_64.tbz2 from https://packages.macports.org/watchman
    14 --->  Attempting to fetch watchman-4.9.0_0.darwin_18.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/watchman
    15 --->  Attempting to fetch watchman-4.9.0_0.darwin_18.x86_64.tbz2 from http://lil.fr.packages.macports.org/watchman
    16 --->  Fetching distfiles for watchman
    17 --->  Verifying checksums for watchman
    18 --->  Extracting watchman
    19 --->  Configuring watchman
    20 --->  Building watchman
    21 Error: Failed to build watchman: command execution failed
    22 Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_watchman/watchman/main.log for details.
    23 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
    24 Error: Processing of port watchman failed
     5571     :info:build /usr/bin/clang++ -std=c++11 -DHAVE_CONFIG_H -I.  -I./thirdparty/jansson -I./thirdparty/jansson -Werror -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/opt/local/include  -pipe -Os -stdlib=libc++ -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -Wall -Wextra -g -gdwarf-2 -fno-omit-frame-pointer -MT watchman-opendir.o -MD -MP -MF .deps/watchman-opendir.Tpo -c -o watchman-opendir.o `test -f 'opendir.cpp' || echo './'`opendir.cpp
     6572     :info:build bser.cpp:345:17: error: offset of on non-standard-layout type 'json_object_t' [-Werror,-Winvalid-offsetof]
     7573     :info:build   auto object = json_to_object(obj);
     8574     :info:build                 ^~~~~~~~~~~~~~~~~~~
     9575     :info:build ./thirdparty/jansson/jansson_private.h:71:32: note: expanded from macro 'json_to_object'
     10576     :info:build #define json_to_object(json_)  container_of((json_t*)json_, json_object_t, json)
     11577     :info:build                                ^                                           ~~~~
     12578     :info:build ./thirdparty/jansson/jansson_private.h:19:31: note: expanded from macro 'container_of'
     13579     :info:build     ((type_ *)((char *)ptr_ - offsetof(type_, member_)))
     14580     :info:build                               ^               ~~~~~~~
     15581     :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'
     16582     :info:build #define offsetof(t, d) __builtin_offsetof(t, d)
     17583     :info:build                        ^                     ~
     18584     :info:build 1 error generated.
    2519}}}