Hi,

On 09/10/13 13:21, Salvatore Bonaccorso wrote:
> During preparing packages for torque in wheezy for CVE-2013-4319
> (#722306) I noticed that torque FTBFS now on kfreebsd-amd64 and
> kfreebsd-i386 (which builded fine previously).

>  [1] 
> https://buildd.debian.org/status/fetch.php?pkg=torque&arch=kfreebsd-amd64&ver=2.4.16%2Bdfsg-1&stamp=1312246561

There is a clue to this in the old build log:
> /usr/include/nlist.h:33:2: warning: #warning "Deprecated header, use 
> <bsd/nlist.h> or libbsd-overlay.pc instead." [-Wcpp]

A newer freebsd-utils must have broken this sometime, sorry.  The
attached could be used as a quick fix for this, with no change to build
dependencies.  But the bsd overlay sounds like the proper way to fix it
in sid.

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org
Index: torque-2.4.16+dfsg/src/resmom/freebsd5/mom_mach.c
===================================================================
--- torque-2.4.16+dfsg.orig/src/resmom/freebsd5/mom_mach.c	2010-07-02 00:00:17.000000000 +0100
+++ torque-2.4.16+dfsg/src/resmom/freebsd5/mom_mach.c	2013-10-09 19:59:19.154319684 +0100
@@ -109,7 +109,7 @@
 #include <fcntl.h>
 #include <errno.h>
 #include <pwd.h>
-#include <nlist.h>
+#include <bsd/nlist.h>
 #include <fstab.h>
 #include <kvm.h>
 #include <signal.h>

Reply via email to