Bug#266699: marked as done (FTBFS on k*bsd-gnu)

Debian Bug Tracking System owner@bugs.debian.org
Fri, 17 Jun 2005 15:33:07 -0700


Your message dated Fri, 17 Jun 2005 18:17:17 -0400
with message-id <E1DjP9J-00032s-00@newraff.debian.org>
and subject line Bug#266699: fixed in gnome-vfs2 2.10.1-5
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 18 Aug 2004 18:47:20 +0000
>From rmh@khazad.dyndns.org Wed Aug 18 11:47:20 2004
Return-path: <rmh@khazad.dyndns.org>
Received: from 86.red-80-24-13.pooles.rima-tde.net (khazad.dyndns.org) [80.24.13.86] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BxVSt-0004Ev-00; Wed, 18 Aug 2004 11:47:17 -0700
Received: from aragorn ([192.168.0.1] helo=khazad.dyndns.org)
	by khazad.dyndns.org with esmtp (Exim 3.36 #1 (Debian))
	id 1BxVas-0005pm-00; Wed, 18 Aug 2004 20:55:30 +0200
Received: from rmh by khazad.dyndns.org with local (Exim 4.34)
	id 1BxVS0-000HqP-K1; Wed, 18 Aug 2004 20:46:20 +0200
Content-Type: multipart/mixed; boundary="===============0221562864=="
MIME-Version: 1.0
From: Robert Millan <rmh@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: FTBFS on k*bsd-gnu
X-Mailer: reportbug 2.64
Date: Wed, 18 Aug 2004 20:46:20 +0200
Message-Id: <E1BxVS0-000HqP-K1@khazad.dyndns.org>
Sender: <rmh@khazad.dyndns.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============0221562864==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: gnome-vfs2
Version: 2.6.2-1
Severity: wishlist
Tags: patch

Hi,

The attached patch fixes FTBFS on GNU/k*BSD.  Please could you forward it
upstream?

Thanks.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-i386 (i386)
Kernel: GNU/kFreeBSD 5.2.1-5
Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to C)

--===============0221562864==
Content-Type: text/x-m4; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="gnome-vfs2_2.6.2-1.diff"

diff -ur gnome-vfs2-2.6.2.old/configure.in gnome-vfs2-2.6.2/configure.in
--- gnome-vfs2-2.6.2.old/configure.in	2004-08-12 22:00:06.000000000 +0200
+++ gnome-vfs2-2.6.2/configure.in	2004-08-18 20:37:12.000000000 +0200
@@ -105,6 +105,8 @@
 
 dnl semaphore functions are in librt.so on solaris
 AC_SEARCH_LIBS(sem_wait, rt)
+dnl and in libsem.so on systems that use libsem
+AC_SEARCH_LIBS(sem_wait, sem)
 
 dnl Don't blindly #define them if they're typedef'ed in <sys/types.h>
 AM_GNOME_SIZE_T
diff -ur gnome-vfs2-2.6.2.old/libgnomevfs/gnome-vfs-cdrom.c gnome-vfs2-2.6.2/libgnomevfs/gnome-vfs-cdrom.c
--- gnome-vfs2-2.6.2.old/libgnomevfs/gnome-vfs-cdrom.c	2004-07-20 19:50:44.000000000 +0200
+++ gnome-vfs2-2.6.2/libgnomevfs/gnome-vfs-cdrom.c	2004-08-18 20:29:35.000000000 +0200
@@ -89,9 +89,9 @@
 	return type;
 #elif defined(HAVE_SYS_MNTCTL_H)
 	return CDS_NO_INFO;
-#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) || defined(__NetBSD__)
 	struct ioc_toc_header header;
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 	struct ioc_read_toc_single_entry entry;
 #else
 	struct ioc_read_toc_entry entries;
@@ -113,7 +113,7 @@
 	}
 
 	type = CDS_DATA_1;
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 	for (entry.track = header.starting_track;
 		entry.track <= header.ending_track;
 		entry.track++) {
@@ -126,7 +126,7 @@
 		}
 	}
 
-#else /* defined(__FreeBSD__) */
+#else /* defined(__FreeBSD__) || defined(__FreeBSD_kernel__) */
 	entries.data_len = sizeof(entry);
 	entries.data = &entry;
 	for (i = header.starting_track; i <= header.ending_track; i++) {
@@ -140,7 +140,7 @@
 		}
 	}
 
-#endif /* defined(__FreeBSD__) */
+#endif /* defined(__FreeBSD__) || defined(__FreeBSD_kernel__) */
 	return type;
 #else
 	*fd = open (vol_dev_path, O_RDONLY|O_NONBLOCK);
