#18706 closed bug (fixed)

HaikuWebKit: Build issue on Haiku R1B4 x86_64

Reported by: cocobean Owned by: pulkomandy
Priority: normal Milestone: Unscheduled
Component: Kits/Web Kit Version: R1/beta4
Keywords: haikuwebkit Cc:
Blocked By: Blocking:
Platform: x86-64

Description

Issue with x86_64 haikuwebkit build:

[1861/5337] Building CXX object Source...enssl/CryptoAlgorithmHKDFOpenSSL.cpp.o
FAILED: Source/WebCore/CMakeFiles/WebCore.dir/crypto/openssl/CryptoAlgorithmHKDFOpenSSL.cpp.o 
/bin/c++ -DBUILDING_HAIKU__=1 -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WebCore -DDATA_DIR=\"/boot/system/data/WebKit\" -DHAIKU_WEBKIT_VERSION=\"1.9.9\" -DHAVE_CONFIG_H=1 -DPAS_BMALLOC=1 -DSTATICALLY_LINKED_WITH_PAL -DUSE_3D_GRAPHICS=0 -D_DEFAULT_SOURCE -D_GLIBCXX_USE_C99_MATH -I/boot/home/haikuwebkit-haiku/Source/ThirdParty/ANGLE -I/boot/home/haikuwebkit-haiku/Source/ThirdParty/ANGLE/include/KHR -I/boot/home/haikuwebkit-haiku/Source/WebCore/page/scrolling/coordinatedgraphics -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/haiku -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/graphics/egl -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/graphics/opengl -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/graphics/opentype -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/graphics/texmap/coordinated -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/mediacapabilities -I/boot/home/haikuwebkit-haiku/WebKitBuild/Release/DerivedSources/ForwardingHeaders/JavaScriptCore -I/boot/home/haikuwebkit-haiku/Source -I/boot/home/haikuwebkit-haiku/WebKitBuild/Release -I/boot/home/haikuwebkit-haiku/WebKitBuild/Release/WebCore/DerivedSources -I/boot/home/haikuwebkit-haiku/Source/WebCore -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/ShapeDetection -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/ShapeDetection/Interfaces -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/WebGPU -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/WebGPU/InternalAPI -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/WebGPU/Implementation -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/airplay -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/applepay -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/applepay/paymentrequest -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/applicationmanifest -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/async-clipboard -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/audiosession -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/badge -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/beacon -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/cache -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/compression -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/contact-picker -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/cookie-consent -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/cookie-store -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/credentialmanagement -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/encryptedmedia -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/encryptedmedia/legacy -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/entriesapi -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/fetch -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/filesystemaccess -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/geolocation -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/highlight -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/indexeddb -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/indexeddb/client -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/indexeddb/server -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/indexeddb/shared -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/mediacapabilities -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/mediacontrols -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/mediarecorder -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/mediasession -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/mediasource -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/mediastream -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/model-element -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/model-element/dummy -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/navigatorcontentutils -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/notifications -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/paymentrequest -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/permissions -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/pictureinpicture -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/plugins -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/push-api -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/remoteplayback -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/reporting -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/screen-wake-lock -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/speech -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/storage -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/streams -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/web-locks -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/webaudio -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/webauthn -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/webauthn/cbor -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/webauthn/fido -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/webcodecs -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/webdatabase -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/webdriver -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/websockets -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/webtransport -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/webxr -I/boot/home/haikuwebkit-haiku/Source/WebCore/accessibility -I/boot/home/haikuwebkit-haiku/Source/WebCore/accessibility/isolatedtree -I/boot/home/haikuwebkit-haiku/Source/WebCore/animation -I/boot/home/haikuwebkit-haiku/Source/WebCore/bindings -I/boot/home/haikuwebkit-haiku/Source/WebCore/bindings/js -I/boot/home/haikuwebkit-haiku/Source/WebCore/bridge -I/boot/home/haikuwebkit-haiku/Source/WebCore/bridge/c -I/boot/home/haikuwebkit-haiku/Source/WebCore/bridge/jsc -I/boot/home/haikuwebkit-haiku/Source/WebCore/contentextensions -I/boot/home/haikuwebkit-haiku/Source/WebCore/crypto -I/boot/home/haikuwebkit-haiku/Source/WebCore/crypto/algorithms -I/boot/home/haikuwebkit-haiku/Source/WebCore/crypto/keys -I/boot/home/haikuwebkit-haiku/Source/WebCore/crypto/parameters -I/boot/home/haikuwebkit-haiku/Source/WebCore/css/calc -I/boot/home/haikuwebkit-haiku/Source/WebCore/css/color -I/boot/home/haikuwebkit-haiku/Source/WebCore/css/parser -I/boot/home/haikuwebkit-haiku/Source/WebCore/css/query -I/boot/home/haikuwebkit-haiku/Source/WebCore/css/typedom -I/boot/home/haikuwebkit-haiku/Source/WebCore/css/typedom/color -I/boot/home/haikuwebkit-haiku/Source/WebCore/css/typedom/numeric -I/boot/home/haikuwebkit-haiku/Source/WebCore/css/typedom/transform -I/boot/home/haikuwebkit-haiku/Source/WebCore/cssjit -I/boot/home/haikuwebkit-haiku/Source/WebCore/dom/messageports -I/boot/home/haikuwebkit-haiku/Source/WebCore/domjit -I/boot/home/haikuwebkit-haiku/Source/WebCore/editing -I/boot/home/haikuwebkit-haiku/Source/WebCore/history -I/boot/home/haikuwebkit-haiku/Source/WebCore/html -I/boot/home/haikuwebkit-haiku/Source/WebCore/html/canvas -I/boot/home/haikuwebkit-haiku/Source/WebCore/html/forms -I/boot/home/haikuwebkit-haiku/Source/WebCore/html/parser -I/boot/home/haikuwebkit-haiku/Source/WebCore/html/shadow -I/boot/home/haikuwebkit-haiku/Source/WebCore/html/track -I/boot/home/haikuwebkit-haiku/Source/WebCore/inspector -I/boot/home/haikuwebkit-haiku/Source/WebCore/inspector/agents -I/boot/home/haikuwebkit-haiku/Source/WebCore/inspector/agents/page -I/boot/home/haikuwebkit-haiku/Source/WebCore/inspector/agents/worker -I/boot/home/haikuwebkit-haiku/Source/WebCore/layout -I/boot/home/haikuwebkit-haiku/Source/WebCore/layout/formattingContexts -I/boot/home/haikuwebkit-haiku/Source/WebCore/layout/formattingContexts/block -I/boot/home/haikuwebkit-haiku/Source/WebCore/layout/formattingContexts/block/tablewrapper -I/boot/home/haikuwebkit-haiku/Source/WebCore/layout/formattingContexts/flex -I/boot/home/haikuwebkit-haiku/Source/WebCore/layout/floats -I/boot/home/haikuwebkit-haiku/Source/WebCore/layout/formattingContexts/inline -I/boot/home/haikuwebkit-haiku/Source/WebCore/layout/formattingContexts/inline/display -I/boot/home/haikuwebkit-haiku/Source/WebCore/layout/formattingContexts/inline/invalidation -I/boot/home/haikuwebkit-haiku/Source/WebCore/layout/formattingContexts/inline/ruby -I/boot/home/haikuwebkit-haiku/Source/WebCore/layout/formattingContexts/inline/text -I/boot/home/haikuwebkit-haiku/Source/WebCore/layout/integration -I/boot/home/haikuwebkit-haiku/Source/WebCore/layout/integration/flex -I/boot/home/haikuwebkit-haiku/Source/WebCore/layout/integration/inline -I/boot/home/haikuwebkit-haiku/Source/WebCore/layout/layouttree -I/boot/home/haikuwebkit-haiku/Source/WebCore/layout/formattingContexts/table -I/boot/home/haikuwebkit-haiku/Source/WebCore/loader -I/boot/home/haikuwebkit-haiku/Source/WebCore/loader/appcache -I/boot/home/haikuwebkit-haiku/Source/WebCore/loader/archive -I/boot/home/haikuwebkit-haiku/Source/WebCore/loader/archive/mhtml -I/boot/home/haikuwebkit-haiku/Source/WebCore/loader/cache -I/boot/home/haikuwebkit-haiku/Source/WebCore/loader/icon -I/boot/home/haikuwebkit-haiku/Source/WebCore/mathml -I/boot/home/haikuwebkit-haiku/Source/WebCore/page -I/boot/home/haikuwebkit-haiku/Source/WebCore/page/csp -I/boot/home/haikuwebkit-haiku/Source/WebCore/page/scrolling -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/animation -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/audio -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/calc -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/encryptedmedia -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/gamepad -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/graphics/cpu/arm -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/graphics/cpu/arm/filters -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/graphics/displaylists -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/graphics/filters -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/graphics/filters/software -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/graphics/controls -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/graphics/iso -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/mediarecorder -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/mediastream -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/mock -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/mock/mediasource -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/network -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/sql -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/xr -I/boot/home/haikuwebkit-haiku/Source/WebCore/plugins -I/boot/home/haikuwebkit-haiku/Source/WebCore/rendering -I/boot/home/haikuwebkit-haiku/Source/WebCore/rendering/line -I/boot/home/haikuwebkit-haiku/Source/WebCore/rendering/mathml -I/boot/home/haikuwebkit-haiku/Source/WebCore/rendering/style -I/boot/home/haikuwebkit-haiku/Source/WebCore/rendering/svg -I/boot/home/haikuwebkit-haiku/Source/WebCore/rendering/svg/legacy -I/boot/home/haikuwebkit-haiku/Source/WebCore/rendering/updating -I/boot/home/haikuwebkit-haiku/Source/WebCore/replay -I/boot/home/haikuwebkit-haiku/Source/WebCore/storage -I/boot/home/haikuwebkit-haiku/Source/WebCore/style -I/boot/home/haikuwebkit-haiku/Source/WebCore/svg -I/boot/home/haikuwebkit-haiku/Source/WebCore/svg/animation -I/boot/home/haikuwebkit-haiku/Source/WebCore/svg/graphics -I/boot/home/haikuwebkit-haiku/Source/WebCore/svg/graphics/filters -I/boot/home/haikuwebkit-haiku/Source/WebCore/svg/properties -I/boot/home/haikuwebkit-haiku/Source/WebCore/websockets -I/boot/home/haikuwebkit-haiku/Source/WebCore/workers -I/boot/home/haikuwebkit-haiku/Source/WebCore/workers/service -I/boot/home/haikuwebkit-haiku/Source/WebCore/workers/service/background-fetch -I/boot/home/haikuwebkit-haiku/Source/WebCore/workers/service/context -I/boot/home/haikuwebkit-haiku/Source/WebCore/workers/service/server -I/boot/home/haikuwebkit-haiku/Source/WebCore/workers/shared -I/boot/home/haikuwebkit-haiku/Source/WebCore/workers/shared/context -I/boot/home/haikuwebkit-haiku/Source/WebCore/worklets -I/boot/home/haikuwebkit-haiku/Source/WebCore/xml -I/boot/home/haikuwebkit-haiku/Source/WebCore/xml/parser -I/boot/home/haikuwebkit-haiku/Source/WebCore/Modules/gamepad -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/graphics/haiku -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/image-decoders -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/image-decoders/avif -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/image-decoders/bmp -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/image-decoders/gif -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/image-decoders/ico -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/image-decoders/jpeg -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/image-decoders/jpeg2000 -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/image-decoders/jpegxl -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/image-decoders/png -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/image-decoders/webp -I/boot/home/haikuwebkit-haiku/Source/WebCore/platform/network/curl -I/boot/home/haikuwebkit-haiku/WebKitBuild/Release/JavaScriptCore/Headers -I/boot/home/haikuwebkit-haiku/WebKitBuild/Release/JavaScriptCore/PrivateHeaders -I/boot/home/haikuwebkit-haiku/WebKitBuild/Release/WTF/Headers -I/boot/home/haikuwebkit-haiku/WebKitBuild/Release/PAL/Headers -isystem /packages/libxml2-2.10.4-3/.self/develop/headers/libxml2 -isystem /system/develop/headers/private/netservices -isystem /packages/libavif-0.9.3-3/.self/develop/headers/avif -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-odr -Wno-stringop-overread -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare  -fno-strict-aliasing -fno-exceptions -fno-rtti -ffunction-sections -fdata-sections -O3 -DNDEBUG -frtti -std=c++20   -iquote /boot/home/haikuwebkit-haiku/Source/WebCore/css -iquote /boot/home/haikuwebkit-haiku/Source/WebCore/dom -iquote /boot/home/haikuwebkit-haiku/Source/WebCore/fileapi -iquote /boot/home/haikuwebkit-haiku/Source/WebCore/platform -iquote /boot/home/haikuwebkit-haiku/Source/WebCore/platform/graphics -iquote /boot/home/haikuwebkit-haiku/Source/WebCore/platform/graphics/transforms -iquote /boot/home/haikuwebkit-haiku/Source/WebCore/platform/text -iquote /boot/home/haikuwebkit-haiku/Source/WebCore/rendering/shapes -iquote /boot/home/haikuwebkit-haiku/Source/WebCore/css -iquote /boot/home/haikuwebkit-haiku/Source/WebCore/dom -iquote /boot/home/haikuwebkit-haiku/Source/WebCore/fileapi -iquote /boot/home/haikuwebkit-haiku/Source/WebCore/platform -iquote /boot/home/haikuwebkit-haiku/Source/WebCore/platform/graphics -iquote /boot/home/haikuwebkit-haiku/Source/WebCore/platform/graphics/transforms -iquote /boot/home/haikuwebkit-haiku/Source/WebCore/platform/text -iquote /boot/home/haikuwebkit-haiku/Source/WebCore/rendering/shapes -Werror -DAVIF_DLL -MD -MT Source/WebCore/CMakeFiles/WebCore.dir/crypto/openssl/CryptoAlgorithmHKDFOpenSSL.cpp.o -MF Source/WebCore/CMakeFiles/WebCore.dir/crypto/openssl/CryptoAlgorithmHKDFOpenSSL.cpp.o.d -o Source/WebCore/CMakeFiles/WebCore.dir/crypto/openssl/CryptoAlgorithmHKDFOpenSSL.cpp.o -c /boot/home/haikuwebkit-haiku/Source/WebCore/crypto/openssl/CryptoAlgorithmHKDFOpenSSL.cpp
/boot/home/haikuwebkit-haiku/Source/WebCore/crypto/openssl/CryptoAlgorithmHKDFOpenSSL.cpp: In function 'int WebCore::HKDF(unsigned char*, size_t, const evp_md_st*, const unsigned char*, size_t, const unsigned char*, size_t, const unsigned char*, size_t)':
/boot/home/haikuwebkit-haiku/Source/WebCore/crypto/openssl/CryptoAlgorithmHKDFOpenSSL.cpp:46:74: error: unused parameter 'algorithm' [-Werror=unused-parameter]
   46 |         int HKDF(unsigned char* output, size_t outSize, const evp_md_st* algorithm,
      |                                                         ~~~~~~~~~~~~~~~~~^~~~~~~~~
cc1plus: all warnings being treated as errors
[1866/5337] Building CXX object Source...l/CryptoAlgorithmRSA_OAEPOpenSSL.cpp.o
ninja: build stopped: subcommand failed.

Ref: https://github.com/haiku/haikuwebkit/commit/65316e85ea0a676b560af9fffcea4b2781964ddb

Platform: Haiku R1B4 (hrev56578+93) x86_64

Change History (3)

comment:1 by pulkomandy, 11 months ago

Please follow the readme instructions. You must build with "warning as errors" disabled currently.

comment:2 by cocobean, 11 months ago

Resolved. No further issues.

comment:3 by waddlesplash, 11 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.