internal openldap build fails when exporting FLAGS
Maarten Hoes
hoes.maarten at gmail.com
Sat Dec 20 03:23:11 PST 2014
Hi,
For lcov code coverage purposes, I have to build libreoffice with the
following FLAGS set and exported :
LDFLAGS='-fprofile-arcs' CFLAGS='-fprofile-arcs -ftest-coverage'
CXXFLAGS='-fprofile-arcs -ftest-coverage' CPPFLAGS='-fprofile-arcs
-ftest-coverage'
export LDFLAGS CFLAGS CXXFLAGS CPPFLAGS
And then proceed with
./autogen.sh --enable-python=internal --disable-online-update
--without-system-libs --without-system-headers
make build-nocheck
I run into a build error of the internal openldap version, with undefined
references to '__gcov_'. This shouldnt happen when setting
FLAGS+='-fprofile-arcs -ftest-coverage' ... But it looks like '-lgcov' isnt
passed to the linker properly (which should happen by setting
LDFLAGS='-fprofile-arcs'). It appears that the FLAGS arent being passed
down correctly in here :
external/openldap/ExternalProject_openldap.mk
Where at multiple points it appears that all current
CFLAGS/CPPFLAGS/LDFLAGS are overwritten with entries like this:
LDFLAGS = foo
CPPFLAGS= bar
instead of something like this
LDFLAGS="$(LDFLAGS) foo"
CPPFLAGS="$(CPPFLAGS) bar"
It seems easy enough to modify, but I cant figure out if this was done on
purpose for some reason, or if it can be modified without causing issues ?
Perhaps only the (last) line with LDFLAGS can/needs to be changed, and the
other FLAGS need to be left as they are ? For me, internal openldap builds
without issues when making the modifications (see attached diff).
All thoughts and comments are more than appreciated,
- Maarten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20141220/3e9dedb4/attachment.html>
-------------- next part --------------
Configuring OpenLDAP 2.4.31-Release ...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking configure arguments... configure: WARNING: slapd disabled, ignoring --enable-bdb argument
configure: WARNING: slapd disabled, ignoring --enable-hdb argument
configure: WARNING: slapd disabled, ignoring --enable-mdb argument
configure: WARNING: slapd disabled, ignoring --enable-monitor argument
configure: WARNING: slapd disabled, ignoring --enable-relay argument
configure: WARNING: slapd disabled, ignoring --enable-syncprov argument
done
checking for style of include used by make... GNU
checking for gcc... /usr/bin/ccache gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/ccache gcc accepts -g... yes
checking for /usr/bin/ccache gcc option to accept ISO C89... none needed
checking dependency style of /usr/bin/ccache gcc... none
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by /usr/bin/ccache gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... /usr/bin/ccache gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 32768
checking command to parse nm output from /usr/bin/ccache gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if /usr/bin/ccache gcc static flag works... yes
checking if /usr/bin/ccache gcc supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/ccache gcc option to produce PIC... -fPIC
checking if /usr/bin/ccache gcc PIC flag -fPIC works... yes
checking if /usr/bin/ccache gcc supports -c -o file.o... yes
checking whether the /usr/bin/ccache gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
checking how to run the C preprocessor... /usr/bin/ccache gcc -E
checking whether we are using MS Visual C++... no
checking for be_app in -lbe... no
checking for gcc... (cached) /usr/bin/ccache gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/ccache gcc accepts -g... (cached) yes
checking for /usr/bin/ccache gcc option to accept ISO C89... (cached) none needed
checking dependency style of /usr/bin/ccache gcc... (cached) none
checking for /usr/bin/ccache gcc depend flag... -M
checking for afopen in -ls... no
checking for EBCDIC... no
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether termios.h defines TIOCGWINSZ... no
checking whether sys/ioctl.h defines TIOCGWINSZ... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking bits/types.h usability... yes
checking bits/types.h presence... yes
checking for bits/types.h... yes
checking conio.h usability... no
checking conio.h presence... no
checking for conio.h... no
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking filio.h usability... no
checking filio.h presence... no
checking for filio.h... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking psap.h usability... no
checking psap.h presence... no
checking for psap.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking sgtty.h usability... yes
checking sgtty.h presence... yes
checking for sgtty.h... yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking sys/fstyp.h usability... no
checking sys/fstyp.h presence... no
checking for sys/fstyp.h... no
checking sys/errno.h usability... yes
checking sys/errno.h presence... yes
checking for sys/errno.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/privgrp.h usability... no
checking sys/privgrp.h presence... no
checking for sys/privgrp.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/syslog.h usability... yes
checking sys/syslog.h presence... yes
checking for sys/syslog.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/vmount.h usability... no
checking sys/vmount.h presence... no
checking for sys/vmount.h... no
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for resolv.h... yes
checking for netinet/tcp.h... yes
checking for sys/ucred.h... no
checking for sigaction... yes
checking for sigset... yes
checking for socket... yes
checking for select... yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for poll... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking for epoll system call... yes
checking sys/devpoll.h usability... no
checking sys/devpoll.h presence... no
checking for sys/devpoll.h... no
checking declaration of sys_errlist... yes
checking for strerror... yes
checking for strerror_r... yes
checking non-posix strerror_r... no
checking for regex.h... yes
checking for library containing regfree... none required
checking for compatible POSIX regex... yes
checking sys/uuid.h usability... no
checking sys/uuid.h presence... no
checking for sys/uuid.h... no
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for library containing uuid_generate... -luuid
checking for library containing uuid_unparse_lower... none required
checking for resolver link (default)... no
checking for resolver link (-lresolv)... yes
checking for hstrerror... yes
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for gai_strerror... yes
checking for inet_ntop... yes
checking INET6_ADDRSTRLEN... yes
checking struct sockaddr_storage... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking nssutil.h usability... yes
checking nssutil.h presence... yes
checking for nssutil.h... yes
checking for NSS_Initialize in -lnss3... yes
checking for _beginthread... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking POSIX thread version... 10
checking for LinuxThreads pthread.h... no
checking for GNU Pth pthread.h... no
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for pthread_create in default libraries... no
checking for pthread link with -kthread... no
checking for pthread link with -pthread... yes
checking for sched_yield... yes
checking for pthread_yield... yes
checking for thr_yield... no
checking for pthread_kill... yes
checking for pthread_rwlock_destroy with <pthread.h>... yes
checking for pthread_detach with <pthread.h>... yes
checking for pthread_setconcurrency... yes
checking for pthread_getconcurrency... yes
checking for thr_setconcurrency... no
checking for thr_getconcurrency... no
checking for pthread_kill_other_threads_np... no
checking for LinuxThreads implementation... no
checking for LinuxThreads consistency... no
checking if pthread_create() works... yes
checking if select yields when using pthreads... yes
checking for thread specific errno... yes
checking for thread specific h_errno... yes
checking for ctime_r... yes
checking for gmtime_r... yes
checking for localtime_r... yes
checking for gethostbyname_r... yes
checking for gethostbyaddr_r... yes
checking number of arguments of ctime_r... 2
checking number of arguments of gethostbyname_r... 6
checking number of arguments of gethostbyaddr_r... 8
checking for openlog... yes
checking unicode/utypes.h usability... yes
checking unicode/utypes.h presence... yes
checking for unicode/utypes.h... yes
checking for ICU libraries... yes
configure: WARNING: SASL authentication not supported!
checking fetch(3) library... no
checking for setproctitle... no
checking for setproctitle in -lutil... no
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for ssize_t... yes
checking for caddr_t... yes
checking for size_t... yes
checking for long long... yes
checking for ptrdiff_t... yes
checking for socklen_t... yes
checking the type of arg 3 to accept()... socklen_t *
checking return type of signal handlers... void
checking for sig_atomic_t... yes
checking for uid_t in sys/types.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct stat.st_blksize... yes
checking for struct passwd.pw_gecos... yes
checking for struct passwd.pw_passwd... yes
checking if toupper() requires islower()... no
checking for an ANSI C-conforming const... yes
checking if compiler understands volatile... yes
checking whether byte ordering is bigendian... no
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of wchar_t... 4
checking for working memcmp... yes
checking for strftime... yes
checking for inet_aton()... yes
checking for _spawnlp... no
checking for _snprintf... no
checking for vsnprintf... yes
checking for _vsnprintf... no
checking for vprintf... yes
checking for _doprnt... no
checking for snprintf... yes
checking for vsnprintf... (cached) yes
checking for bcopy... yes
checking for closesocket... no
checking for chroot... yes
checking for endgrent... yes
checking for endpwent... yes
checking for fcntl... yes
checking for flock... yes
checking for fstat... yes
checking for getdtablesize... yes
checking for geteuid... yes
checking for getgrgid... yes
checking for gethostname... yes
checking for getpassphrase... no
checking for getpwuid... yes
checking for getpwnam... yes
checking for getspnam... yes
checking for gettimeofday... yes
checking for initgroups... yes
checking for inet_ntoa_b... no
checking for ioctl... yes
checking for lockf... yes
checking for memcpy... yes
checking for memmove... yes
checking for memrchr... yes
checking for mkstemp... yes
checking for mktemp... yes
checking for pipe... yes
checking for read... yes
checking for recv... yes
checking for recvfrom... yes
checking for setpwfile... no
checking for setgid... yes
checking for setegid... yes
checking for setsid... yes
checking for setuid... yes
checking for seteuid... yes
checking for signal... yes
checking for strdup... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strsep... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for strtoq... yes
checking for strtouq... yes
checking for strtoll... yes
checking for strtoull... yes
checking for strspn... yes
checking for sysconf... yes
checking for waitpid... yes
checking for wait4... yes
checking for write... yes
checking for send... yes
checking for sendmsg... yes
checking for sendto... yes
checking for getopt... yes
checking for getpeereid... no
checking for getpeerucred... no
checking for struct msghdr.msg_accrightslen... no
checking for struct msghdr.msg_control... yes
checking for struct stat.st_fstype... no
checking for struct stat.st_vfstype... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating doc/man/man1/Makefile
config.status: creating doc/man/man3/Makefile
config.status: creating doc/man/man5/Makefile
config.status: creating doc/man/man8/Makefile
config.status: creating clients/Makefile
config.status: creating clients/tools/Makefile
config.status: creating include/Makefile
config.status: creating libraries/Makefile
config.status: creating libraries/liblber/Makefile
config.status: creating libraries/libldap/Makefile
config.status: creating libraries/libldap_r/Makefile
config.status: creating libraries/liblunicode/Makefile
config.status: creating libraries/liblutil/Makefile
config.status: creating libraries/librewrite/Makefile
config.status: creating servers/Makefile
config.status: creating servers/slapd/Makefile
config.status: creating servers/slapd/back-bdb/Makefile
config.status: creating servers/slapd/back-dnssrv/Makefile
config.status: creating servers/slapd/back-hdb/Makefile
config.status: creating servers/slapd/back-ldap/Makefile
config.status: creating servers/slapd/back-ldif/Makefile
config.status: creating servers/slapd/back-mdb/Makefile
config.status: creating servers/slapd/back-meta/Makefile
config.status: creating servers/slapd/back-monitor/Makefile
config.status: creating servers/slapd/back-ndb/Makefile
config.status: creating servers/slapd/back-null/Makefile
config.status: creating servers/slapd/back-passwd/Makefile
config.status: creating servers/slapd/back-perl/Makefile
config.status: creating servers/slapd/back-relay/Makefile
config.status: creating servers/slapd/back-shell/Makefile
config.status: creating servers/slapd/back-sock/Makefile
config.status: creating servers/slapd/back-sql/Makefile
config.status: creating servers/slapd/shell-backends/Makefile
config.status: creating servers/slapd/slapi/Makefile
config.status: creating servers/slapd/overlays/Makefile
config.status: creating tests/Makefile
config.status: creating tests/run
config.status: creating tests/progs/Makefile
config.status: creating include/portable.h
config.status: creating include/ldap_features.h
config.status: creating include/lber_types.h
config.status: executing depfiles commands
config.status: executing default commands
Making servers/slapd/backends.c
Add config ...
Add ldif ...
Making servers/slapd/overlays/statover.c
Please run "make depend" to build dependencies
make[2]: Entering directory '/home/buildslave/build/workdir/UnpackedTarball/openldap'
Making all in /home/buildslave/build/workdir/UnpackedTarball/openldap
Entering subdirectory include
make[3]: Entering directory '/home/buildslave/build/workdir/UnpackedTarball/openldap/include'
Making ldap_config.h
make[3]: Leaving directory '/home/buildslave/build/workdir/UnpackedTarball/openldap/include'
Entering subdirectory libraries
make[3]: Entering directory '/home/buildslave/build/workdir/UnpackedTarball/openldap/libraries'
Making all in /home/buildslave/build/workdir/UnpackedTarball/openldap/libraries
Entering subdirectory liblutil
make[4]: Entering directory '/home/buildslave/build/workdir/UnpackedTarball/openldap/libraries/liblutil'
rm -f version.c
../../build/mkversion -v "2.4.31" liblutil.a > version.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -fprofile-arcs -ftest-coverage -c -o base64.o base64.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -fprofile-arcs -ftest-coverage -c -o entropy.o entropy.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -fprofile-arcs -ftest-coverage -c -o sasl.o sasl.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -fprofile-arcs -ftest-coverage -c -o signal.o signal.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -fprofile-arcs -ftest-coverage -c -o hash.o hash.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -fprofile-arcs -ftest-coverage -c -o passfile.o passfile.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -fprofile-arcs -ftest-coverage -c -o md5.o md5.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -fprofile-arcs -ftest-coverage -c -o passwd.o passwd.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -fprofile-arcs -ftest-coverage -c -o sha1.o sha1.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -fprofile-arcs -ftest-coverage -c -o getpass.o getpass.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -fprofile-arcs -ftest-coverage -c -o lockf.o lockf.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -fprofile-arcs -ftest-coverage -c -o utils.o utils.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -fprofile-arcs -ftest-coverage -c -o uuid.o uuid.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -fprofile-arcs -ftest-coverage -c -o sockpair.o sockpair.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -fprofile-arcs -ftest-coverage -c -o avl.o avl.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -fprofile-arcs -ftest-coverage -c -o tavl.o tavl.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -fprofile-arcs -ftest-coverage -c -o meter.o meter.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -fprofile-arcs -ftest-coverage -c -o setproctitle.o setproctitle.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -fprofile-arcs -ftest-coverage -c -o getpeereid.o getpeereid.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -fprofile-arcs -ftest-coverage -c -o detach.o detach.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -fprofile-arcs -ftest-coverage -c -o version.o version.c
ar ru liblutil.a base64.o entropy.o sasl.o signal.o hash.o passfile.o md5.o passwd.o sha1.o getpass.o lockf.o utils.o uuid.o sockpair.o avl.o tavl.o meter.o setproctitle.o getpeereid.o detach.o version.o
ar: creating liblutil.a
make[4]: Leaving directory '/home/buildslave/build/workdir/UnpackedTarball/openldap/libraries/liblutil'
Entering subdirectory liblber
make[4]: Entering directory '/home/buildslave/build/workdir/UnpackedTarball/openldap/libraries/liblber'
rm -f version.c
../../build/mkversion -v "2.4.31" liblber.la > version.c
/bin/sh ../../libtool --mode=compile /usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -DLBER_LIBRARY -c assert.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -DLBER_LIBRARY -c assert.c -fPIC -DPIC -o assert.o
/bin/sh ../../libtool --mode=compile /usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -DLBER_LIBRARY -c decode.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -DLBER_LIBRARY -c decode.c -fPIC -DPIC -o decode.o
/bin/sh ../../libtool --mode=compile /usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -DLBER_LIBRARY -c encode.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -DLBER_LIBRARY -c encode.c -fPIC -DPIC -o encode.o
/bin/sh ../../libtool --mode=compile /usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -DLBER_LIBRARY -c io.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -DLBER_LIBRARY -c io.c -fPIC -DPIC -o io.o
/bin/sh ../../libtool --mode=compile /usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -DLBER_LIBRARY -c bprint.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -DLBER_LIBRARY -c bprint.c -fPIC -DPIC -o bprint.o
/bin/sh ../../libtool --mode=compile /usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -DLBER_LIBRARY -c debug.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -DLBER_LIBRARY -c debug.c -fPIC -DPIC -o debug.o
/bin/sh ../../libtool --mode=compile /usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -DLBER_LIBRARY -c memory.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -DLBER_LIBRARY -c memory.c -fPIC -DPIC -o memory.o
/bin/sh ../../libtool --mode=compile /usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -DLBER_LIBRARY -c options.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -DLBER_LIBRARY -c options.c -fPIC -DPIC -o options.o
/bin/sh ../../libtool --mode=compile /usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -DLBER_LIBRARY -c sockbuf.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -DLBER_LIBRARY -c sockbuf.c -fPIC -DPIC -o sockbuf.o
/bin/sh ../../libtool --mode=compile /usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -DLBER_LIBRARY -c stdio.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -DLBER_LIBRARY -c stdio.c -fPIC -DPIC -o stdio.o
/bin/sh ../../libtool --mode=compile /usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -DLBER_LIBRARY -c version.c
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -DLBER_LIBRARY -c version.c -fPIC -DPIC -o version.o
/bin/sh ../../libtool --mode=link /usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -L/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/lib -release 2.4 -version-info 10:3:8 -rpath /usr/local/lib -o liblber.la assert.lo decode.lo encode.lo io.lo bprint.lo debug.lo memory.lo options.lo sockbuf.lo stdio.lo version.lo -lresolv
mkdir .libs
ar cru .libs/liblber.a assert.o decode.o encode.o io.o bprint.o debug.o memory.o options.o sockbuf.o stdio.o version.o
ranlib .libs/liblber.a
creating liblber.la
(cd .libs && rm -f liblber.la && ln -s ../liblber.la liblber.la)
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -I../../include -I../../include -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -fprofile-arcs -ftest-coverage -c -o dtest.o dtest.c
/bin/sh ../../libtool --mode=link /usr/bin/ccache gcc -static -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -L/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/lib -o dtest dtest.o liblber.la ../../libraries/liblutil/liblutil.a -lresolv
/usr/bin/ccache gcc -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/public/nss -I/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/include -o dtest dtest.o -L/home/buildslave/build/workdir/UnpackedTarball/nss/dist/out/lib ./.libs/liblber.a ../../libraries/liblutil/liblutil.a -lresolv
dtest.o: In function `_GLOBAL__sub_I_65535_0_main':
dtest.c:(.text+0x3dc): undefined reference to `__gcov_init'
dtest.o:(.data+0x60): undefined reference to `__gcov_merge_add'
collect2: error: ld returned 1 exit status
Makefile:296: recipe for target 'dtest' failed
make[4]: *** [dtest] Error 1
make[4]: Leaving directory '/home/buildslave/build/workdir/UnpackedTarball/openldap/libraries/liblber'
Makefile:296: recipe for target 'all-common' failed
make[3]: *** [all-common] Error 1
make[3]: Leaving directory '/home/buildslave/build/workdir/UnpackedTarball/openldap/libraries'
Makefile:308: recipe for target 'all-common' failed
make[2]: *** [all-common] Error 1
make[2]: Leaving directory '/home/buildslave/build/workdir/UnpackedTarball/openldap'
/home/buildslave/source/libo-core/external/openldap/ExternalProject_openldap.mk:30: recipe for target '/home/buildslave/build/workdir/ExternalProject/openldap/build' failed
make[1]: *** [/home/buildslave/build/workdir/ExternalProject/openldap/build] Error 1
make[1]: *** Waiting for unfinished jobs....
-------------- next part --------------
diff --git a/external/openldap/ExternalProject_openldap.mk b/external/openldap/ExternalProject_openldap.mk
index 7c320cb..6e66c43 100644
--- a/external/openldap/ExternalProject_openldap.mk
+++ b/external/openldap/ExternalProject_openldap.mk
@@ -41,12 +41,12 @@ $(call gb_ExternalProject_get_state_target,openldap,build) :
ac_cv_func_memcmp_working=yes \
) \
$(if $(SYSTEM_NSS), \
- CPPFLAGS="$(NSS_CFLAGS)" CFLAGS="$(NSS_CFLAGS)" LDFLAGS="$(NSS_LIBS)" \
+ CPPFLAGS="$(CPPFLAGS) $(NSS_CFLAGS)" CFLAGS="$(CFLAGS) $(NSS_CFLAGS)" LDFLAGS="$(LDFLAGS) $(NSS_LIBS)" \
, \
- CPPFLAGS="-I$(call gb_UnpackedTarball_get_dir,nss)/dist/public/nss -I$(call gb_UnpackedTarball_get_dir,nss)/dist/out/include" \
- CFLAGS="-I$(call gb_UnpackedTarball_get_dir,nss)/dist/public/nss -I$(call gb_UnpackedTarball_get_dir,nss)/dist/out/include" \
+ CPPFLAGS="$(CPPFLAGS) -I$(call gb_UnpackedTarball_get_dir,nss)/dist/public/nss -I$(call gb_UnpackedTarball_get_dir,nss)/dist/out/include" \
+ CFLAGS="$(CFLAGS) -I$(call gb_UnpackedTarball_get_dir,nss)/dist/public/nss -I$(call gb_UnpackedTarball_get_dir,nss)/dist/out/include" \
) \
- $(if $(openldap_LDFLAGS),LDFLAGS="$(openldap_LDFLAGS)") \
+ $(if $(openldap_LDFLAGS),LDFLAGS="$(LDFLAGS) $(openldap_LDFLAGS)") \
&& MAKEFLAGS= && $(MAKE) \
)
More information about the LibreOffice
mailing list