tags 609776 + patch pending thanks I'm now making a patch try to fix it on kfreebsd-* and hurd-*, wish it works.
The FTBFS is firstly caused md5sum program detection (currently visible problem), and secondly there would be a linker flag problem (on buildd it still does not touch this step): 1. Upstream hard coded to use gmd5sum on *freebsd*, which make kfreebsd fall in this category, but in Debian kfreebsd gmd5sum is named md5sum. They didn't check for other platforms other than freebsd and linux, so hurd cannot work. I'm sure my patch can fix this point. 2. Upstream set the HOST_LIBS flag of *freebsd* to "-lexecinfo -pthread". I'm not so sure about what to do on kfreebsd-* and hurd, in my patch I set them to the same as Linux, "-ldl -lpthread". I will look at the build build in next days, and try to verify the patch by installing a virtual machine if needed. -- Regards, Aron Xu
Description: Fix FTBFS on kfreebsd and hurd. Upstream hard coded *freebsd* to use gmd5sum, which should be md5sum on Debian kfreebsd. Also, upstream didn't check for hurd, now added. Author: Aron Xu <happyaron...@gmail.com> Bug-Debian: 609776 Forwarded: http://code.google.com/p/fcitx/issues/detail?id=377 Last-Update: 2011-01-14 --- a/configure +++ b/configure @@ -12661,6 +12661,10 @@ $as_echo_n "checking host platform characteristics... " >&6; } case "$host" in + *-*-*kfreebsd*) + HOST_LIBS="-ldl -lpthread" + md5prog=md5sum + ;; *-*-*freebsd*) HOST_LIBS="-lexecinfo -pthread" md5prog=gmd5sum @@ -12669,6 +12673,10 @@ HOST_LIBS="-ldl -lpthread" md5prog=md5sum ;; + *-*-*hurd*) + HOST_LIBS="-ldl -lpthread" + md5prog=md5sum + ;; esac --- a/configure.in +++ b/configure.in @@ -29,6 +29,10 @@ AC_MSG_CHECKING([host platform characteristics]) case "$host" in + *-*-*kfreebsd*) + HOST_LIBS="-ldl -lpthread" + md5prog=md5sum + ;; *-*-*freebsd*) HOST_LIBS="-lexecinfo -pthread" md5prog=gmd5sum @@ -37,6 +41,10 @@ HOST_LIBS="-ldl -lpthread" md5prog=md5sum ;; + *-*-*hurd*) + HOST_LIBS="-ldl -lpthread" + md5prog=md5sum + ;; esac AC_SUBST(HOST_LIBS)
signature.asc
Description: Digital signature