Your message dated Tue, 21 Feb 2012 10:32:22 +0000
with message-id <e1rzn1c-0002dr...@franck.debian.org>
and subject line Bug#660399: fixed in nbd 1:3.0-1
has caused the Debian Bug report #660399,
regarding FTBFS: FALLOC_FL_PUNCH_HOLD undeclared
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.)


-- 
660399: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=660399
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: nbd-client
Version: 1:2.9.25-2
Severity: serious
Tags: patch
Justification: fails to build from source

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

make[3]: Entering directory `/tmp/nbd-2.9.25'
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -DSYSCONFDIR='"/etc"'  -g -O2 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -g -O2 
-c -o nbd_server-nbd-server.o `test -f 'nbd-server.c' || echo './'`nbd-server.c
nbd-server.c: In function ‘exptrim’:
nbd-server.c:1477:28: error: ‘FALLOC_FL_PUNCH_HOLE’ undeclared (first use in 
this function)
nbd-server.c:1477:28: note: each undeclared identifier is reported only once 
for each function it appears in
make[3]: *** [nbd_server-nbd-server.o] Error 1
make[3]: Leaving directory `/tmp/nbd-2.9.25'

Fixed by the following patch:

- --- /tmp/nbd-server.c 2012-02-18 20:30:10.399561659 +0000
+++ nbd-server.c        2012-02-18 20:29:14.975848442 +0000
@@ -1461,7 +1461,7 @@
  * file to resparsify stuff that isn't needed anymore (see NBD_CMD_TRIM)
  */
 int exptrim(struct nbd_request* req, CLIENT* client) {
- -#ifdef HAVE_FALLOC_PH
+#if HAVE_FALLOC_PH
        FILE_INFO prev = g_array_index(client->export, FILE_INFO, 0);
        FILE_INFO cur = prev;
        int i = 1;


- -- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (550, 'stable-updates'), (550, 'stable'), (540, 'testing'), (530, 
'unstable'), (520, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nbd-client depends on:
ii  debconf [debconf-2.0]         1.5.41     Debian configuration management sy
ii  initscripts                   2.88dsf-22 scripts for initializing and shutt
ii  libc6                         2.13-26    Embedded GNU C Library: Shared lib

nbd-client recommends no packages.

nbd-client suggests no packages.

- -- debconf information excluded

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

iEYEARECAAYFAk9ACrUACgkQshl/216gEHjlYgCg3GcUB9JGMsNKMID0I0h1Fplj
/zYAoI7RaGfQ9FHQI8yzAlhpOqeObNfR
=tC3y
-----END PGP SIGNATURE-----



--- End Message ---
--- Begin Message ---
Source: nbd
Source-Version: 1:3.0-1

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

nbd-client-udeb_3.0-1_amd64.udeb
  to main/n/nbd/nbd-client-udeb_3.0-1_amd64.udeb
nbd-client_3.0-1_amd64.deb
  to main/n/nbd/nbd-client_3.0-1_amd64.deb
nbd-server_3.0-1_amd64.deb
  to main/n/nbd/nbd-server_3.0-1_amd64.deb
nbd_3.0-1.diff.gz
  to main/n/nbd/nbd_3.0-1.diff.gz
nbd_3.0-1.dsc
  to main/n/nbd/nbd_3.0-1.dsc
nbd_3.0.orig.tar.gz
  to main/n/nbd/nbd_3.0.orig.tar.gz



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

Debian distribution maintenance software
pp.
Wouter Verhelst <wou...@debian.org> (supplier of updated nbd 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...@debian.org)


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

Format: 1.8
Date: Tue, 21 Feb 2012 11:13:31 +0100
Source: nbd
Binary: nbd-server nbd-client nbd-client-udeb
Architecture: source amd64
Version: 1:3.0-1
Distribution: unstable
Urgency: low
Maintainer: Wouter Verhelst <wou...@debian.org>
Changed-By: Wouter Verhelst <wou...@debian.org>
Description: 
 nbd-client - Network Block Device protocol - client
 nbd-client-udeb - Network Block Device protocol - client for Debian Installer 
(udeb)
 nbd-server - Network Block Device protocol - server
Closes: 653954 660399
Changes: 
 nbd (1:3.0-1) unstable; urgency=low
 .
   * New upstream release
     - Fixes build failure for when FALLOC_FL_PUNCH_HOLE isn't available.
       Closes: #660399.
   * Switch to debhelper compat level 9, to enable build flags support.
     Closes: #653954.
Checksums-Sha1: 
 78b00b068e4b568ec5f609712c7f1f2962a0639d 1875 nbd_3.0-1.dsc
 9ce7ce740bde12b16f576fa3d2b495e6b7701f2e 702111 nbd_3.0.orig.tar.gz
 1a069f4724ead22ca8707412ef59d683ece120f6 81794 nbd_3.0-1.diff.gz
 89c5951adc906189bbaf805a164aea802e0a0702 69708 nbd-server_3.0-1_amd64.deb
 45f27060fd661dfa17a7c99948bf89e73ca024df 58214 nbd-client_3.0-1_amd64.deb
 b96bdb9481c6558d2e73da137bc98d3adc58d385 8092 nbd-client-udeb_3.0-1_amd64.udeb
Checksums-Sha256: 
 8bbfade528ecf9d2dafe674c8b1160634a5ad697efb8a1e1bf2b2bdd9f08bb24 1875 
nbd_3.0-1.dsc
 0750691bbd7614460055777fa97ce69e09bb738cc6ef1ce0ab2e4b23b3801d55 702111 
nbd_3.0.orig.tar.gz
 eb165cd72f0e57eadf9f9fee71ce164022a72a159b697085f84965a302cec940 81794 
nbd_3.0-1.diff.gz
 2c6760f2dfa9cdd99973062f14e3c3f4a2a33b960b2afa9126179eb729958e9f 69708 
nbd-server_3.0-1_amd64.deb
 b5489dab89e1fca8811979256e84406835869462fae15b4f7b2309ce120942d0 58214 
nbd-client_3.0-1_amd64.deb
 1b19600c282d350b9400f9f4d149c31b338c3cff8031ab0b96aaec6dd5e98c6d 8092 
nbd-client-udeb_3.0-1_amd64.udeb
Files: 
 cfecf85601ac03fdd47e1526d39de9f6 1875 admin optional nbd_3.0-1.dsc
 3dd0113c5ff37fb0c4b6fb99942c16b6 702111 admin optional nbd_3.0.orig.tar.gz
 014493204819417e6be42203c4abfe8b 81794 admin optional nbd_3.0-1.diff.gz
 66193a0035f6dc96640da0cee1d8088f 69708 admin optional 
nbd-server_3.0-1_amd64.deb
 b16b196291f2b51d9081ee469e46c46c 58214 admin optional 
nbd-client_3.0-1_amd64.deb
 505b448e06823d0efc9cb45a67004f1e 8092 debian-installer optional 
nbd-client-udeb_3.0-1_amd64.udeb
Package-Type: udeb

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

iQIcBAEBAgAGBQJPQ3FwAAoJEMKUD5Ub3wqdgZMP/jMfgD5XlXvNg+lvw+QU0Al2
Br4mO5McRna4ydn6s9wmI5K2yvI44dDaPMjAWtlh6Yi7tpUVgaOj2A7pVxIraWL3
QW3JNg1T5pYwyfP23BARUStHOTNSK666e2hHJU2oI+C5zZdllaqw9ql7A6vXy1V2
IVLceK4ObIP5aflh/t1079nl/4107a4j27BzN45++j2trweHT0dJJiDbCYYaq7aK
riwZ1Y5oy0GASLBNbbHFJ3SeQc3zFR2hv/IYmh8iMj+KOX6POAmosxAUQy/G68Ha
YUqb3IRQQWpRXLbX0AAlEgSWl0A+ieaRCtg0PkHpyYxzXXF8s63cMjD8H9Mp+6tj
qa+iDvJuvnD5cWcjbY91vtxOKNWmo/GQfZyZSV7/UE65XqdBchNi3XDyuEV0V93n
LfwGR5kyNY12mn606wfsIwlT+gA7Nb2/NdQ0nE1zho11T+pgRRo9NhGrraPvxGsi
RCT5Tv1W/v/XFYvY9CsshZ/UIeRl8UyYiIUsecKQG4m+tpfFiUuOtbwON8Iucgbx
6hkp/XWQQHZAStk4OxiQtrtWQB+zZdwxcth1t6aX1d8awXBCTGckK6YGCIzOXGK9
Hx6iBFrS0gxpJH+/mjjOIGGJeKRo0QAdJE5DiojCnTTFIW/YGWz1sFp5yLSKUucc
u5OotDcjoJeBRE6by8nr
=IAbs
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to