Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

statvfs build error #142

Open
guzhonL opened this issue Dec 29, 2020 · 0 comments
Open

statvfs build error #142

guzhonL opened this issue Dec 29, 2020 · 0 comments

Comments

@guzhonL
Copy link

guzhonL commented Dec 29, 2020

Issue Description

Hi, When I built 245459.0.0 myself on branch master, I got a build error like this:
/Users/guizhong/dev/workspace/jsc-android-buildscripts/build/target/webkit/Source/WTF/wtf/posix/FileSystemPOSIX.cpp:422:9: error: no matching constructor for initialization of 'statvfs'
_if (statvfs(fileSystemRepresentation(path).data(), &fileSystemStat)) {
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_

/Users/guizhong/dev/workspace/20190401/Android/WBox/wbxjscore/jsc-android-buildscripts/build/target/toolchains/arm-linux-androideabi/sysroot/usr/include/sys/statvfs.h:46:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
struct statvfs { __STATVFS64_BODY };
^

/Users/guizhong/dev/workspace/jsc-android-buildscripts/build/target/toolchains/arm-linux-androideabi/sysroot/usr/include/sys/statvfs.h:46:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
/Users/guizhong/dev/workspace/jsc-android-buildscripts/build/target/toolchains/arm-linux-androideabi/sysroot/usr/include/sys/statvfs.h:46:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided
1 error generated.
And "jsc_fix_build_error_statvfs.patch" applied. Would you give me a clue how to fix it? It's the best way that you could publish a new tag on version 245459.0.0. Thanks!!

Version, config, any additional info

ndk version: ndk-r17c
os info:macOs Mojave

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant