react-native-community / boost-for-react-native Goto Github PK
View Code? Open in Web Editor NEWThe Boost C++ library source code used to build React Native from source
License: Boost Software License 1.0
The Boost C++ library source code used to build React Native from source
License: Boost Software License 1.0
There's an issue on react-native I've opened: facebook/react-native#16381
I'm trying to use this version of boost instead of what's currently referred to as 'boost' in Folly.podspec, since the release version that can be downloaded from here is 4-5x smaller.
This is the podspec I've added
https://github.com/languagedrops/react-native/commit/1c3f1ab55aa8541bde2adbc4c4f25914a5731021
which should be the same as:
https://github.com/CocoaPods/Specs/blob/master/Specs/9/9/d/boost/1.59.0/boost.podspec.json
except the download URL.
But when I try to run the project with boost installed from this repo, I get the following error:
Are there any plans of making a pod out of this?
Thank you!
When building the project, it fails with various "file not found" messages for files inside
For example,
fatal error: 'boost/config/warning_disable.hpp' file not found #include <boost/config/warning_disable.hpp>
react-native info
output:
System:
OS: macOS 10.15.4
CPU: (8) x64 Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
Memory: 536.50 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.12.0 - /usr/local/bin/node
Yarn: 1.19.1 - /usr/local/bin/yarn
npm: 6.11.3 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
IDEs:
Xcode: 11.5/11E608c - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.0 => 0.61.0
npmGlobalPackages:
babel-preset-react-native: 5.0.0
jest-react-native: 18.0.0
react-native-animatable: 1.3.2
react-native-carrier-info: 1.1.1
react-native-cli: 2.0.1
react-native: 0.59.10
[...]
Library version: 1.63.0
The build will fail.
I saw all the Stackoverflow posts regarding the issue, e.g. this one - nothing helps.
Seems as the lib misses a path of some kind.
Will greatly appreciate any help or idea.
Where is boost-1.59.0 ? My old project based on react-native 0.49.5 which require boost 1.59.0
Hi
We conduct a software composition analysis scan by Black Duck hub and we found the following :
(1) BDSA-2018-2656
Boost has a flaw in the function boost::re_detail_NUMBER::basic_regex_creator which can lead to a buffer over-read. An attacker can craft and send a malicious file which will trigger the buffer over-read, leading to a denial-of-service.
The vulnerability can be exploited by local attackers via import of a maliciously crafted file or by remote attackers that send the file to a victim. The Boost software will crash when the file is imported into the library.
Details:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6708
(2) BDSA-2018-1263
Boost incorrectly casts from "boost::detail::shared_count::shared_count" to "boost::detail::sp_counted_base" causing type confusion leading to a denial-of-service (DoS).
Details:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4680
Please advise if the following has a patch.
Hi folks,
Would you please provide us a simple helloworld demo on RN ?
Many thanks
README now says This is a copy of Boost that is used to build React Native (Android) from source
, but I've encountered this error , which suggest that boost is also used for iOS build.
Should README be updated to reflect this?
The current version of boost is quite old, are there plans to update it ?
This would simplify gradle extraction in React Native a lot
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.