Source: libdispatch
Version: 0~svn197-3
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Dear Maintainer,
     I have been attempting to build the libdispatch source package on the
armel platform and have encountered a failure during the build process.  The
attached build log higlights the failure.  Please note that the clang available
in unstable is presently broken on armel.  I used clang 2.9-16 as well as
llvm-2.9 2.9+dfsg-4.  The build is successful up to the point of linking the
testing program "dispatch_starfish".  The reason given for failure is similar
to the failure in the armel buildd log:

https://buildd.debian.org/status/fetch.php?pkg=libdispatch&arch=armel&ver=0~svn197-3&stamp=1318907849

Specifically, the symbol '_dispatch_get_host_time_init' is not found among the
libraries or library search paths included in the linking process.

I have investigated this error a little bit more and have discovered that the
functionality missing is defined in src/shims/time.c.  The resulting object
file is located in src/.libs/time.o and appears to include the missing symbol.
Neither this object file, nor the src/.libs directory appear to be included in
the linking directive.  I have attempted to rectify this problem by manually
modifying the file testing/Makefile so that the variable LDADD incorporates
the seemingly missing file.  The resulting LDADD is shown below:
LDADD = libtest.la ../src/libdispatch.la  ../src/.libs/time.o

While modifying this Makefile by hand permits the linking of dispatch_starfish,
this file is created during the auto generation stage and is not a proper fix.
Finally, I am not entirely positive that the work around I have described is in
fact correct.

Please let me know if there is more that I can provide in order to squash this
bug quickly and get libdispatch building on the armel platform once again.
Thank you.


grep Build libdispatch-0~svn197/debian/control | cut -f 2 -d ':'|awk 'BEGIN { 
OFS="\n" ; FS="," } {for (i=1; i<NF+1; i++) {print $i}}'|sed 's/\( (.*\)//'| 
xargs dpkg -l > /tmp/builddeps.log

/tmp/builddeps.log:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                   Version               Description
+++-======================================-=====================-========================================================================
ii  autotools-dev                          20120210.1            Update 
infrastructure for config.{guess,sub} files
ii  clang                                  2.9-16                Low-Level 
Virtual Machine (LLVM), C language family frontend
ii  debhelper                              9.20120115            helper 
programs for debian/rules
ii  dh-autoreconf                          5                     debhelper 
add-on to call autoreconf and clean up after the build
ii  libblocksruntime-dev                   0.1-1                 Blocks Runtime 
(development files)
ii  libblocksruntime0                      0.1-1                 Blocks Runtime 
library
ii  libkqueue-dev                          1.0.4-2               Development 
files for libkqueue
ii  libkqueue0                             1.0.4-2               cross-platform 
library for kernel event notification
ii  libpthread-workqueue-dev               0.8.2-1               thread pool 
library (development files)
ii  libtool                                2.4.2-1               Generic 
library support script
ii  pkg-config                             0.26-1                manage compile 
and link flags for libraries

dpkg -l | grep llvm
ii  libllvm2.9                             2.9+dfsg-4            Low-Level 
Virtual Machine (LLVM), runtime library
ii  llvm-2.9                               2.9+dfsg-4            Low-Level 
Virtual Machine (LLVM)
ii  llvm-2.9-runtime                       2.9+dfsg-4            Low-Level 
Virtual Machine (LLVM), bytecode interpreter


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: armel (armv5tejl)

Kernel: Linux 3.2.0-1-versatile
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
dpkg-buildpackage: source package libdispatch
dpkg-buildpackage: source version 0~svn197-3
dpkg-buildpackage: source changed by Mark Heily <m...@heily.com>
 dpkg-source --before-build libdispatch-0~svn197
dpkg-buildpackage: host architecture armel
 debian/rules clean
dh clean --with autoreconf
   dh_testdir
   dh_auto_clean
   dh_autoreconf_clean
   dh_clean
 dpkg-source -b libdispatch-0~svn197
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building libdispatch using existing 
./libdispatch_0~svn197.orig.tar.gz
dpkg-source: info: building libdispatch in libdispatch_0~svn197-3.debian.tar.gz
dpkg-source: info: building libdispatch in libdispatch_0~svn197-3.dsc
 debian/rules build
dh build --with autoreconf
   dh_testdir
   dh_autoreconf
configure.ac:118: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in 
body
.../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
.../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
.../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
m4/libtool.m4:138: _LT_SETUP is expanded from...
m4/libtool.m4:67: LT_INIT is expanded from...
m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:118: the top level
configure.ac:118: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in 
body
.../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
.../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
.../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
m4/libtool.m4:138: _LT_SETUP is expanded from...
m4/libtool.m4:67: LT_INIT is expanded from...
m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:118: the top level
configure.ac:118: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in 
body
.../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
.../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
.../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
m4/libtool.m4:5360: _LT_LANG_CXX_CONFIG is expanded from...
m4/libtool.m4:785: _LT_LANG is expanded from...
m4/libtool.m4:768: LT_LANG is expanded from...
m4/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from...
m4/libtool.m4:138: _LT_SETUP is expanded from...
m4/libtool.m4:67: LT_INIT is expanded from...
m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:118: the top level
configure.ac:118: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in 
body
.../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
.../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
.../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
m4/libtool.m4:138: _LT_SETUP is expanded from...
m4/libtool.m4:67: LT_INIT is expanded from...
m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:118: the top level
configure.ac:118: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in 
body
.../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
.../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
.../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
m4/libtool.m4:138: _LT_SETUP is expanded from...
m4/libtool.m4:67: LT_INIT is expanded from...
m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:118: the top level
configure.ac:118: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in 
body
.../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
.../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
.../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
m4/libtool.m4:5360: _LT_LANG_CXX_CONFIG is expanded from...
m4/libtool.m4:785: _LT_LANG is expanded from...
m4/libtool.m4:768: LT_LANG is expanded from...
m4/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from...
m4/libtool.m4:138: _LT_SETUP is expanded from...
m4/libtool.m4:67: LT_INIT is expanded from...
m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:118: the top level
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
libtoolize: copying file `config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
   dh_auto_configure
checking for clang... clang
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 clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for System.framework/PrivateHeaders... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... arm-unknown-linux-gnueabi
checking host system type... arm-unknown-linux-gnueabi
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by clang... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 805306365
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert arm-unknown-linux-gnueabi file names to 
arm-unknown-linux-gnueabi format... func_convert_file_noop
checking how to convert arm-unknown-linux-gnueabi file names to toolchain 
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... no
checking for mawk... mawk
checking command to parse /usr/bin/nm -B output from clang object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fPIC -DPIC
checking if clang PIC flag -fPIC -DPIC works... yes
checking if clang static flag -static works... yes
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
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 if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for mig... no
checking for leaks... no
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of clang... none
checking dependency style of g++... none
checking for gcc atomic builtins... yes
checking for library containing clock_gettime... -lrt
checking for library containing pthread_create... none required
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking for KQUEUE... yes
checking for ANSI C header files... (cached) yes
checking TargetConditionals.h usability... no
checking TargetConditionals.h presence... no
checking for TargetConditionals.h... no
checking pthread_machdep.h usability... no
checking pthread_machdep.h presence... no
checking for pthread_machdep.h... no
checking pthread_np.h usability... no
checking pthread_np.h presence... no
checking for pthread_np.h... no
checking malloc/malloc.h usability... no
checking malloc/malloc.h presence... no
checking for malloc/malloc.h... no
checking libkern/OSCrossEndian.h usability... no
checking libkern/OSCrossEndian.h presence... no
checking for libkern/OSCrossEndian.h... no
checking libkern/OSAtomic.h usability... no
checking libkern/OSAtomic.h presence... no
checking for libkern/OSAtomic.h... no
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking CoreServices/CoreServices.h usability... no
checking CoreServices/CoreServices.h presence... no
checking for CoreServices/CoreServices.h... no
checking mach/mach.h usability... no
checking mach/mach.h presence... no
checking for mach/mach.h... no
checking pthread_workqueue.h usability... yes
checking pthread_workqueue.h presence... yes
checking for pthread_workqueue.h... yes
checking for pthread_workqueue_init_np in -lpthread_workqueue... yes
checking whether CLOCK_UPTIME is declared... no
checking whether CLOCK_MONOTONIC is declared... yes
checking whether CLOCK_REALTIME is declared... yes
checking whether EVFILT_LIO is declared... no
checking whether EVFILT_SESSION is declared... no
checking whether NOTE_NONE is declared... no
checking whether NOTE_REAP is declared... no
checking whether NOTE_REVOKE is declared... no
checking whether NOTE_SIGNAL is declared... no
checking whether FD_COPY is declared... no
checking whether SIGEMT is declared... no
checking whether VQ_UPDATE is declared... no
checking whether VQ_VERYLOWDISK is declared... no
checking whether program_invocation_short_name is declared... yes
checking for pthread_key_init_np... no
checking for pthread_main_np... no
checking for mach_absolute_time... no
checking for malloc_create_zone... no
checking for sysconf... yes
checking for getprogname... no
checking for getexecname... no
checking for vasprintf... yes
checking for asprintf... yes
checking for arc4random... no
checking for fgetln... no
checking whether POSIX_SPAWN_START_SUSPENDED is declared... no
checking for sem_init... yes
checking what semaphore type to use... POSIX semaphores
checking for sys/cdefs.h... yes
checking for __attribute__((visibility("hidden")))... yes
checking for __private_extern__... yes
checking for C Blocks support... -fblocks
checking whether additional libraries are required for the Blocks runtime... 
-lBlocksRuntime
checking for C++ Blocks support... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating dispatch/Makefile
config.status: creating man/Makefile
config.status: creating src/Makefile
config.status: creating testing/Makefile
config.status: creating config/config.h
config.status: executing libtool commands
config.status: executing depfiles commands
   dh_auto_build
make[1]: Entering directory `/tmp/libdispatch-0~svn197'
Making all in dispatch
make[2]: Entering directory `/tmp/libdispatch-0~svn197/dispatch'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/libdispatch-0~svn197/dispatch'
Making all in man
make[2]: Entering directory `/tmp/libdispatch-0~svn197/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/libdispatch-0~svn197/man'
Making all in src
make[2]: Entering directory `/tmp/libdispatch-0~svn197/src'
make  all-am
make[3]: Entering directory `/tmp/libdispatch-0~svn197/src'
/bin/bash ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. 
-I../config -I.. -I..    -Wall  -fblocks -I/usr/include/kqueue   -g -O2 -c -o 
libdispatch_la-apply.lo `test -f 'apply.c' || echo './'`apply.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -I/usr/include/kqueue -g -O2 -c apply.c  -fPIC -DPIC -o 
.libs/libdispatch_la-apply.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -I/usr/include/kqueue -g -O2 -c apply.c -o libdispatch_la-apply.o 
>/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. 
-I../config -I.. -I..    -Wall  -fblocks -I/usr/include/kqueue   -g -O2 -c -o 
libdispatch_la-benchmark.lo `test -f 'benchmark.c' || echo './'`benchmark.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -I/usr/include/kqueue -g -O2 -c benchmark.c  -fPIC -DPIC -o 
.libs/libdispatch_la-benchmark.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -I/usr/include/kqueue -g -O2 -c benchmark.c -o 
libdispatch_la-benchmark.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. 
-I../config -I.. -I..    -Wall  -fblocks -I/usr/include/kqueue   -g -O2 -c -o 
libdispatch_la-object.lo `test -f 'object.c' || echo './'`object.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -I/usr/include/kqueue -g -O2 -c object.c  -fPIC -DPIC -o 
.libs/libdispatch_la-object.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -I/usr/include/kqueue -g -O2 -c object.c -o libdispatch_la-object.o 
>/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. 
-I../config -I.. -I..    -Wall  -fblocks -I/usr/include/kqueue   -g -O2 -c -o 
libdispatch_la-once.lo `test -f 'once.c' || echo './'`once.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -I/usr/include/kqueue -g -O2 -c once.c  -fPIC -DPIC -o 
.libs/libdispatch_la-once.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -I/usr/include/kqueue -g -O2 -c once.c -o libdispatch_la-once.o 
>/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. 
-I../config -I.. -I..    -Wall  -fblocks -I/usr/include/kqueue   -g -O2 -c -o 
libdispatch_la-queue.lo `test -f 'queue.c' || echo './'`queue.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -I/usr/include/kqueue -g -O2 -c queue.c  -fPIC -DPIC -o 
.libs/libdispatch_la-queue.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -I/usr/include/kqueue -g -O2 -c queue.c -o libdispatch_la-queue.o 
>/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. 
-I../config -I.. -I..    -Wall  -fblocks -I/usr/include/kqueue   -g -O2 -c -o 
libdispatch_la-queue_kevent.lo `test -f 'queue_kevent.c' || echo 
'./'`queue_kevent.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -I/usr/include/kqueue -g -O2 -c queue_kevent.c  -fPIC -DPIC -o 
.libs/libdispatch_la-queue_kevent.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -I/usr/include/kqueue -g -O2 -c queue_kevent.c -o 
libdispatch_la-queue_kevent.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. 
-I../config -I.. -I..    -Wall  -fblocks -I/usr/include/kqueue   -g -O2 -c -o 
libdispatch_la-semaphore.lo `test -f 'semaphore.c' || echo './'`semaphore.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -I/usr/include/kqueue -g -O2 -c semaphore.c  -fPIC -DPIC -o 
.libs/libdispatch_la-semaphore.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -I/usr/include/kqueue -g -O2 -c semaphore.c -o 
libdispatch_la-semaphore.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. 
-I../config -I.. -I..    -Wall  -fblocks -I/usr/include/kqueue   -g -O2 -c -o 
libdispatch_la-source.lo `test -f 'source.c' || echo './'`source.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -I/usr/include/kqueue -g -O2 -c source.c  -fPIC -DPIC -o 
.libs/libdispatch_la-source.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -I/usr/include/kqueue -g -O2 -c source.c -o libdispatch_la-source.o 
>/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. 
-I../config -I.. -I..    -Wall  -fblocks -I/usr/include/kqueue   -g -O2 -c -o 
libdispatch_la-source_kevent.lo `test -f 'source_kevent.c' || echo 
'./'`source_kevent.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -I/usr/include/kqueue -g -O2 -c source_kevent.c  -fPIC -DPIC -o 
.libs/libdispatch_la-source_kevent.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -I/usr/include/kqueue -g -O2 -c source_kevent.c -o 
libdispatch_la-source_kevent.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. 
-I../config -I.. -I..    -Wall  -fblocks -I/usr/include/kqueue   -g -O2 -c -o 
libdispatch_la-time.lo `test -f 'time.c' || echo './'`time.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -I/usr/include/kqueue -g -O2 -c time.c  -fPIC -DPIC -o 
.libs/libdispatch_la-time.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -I/usr/include/kqueue -g -O2 -c time.c -o libdispatch_la-time.o 
>/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. 
-I../config -I.. -I..     -g -O2 -c -o mach.lo `test -f 'shims/mach.c' || echo 
'./'`shims/mach.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -g -O2 -c 
shims/mach.c  -fPIC -DPIC -o .libs/mach.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -g -O2 -c 
shims/mach.c -o mach.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. 
-I../config -I.. -I..     -g -O2 -c -o time.lo `test -f 'shims/time.c' || echo 
'./'`shims/time.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -g -O2 -c 
shims/time.c  -fPIC -DPIC -o .libs/time.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -g -O2 -c 
shims/time.c -o time.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. 
-I../config -I.. -I..     -g -O2 -c -o tsd.lo `test -f 'shims/tsd.c' || echo 
'./'`shims/tsd.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -g -O2 -c 
shims/tsd.c  -fPIC -DPIC -o .libs/tsd.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -g -O2 -c 
shims/tsd.c -o tsd.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC   --mode=link clang  -g -O2   -o libshims.la  
mach.lo time.lo tsd.lo  -lrt  -lBlocksRuntime
libtool: link: ar cru .libs/libshims.a .libs/mach.o .libs/time.o .libs/tsd.o 
libtool: link: ranlib .libs/libshims.a
libtool: link: ( cd ".libs" && rm -f "libshims.la" && ln -s "../libshims.la" 
"libshims.la" )
/bin/bash ../libtool --tag=CC   --mode=link clang -Wall  -fblocks 
-I/usr/include/kqueue   -g -O2   -o libdispatch.la -rpath /usr/lib 
libdispatch_la-apply.lo libdispatch_la-benchmark.lo libdispatch_la-object.lo 
libdispatch_la-once.lo libdispatch_la-queue.lo libdispatch_la-queue_kevent.lo 
libdispatch_la-semaphore.lo libdispatch_la-source.lo 
libdispatch_la-source_kevent.lo libdispatch_la-time.lo   libshims.la -lpthread 
-lrt -lkqueue   -lpthread_workqueue -lrt  -lBlocksRuntime
libtool: link: clang -shared  -fPIC -DPIC  .libs/libdispatch_la-apply.o 
.libs/libdispatch_la-benchmark.o .libs/libdispatch_la-object.o 
.libs/libdispatch_la-once.o .libs/libdispatch_la-queue.o 
.libs/libdispatch_la-queue_kevent.o .libs/libdispatch_la-semaphore.o 
.libs/libdispatch_la-source.o .libs/libdispatch_la-source_kevent.o 
.libs/libdispatch_la-time.o  -Wl,--whole-archive ./.libs/libshims.a 
-Wl,--no-whole-archive  -lpthread -lkqueue -lpthread_workqueue -lrt 
-lBlocksRuntime  -O2   -Wl,-soname -Wl,libdispatch.so.0 -o 
.libs/libdispatch.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libdispatch.so.0" && ln -s 
"libdispatch.so.0.0.0" "libdispatch.so.0")
libtool: link: (cd ".libs" && rm -f "libdispatch.so" && ln -s 
"libdispatch.so.0.0.0" "libdispatch.so")
libtool: link: (cd .libs/libdispatch.lax/libshims.a && ar x 
"/tmp/libdispatch-0~svn197/src/./.libs/libshims.a")
libtool: link: ar cru .libs/libdispatch.a  libdispatch_la-apply.o 
libdispatch_la-benchmark.o libdispatch_la-object.o libdispatch_la-once.o 
libdispatch_la-queue.o libdispatch_la-queue_kevent.o libdispatch_la-semaphore.o 
libdispatch_la-source.o libdispatch_la-source_kevent.o libdispatch_la-time.o  
.libs/libdispatch.lax/libshims.a/mach.o .libs/libdispatch.lax/libshims.a/time.o 
.libs/libdispatch.lax/libshims.a/tsd.o 
libtool: link: ranlib .libs/libdispatch.a
libtool: link: rm -fr .libs/libdispatch.lax
libtool: link: ( cd ".libs" && rm -f "libdispatch.la" && ln -s 
"../libdispatch.la" "libdispatch.la" )
make[3]: Leaving directory `/tmp/libdispatch-0~svn197/src'
make[2]: Leaving directory `/tmp/libdispatch-0~svn197/src'
Making all in testing
make[2]: Entering directory `/tmp/libdispatch-0~svn197/testing'
/bin/bash ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. 
-I../config -I.. -I..    -Wall  -fblocks -c -o dispatch_test.lo dispatch_test.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -c dispatch_test.c  -fPIC -DPIC -o .libs/dispatch_test.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -c dispatch_test.c -o dispatch_test.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. 
-I../config -I.. -I..    -Wall  -fblocks -c -o asprintf.lo `test -f 
'shims/asprintf.c' || echo './'`shims/asprintf.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -c shims/asprintf.c  -fPIC -DPIC -o .libs/asprintf.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -c shims/asprintf.c -o asprintf.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. 
-I../config -I.. -I..    -Wall  -fblocks -c -o arc4random.lo `test -f 
'shims/arc4random.c' || echo './'`shims/arc4random.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -c shims/arc4random.c  -fPIC -DPIC -o .libs/arc4random.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -c shims/arc4random.c -o arc4random.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. 
-I../config -I.. -I..    -Wall  -fblocks -c -o fgetln.lo `test -f 
'shims/fgetln.c' || echo './'`shims/fgetln.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -c shims/fgetln.c  -fPIC -DPIC -o .libs/fgetln.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -c shims/fgetln.c -o fgetln.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC   --mode=link clang  -Wall  -fblocks   -o 
libtest.la  dispatch_test.lo asprintf.lo arc4random.lo fgetln.lo  -lrt  
-lBlocksRuntime
libtool: link: ar cru .libs/libtest.a .libs/dispatch_test.o .libs/asprintf.o 
.libs/arc4random.o .libs/fgetln.o 
libtool: link: ranlib .libs/libtest.a
libtool: link: ( cd ".libs" && rm -f "libtest.la" && ln -s "../libtest.la" 
"libtest.la" )
clang -DHAVE_CONFIG_H -I. -I../config -I.. -I..    -Wall  -fblocks -c 
dispatch_api.c
/bin/bash ../libtool --tag=CC   --mode=link clang  -Wall  -fblocks   -o 
dispatch_api dispatch_api.o libtest.la ../src/libdispatch.la -lrt  
-lBlocksRuntime
libtool: link: clang -Wall -fblocks -o .libs/dispatch_api dispatch_api.o  
./.libs/libtest.a ../src/.libs/libdispatch.so -lrt -lBlocksRuntime
clang -DHAVE_CONFIG_H -I. -I../config -I.. -I..   -std=c99 -Wall  -fblocks -c 
-o dispatch_c99-dispatch_c99.o `test -f 'dispatch_c99.c' || echo 
'./'`dispatch_c99.c
/bin/bash ../libtool --tag=CC   --mode=link clang -std=c99 -Wall  -fblocks   -o 
dispatch_c99 dispatch_c99-dispatch_c99.o libtest.la ../src/libdispatch.la -lrt  
-lBlocksRuntime
libtool: link: clang -std=c99 -Wall -fblocks -o .libs/dispatch_c99 
dispatch_c99-dispatch_c99.o  ./.libs/libtest.a ../src/.libs/libdispatch.so -lrt 
-lBlocksRuntime
clang: warning: argument unused during compilation: '-std=c99'
clang -DHAVE_CONFIG_H -I. -I../config -I.. -I..    -Wall  -fblocks -c 
dispatch_cascade.c
dispatch_cascade.c:65:23: warning: conversion specifies type 'long' but the 
argument has type 'size_t' (aka 'unsigned int') [-Wformat]
        printf("maxcount = %ld\n", maxcount);
                           ~~^     ~~~~~~~~
                           %u
1 warning generated.
/bin/bash ../libtool --tag=CC   --mode=link clang  -Wall  -fblocks   -o 
dispatch_cascade dispatch_cascade.o libtest.la ../src/libdispatch.la -lrt  
-lBlocksRuntime
libtool: link: clang -Wall -fblocks -o .libs/dispatch_cascade 
dispatch_cascade.o  ./.libs/libtest.a ../src/.libs/libdispatch.so -lrt 
-lBlocksRuntime
clang -DHAVE_CONFIG_H -I. -I../config -I.. -I..    -Wall  -fblocks -c 
dispatch_debug.c
/bin/bash ../libtool --tag=CC   --mode=link clang  -Wall  -fblocks   -o 
dispatch_debug dispatch_debug.o libtest.la ../src/libdispatch.la -lrt  
-lBlocksRuntime
libtool: link: clang -Wall -fblocks -o .libs/dispatch_debug dispatch_debug.o  
./.libs/libtest.a ../src/.libs/libdispatch.so -lrt -lBlocksRuntime
clang -DHAVE_CONFIG_H -I. -I../config -I.. -I..    -Wall  -fblocks -c 
dispatch_priority.c
/bin/bash ../libtool --tag=CC   --mode=link clang  -Wall  -fblocks   -o 
dispatch_priority dispatch_priority.o libtest.la ../src/libdispatch.la -lrt  
-lBlocksRuntime
libtool: link: clang -Wall -fblocks -o .libs/dispatch_priority 
dispatch_priority.o  ./.libs/libtest.a ../src/.libs/libdispatch.so -lrt 
-lBlocksRuntime
clang -DHAVE_CONFIG_H -I. -I../config -I.. -I..   -DUSE_SET_TARGET_QUEUE=1 
-Wall  -fblocks -c -o dispatch_priority2-dispatch_priority.o `test -f 
'dispatch_priority.c' || echo './'`dispatch_priority.c
/bin/bash ../libtool --tag=CC   --mode=link clang -DUSE_SET_TARGET_QUEUE=1 
-Wall  -fblocks   -o dispatch_priority2 dispatch_priority2-dispatch_priority.o 
libtest.la ../src/libdispatch.la -lrt  -lBlocksRuntime
libtool: link: clang -DUSE_SET_TARGET_QUEUE=1 -Wall -fblocks -o 
.libs/dispatch_priority2 dispatch_priority2-dispatch_priority.o  
./.libs/libtest.a ../src/.libs/libdispatch.so -lrt -lBlocksRuntime
clang -DHAVE_CONFIG_H -I. -I../config -I.. -I..    -Wall  -fblocks -c 
dispatch_starfish.c
dispatch_starfish.c:64:17: warning: conversion specifies type 'long' but the 
argument has type 'size_t' (aka 'unsigned int') [-Wformat]
        printf("lap: %ld\n", lap_count_down);
                     ~~^     ~~~~~~~~~~~~~~
                     %u
dispatch_starfish.c:135:59: warning: conversion specifies type 'long' but the 
argument has type 'size_t' (aka 'unsigned int') [-Wformat]
                snprintf(buf, sizeof(buf), "com.example.starfish-node#%ld", i);
                                                                      ~~^   ~
                                                                      %u
dispatch_starfish.c:135:59: warning: conversion specifies type 'long' but the 
argument has type 'size_t' (aka 'unsigned int') [-Wformat]
                snprintf(buf, sizeof(buf), "com.example.starfish-node#%ld", i);
                                                                      ~~^   ~
                                                                      %u
3 warnings generated.
/bin/bash ../libtool --tag=CC   --mode=link clang  -Wall  -fblocks   -o 
dispatch_starfish dispatch_starfish.o libtest.la ../src/libdispatch.la -lrt  
-lBlocksRuntime
libtool: link: clang -Wall -fblocks -o .libs/dispatch_starfish 
dispatch_starfish.o  ./.libs/libtest.a ../src/.libs/libdispatch.so -lrt 
-lBlocksRuntime
dispatch_starfish.o: In function `_dispatch_time_mach2nano':
dispatch_starfish.c:(.text+0x590): undefined reference to 
`_dispatch_get_host_time_init'
/usr/bin/ld: .libs/dispatch_starfish: hidden symbol 
`_dispatch_get_host_time_init' isn't defined
/usr/bin/ld: final link failed: Bad value
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [dispatch_starfish] Error 1
make[2]: Leaving directory `/tmp/libdispatch-0~svn197/testing'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/libdispatch-0~svn197'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Reply via email to