New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
webkitgtk: Fix webkitgtk for macOS #33307
Conversation
@GrahamcOfBorg build webkitgtk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failure for system: x86_64-darwin
#if !__BIG_ENDIAN__ && !__LITTLE_ENDIAN__
^
/nix/store/ib67r0hzmdfyv0q68y3z632xpd2pd9a5-CF-osx-10.10.5-private/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:39:5: warning: '__BIG_ENDIAN__' is not defined, evaluates to 0 [-Wundef]
#if __BIG_ENDIAN__ && __LITTLE_ENDIAN__
^
/nix/store/ib67r0hzmdfyv0q68y3z632xpd2pd9a5-CF-osx-10.10.5-private/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:363:5: warning: '__LLP64__' is not defined, evaluates to 0 [-Wundef]
#if __LLP64__
^
building of ‘/nix/store/m7abfcmrbnn7b3b709ghsk4nlh5hjk6b-webkitgtk-2.18.4.drv’ timed out after 1800 seconds
error: build of ‘/nix/store/m7abfcmrbnn7b3b709ghsk4nlh5hjk6b-webkitgtk-2.18.4.drv’ failed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failure for system: x86_64-linux
[ 23%] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/runtime/SetPrototype.cpp.o
[ 23%] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/runtime/StringConstructor.cpp.o
[ 23%] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/runtime/SetIteratorPrototype.cpp.o
[ 23%] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/runtime/SetConstructor.cpp.o
[ 23%] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/runtime/StringIteratorPrototype.cpp.o
[ 23%] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/runtime/StringObject.cpp.o
[ 23%] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/runtime/StringPrototype.cpp.o
[ 23%] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/runtime/SymbolConstructor.cpp.o
building of ‘/nix/store/l5h255j0cziyf5jpz5idgdh5vkq6jiqv-webkitgtk-2.18.4.drv’ timed out after 1800 seconds
error: build of ‘/nix/store/l5h255j0cziyf5jpz5idgdh5vkq6jiqv-webkitgtk-2.18.4.drv’ failed
cc @LnL7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failure for system: aarch64-linux
[ 39%] Building CXX object Source/WebCore/CMakeFiles/WebCoreDerivedSources.dir/__/__/DerivedSources/WebCore/MathMLNames.cpp.o
[ 39%] Building CXX object Source/WebCore/CMakeFiles/WebCoreDerivedSources.dir/__/__/DerivedSources/WebCore/XLinkNames.cpp.o
[ 40%] Building CXX object Source/WebCore/CMakeFiles/WebCoreDerivedSources.dir/__/__/DerivedSources/WebCore/JSSVGElementWrapperFactory.cpp.o
[ 40%] Building CXX object Source/WebCore/CMakeFiles/WebCoreDerivedSources.dir/__/__/DerivedSources/WebCore/SVGElementFactory.cpp.o
[ 40%] Building CXX object Source/WebCore/CMakeFiles/WebCoreDerivedSources.dir/__/__/DerivedSources/WebCore/SVGNames.cpp.o
[ 40%] Building CXX object Source/WebCore/CMakeFiles/WebCoreDerivedSources.dir/__/__/DerivedSources/WebCore/MathMLElementFactory.cpp.o
[ 40%] Building CXX object Source/WebCore/CMakeFiles/WebCoreDerivedSources.dir/__/__/DerivedSources/WebCore/XMLNSNames.cpp.o
[ 40%] Building CXX object Source/WebCore/CMakeFiles/WebCoreDerivedSources.dir/__/__/DerivedSources/WebCore/XMLNames.cpp.o
building of '/nix/store/5kx1hwh6salag7h86krxzk83rsjdik3z-webkitgtk-2.18.4.drv' timed out after 3600 seconds
error: build of '/nix/store/5kx1hwh6salag7h86krxzk83rsjdik3z-webkitgtk-2.18.4.drv' failed
70e7717
to
7a26949
Compare
7a26949
to
a5273b5
Compare
a5273b5
to
646af90
Compare
646af90
to
ed8f507
Compare
ed8f507
to
e15189b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merge conflict.
@@ -24,6 +24,8 @@ stdenv.mkDerivation rec { | |||
nativeBuildInputs = [ pkgconfig intltool ]; | |||
propagatedBuildInputs = [ glib gnutls libproxy gsettings_desktop_schemas ]; | |||
|
|||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should no longer be required.
Are there any updates on this pull request, please? |
Thank you for your contributions.
|
I marked this as stale due to inactivity. → More info |
Should be resolved by #123298 for now. |
Motivation for this change
The latest webkitgtk in nixpkgs does not currently build on macOS. This fixes thew build and webkitgtk seems to work correctly on macOS.
I have included PR #33304 (fixes geoclue2 on macOS) in this PR as it is also needed for this to work (since webkitgtk uses geoclue2).
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)