Github messages for voidlinux
 help / color / mirror / Atom feed
From: xtraeme <xtraeme@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] flatbuffers: build failure (x86_64-musl)
Date: Mon, 17 Feb 2020 05:55:12 +0100	[thread overview]
Message-ID: <20200217045512.Do2rezEiotDJ5nHbMCG1QPA_p9G4rPqcREmIz99fgFM@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12878@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 4081 bytes --]

Closed issue by xtraeme on void-packages repository

https://github.com/void-linux/void-packages/issues/12878

Description:
```
=> flatbuffers-1.10.0_1: building [cmake] ...
   [host] cmake-3.14.5_1: found (/host/binpkgs/xbps-src-ultra-fast)
=> flatbuffers-1.10.0_1: installing host dependencies: cmake-3.14.5_1 ...
=> flatbuffers-1.10.0_1: running do-fetch hook: 00-distfiles ...
=> flatbuffers-1.10.0_1: running do-extract hook: 00-distfiles ...
=> flatbuffers-1.10.0_1: extracting distfile(s), please wait...
=> flatbuffers-1.10.0_1: running do-patch hook: 00-patches ...
=> flatbuffers-1.10.0_1: patching: install.patch.
=> flatbuffers-1.10.0_1: running pre-configure hook: 00-gnu-configure-asneeded ...
=> flatbuffers-1.10.0_1: running pre-configure hook: 01-override-config ...
=> flatbuffers-1.10.0_1: running pre-configure hook: 02-script-wrapper ...
=> flatbuffers-1.10.0_1: running do_configure ...
-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/lib/ccache/bin/cc
-- Check for working C compiler: /usr/lib/ccache/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/g++
-- Check for working CXX compiler: /usr/lib/ccache/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /builddir/flatbuffers-1.10.0/build
=> flatbuffers-1.10.0_1: running pre-build hook: 02-script-wrapper ...
=> flatbuffers-1.10.0_1: running do_build ...
...
[ 98%] Built target flatsampletext
In file included from /builddir/flatbuffers-1.10.0/tests/test_builder.cpp:1:
/builddir/flatbuffers-1.10.0/tests/monster_test_generated.h: In constructor 'MyGame::Example::Vec3::Vec3()':
/builddir/flatbuffers-1.10.0/tests/monster_test_generated.h:315:33: error: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct MyGame::Example::Vec3'; use assignment or value-initialization instead [-Werror=class-memaccess]
  315 |     memset(this, 0, sizeof(Vec3));
      |                                 ^
/builddir/flatbuffers-1.10.0/tests/monster_test_generated.h:301:41: note: 'struct MyGame::Example::Vec3' declared here
  301 | FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(16) Vec3 FLATBUFFERS_FINAL_CLASS {
      |                                         ^~~~
cc1plus: all warnings being treated as errors
make[2]: *** [CMakeFiles/flattests.dir/build.make:171: CMakeFiles/flattests.dir/tests/test_builder.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /builddir/flatbuffers-1.10.0/tests/test.cpp:32:
/builddir/flatbuffers-1.10.0/tests/monster_test_generated.h: In constructor 'MyGame::Example::Vec3::Vec3()':
/builddir/flatbuffers-1.10.0/tests/monster_test_generated.h:315:33: error: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct MyGame::Example::Vec3'; use assignment or value-initialization instead [-Werror=class-memaccess]
  315 |     memset(this, 0, sizeof(Vec3));
      |                                 ^
/builddir/flatbuffers-1.10.0/tests/monster_test_generated.h:301:41: note: 'struct MyGame::Example::Vec3' declared here
  301 | FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(16) Vec3 FLATBUFFERS_FINAL_CLASS {
      |                                         ^~~~
cc1plus: all warnings being treated as errors
make[2]: *** [CMakeFiles/flattests.dir/build.make:145: CMakeFiles/flattests.dir/tests/test.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:258: CMakeFiles/flattests.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
=> ERROR: flatbuffers-1.10.0_1: do_build: '${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}' exited with 2
=> ERROR:   in do_build() at common/build-style/cmake.sh:73
```



      reply	other threads:[~2020-02-17  4:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-07  8:11 [ISSUE] " voidlinux-github
2020-02-17  4:55 ` xtraeme [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200217045512.Do2rezEiotDJ5nHbMCG1QPA_p9G4rPqcREmIz99fgFM@z \
    --to=xtraeme@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).