[Bug 237823] sysutils/bareos-client: core/src/include/baconfig.h insists on including libintl.h when NLS is off

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 10 10:02:47 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237823

            Bug ID: 237823
           Summary: sysutils/bareos-client: core/src/include/baconfig.h
                    insists on including libintl.h when NLS is off
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: acm at FreeBSD.org
          Reporter: Trond.Endrestol at ximalas.info
          Assignee: acm at FreeBSD.org
             Flags: maintainer-feedback?(acm at FreeBSD.org)

bareos-client is configured like this:

===> The following configuration options are available for
bareos-client-18.2.6:
     LMDB=off: Enable build of LMDB support
     NLS=off: Native Language Support
     PYTHON=off: Python bindings or support
     SCSICRYPTO=off: Build LTO AME crypto plugin
====> Cryptographic library: you have to select exactly one of them
     OPENSSL=on: SSL/TLS support via OpenSSL
     GNUTLS=off: SSL/TLS support via GnuTLS
===> Use 'make config' to modify these settings

Which leads to:

[2/137] /usr/local/libexec/ccache/c++  -DVERSION=\"18.2.6\"
-D_FILE_OFFSET_BITS=64 -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-aliasing  
-std=gnu++11 -MD -MT core/src/filed/CMakeFiles/bareos-fd.dir/accurate.cc.o -MF
core/src/filed/CMakeFiles/bareos-fd.dir/accurate.cc.o.d -o
core/src/filed/CMakeFiles/bareos-fd.dir/accurate.cc.o -c
core/src/filed/accurate.cc
FAILED: core/src/filed/CMakeFiles/bareos-fd.dir/accurate.cc.o
/usr/local/libexec/ccache/c++  -DVERSION=\"18.2.6\" -D_FILE_OFFSET_BITS=64
-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-aliasing   -std=gnu++11 -MD -MT
core/src/filed/CMakeFiles/bareos-fd.dir/accurate.cc.o -MF
core/src/filed/CMakeFiles/bareos-fd.dir/accurate.cc.o.d -o
core/src/filed/CMakeFiles/bareos-fd.dir/accurate.cc.o -c
core/src/filed/accurate.cc
In file included from core/src/filed/accurate.cc:24:
In file included from core/src/include/bareos.h:204:
In file included from core/src/lib/attribs.h:23:
core/src/include/baconfig.h:114:13: fatal error: 'libintl.h' file not found
   #include <libintl.h>
            ^~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

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

Turning on NLS solves this issue in the short run.

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


More information about the freebsd-ports-bugs mailing list