[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#557556: marked as done (trousers: FTBFS on kfreebsd-i386)



Your message dated Thu, 26 Nov 2009 11:18:14 +0000
with message-id <E1NDcMY-0006oi-5A@ries.debian.org>
and subject line Bug#557556: fixed in trousers 0.3.2-9
has caused the Debian Bug report #557556,
regarding trousers: FTBFS on kfreebsd-i386
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 owner@bugs.debian.org
immediately.)


-- 
557556: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557556
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: trousers
Version: 0.3.2-7
Severity: important
Tags: patch
User: debian-bsd@lists.debian.org
Usertags: kfreebsd

Hi,

your package FTBFS on kfreebsd-*. I'm attaching a patch which almost
fixes it, but I'm now getting:
| ps_inspect.c: In function ‘main’:
| ps_inspect.c:342: error: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘off_t’

The OFF_T_PRINTF #defines at the top of tools/ps_inspect.c seem very
buggy too me, I guess you should be checking this kind of things from
configure.

Mraw,
KiBi.
--- a/src/include/trousers_types.h
+++ b/src/include/trousers_types.h
@@ -118,7 +118,7 @@ typedef struct tdTSS_KEY {
 	BYTE *encData;
 } TSS_KEY;
 
-#if (defined (__linux) || defined (linux))
+#if (defined (__linux) || defined (linux) || defined (__GLIBC__))
 #define BSD_CONST
 #elif (defined (__OpenBSD__) || defined (__FreeBSD__))
 #define BSD_CONST const
--- a/src/tcsd/platform.c
+++ b/src/tcsd/platform.c
@@ -13,7 +13,7 @@
 #include <sys/param.h>
 #include <sys/sysctl.h>
 #include <err.h>
-#elif (defined (__linux) || defined (linux))
+#elif (defined (__linux) || defined (linux) || defined(__GLIBC__))
 #include <utmp.h>
 #endif
 
@@ -31,7 +31,7 @@
 #include "tcslog.h"
 
 
-#if (defined (__linux) || defined (linux))
+#if (defined (__linux) || defined (linux) || defined(__GLIBC__))
 MUTEX_DECLARE_INIT(utmp_lock);
 
 char
--- a/src/tspi/ps/tspps.c
+++ b/src/tspi/ps/tspps.c
@@ -44,7 +44,7 @@ get_user_ps_path(char **file)
 	TSS_RESULT result;
 	char *file_name = NULL, *home_dir = NULL;
 	struct passwd *pwp;
-#if (defined (__linux) || defined (linux))
+#if (defined (__linux) || defined (linux) || defined(__GLIBC__))
 	struct passwd pw;
 #endif
 	struct stat stat_buf;
