Github messages for voidlinux
 help / color / mirror / Atom feed
From: Veganizer <Veganizer@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: mariadb: update to 10.5.9.
Date: Sun, 11 Apr 2021 07:59:31 +0200	[thread overview]
Message-ID: <20210411055931.i4ixoUeTGy8Bll0Ycg7QIIjsd7-1rPOGV6jDKTbL61w@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-30143@inbox.vuxu.org>

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

New comment by Veganizer on void-packages repository

https://github.com/void-linux/void-packages/pull/30143#issuecomment-817253436

Comment:
```bash
Determining if the function floor exists failed with the following output:
Change Dir: /builddir/mariadb-10.5.9/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_d867c && [1/2] Building C object CMakeFiles/cmTC_d867c.dir/CheckFunctionExists.c.o
<command-line>: warning: conflicting types for built-in function 'floor'; expected 'double(double)' [-Wbuiltin-declaration-mismatch]
/usr/share/cmake-3.19/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro 'CHECK_FUNCTION_EXISTS'
    7 |   CHECK_FUNCTION_EXISTS(void);
      |   ^~~~~~~~~~~~~~~~~~~~~
/usr/share/cmake-3.19/Modules/CheckFunctionExists.c:1:1: note: 'floor' is declared in header '<math.h>'
  +++ |+#include <math.h>
    1 | #ifdef CHECK_FUNCTION_EXISTS
[2/2] Linking C executable cmTC_d867c
FAILED: cmTC_d867c 
: && /builddir/.xbps-mariadb/wrappers/aarch64-linux-gnu-gcc -fstack-clash-protection -D_FORTIFY_SOURCE=2 -O2 -march=armv8-a   -I/usr/aarch64-linux-gnu/usr/include -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -moutline-atomics -DCHECK_FUNCTION_EXISTS=floor -Wl,-z,relro -Wl,-z,now -Wl,--as-needed    -L/usr/aarch64-linux-gnu/usr/lib   -rdynamic CMakeFiles/cmTC_d867c.dir/CheckFunctionExists.c.o -o cmTC_d867c   && :
/usr/lib/gcc/aarch64-linux-gnu/10.2.1/../../../../aarch64-linux-gnu/bin/ld: CMakeFiles/cmTC_d867c.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `floor'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
```
This for example.

I mean there are a lot of `subcommand failed` but is this stopping the compiler? There are some optional dependency checks too, which are resulting in errors.

Full CMakeError.log is here: https://pastebin.com/bpNsufyY

Following error it gots in the end: 
```bash
=> ERROR: mariadb-10.5.9_2: do_configure: 'CFLAGS="${CFLAGS/ -pipe / }" CXXFLAGS="${CXXFLAGS/ -pipe / }" cmake ${cmake_args} ${configure_args} ${wrksrc}/${build_wrksrc}' exited with 1
=> ERROR:   in do_configure() at common/build-style/cmake.sh:67
````

  parent reply	other threads:[~2021-04-11  5:59 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-11  4:28 [PR PATCH] " Veganizer
2021-04-11  5:13 ` ericonr
2021-04-11  5:47 ` Veganizer
2021-04-11  5:51 ` Veganizer
2021-04-11  5:59 ` Veganizer [this message]
2021-04-11  6:04 ` Veganizer
2021-04-11  6:16 ` [PR PATCH] [Updated] " Veganizer
2021-04-11  6:21 ` Veganizer
2021-04-11  6:26 ` Veganizer
2021-04-11  7:12 ` Veganizer
2021-04-11  8:57 ` Veganizer
2021-04-11  9:17 ` Veganizer
2021-04-11  9:19 ` [PR REVIEW] " Johnnynator
2021-04-11  9:19 ` [PR PATCH] [Updated] " Veganizer
2021-04-11  9:22 ` Veganizer
2021-04-11  9:26 ` Veganizer
2021-04-11  9:44 ` Veganizer
2021-04-11  9:58 ` Veganizer
2021-04-11 10:41 ` Veganizer
2021-04-11 10:45 ` Veganizer
2021-04-11 11:07 ` Veganizer
2021-04-11 11:26 ` Veganizer
2021-04-11 11:36 ` Veganizer
2021-04-11 12:00 ` Veganizer
2021-04-11 12:04 ` Veganizer
2021-04-11 12:15 ` Veganizer
2021-04-11 13:07 ` Veganizer
2021-04-11 13:09 ` Veganizer
2021-04-11 13:10 ` Veganizer
2021-04-11 13:23 ` Veganizer
2021-04-11 13:30 ` Veganizer
2021-04-11 13:41 ` Veganizer
2021-04-11 16:06 ` Veganizer
2021-04-11 16:17 ` Veganizer
2021-04-12  7:12 ` [PR PATCH] [Updated] " Veganizer
2021-04-12  7:15 ` Veganizer
2021-04-12  7:34 ` Veganizer
2021-04-13  7:12 ` Johnnynator
2021-04-13  9:37 ` Johnnynator
2021-04-13  9:37 ` Johnnynator
2021-04-13 16:44 ` [PR PATCH] [Updated] " Veganizer
2021-04-13 16:56 ` Veganizer
2021-04-13 17:08 ` Veganizer
2021-04-13 18:46 ` Veganizer
2021-04-14 10:52 ` [PR REVIEW] " grooverdan
2021-04-14 10:52 ` grooverdan
2021-04-14 13:21 ` [PR PATCH] [Updated] " Veganizer
2021-04-14 13:24 ` Veganizer
2021-04-15 19:12 ` Johnnynator
2021-04-15 19:23 ` [PR PATCH] [Merged]: " Johnnynator

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=20210411055931.i4ixoUeTGy8Bll0Ycg7QIIjsd7-1rPOGV6jDKTbL61w@z \
    --to=veganizer@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).