Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jul 2020 06:34:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 248291] Building databases/galera26 failed with Poudriere
Message-ID:  <bug-248291-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248291

            Bug ID: 248291
           Summary: Building databases/galera26 failed with Poudriere
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: shrdlu19@gmail.com
                CC: devel@galeracluster.com
             Flags: maintainer-feedback?(devel@galeracluster.com)
                CC: devel@galeracluster.com

I got the problem when building ports databases/galera26 with Poudriere for
FreeBSD 12.1
This port required for databases/MariaDB104-server port

=3D>> Building databases/galera26
build started at Mon Jul 27 10:19:49 +04 2020
port directory: /usr/ports/databases/galera26
package name: galera26-26.4.5
building for: FreeBSD FreeBSD:12:1:amd64-default-daily-job-02 12.1-RELEASE-=
p7
FreeBSD 12.1-RELEASE-p7 amd64
maintained by: devel@galeracluster.com
Makefile ident:      $FreeBSD: head/databases/galera26/Makefile 541019
2020-07-02 07:28:50Z joneum $
Poudriere version: 3.3.4
Host OSVERSION: 1201000
Jail OSVERSION: 1201000
Job Id: 02

---Begin Environment---
SHELL=3D/bin/csh
OSVERSION=3D1201000
UNAME_v=3DFreeBSD 12.1-RELEASE-p7
UNAME_r=3D12.1-RELEASE-p7
BLOCKSIZE=3DK
MAIL=3D/var/mail/root
STATUS=3D1
HOME=3D/root
PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/b=
in
LOCALBASE=3D/usr/local
USER=3Droot
LIBEXECPREFIX=3D/usr/local/libexec/poudriere
POUDRIERE_VERSION=3D3.3.4
MASTERMNT=3D/poudriere/data/.m/FreeBSD_12_1_amd64-default-daily/ref
POUDRIERE_BUILD_TYPE=3Dbulk
PACKAGE_BUILDING=3Dyes
SAVED_TERM=3Dxterm
GID=3D0
UID=3D0
PWD=3D/poudriere/data/.m/FreeBSD_12_1_amd64-default-daily/ref/.p/pool
P_PORTS_FEATURES=3DFLAVORS SELECTED_OPTIONS
MASTERNAME=3DFreeBSD:12:1:amd64-default-daily
SCRIPTPREFIX=3D/usr/local/share/poudriere
OLDPWD=3D/poudriere/data/.m/FreeBSD_12_1_amd64-default-daily/ref/.p
SCRIPTPATH=3D/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=3D/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=3D
PKGENV=3D
FLAVOR=3D
DEPENDS_ARGS=3D
MAKE_ARGS=3D
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
=3D=3D=3D> The following configuration options are available for galera26-2=
6.4.5:
     BOOSTPOOL=3Doff: Use boost pool allocator
     BPOSTATIC=3Doff: Use static boost_program_options
     DEBUG=3Doff: Build with debugging support
=3D=3D=3D> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
devel@galeracluster.com
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON=3D"/usr/local/bin/python3.7"
XDG_DATA_HOME=3D/wrkdirs/usr/ports/databases/galera26/work=20
XDG_CONFIG_HOME=3D/wrkdirs/usr/ports/databases/galera26/work=20
HOME=3D/wrkdirs/usr/ports/databases/galera26/work TMPDIR=3D"/tmp"
PATH=3D/wrkdirs/usr/ports/databases/galera26/work/.bin:/sbin:/bin:/usr/sbin=
:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
SHELL=3D/bin/sh CONFIG_SHELL=3D/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=3D/usr OPENSSLDIR=3D/etc/ssl OPENSSLINC=3D/usr/include
OPENSSLLIB=3D/usr/lib XDG_DATA_HOME=3D/wrkdirs/usr/ports/databases/galera26=
/work=20
XDG_CONFIG_HOME=3D/wrkdirs/usr/ports/databases/galera26/work=20
HOME=3D/wrkdirs/usr/ports/databases/galera26/work TMPDIR=3D"/tmp"
PATH=3D/wrkdirs/usr/ports/databases/galera26/work/.bin:/sbin:/bin:/usr/sbin=
:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
NO_PIE=3Dyes MK_DEBUG_FILES=3Dno MK_KERNEL_SYMBOLS=3Dno SHELL=3D/bin/sh NO_=
LINT=3DYES
PREFIX=3D/usr/local  LOCALBASE=3D/usr/local  CC=3D"cc" CFLAGS=3D"-O2 -pipe=
=20
-fstack-protector-strong -fno-strict-aliasing "  CPP=3D"cpp" CPPFLAGS=3D""=
=20
LDFLAGS=3D" -lboost_program_options -lboost_system  -fstack-protector-stron=
g "
LIBS=3D""  CXX=3D"c++" CXXFLAGS=3D"-O2 -pipe -fstack-protector-strong
-fno-strict-aliasing  "  MANPREFIX=3D"/usr/local" BSD_INSTALL_PROGRAM=3D"in=
stall=20
-s -m 555"  BSD_INSTALL_LIB=3D"install  -s -m 0644"  BSD_INSTALL_SCRIPT=3D"=
install=20
-m 555"  BSD_INSTALL_DATA=3D"install  -m 0644"  BSD_INSTALL_MAN=3D"install =
 -m 444"
--End MAKE_ENV--

--PLIST_SUB--
 PYTHON_INCLUDEDIR=3Dinclude/python3.7m  PYTHON_LIBDIR=3Dlib/python3.7=20
PYTHON_PLATFORM=3Dfreebsd12  PYTHON_SITELIBDIR=3Dlib/python3.7/site-package=
s=20
PYTHON_SUFFIX=3D37  PYTHON_VER=3D3.7  PYTHON_VERSION=3Dpython3.7 PYTHON2=3D=
"@comment "
PYTHON3=3D"" OSREL=3D12.1 PREFIX=3D%D LOCALBASE=3D/usr/local  RESETPREFIX=
=3D/usr/local
LIB32DIR=3Dlib DOCSDIR=3D"share/doc/galera"  EXAMPLESDIR=3D"share/examples/=
galera"=20
DATADIR=3D"share/galera"  WWWDIR=3D"www/galera"  ETCDIR=3D"etc/galera"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=3D/usr/local LOCALBASE=3D/usr/local  DATADIR=3D/usr/local/share/gal=
era
DOCSDIR=3D/usr/local/share/doc/galera
EXAMPLESDIR=3D/usr/local/share/examples/galera  WWWDIR=3D/usr/local/www/gal=
era
ETCDIR=3D/usr/local/etc/galera
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=3Dyes
BATCH=3Dyes
WRKDIRPREFIX=3D/wrkdirs
PORTSDIR=3D/usr/ports
PACKAGES=3D/packages
DISTDIR=3D/distfiles
FORCE_PACKAGE=3Dyes
PACKAGE_BUILDING=3Dyes
PACKAGE_BUILDING_FLAVORS=3Dyes
#### /usr/local/etc/poudriere.d/FreeBSD:12:1:amd64-default-make.conf ####
DEFAULT_VERSIONS+=3D php=3D7.3
DEFAULT_VERSIONS+=3D pgsql=3D11
DEFAULT_VERSIONS+=3D samba=3D4.10
DEFAULT_VERSIONS+=3D python=3D3.7 python2=3D2.7 python3=3D3.7
OPTIONS_UNSET+=3D    X11 GUI CUPS FONTCONFIG MYSQL WAYLAND
OPTIONS_SET+=3D      ICONV NLS
LICENSES_ACCEPTED+=3D PDFlib

#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=3DFreeBSD clang version 8.0.1 (tags/RELEASE_801/final 3=
66581)
(based on LLVM 8.0.1) Target: x86_64-unknown-freebsd12.1 Thread model: posix
InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=3Dnone
_CXXINTERNAL_acaad9ca=3DFreeBSD clang version 8.0.1 (tags/RELEASE_801/final
366581) (based on LLVM 8.0.1) Target: x86_64-unknown-freebsd12.1 Thread mod=
el:
posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linke=
r"
"/libexec/ld-elf.so.1" "--hash-style=3Dboth" "--enable-new-dtags" "-o" "a.o=
ut"
"/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib"
"/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed"
"-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o"
"/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=3Dyes
CC_OUTPUT_921dbbb2_9bdba57c=3Dyes
CC_OUTPUT_921dbbb2_6a4fe7f5=3Dyes
CC_OUTPUT_921dbbb2_6bcac02b=3Dyes
CC_OUTPUT_921dbbb2_67d20829=3Dyes
CC_OUTPUT_921dbbb2_bfa62e83=3Dyes
CC_OUTPUT_921dbbb2_f0b4d593=3Dyes
CC_OUTPUT_921dbbb2_308abb44=3Dyes
CC_OUTPUT_921dbbb2_f00456e5=3Dyes
CC_OUTPUT_921dbbb2_65ad290d=3Dyes
CC_OUTPUT_921dbbb2_f2776b26=3Dyes
CC_OUTPUT_921dbbb2_b2657cc3=3Dyes
CC_OUTPUT_921dbbb2_380987f7=3Dyes
CC_OUTPUT_921dbbb2_160933ec=3Dyes
CC_OUTPUT_921dbbb2_fb62803b=3Dyes
_OBJC_CCVERSION_921dbbb2=3DFreeBSD clang version 8.0.1 (tags/RELEASE_801/fi=
nal
366581) (based on LLVM 8.0.1) Target: x86_64-unknown-freebsd12.1 Thread mod=
el:
posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=3Dnone
ARCH=3Damd64
OPSYS=3DFreeBSD
_OSRELEASE=3D12.1-RELEASE-p7
OSREL=3D12.1
OSVERSION=3D1201000
PYTHONBASE=3D/usr/local
HAVE_COMPAT_IA32_KERN=3DYES
_SMP_CPUS=3D12
CONFIGURE_MAX_CMD_LEN=3D262144
HAVE_PORTS_ENV=3D1
#### Misc Poudriere ####
DISABLE_MAKE_JOBS=3Dpoudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  19558
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--

...