@@ -64,7 +64,7 @@ get_user_ps_path(char **file)
 
 	setpwent();
 	while (1) {
-#if (defined (__linux) || defined (linux))
+#if (defined (__linux) || defined (linux) || defined(__GLIBC__))
 		rc = getpwent_r(&pw, buf, PASSWD_BUFSIZE, &pwp);
 		if (rc) {
 			LogDebugFn("USER PS: Error getting path to home directory: getpwent_r: %s",

--- End Message ---
--- Begin Message ---
Source: trousers
Source-Version: 0.3.2-9

We believe that the bug you reported is fixed in the latest version of
trousers, which is due to be installed in the Debian FTP archive:

libtspi-dev_0.3.2-9_amd64.deb
  to main/t/trousers/libtspi-dev_0.3.2-9_amd64.deb
libtspi1_0.3.2-9_amd64.deb
  to main/t/trousers/libtspi1_0.3.2-9_amd64.deb
trousers-dbg_0.3.2-9_amd64.deb
  to main/t/trousers/trousers-dbg_0.3.2-9_amd64.deb
trousers_0.3.2-9.diff.gz
  to main/t/trousers/trousers_0.3.2-9.diff.gz
trousers_0.3.2-9.dsc
  to main/t/trousers/trousers_0.3.2-9.dsc
trousers_0.3.2-9_amd64.deb
  to main/t/trousers/trousers_0.3.2-9_amd64.deb



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 557556@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Laurent Bigonville <bigon@debian.org> (supplier of updated trousers 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 26 Nov 2009 11:55:30 +0100
Source: trousers
Binary: trousers trousers-dbg libtspi1 libtspi-dev
Architecture: source amd64
Version: 0.3.2-9
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Laurent Bigonville <bigon@debian.org>
Description: 
 libtspi-dev - open-source TCG Software Stack (development)
 libtspi1   - open-source TCG Software Stack (library)
 trousers   - open-source TCG Software Stack (daemon)
 trousers-dbg - open-source TCG Software Stack (debug)
Closes: 557556
Changes: 
 trousers (0.3.2-9) unstable; urgency=low
 .
   * QA upload.
   * Really fix FTBFS on kfreebsd-* (Closes: #557556)
Checksums-Sha1: 
 177f2079b38cd1dbe4922a4454983bf02d4ae699 1091 trousers_0.3.2-9.dsc
 04bf9230fe5a51f4b8c9438a5bf407356487d110 15859 trousers_0.3.2-9.diff.gz
 8c1a793437ee69f4f071abc86daf96452dd4305e 146692 trousers_0.3.2-9_amd64.deb
 623102e30788aac7ef14e2373294f0139cb8e1ba 576784 trousers-dbg_0.3.2-9_amd64.deb
 022eed54129807735f7f565fd509bfa8d9d8cae8 195906 libtspi1_0.3.2-9_amd64.deb
 edf354e9c080a608619a048c27c20becdf509570 659068 libtspi-dev_0.3.2-9_amd64.deb
Checksums-Sha256: 
 9397f3cbd9854f4c88c2f54043672e720892bff46925183a6a24d6fd6df7b05f 1091 trousers_0.3.2-9.dsc
 e192b8bf3cf45e1a1a1d0293b55876597e02a9520f0a08164459e643b9653546 15859 trousers_0.3.2-9.diff.gz
 1748174f4f4bdf1db7c9aebc444e07247cef5878e7eed89a44d09e0f7013b1e1 146692 trousers_0.3.2-9_amd64.deb
 9f2de7a7e1e276915688593e740d5b5ff4bbeb99e8fae210769e4a6571a98d7e 576784 trousers-dbg_0.3.2-9_amd64.deb
 bc11b175efc424ea8e0d091bca4d85530ad61ba9aea5aa41c37f83c61beea62e 195906 libtspi1_0.3.2-9_amd64.deb
 a50f62b170bf46067b608d708b831d6e4947201e8cb03a973ceeb1d7bea57024 659068 libtspi-dev_0.3.2-9_amd64.deb
Files: 
 af79ee59b2613ccf8f4a870337192efc 1091 admin optional trousers_0.3.2-9.dsc
 68711b3ada1e7f36a62d16f4395cd1ff 15859 admin optional trousers_0.3.2-9.diff.gz
 d130af450fec3908d4296da25aeb6b5e 146692 admin optional trousers_0.3.2-9_amd64.deb
 7b85c23a0dad4499b9f8580a5a2a03e2 576784 debug extra trousers-dbg_0.3.2-9_amd64.deb
 0f40915030ca2f955b02e0b34ec61024 195906 libs optional libtspi1_0.3.2-9_amd64.deb
 460ad89eea062fc98b7cbfa908a9a3cc 659068 libdevel optional libtspi-dev_0.3.2-9_amd64.deb

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

iEYEARECAAYFAksOX+0ACgkQdkeBByM7nqBBzQCfUJcoZMpnGI26mXu6N7g8xm3U
t+4AnjxBWDHd0hcKjNwKF4dLWbj67uqK
=54jm
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: