Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 May 2017 13:55:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 219168] databases/libmemcached cannot build, undefined reference to symbol
Message-ID:  <bug-219168-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 219168
           Summary: databases/libmemcached cannot build, undefined
                    reference to symbol
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: 000.fbsd@quip.cz
                CC: m.tsatsenko@gmail.com
                CC: m.tsatsenko@gmail.com
             Flags: maintainer-feedback?(m.tsatsenko@gmail.com)

Cannot build libmemcached from today  ports tree in Poudriere for FreeBSD 1=
0.3
amd64:

libtool: link: c++ -std=3Dc++0x -O2 -pipe -fstack-protector -isystem
/usr/local/include -fno-strict-aliasing -D__STDC_CONSTANT_MACROS -isystem
/usr/local/include -g -Wno-unknown-pragmas -Wall -Wextra -Wno-attributes
-Wvarargs -Waddress -Warray-bounds -Wchar-subscripts -Wcomment
-Wctor-dtor-privacy -Wfloat-equal -Wformat=3D2 -Wformat-y2k
-Wmissing-field-initializers -Wnon-virtual-dtor -Woverloaded-virtual
-Wpointer-arith -Wredundant-decls -Wshadow -Wshorten-64-to-32 -Wsign-compare
-Wstrict-overflow=3D1 -Wswitch-enum -Wundef -Wc++11-compat -Wunused
-Wunused-result -Wunused-variable -Wunused-parameter -Wwrite-strings
-Wformat-security -fwrapv -fPIE -Wsizeof-pointer-memaccess -Wpacked
-fstack-protector -o clients/.libs/memaslap clients/memaslap.o
clients/ms_conn.o clients/ms_setting.o clients/ms_sigsegv.o clients/ms_stat=
s.o
clients/ms_task.o clients/ms_thread.o clients/generator.o clients/execute.o=
=20
-levent clients/.libs/libutilities.a -L/usr/local/lib
libmemcached/.libs/libmemcached.so -lexecinfo -Wl,-rpath -Wl,/usr/local/lib
/usr/bin/ld: undefined reference to symbol `pthread_create@@FBSD_1.0' (try
adding -lthr)
//lib/libthr.so.3: could not read symbols: Bad value
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)
gmake[2]: *** [Makefile:4719: clients/memaslap] Error 1
gmake[2]: Leaving directory
'/wrkdirs/usr/ports/databases/libmemcached/work/libmemcached-1.0.18'
gmake[1]: *** [Makefile:3712: all] Error 2
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/databases/libmemcached/work/libmemcached-1.0.18'
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/libmemcached
=3D=3D=3D=3D>> Cleaning up wrkdir
=3D=3D=3D>  Cleaning for libmemcached-1.0.18_6
build of databases/libmemcached ended at Tue May  9 12:27:27 CEST 2017
build time: 00:02:19
!!! build failure encountered !!!



Relevant parts of Poudriere build log:

Poudriere version: 3.1.17
Host OSVERSION: 1003000
Jail OSVERSION: 1003000
Job Id: 01

---Begin Environment---
SHELL=3D/bin/csh
OSVERSION=3D1003000
UNAME_v=3DFreeBSD 10.3-RELEASE-p19
UNAME_r=3D10.3-RELEASE-p19
BLOCKSIZE=3DK
MAIL=3D/var/mail/root
STATUS=3D1
SAVED_TERM=3Dscreen
MASTERMNT=3D/vol0/poudriere/data/.m/10_3_amd64-default-global/ref
UID=3D0
FORCE_PACKAGE=3Dyes
PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/=
bin:/root/bin
POUDRIERE_BUILD_TYPE=3Dbulk
PKGNAME=3Dlibmemcached-1.0.18_6
OLDPWD=3D/
PWD=3D/vol0/poudriere/data/.m/10_3_amd64-default-global/ref/.p/pool
MASTERNAME=3D10_3_amd64-default-global
SCRIPTPREFIX=3D/usr/local/share/poudriere
USER=3Droot
HOME=3D/root
POUDRIERE_VERSION=3D3.1.17
SCRIPTPATH=3D/usr/local/share/poudriere/bulk.sh
GID=3D0
LIBEXECPREFIX=3D/usr/local/libexec/poudriere
LOCALBASE=3D/usr/local
PACKAGE_BUILDING=3Dyes
POUDRIEREPATH=3D/usr/local/bin/poudriere
---End Environment---

---Begin OPTIONS List---
=3D=3D=3D> The following configuration options are available for
libmemcached-1.0.18_6:
     DEBUG=3Doff: Build with debugging support
     DTRACE=3Doff: Enable DTrace support
     MEMASLAP=3Don: Load generation and benchmark tool
     SASL=3Doff: SASL authentication support
=3D=3D=3D=3D> Options available for the group HASH
     FNV64=3Don: Enable fnv64 hashing
     HSIEH=3Doff: Enable hsieh hashing
     MURMUR=3Don: Enable murmur hashing
=3D=3D=3D> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--
--without-memcached  --without-sphinx-build  --enable-libmemcachedprotocol
--disable-debug --disable-dtrace --enable-memaslap --disable-sasl
--enable-fnv64_hash --disable-hsieh_hash --enable-murmur_hash
--prefix=3D/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=3Dgmake PKG_CONFIG=3Dpkgconf
XDG_DATA_HOME=3D/wrkdirs/usr/ports/databases/libmemcached/work=20
XDG_CONFIG_HOME=3D/wrkdirs/usr/ports/databases/libmemcached/work=20
HOME=3D/wrkdirs/usr/ports/databases/libmemcached/work TMPDIR=3D"/tmp" SHELL=
=3D/bin/sh
CONFIG_SHELL=3D/bin/sh CMAKE_PREFIX_PATH=3D"/usr/local"
CONFIG_SITE=3D/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=3D2621=
44
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=3D/wrkdirs/usr/ports/databases/libmemcached/work=20
XDG_CONFIG_HOME=3D/wrkdirs/usr/ports/databases/libmemcached/work=20
HOME=3D/wrkdirs/usr/ports/databases/libmemcached/work TMPDIR=3D"/tmp" NO_PI=
E=3Dyes
WITHOUT_DEBUG_FILES=3Dyes WITHOUT_KERNEL_SYMBOLS=3Dyes SHELL=3D/bin/sh NO_L=
INT=3DYES
PREFIX=3D/usr/local  LOCALBASE=3D/usr/local  LIBDIR=3D"/usr/lib"  CC=3D"cc"=
 CFLAGS=3D"-O2
-pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing"=
=20
CPP=3D"cpp" CPPFLAGS=3D"-isystem /usr/local/include"  LDFLAGS=3D" -fstack-p=
rotector"
LIBS=3D"-L/usr/local/lib -lexecinfo -L/usr/local/lib"  CXX=3D"c++" CXXFLAGS=
=3D"-O2
-pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing=20
-D__STDC_CONSTANT_MACROS -isystem /usr/local/include"  MANPREFIX=3D"/usr/lo=
cal"
BSD_INSTALL_PROGRAM=3D"install  -s -m 555"  BSD_INSTALL_LIB=3D"install  -s =
-m 0644"
 BSD_INSTALL_SCRIPT=3D"install  -m 555"  BSD_INSTALL_DATA=3D"install  -m 06=
44"=20
BSD_INSTALL_MAN=3D"install  -m 444"
--End MAKE_ENV--



---Begin make.conf---
USE_PACKAGE_DEPENDS=3Dyes
BATCH=3Dyes
WRKDIRPREFIX=3D/wrkdirs
PORTSDIR=3D/usr/ports
PACKAGES=3D/packages
DISTDIR=3D/distfiles

#### /usr/local/etc/poudriere.d/global-make.conf ####
## poudriere make.conf for SET name global

OPTIONS_UNSET=3D X11 GUI CUPS DOCS EXAMPLES NLS HAL

WITH_BDB_VER=3D5
WITH_GHOSTSCRIPT_VER=3D9

DEFAULT_VERSIONS=3Dapache=3D2.4 perl5=3D5.24 mysql=3D10.1m php=3D5.6 python=
=3D2.7
python3=3D3.5 pgsql=3D9.4 ssl=3Dopenssl

DISABLE_LICENSES=3Dyes

--=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-219168-13>