c++ -o galera/tests/certification_check.o -c -Weffc++ -std=3Dc++11 -pipe
-Wno-long-long -Wno-deprecated -O2 -pipe -fstack-protector-strong
-fno-strict-aliasing -g -O3 -DNDEBUG -m64 -pthread -fPIC -Wall -Wextra
-Wno-unused-parameter -DHAVE_COMMON_H -DHAVE_SYS_ENDIAN_H -DHAVE_EXECINFO_H
-DHAVE_STD_ARRAY -DHAVE_BOOST_SHARED_PTR_HPP -DHAVE_STD_UNORDERED_MAP
-DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG=3D1 -DHAVE_ASIO_HPP
-DOPENSSL_HAS_SET_ECDH_AUTO -Iasio -I/usr/local/include -Iwsrep/src -I.
-Icommon -Igalerautils/src -Igcache/src -Igcs/src -Igalera/src
galera/tests/certification_check.cpp
galera/tests/certification_check.cpp:121:9: error: no matching function for
call to '_ck_assert_failed'
        fail_unless(out.serialize(buf, size) =3D=3D size);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/check.h:469:21: note: expanded from macro 'fail_unless'
#define fail_unless ck_assert_msg
                    ^
/usr/local/include/check.h:538:6: note: expanded from macro 'ck_assert_msg'
     _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ##
__VA_ARGS__)
     ^~~~~~~~~~~~~~~~~
/usr/local/include/check.h:502:27: note: candidate function not viable:
requires at least 4 arguments, but 3 were provided
CK_DLL_EXP void CK_EXPORT _ck_assert_failed(const char *file, int line,
                          ^
galera/tests/certification_check.cpp:131:9: error: no matching function for
call to '_ck_assert_failed'
        fail_unless(ts->unserialize<true>(act) =3D=3D size);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/check.h:469:21: note: expanded from macro 'fail_unless'
#define fail_unless ck_assert_msg
                    ^
/usr/local/include/check.h:538:6: note: expanded from macro 'ck_assert_msg'
     _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ##
__VA_ARGS__)
     ^~~~~~~~~~~~~~~~~
/usr/local/include/check.h:502:27: note: candidate function not viable:
requires at least 4 arguments, but 3 were provided
CK_DLL_EXP void CK_EXPORT _ck_assert_failed(const char *file, int line,
                          ^
galera/tests/certification_check.cpp:135:21: warning: format specifies type
'long long' but the argument has type 'wsrep_seqno_t' (aka 'long') [-Wforma=
t]
                    ts->global_seqno(), result, wsi[i].result);
                    ^~~~~~~~~~~~~~~~~~
/usr/local/include/check.h:469:21: note: expanded from macro 'fail_unless'
#define fail_unless ck_assert_msg
                    ^
/usr/local/include/check.h:538:78: note: expanded from macro 'ck_assert_msg'
     _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ##
__VA_ARGS__)
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20
^~~~~~~~~~~
galera/tests/certification_check.cpp:138:24: warning: format specifies type
'long long' but the argument has type 'wsrep_seqno_t' (aka 'long') [-Wforma=
t]
                    i, ts->global_seqno(), ts->depends_seqno(),
                       ^~~~~~~~~~~~~~~~~~
/usr/local/include/check.h:469:21: note: expanded from macro 'fail_unless'
#define fail_unless ck_assert_msg
                    ^
/usr/local/include/check.h:538:78: note: expanded from macro 'ck_assert_msg'
     _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ##
__VA_ARGS__)
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20
^~~~~~~~~~~
galera/tests/certification_check.cpp:138:44: warning: format specifies type
'long long' but the argument has type 'wsrep_seqno_t' (aka 'long') [-Wforma=
t]
                    i, ts->global_seqno(), ts->depends_seqno(),
                                           ^~~~~~~~~~~~~~~~~~~
/usr/local/include/check.h:469:21: note: expanded from macro 'fail_unless'
#define fail_unless ck_assert_msg
                    ^
/usr/local/include/check.h:538:78: note: expanded from macro 'ck_assert_msg'
     _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ##
__VA_ARGS__)
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20
^~~~~~~~~~~
galera/tests/certification_check.cpp:139:21: warning: format specifies type
'long long' but the argument has type 'wsrep_seqno_t' (aka 'long') [-Wforma=
t]
                    wsi[i].expected_depends_seqno);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/check.h:469:21: note: expanded from macro 'fail_unless'
#define fail_unless ck_assert_msg
                    ^
/usr/local/include/check.h:538:78: note: expanded from macro 'ck_assert_msg'
     _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ##
__VA_ARGS__)
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20
^~~~~~~~~~~
4 warnings and 2 errors generated.
scons: *** [galera/tests/certification_check.o] Error 1
scons: building terminated because of errors.
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/galera26
=3D>> Cleaning up wrkdir
=3D=3D=3D>  Cleaning for galera26-26.4.5
build of databases/galera26 | galera26-26.4.5 ended at Mon Jul 27 10:21:52 =
+04
2020
build time: 00:02:03
!!! build failure encountered !!!


Also, i tried to build it for FreeBSD 11.3 and got the same problem.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248291-7788>