Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Dec 2013 20:05:46 GMT
From:      Paul <tacid@tacid.kiev.ua>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/185211: databases/xtrabackup fails compile on 10.0-RC3
Message-ID:  <201312262005.rBQK5k1E035739@oldred.freebsd.org>
Resent-Message-ID: <201312262010.rBQKA0TE091454@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185211
>Category:       ports
>Synopsis:       databases/xtrabackup fails compile on 10.0-RC3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 26 20:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Paul
>Release:        10.0-RC3
>Organization:
>Environment:
FreeBSD example.com 10.0-RC3 FreeBSD 10.0-RC3 #0 r259778: Mon Dec 23 23:27:58 UTC 2013     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
When compiling databases/xtrabackup on FreeBSD 10.0 there is error cause g++ not found:

***[skipped]***
Building XtraBackup
gmake[1]: Entering directory `/usr/obj/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/src'
rm -f xtrabackup.o innodb_int.o compact.o fil_cur.o write_filt.o changed_page_bitmap.o read_filt.o ds_archive.o ds_xbstream.o ds_local.o ds_stdout.o ds_compress.o ds_encrypt.o xbcrypt_common.o xbcrypt_write.o ds_tmpfile.o ds_buffer.o datasink.o xbstream_write.o quicklz/quicklz.o xbstream.o xbstream_write.o xbstream_read.o xbcrypt.o xbcrypt_common.o xbcrypt_read.o xbcrypt_write.o xtrabackup xtrabackup_*
gmake[1]: Leaving directory `/usr/obj/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/src'
gmake[1]: Entering directory `/usr/obj/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/src'
g++  -g -O3 -I/usr/obj/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/src -g -DXTRABACKUP_VERSION=\"2.1.4\" -pedantic -Wall -fdiagnostics-show-option  -fno-strict-aliasing -Wno-strict-aliasing -Wextra -Wformat -Wno-format-nonliteral -Wno-format-security -Wno-long-long  -Wmissing-declarations  -Wno-redundant-decls  -I. -I libarchive/libarchive -I quicklz `libgcrypt-config --cflags` -isystem/usr/obj/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/Percona-Server-5.5/include -isystem/usr/obj/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/Percona-Server-5.5/storage/innobase/include -isystem/usr/obj/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/Percona-Server-5.5/sql -DDBUG_OFF -DHAVE_CONFIG_H -DHAVE_IB_ATOMIC_PTHREAD_T_GCC=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS_64=1 -DHAVE_RESPONSE_TIME_DISTRIBUTION -DSIZEOF_PTHREAD_T=8 -DUNIV_MUST_NOT_INLINE -DXTRADB_BASED -DXTRADB55 -c xtrabackup.cc -o xtrabackup.o
g++  -g -O3 -I/usr/obj/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/src -g -DXTRABACKUP_VERSION=\"2.1.4\" -pedantic -Wall -fdiagnostics-show-option  -fno-strict-aliasing -Wno-strict-aliasing -Wextra -Wformat -Wno-format-nonliteral -Wno-format-security -Wno-long-long  -Wmissing-declarations  -Wno-redundant-decls  -I. -I libarchive/libarchive -I quicklz `libgcrypt-config --cflags` -isystem/usr/obj/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/Percona-Server-5.5/include -isystem/usr/obj/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/Percona-Server-5.5/storage/innobase/include -isystem/usr/obj/usr/ports/databases/xtrabackup/work/percona-xtrabackup-2.1.4/Percona-Server-5.5/sql -DDBUG_OFF -DHAVE_CONFIG_H -DHAVE_IB_ATOMIC_PTHREAD_T_GCC=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS_64=1 -DHAVE_RESPONSE_TIME_DISTRIBUTION -DSIZEOF_PTHREAD_T=8 -DUNIV_MUST_NOT_INLINE -DXTRADB_BASED -DXTRADB55 -c innodb_int.cc -o innodb_int.o
g++: not found
gmake[1]: *** [xtrabackup.o] Error 127
gmake[1]: *** Waiting for unfinished jobs....
g++: not found
gmake[1]: *** [innodb_int.o] Error 127
gmake[1]: *** wait: No child processes.  Stop.
*** Error code 2

Stop.
make: stopped in /usr/ports/databases/xtrabackup

>How-To-Repeat:
# on FreeBSD 10.0:
cd /usr/ports/databases/xtrabackup
make
>Fix:
# hotfix
cd /usr/bin
ln -s clang++ g++

>Release-Note:
>Audit-Trail:
>Unformatted:



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