Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828497 - dev-qt/qtwebengine-5.15.2_p20211019 - .../src/3rdparty/chromium/third_party/skia/include/core/SkImageInfo.h:105:6: error: #error "SK_*32_SHIFT values must correspond to BGRA or RGBA byte order"
Summary: dev-qt/qtwebengine-5.15.2_p20211019 - .../src/3rdparty/chromium/third_party/s...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-07 10:10 UTC by ernsteiswuerfel
Modified: 2021-12-07 10:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (qtwebengine-5.15.2_p20211019:20211207-093809.log,582.50 KB, text/plain)
2021-12-07 10:10 UTC, ernsteiswuerfel
Details
build --info (file_828497.txt,6.04 KB, text/plain)
2021-12-07 10:10 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2021-12-07 10:10:08 UTC
Created attachment 757607 [details]
build.log

[...]
[1304/23641] /usr/bin/powerpc64-unknown-linux-gnu-g++ -MMD -MF obj/skia/skia_core_and_effects/SkRecordedDrawable.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_USE_LIBGIFCODEC -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DSKIA_IMPLEMENTATION=1 -DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2 -DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -Igen -I../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium -I../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia -I../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/libgifcodec -I../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/vulkan/include -I../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/vulkan_headers/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -fno-omit-frame-pointer -g0 -fvisibility=hidden -O2 -fno-ident -fdata-sections -ffunction-sections -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -std=c++17 -std=gnu++14 -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -std=c++17 -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -c ../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/src/core/SkRecordedDrawable.cpp -o obj/skia/skia_core_and_effects/SkRecordedDrawable.o
FAILED: obj/skia/skia_core_and_effects/SkRecordedDrawable.o 
/usr/bin/powerpc64-unknown-linux-gnu-g++ -MMD -MF obj/skia/skia_core_and_effects/SkRecordedDrawable.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_USE_LIBGIFCODEC -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DSKIA_IMPLEMENTATION=1 -DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2 -DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -Igen -I../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium -I../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia -I../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/libgifcodec -I../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/vulkan/include -I../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/vulkan_headers/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -fno-omit-frame-pointer -g0 -fvisibility=hidden -O2 -fno-ident -fdata-sections -ffunction-sections -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -std=c++17 -std=gnu++14 -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -std=c++17 -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -c ../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/src/core/SkRecordedDrawable.cpp -o obj/skia/skia_core_and_effects/SkRecordedDrawable.o
In file included from ../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/include/core/SkTypes.h:200,
                 from ../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/include/core/SkMath.h:11,
                 from ../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/include/core/SkPoint.h:11,
                 from ../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/include/core/SkRect.h:11,
                 from ../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/include/core/SkMatrix.h:11,
                 from ../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/src/core/SkRecordedDrawable.cpp:8:
../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/../../skia/config/SkUserConfig.h:188:2: error: #error Read the comment at this location
  188 | #error Read the comment at this location
      |  ^~~~~
In file included from ../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/include/core/SkMath.h:11,
                 from ../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/include/core/SkPoint.h:11,
                 from ../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/include/core/SkRect.h:11,
                 from ../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/include/core/SkMatrix.h:11,
                 from ../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/src/core/SkRecordedDrawable.cpp:8:
../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/include/core/SkTypes.h:230:6: error: #error "The Skia team is not endian-savvy enough to support big-endian CPUs."
  230 |     #error "The Skia team is not endian-savvy enough to support big-endian CPUs."
      |      ^~~~~
../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/include/core/SkTypes.h:231:6: error: #error "If you still want to use Skia,"
  231 |     #error "If you still want to use Skia,"
      |      ^~~~~
../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/include/core/SkTypes.h:232:6: error: #error "please define I_ACKNOWLEDGE_SKIA_DOES_NOT_SUPPORT_BIG_ENDIAN."
  232 |     #error "please define I_ACKNOWLEDGE_SKIA_DOES_NOT_SUPPORT_BIG_ENDIAN."
      |      ^~~~~
In file included from ../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/include/core/SkColor.h:11,
                 from ../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/include/core/SkBitmap.h:11,
                 from ../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/src/core/SkPictureData.h:11,
                 from ../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/src/core/SkRecordedDrawable.cpp:10:
../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/include/core/SkImageInfo.h:105:6: error: #error "SK_*32_SHIFT values must correspond to BGRA or RGBA byte order"
  105 |     #error "SK_*32_SHIFT values must correspond to BGRA or RGBA byte order"
      |      ^~~~~
../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/include/core/SkImageInfo.h: In static member function ‘static SkImageInfo SkImageInfo::MakeN32(int, int, SkAlphaType, sk_sp<SkColorSpace>)’:
../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/include/core/SkImageInfo.h:352:38: error: ‘kN32_SkColorType’ was not declared in this scope; did you mean ‘SkColorType’?
  352 |         return Make({width, height}, kN32_SkColorType, at, std::move(cs));
      |                                      ^~~~~~~~~~~~~~~~
      |                                      SkColorType
../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/include/core/SkImageInfo.h: In static member function ‘static SkImageInfo SkImageInfo::MakeN32Premul(int, int, sk_sp<SkColorSpace>)’:
../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/include/core/SkImageInfo.h:384:38: error: ‘kN32_SkColorType’ was not declared in this scope; did you mean ‘SkColorType’?
  384 |         return Make({width, height}, kN32_SkColorType, kPremul_SkAlphaType, std::move(cs));
      |                                      ^~~~~~~~~~~~~~~~
      |                                      SkColorType
../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/include/core/SkImageInfo.h: In static member function ‘static SkImageInfo SkImageInfo::MakeN32Premul(SkISize, sk_sp<SkColorSpace>)’:
../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/skia/include/core/SkImageInfo.h:401:33: error: ‘kN32_SkColorType’ was not declared in this scope; did you mean ‘SkColorType’?
  401 |         return Make(dimensions, kN32_SkColorType, kPremul_SkAlphaType, std::move(cs));
      |                                 ^~~~~~~~~~~~~~~~
      |                                 SkColorType
ninja: build stopped: subcommand failed.
make[3]: *** [Makefile.gn_run:349: run_ninja] Error 1
make[3]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.15.2_p20211019/work/qtwebengine-5.15.2_p20211019_build/src/core'
make[2]: *** [Makefile:82: sub-gn_run-pro-make_first] Error 2
make[2]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.15.2_p20211019/work/qtwebengine-5.15.2_p20211019_build/src/core'
make[1]: *** [Makefile:78: sub-core-make_first] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.15.2_p20211019/work/qtwebengine-5.15.2_p20211019_build/src'
make: *** [Makefile:49: sub-src-make_first] Error 2
 * ERROR: dev-qt/qtwebengine-5.15.2_p20211019::gentoo failed (compile phase):
Comment 1 ernsteiswuerfel archtester 2021-12-07 10:10:47 UTC
Created attachment 757608 [details]
build --info