Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 May 2019 10:19:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 237825] sysutils/bareos-server: bcopy must be linked to the pthread library
Message-ID:  <bug-237825-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 237825
           Summary: sysutils/bareos-server: bcopy must be linked to the
                    pthread library
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: acm@FreeBSD.org
          Reporter: Trond.Endrestol@ximalas.info
             Flags: maintainer-feedback?(acm@FreeBSD.org)
          Assignee: acm@FreeBSD.org

bareos-server is configured like this:

=3D=3D=3D> The following configuration options are available for
bareos-server-18.2.6:
     MTX=3Doff: Install mtx for control of autochanger devices
     NDMP=3Doff: Enable build of NDMP support
     NLS=3Doff: Native Language Support
     PYTHON=3Doff: Python bindings or support
     SCSICRYPTO=3Doff: Build LTO AME crypto plugin
=3D=3D=3D=3D> Cryptographic library: you have to select exactly one of them
     OPENSSL=3Don: SSL/TLS support via OpenSSL
     GNUTLS=3Doff: SSL/TLS support via GnuTLS
=3D=3D=3D=3D> Database support: you have to select exactly one of them
     SQLITE3=3Doff: SQLite 3 database support
     MYSQL=3Doff: MySQL database support
     PGSQL=3Don: PostgreSQL database support
=3D=3D=3D> Use 'make config' to modify these settings

Which leads to:

[177/190] : && /usr/local/libexec/ccache/c++  -O2 -pipe -fno-omit-frame-poi=
nter
-fstack-protector-strong -fno-strict-aliasing -Wall -Wno-deprecated-register
-O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-alia=
sing
 -L/usr/local/lib -ljansson -L/usr/local/lib  -L/usr/local/lib
-fstack-protector-strong core/src/stored/CMakeFiles/bcopy.dir/bcopy.cc.o  -o
core/src/stored/bcopy -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lintl
core/src/stored/libbareossd.so -lbareos -lintl && :
FAILED: core/src/stored/bcopy
: && /usr/local/libexec/ccache/c++  -O2 -pipe -fno-omit-frame-pointer
-fstack-protector-strong -fno-strict-aliasing -Wall -Wno-deprecated-register
-O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-alia=
sing
 -L/usr/local/lib -ljansson -L/usr/local/lib  -L/usr/local/lib
-fstack-protector-strong core/src/stored/CMakeFiles/bcopy.dir/bcopy.cc.o  -o
core/src/stored/bcopy -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lintl
core/src/stored/libbareossd.so -lbareos -lintl && :
ld: error: core/src/stored/libbareossd.so: undefined reference to
pthread_create
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)
[178/190] /usr/local/libexec/ccache/c++  -DVERSION=3D\"18.2.6\"
-D_FILE_OFFSET_BITS=3D64 -Dpython_sd_EXPORTS -I/usr/local/include
-I/usr/local/include/python2.7 -Icore/src -O2 -pipe -fno-omit-frame-pointer
-fstack-protector-strong -fno-strict-aliasing -Wall -Wno-deprecated-register
-O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-alia=
sing
-fPIC   -std=3Dgnu++11 -MD -MT
core/src/plugins/stored/CMakeFiles/python-sd.dir/python-sd.cc.o -MF
core/src/plugins/stored/CMakeFiles/python-sd.dir/python-sd.cc.o.d -o
core/src/plugins/stored/CMakeFiles/python-sd.dir/python-sd.cc.o -c
core/src/plugins/stored/python-sd.cc
ninja: build stopped: subcommand failed.
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /xports/sysutils/bareos-server
*** Error code 1

--=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-237825-7788>