Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-6799

dev-qt/qtwebengine-5.12.3 fails to compile, complains about pulseaudio

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • A patch is needed to fix a build failure for qtwebengine.

    Description

      I am trying to pull in the package as dep for the NextCloud client. I will try disabling pulseaudio in package.use and see if it will compile:

      EDIT: Disabled pulseaudio support via package.use and it emerged successfully.

      1. sudo emerge -va nextcloud-client
        Password:

      These are the packages that would be merged, in order:

      Calculating dependencies... done!
      [ebuild N ] dev-qt/qtwebengine-5.12.3:5/5.12::core-ui-kit USE="alsa pulseaudio system-ffmpeg system-icu widgets -bindist -debug -designer -geolocation -jumbo-build -pax_kernel -test" 0 KiB
      [ebuild N ] net-misc/nextcloud-client-2.5.2::net-kit USE="-doc -dolphin -nautilus -shibboleth -test" 0 KiB

      Total: 2 packages (2 new), Size of downloads: 0 KiB

      Would you like to merge these packages? [Yes/No] y

      ...

      [6942/22838] /usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/media/audio/audio/pulse_output.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_STDC_CONSTANT_MACROS -D_STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DUSE_ALSA -DMEDIA_IMPLEMENTATION -DUSE_PULSEAUDIO -DDLOPEN_PULSEAUDIO -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY -DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -Igen -I../../3rdparty/chromium -Igen -Igen -Igen -Igen -Igen -I../../3rdparty/chromium/third_party/libyuv/include -Igen -Igen -Igen -Igen -I../../3rdparty/chromium/skia/config -I../../3rdparty/chromium/skia/ext -I../../3rdparty/chromium/third_party/skia/include/c -I../../3rdparty/chromium/third_party/skia/include/config -I../../3rdparty/chromium/third_party/skia/include/core -I../../3rdparty/chromium/third_party/skia/include/effects -I../../3rdparty/chromium/third_party/skia/include/encode -I../../3rdparty/chromium/third_party/skia/include/gpu -I../../3rdparty/chromium/third_party/skia/include/images -I../../3rdparty/chromium/third_party/skia/include/lazy -I../../3rdparty/chromium/third_party/skia/include/pathops -I../../3rdparty/chromium/third_party/skia/include/pdf -I../../3rdparty/chromium/third_party/skia/include/pipe -I../../3rdparty/chromium/third_party/skia/include/ports -I../../3rdparty/chromium/third_party/skia/include/utils -I../../3rdparty/chromium/third_party/skia/src/gpu -I../../3rdparty/chromium/third_party/skia/src/sksl -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -std=gnu++14 -Wno-narrowing -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c ../../3rdparty/chromium/media/audio/pulse/pulse_output.cc -o obj/media/audio/audio/pulse_output.o
      [6943/22838] /usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/media/audio/audio/pulse_util.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_STDC_CONSTANT_MACROS -D_STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DUSE_ALSA -DMEDIA_IMPLEMENTATION -DUSE_PULSEAUDIO -DDLOPEN_PULSEAUDIO -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY -DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -Igen -I../../3rdparty/chromium -Igen -Igen -Igen -Igen -Igen -I../../3rdparty/chromium/third_party/libyuv/include -Igen -Igen -Igen -Igen -I../../3rdparty/chromium/skia/config -I../../3rdparty/chromium/skia/ext -I../../3rdparty/chromium/third_party/skia/include/c -I../../3rdparty/chromium/third_party/skia/include/config -I../../3rdparty/chromium/third_party/skia/include/core -I../../3rdparty/chromium/third_party/skia/include/effects -I../../3rdparty/chromium/third_party/skia/include/encode -I../../3rdparty/chromium/third_party/skia/include/gpu -I../../3rdparty/chromium/third_party/skia/include/images -I../../3rdparty/chromium/third_party/skia/include/lazy -I../../3rdparty/chromium/third_party/skia/include/pathops -I../../3rdparty/chromium/third_party/skia/include/pdf -I../../3rdparty/chromium/third_party/skia/include/pipe -I../../3rdparty/chromium/third_party/skia/include/ports -I../../3rdparty/chromium/third_party/skia/include/utils -I../../3rdparty/chromium/third_party/skia/src/gpu -I../../3rdparty/chromium/third_party/skia/src/sksl -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -std=gnu++14 -Wno-narrowing -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c ../../3rdparty/chromium/media/audio/pulse/pulse_util.cc -o obj/media/audio/audio/pulse_util.o
      [6944/22838] /usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/media/audio/audio/pulse_stubs.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_STDC_CONSTANT_MACROS -D_STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DUSE_ALSA -DMEDIA_IMPLEMENTATION -DUSE_PULSEAUDIO -DDLOPEN_PULSEAUDIO -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY -DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -Igen -I../../3rdparty/chromium -Igen -Igen -Igen -Igen -Igen -I../../3rdparty/chromium/third_party/libyuv/include -Igen -Igen -Igen -Igen -I../../3rdparty/chromium/skia/config -I../../3rdparty/chromium/skia/ext -I../../3rdparty/chromium/third_party/skia/include/c -I../../3rdparty/chromium/third_party/skia/include/config -I../../3rdparty/chromium/third_party/skia/include/core -I../../3rdparty/chromium/third_party/skia/include/effects -I../../3rdparty/chromium/third_party/skia/include/encode -I../../3rdparty/chromium/third_party/skia/include/gpu -I../../3rdparty/chromium/third_party/skia/include/images -I../../3rdparty/chromium/third_party/skia/include/lazy -I../../3rdparty/chromium/third_party/skia/include/pathops -I../../3rdparty/chromium/third_party/skia/include/pdf -I../../3rdparty/chromium/third_party/skia/include/pipe -I../../3rdparty/chromium/third_party/skia/include/ports -I../../3rdparty/chromium/third_party/skia/include/utils -I../../3rdparty/chromium/third_party/skia/src/gpu -I../../3rdparty/chromium/third_party/skia/src/sksl -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -std=gnu++14 -Wno-narrowing -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c gen/media/audio/pulse/pulse_stubs.cc -o obj/media/audio/audio/pulse_stubs.o
      FAILED: obj/media/audio/audio/pulse_stubs.o
      /usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/media/audio/audio/pulse_stubs.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_STDC_CONSTANT_MACROS -D_STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DUSE_ALSA -DMEDIA_IMPLEMENTATION -DUSE_PULSEAUDIO -DDLOPEN_PULSEAUDIO -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY -DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -Igen -I../../3rdparty/chromium -Igen -Igen -Igen -Igen -Igen -I../../3rdparty/chromium/third_party/libyuv/include -Igen -Igen -Igen -Igen -I../../3rdparty/chromium/skia/config -I../../3rdparty/chromium/skia/ext -I../../3rdparty/chromium/third_party/skia/include/c -I../../3rdparty/chromium/third_party/skia/include/config -I../../3rdparty/chromium/third_party/skia/include/core -I../../3rdparty/chromium/third_party/skia/include/effects -I../../3rdparty/chromium/third_party/skia/include/encode -I../../3rdparty/chromium/third_party/skia/include/gpu -I../../3rdparty/chromium/third_party/skia/include/images -I../../3rdparty/chromium/third_party/skia/include/lazy -I../../3rdparty/chromium/third_party/skia/include/pathops -I../../3rdparty/chromium/third_party/skia/include/pdf -I../../3rdparty/chromium/third_party/skia/include/pipe -I../../3rdparty/chromium/third_party/skia/include/ports -I../../3rdparty/chromium/third_party/skia/include/utils -I../../3rdparty/chromium/third_party/skia/src/gpu -I../../3rdparty/chromium/third_party/skia/src/sksl -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -std=gnu++14 -Wno-narrowing -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c gen/media/audio/pulse/pulse_stubs.cc -o obj/media/audio/audio/pulse_stubs.o
      gen/media/audio/pulse/pulse_stubs.cc:155:27: error: conflicting declaration of C function ‘pa_context_state_t pa_context_get_state(pa_context*)’
      155 | extern pa_context_state_t pa_context_get_state(pa_context* c) _attribute_((weak));

      ^~~~~~~~~~~~~~~~~~~~
      In file included from /usr/include/pulse/pulseaudio.h:29,
      from gen/media/audio/pulse/pulse_stubs.cc:16:
      /usr/include/pulse/context.h:199:20: note: previous declaration ‘pa_context_state_t pa_context_get_state(const pa_context*)’
      199
      pa_context_state_t pa_context_get_state(const pa_context *c);
      ^~~~~~~~~~~~~~~~~~~~
      gen/media/audio/pulse/pulse_stubs.cc:171:29: error: conflicting declaration of C function ‘pa_operation_state_t pa_operation_get_state(pa_operation*)’
      171
      extern pa_operation_state_t pa_operation_get_state(pa_operation* o) _attribute_((weak));
      ^~~~~~~~~~~~~~~~~~~~~~
      In file included from /usr/include/pulse/context.h:28,
      from /usr/include/pulse/pulseaudio.h:29,
      from gen/media/audio/pulse/pulse_stubs.cc:16:
      /usr/include/pulse/operation.h:52:22: note: previous declaration ‘pa_operation_state_t pa_operation_get_state(const pa_operation*)’
      52
      pa_operation_state_t pa_operation_get_state(const pa_operation *o);
      ^~~~~~~~~~~~~~~~~~~~~~
      gen/media/audio/pulse/pulse_stubs.cc:211:17: error: conflicting declaration of C function ‘uint32_t pa_stream_get_device_index(pa_stream*)’
      211
      extern uint32_t pa_stream_get_device_index(pa_stream* s) _attribute_((weak));
      ^~~~~~~~~~~~~~~~~~~~~~~~~~
      In file included from /usr/include/pulse/pulseaudio.h:30,
      from gen/media/audio/pulse/pulse_stubs.cc:16:
      /usr/include/pulse/stream.h:366:10: note: previous declaration ‘uint32_t pa_stream_get_device_index(const pa_stream*)’
      366
      uint32_t pa_stream_get_device_index(const pa_stream *s);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~
      gen/media/audio/pulse/pulse_stubs.cc:219:26: error: conflicting declaration of C function ‘pa_stream_state_t pa_stream_get_state(pa_stream*)’
      219
      extern pa_stream_state_t pa_stream_get_state(pa_stream* p) _attribute_((weak));
      ^~~~~~~~~~~~~~~~~~~
      In file included from /usr/include/pulse/pulseaudio.h:30,
      from gen/media/audio/pulse/pulse_stubs.cc:16:
      /usr/include/pulse/stream.h:345:19: note: previous declaration ‘pa_stream_state_t pa_stream_get_state(const pa_stream*)’
      345
      pa_stream_state_t pa_stream_get_state(const pa_stream *p);
      ^~~~~~~~~~~~~~~~~~~
      gen/media/audio/pulse/pulse_stubs.cc:235:12: error: conflicting declaration of C function ‘int pa_proplist_contains(pa_proplist*, const char*)’
      235
      extern int pa_proplist_contains(pa_proplist* p, const char* key) _attribute_((weak));
      ^~~~~~~~~~~~~~~~~~~~
      In file included from /usr/include/pulse/format.h:27,
      from /usr/include/pulse/pulseaudio.h:27,
      from gen/media/audio/pulse/pulse_stubs.cc:16:
      /usr/include/pulse/proplist.h:390:5: note: previous declaration ‘int pa_proplist_contains(const pa_proplist*, const char*)’
      390
      int pa_proplist_contains(const pa_proplist *p, const char *key);
      ^~~~~~~~~~~~~~~~~~~~
      gen/media/audio/pulse/pulse_stubs.cc:243:20: error: conflicting declaration of C function ‘const char* pa_proplist_gets(pa_proplist*, const char*)’
      243
      extern const char* pa_proplist_gets(pa_proplist* p, const char* key) _attribute_((weak));
      ^~~~~~~~~~~~~~~~
      In file included from /usr/include/pulse/format.h:27,
      from /usr/include/pulse/pulseaudio.h:27,
      from gen/media/audio/pulse/pulse_stubs.cc:16:
      /usr/include/pulse/proplist.h:314:13: note: previous declaration ‘const char* pa_proplist_gets(const pa_proplist*, const char*)’
      314
      const char *pa_proplist_gets(const pa_proplist *p, const char *key);
      ^~~~~~~~~~~~~~~~
      gen/media/audio/pulse/pulse_stubs.cc:251:15: error: conflicting declaration of C function ‘size_t pa_stream_readable_size(pa_stream*)’
      251
      extern size_t pa_stream_readable_size(pa_stream *p) _attribute_((weak));
      ^~~~~~~~~~~~~~~~~~~~~~~
      In file included from /usr/include/pulse/pulseaudio.h:30,
      from gen/media/audio/pulse/pulse_stubs.cc:16:
      /usr/include/pulse/stream.h:574:8: note: previous declaration ‘size_t pa_stream_readable_size(const pa_stream*)’
      574
      size_t pa_stream_readable_size(const pa_stream *p);
      ^~~~~~~~~~~~~~~~~~~~~~~
      gen/media/audio/pulse/pulse_stubs.cc:279:12: error: conflicting declaration of C function ‘int pa_context_errno(pa_context*)’
      279
      extern int pa_context_errno(pa_context *c) _attribute_((weak));
      ^~~~~~~~~~~~~~~~
      In file included from /usr/include/pulse/pulseaudio.h:29,
      from gen/media/audio/pulse/pulse_stubs.cc:16:
      /usr/include/pulse/context.h:193:5: note: previous declaration ‘int pa_context_errno(const pa_context*)’
      193
      int pa_context_errno(const pa_context *c);
      ^~~~~~~~~~~~~~~~
      ninja: build stopped: subcommand failed.
      make[3]: *** [Makefile.gn_run:507: run_ninja] Error 1
      make[3]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.12.3/work/qtwebengine-everywhere-src-5.12.3/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.12.3/work/qtwebengine-everywhere-src-5.12.3/src/core'
      make[1]: *** [Makefile:81: sub-core-make_first] Error 2
      make[1]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.12.3/work/qtwebengine-everywhere-src-5.12.3/src'
      make: *** [Makefile:49: sub-src-make_first] Error 2
      • ERROR: dev-qt/qtwebengine-5.12.3::core-ui-kit failed (compile phase):
      • emake failed
      • If you need support, post the output of `emerge --info '=dev-qt/qtwebengine-5.12.3::core-ui-kit'`,
      • the complete build log and the output of `emerge -pqv '=dev-qt/qtwebengine-5.12.3::core-ui-kit'`.
      • The complete build log is located at '/var/tmp/portage/dev-qt/qtwebengine-5.12.3/temp/build.log'.
      • The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtwebengine-5.12.3/temp/environment'.
      • Working directory: '/var/tmp/portage/dev-qt/qtwebengine-5.12.3/work/qtwebengine-everywhere-src-5.12.3'
      • S: '/var/tmp/portage/dev-qt/qtwebengine-5.12.3/work/qtwebengine-everywhere-src-5.12.3'

      >>> Failed to emerge dev-qt/qtwebengine-5.12.3, Log file:

      >>> '/var/tmp/portage/dev-qt/qtwebengine-5.12.3/temp/build.log'

      • Messages for package dev-qt/qtwebengine-5.12.3:
      • ERROR: dev-qt/qtwebengine-5.12.3::core-ui-kit failed (compile phase):
      • emake failed
      • If you need support, post the output of `emerge --info '=dev-qt/qtwebengine-5.12.3::core-ui-kit'`,
      • the complete build log and the output of `emerge -pqv '=dev-qt/qtwebengine-5.12.3::core-ui-kit'`.
      • The complete build log is located at '/var/tmp/portage/dev-qt/qtwebengine-5.12.3/temp/build.log'.
      • The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtwebengine-5.12.3/temp/environment'.
      • Working directory: '/var/tmp/portage/dev-qt/qtwebengine-5.12.3/work/qtwebengine-everywhere-src-5.12.3'
      • S: '/var/tmp/portage/dev-qt/qtwebengine-5.12.3/work/qtwebengine-everywhere-src-5.12.3'

      Attachments

        Activity

          People

            Unassigned Unassigned
            lazlo.vii lazlo.vii
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: