Hello Daniel,

one more builderror on a rare system :-)

On Wed, May 15, 2013 at 02:35:03AM -0400, Daniel Kahn Gillmor wrote:
> Package: icedove
> Version: 17.0.5-1
> Severity: normal
> 
> https://buildd.debian.org/status/fetch.php?pkg=icedove&arch=kfreebsd-amd64&ver=17.0.5-1&stamp=1365881205

[...]
 
> this is a little funny since platform_thread_posix.c shows:
> 
>      14 #if !defined(__FreeBSD__) && !defined(__NetBSD__) && 
> !defined(__OpenBSD__) && !defined(__DragonFly__)
>      15 #include <sys/prctl.h>
>      16 #elif !defined(__NetBSD__)
>      17 #include <pthread_np.h>
>      18 #endif
> 
> so the tests there to avoid sys/prctl.h on the *BSDs are not getting
> triggered appropriately.

Yes, there is just one of this variables that has to be defined and the
compiler will try to include this header that doesn't exist.

> i note that comparing the ipc module between iceweasel 17.0.5esr-1 and
> icedove 17.0.5-1 shows only a single-line difference:
> 
> 0 dkg@alice:/tmp/cdtemp.wpE8SL$ diff -ruN  icedove-17.0.5/mozilla/ipc 
> iceweasel-17.0.5esr/ipc/ 
> diff -ruN 
> icedove-17.0.5/mozilla/ipc/chromium/src/base/platform_thread_posix.cc 
> iceweasel-17.0.5esr/ipc/chromium/src/base/platform_thread_posix.cc
> --- icedove-17.0.5/mozilla/ipc/chromium/src/base/platform_thread_posix.cc     
> 2013-05-15 02:20:19.000000000 -0400
> +++ iceweasel-17.0.5esr/ipc/chromium/src/base/platform_thread_posix.cc        
> 2013-05-15 02:29:20.000000000 -0400
> @@ -9,7 +9,7 @@
>  
>  #if defined(OS_MACOSX)
>  #include <mach/mach.h>
> -#elif defined(OS_LINUX) || defined(__GLIBC__) || defined(__GNU__)
> +#elif defined(OS_LINUX)
>  #include <sys/syscall.h>
>  #if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) 
> && !defined(__DragonFly__)
>  #include <sys/prctl.h>
> 1 dkg@alice:/tmp/cdtemp.wpE8SL$ 
> 
> I don't currently have any kFreeBSD machines handy to try this fix on though.

We plan to setup a local FreeBSD machine and try to catch it on a native
system. So we can hopefully see which one of this variables is defined.

Regards
Carsten


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to