diff -ur gnome-vfs2-2.6.2.old/libgnomevfs/gnome-vfs-volume-ops.c gnome-vfs2-2.6.2/libgnomevfs/gnome-vfs-volume-ops.c
--- gnome-vfs2-2.6.2.old/libgnomevfs/gnome-vfs-volume-ops.c	2004-03-05 16:08:12.000000000 +0100
+++ gnome-vfs2-2.6.2/libgnomevfs/gnome-vfs-volume-ops.c	2004-08-18 20:28:40.000000000 +0200
@@ -259,7 +259,7 @@
 	}
 
 	if (info->should_eject) {
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 	    	char *argv[5] = {
 		    	"cdcontrol",
 			"-f",
diff -ur gnome-vfs2-2.6.2.old/modules/cdda-method.c gnome-vfs2-2.6.2/modules/cdda-method.c
--- gnome-vfs2-2.6.2.old/modules/cdda-method.c	2004-01-22 13:29:10.000000000 +0100
+++ gnome-vfs2-2.6.2/modules/cdda-method.c	2004-08-18 20:28:13.000000000 +0200
@@ -625,7 +625,7 @@
 		if (global_context != NULL) {
 #ifdef __linux__
 			if (strcmp (drive->cdda_device_name, global_context->drive->cdda_device_name) == 0) {
-#elif defined(__FreeBSD__)
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 			if (strcmp (drive->dev->device_path, global_context->drive->dev->device_path) == 0) {
 #endif
 				use_cache = TRUE;
@@ -715,7 +715,7 @@
 		if (global_context != NULL) {
 #ifdef __linux__
 				if (strcmp (drive->cdda_device_name, global_context->drive->cdda_device_name) != 0) {
-#elif defined(__FreeBSD__)
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 				if (strcmp (drive->dev->device_path, global_context->drive->dev->device_path) != 0) {
 #endif
 					/*	Clear old cache */

--===============0221562864==--

---------------------------------------
Received: (at 266699-close) by bugs.debian.org; 17 Jun 2005 22:21:39 +0000
>From katie@ftp-master.debian.org Fri Jun 17 15:21:39 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DjPDX-0004xK-00; Fri, 17 Jun 2005 15:21:39 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DjP9J-00032s-00; Fri, 17 Jun 2005 18:17:17 -0400
From: Josselin Mouette <joss@debian.org>
To: 266699-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#266699: fixed in gnome-vfs2 2.10.1-5
Message-Id: <E1DjP9J-00032s-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Fri, 17 Jun 2005 18:17:17 -0400
Delivered-To: 266699-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: gnome-vfs2
Source-Version: 2.10.1-5

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

gnome-vfs2_2.10.1-5.diff.gz
  to pool/main/g/gnome-vfs2/gnome-vfs2_2.10.1-5.diff.gz
gnome-vfs2_2.10.1-5.dsc
  to pool/main/g/gnome-vfs2/gnome-vfs2_2.10.1-5.dsc
libgnomevfs2-0-dbg_2.10.1-5_i386.deb
  to pool/main/g/gnome-vfs2/libgnomevfs2-0-dbg_2.10.1-5_i386.deb
libgnomevfs2-0_2.10.1-5_i386.deb
  to pool/main/g/gnome-vfs2/libgnomevfs2-0_2.10.1-5_i386.deb
libgnomevfs2-common_2.10.1-5_i386.deb
  to pool/main/g/gnome-vfs2/libgnomevfs2-common_2.10.1-5_i386.deb
libgnomevfs2-dev_2.10.1-5_i386.deb
  to pool/main/g/gnome-vfs2/libgnomevfs2-dev_2.10.1-5_i386.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 266699@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Josselin Mouette <joss@debian.org> (supplier of updated gnome-vfs2 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.7
Date: Fri, 17 Jun 2005 22:25:35 +0200
Source: gnome-vfs2
Binary: libgnomevfs2-dev libgnomevfs2-0-dbg libgnomevfs2-0 libgnomevfs2-common
Architecture: source i386
Version: 2.10.1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Changed-By: Josselin Mouette <joss@debian.org>
Description: 
 libgnomevfs2-0 - The GNOME virtual file-system library (runtime files)
 libgnomevfs2-0-dbg - The GNOME virtual file-system library (runtime files)
 libgnomevfs2-common - The GNOME virtual file-system library (common files)
 libgnomevfs2-dev - The GNOME virtual file-system library (development files)
Closes: 266699 314484
Changes: 
 gnome-vfs2 (2.10.1-5) unstable; urgency=medium
 .
   * 20_fadvise_linux26.patch: ugly hack to use fadvise only on Linux 2.6
     (closes: #314484).
   * Patch from Robert Millan <rmh@aybabtu.com> to build on kFreeBSD
     (closes: #266699):
     + don't build-depend on HAL and cdparanoia,
     + 21_kfreebsd_cdrom.patch: changes for CDROM support.
Files: 
 94089f927956e8ca7bf3305bbd4da828 2083 libs optional gnome-vfs2_2.10.1-5.dsc
 ac9237e5e89849a40622c5120d86ed98 15863 libs optional gnome-vfs2_2.10.1-5.diff.gz
 45afa6fa9298a470fd7674a5b1f2d7b6 1054810 libs optional libgnomevfs2-common_2.10.1-5_i386.deb
 1ae9a268f776822be74c30ea1f28df33 400434 libs optional libgnomevfs2-0_2.10.1-5_i386.deb
 19bf6e5aa2ce1edc52d80775e4434f89 1844096 libs optional libgnomevfs2-0-dbg_2.10.1-5_i386.deb
 152065571f481741423440c47a61d591 470358 libdevel optional libgnomevfs2-dev_2.10.1-5_i386.deb

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

iD8DBQFCs0gDrSla4ddfhTMRAqc8AJ0TD83K7gKmJ33+TNq0/LQ+mkYRVgCgonSp
SvpZ2CqU/79dmqk/0A//7lE=
=Wl/5
-----END PGP SIGNATURE-----