Your message dated Wed, 01 Oct 2014 13:35:03 +0000
with message-id <e1xzk3b-0004kd...@franck.debian.org>
and subject line Bug#763572: fixed in pbs-drmaa 1.0.17-2
has caused the Debian Bug report #763572,
regarding pbs-drmaa: FTBFS[kfreebsd]: uses non-POSIX mode flag
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
763572: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763572
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: pbs-drmaa
Version: 1.0.17-1
Severity: serious
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd

Hi,

pbs-drmaa/job.c uses S_ISREG, which is not part of core POSIX
specification;  instead it should use the S_IFREG macro.  This caused
the FTBFS on kfreebsd.

Patch is attached.  Thanks!

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 9.0-2-amd64-xenhvm-ipsec
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
From: Steven Chamberlain <ste...@pyro.eu.org>
Subject: use POSIX-recommended macro to check file type

--- a/pbs_drmaa/job.c
+++ b/pbs_drmaa/job.c
@@ -401,7 +401,7 @@
 		struct stat tmpstat;
 
 		fsd_log_error(("Failed to open job status file: %s", status_file));
-		if (stat(start_file, &tmpstat) == 0 && (tmpstat.st_mode & S_IFREG))
+		if (stat(start_file, &tmpstat) == 0 && S_ISREG(tmpstat.st_mode))
 		 {
 			exit_status = 143; /* SIGTERM */
 			fsd_log_info(("But start file exist %s. Assuming that job was killed (exit_status=%d).", start_file, exit_status));

--- End Message ---
--- Begin Message ---
Source: pbs-drmaa
Source-Version: 1.0.17-2

We believe that the bug you reported is fixed in the latest version of
pbs-drmaa, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 763...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dominique Belhachemi <domi...@debian.org> (supplier of updated pbs-drmaa 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 01 Oct 2014 08:51:38 -0400
Source: pbs-drmaa
Binary: pbs-drmaa-dev pbs-drmaa1
Architecture: source amd64
Version: 1.0.17-2
Distribution: unstable
Urgency: medium
Maintainer: Dominique Belhachemi <domi...@debian.org>
Changed-By: Dominique Belhachemi <domi...@debian.org>
Description:
 pbs-drmaa-dev - DRMAA for Torque/PBS Pro - devel
 pbs-drmaa1 - DRMAA for Torque/PBS Pro - runtime
Closes: 763572
Changes:
 pbs-drmaa (1.0.17-2) unstable; urgency=medium
 .
   * Added posix.diff to fix non-POSIX flag issue on kfreebsd (Closes: #763572)
     Thanks to Steven Chamberlain for the patch.
Checksums-Sha1:
 13b5d03dca372cbea43ceec7993224ad20bcca95 2006 pbs-drmaa_1.0.17-2.dsc
 78774c8d83fe294a597a8add1b566d6c7be0be8f 3256 pbs-drmaa_1.0.17-2.debian.tar.xz
 be2f273b3b0d23ebf2cf4d47c845becac3c0e558 9060 pbs-drmaa-dev_1.0.17-2_amd64.deb
 8a097aaae979eafdf069ca519b7fb15f40e3d5a1 61104 pbs-drmaa1_1.0.17-2_amd64.deb
Checksums-Sha256:
 5b8ff9a1c2c3f112ef25138b7f7a083b92cf8d1686875d30383edff85f970899 2006 
pbs-drmaa_1.0.17-2.dsc
 1fdf98da70d9df6be4118fcad9dcda2f16d64f8a903d1b296d247787277db6c9 3256 
pbs-drmaa_1.0.17-2.debian.tar.xz
 9f88970f17c2b9d4b9f9caa3641740e7665b1e7acadace7299c131531c8c2db4 9060 
pbs-drmaa-dev_1.0.17-2_amd64.deb
 9a86c355009fa9d16b6fbc34d36accf4b97aad827e73127c388d1edeca38b18a 61104 
pbs-drmaa1_1.0.17-2_amd64.deb
Files:
 e816da9b3e2424b8db6fe5005066a838 9060 libdevel optional 
pbs-drmaa-dev_1.0.17-2_amd64.deb
 53fd5b41c7a59604569931c071fd2449 61104 libs optional 
pbs-drmaa1_1.0.17-2_amd64.deb
 5bed628a271328d5e2421d406a29c977 2006 libs optional pbs-drmaa_1.0.17-2.dsc
 aca1abce574a51432ae95abac1546da5 3256 libs optional 
pbs-drmaa_1.0.17-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJUK/+kAAoJEBm15shiGRABxdMP/3Z3LrrWWfD6fli7kLm5EN+H
selWHwqf80Bh6T5dZG5KIzP28yE6h8Rev5XZWwUdoDR5GbWt9aON8mLf+6xbOIuv
TPScELmJv3XDLWC/ut7klYR22hvvDOcqMuab3FthJFw1wBHV+GWTmusFw8SkJEJr
CtmtdVpRamozRi8XDBI/zRrdN/6IWaOtkNkwRmhgb3xBSq1PCbOFWHKRKZcfswjY
zTqnTQqTINzXxmw4P0QuHBrFlHdp9cuVPyKW1StlYltih5Z4JSBsPIsFizLp+OYS
KtGpDUK6Emzwi63udBK8v+f6VHXvJFxhjSQs5ptHXS0JsxkjbW09x3aJCD16l9I8
zuEE05Qu5YyO4GB1o7sNubhXe9FzisVERGEJbw6lIp7H9iq5bz+8S4eXLwT5NLCF
d8g63vPlWyitUYQ0F6C6M6lHo63cTF+WrcKVVqgvNK8JqDCK/d/wrxHtb7qcODZU
6iO8AxyQDk3h5b6bHvmr2ygDrovfShJnZnNr5IckcHH/dOgW2xZZG1d0tK5drhvt
ve3tbNRcFwuxNroD17EIYy+h6JtpcfhDrSN1cTK5MuQeAbU8zVEL57YnzHSYypUR
ydjeBOJPgLACJy19Y55k912jA1Uhx+DgXyvyM92ERNsWmW/nTbW5jVyAd53eyqLv
KS0YY4w3BvNdv4ckLs4h
=pKdE
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to