Skip to content

Install Third Party script fails on double-conversion.build #21354

Closed
@jasonsturges

Description

@jasonsturges

Environment

Environment:
OS: macOS High Sierra 10.13.6
Node: 10.11.0
Yarn: 1.10.1
npm: 6.4.1
Watchman: 4.9.0
Xcode: Xcode 10.0 Build version 10A255
Android Studio: Not Found

Packages: (wanted => installed)
react: 16.0.0 => 16.0.0
react-native: 0.51.0 => 0.51.0

Description

On build step, running script 'Install Third Party' fails when executing 'double-conversion.build' build command:

PhaseScriptExecution Install\ Third\ Party /Users/jsturges/Library/Developer/Xcode/DerivedData/realsimple-apzvagrtoaeanyfegvqrfvpgmyko/Build/Intermediates.noindex/ArchiveIntermediates/realsimple/IntermediateBuildFilesPath/React.build/Release-iphoneos/double-conversion.build/Script-190EE32F1E6A43DE00A8543A.sh

In my ~/.rncache, I have:

  • boost_1_63_0.tar.gz
  • double-conversion-1.1.5.tar.gz
  • folly-2016.09.26.00.tar.gz
  • glog-0.3.4.tar.gz

There's a lot of chatter here regarding this, but many issues cite having the library within my .rncache.

Per Issue #14447, I've tried creating a third-party folder in: node_modules/react-native/third-party and placing libraries from my ~/.rncache there unzipped. Then, I need to manually configure glog.

$ cd node_modules/react-native/third-party/glog-0.3.4
$ ./configure

That results in error:

▸ Compiling signalhandler.cc
❌ node_modules/react-native/third-party/glog-0.3.4/src/signalhandler.cc:78:28: no member named '__rip' in '__darwin_arm_thread_state'
return (void*)context->PC_FROM_UCONTEXT;

Per Issue #16106, I can alter signalhandler.cc:

$ vi node_modules/react-native/third-party/glog-0.3.4/src/signalhandler.cc

At Line 78, change: return (void*)context->PC_FROM_UCONTEXT; to return NULL;

Which then fails on: Building library libRCTWebSocket.a

❌ error: Build input file cannot be found: 'node_modules/react-native/Libraries/WebSocket/libfishhook.a'

Per Issue #16039, I can't get past changing the "fishhook.h" import.

Are there known issues with my environment, as this project runs on numerous other MacBooks.

Reproducible Demo

This is within the build, executing: npm run build

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions