devel/gio-fam-backend doesn't build at 6.x jail (i386, amd64)
Wesley Shields
wxs at atarininja.org
Mon Mar 16 10:26:29 EDT 2009
On Mon, Mar 16, 2009 at 04:49:09PM +0300, Boris Samorodov wrote:
> Hello List,
>
>
> The port devel/gio-fam-backend doesn't build at two my tindies,
> both i386 and amd64 for FreeeBSD-6.x. Hosts are both CURRENT as of
> today, jails are RELENG_6 as of today, no GLOBAL env, OPTIONS, etc.:
> pure system builds. The ports tree is fresh either. The port seems
> to build at pointyhat and marcuscom tinderbox though.
>
> Here are the relevant part of logs from failing system and
> a good build from 7.x jail:
> --- 6.x ---
> ...
> checking if building for some Win32 platform... no
> checking for thread implementation... posix
> checking thread related cflags... -D_REENTRANT
> checking for pthread_create/pthread_join... no
> checking for pthread_create/pthread_join in -lpthread... no
> checking for pthread_create/pthread_join in -lpthread32... no
> checking for pthread_create/pthread_join in -lpthreads... no
> checking for pthread_create/pthread_join in -lthread... no
> checking for pthread_create/pthread_join in -ldce... no
> configure: error: I can't find the libraries for the thread implementation
> posix. Please choose another thread implementation or
> provide information on your thread implementation.
> You can also run 'configure --disable-threads'
> to compile without thread support.
> ===> Script "configure" failed unexpectedly.
> ...
> --- 7.x ---
> ...
> checking if building for some Win32 platform... no
> checking for thread implementation... posix
> checking thread related cflags... -pthread
> checking for sched_get_priority_min... yes
> checking thread related libraries... -pthread
> checking for localtime_r... yes
> checking for gmtime_r... (cached) yes
> checking for posix getpwuid_r... yes
> checking for posix getgrgid_r... yes
> checking size of pthread_t... 4
> checking for pthread_attr_setstacksize... yes
> checking for minimal/maximal thread priority... sched_get_priority_min(SCHED_OTHER)/sched_get_priority_max(SCHED_OTHER)
> checking for pthread_setschedparam... yes
> checking for posix yield function... sched_yield
> checking size of pthread_mutex_t... 4
> checking byte contents of PTHREAD_MUTEX_INITIALIZER... 0,0,0,0
> checking for clock_gettime... yes
> checking for monotonic clocks... yes
> checking whether to use assembler code for atomic operations... none
> ...
> -----
>
> I definitely do missing something. Thanks for your help.
I don't recall if it is still necessary or not but I have the following
hook defined for prePortBuild:
wxs at ack scripts % cat /tinderbox/hooks/libmap.sh
#!/bin/sh
major_version=$(echo ${JAIL} | sed -E -e 's|(^.).*$|\1|')
if [ ${major_version} -lt 7 ]; then
cp /tinderbox/hooks/libmap.conf ${CHROOT}/etc
fi
wxs at ack scripts % cat /tinderbox/hooks/libmap.conf
libpthread.so.1 libthr.so.1
libpthread.so.2 libthr.so.2
libkse.so.3 libthr.so.3
wxs at ack scripts %
-- WXS
More information about the tinderbox-list
mailing list