Your message dated Tue, 08 Nov 2011 12:32:31 +0000
with message-id <e1rnkqt-00076p...@franck.debian.org>
and subject line Bug#611652: fixed in libexplain 0.48.D001-1
has caused the Debian Bug report #611652,
regarding libexplain: Missing include and two code errors
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.)


-- 
611652: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611652
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libexplain
Version: 0.37.D001-1
Severity: normal
Tags: patch

Hello,

attached is the patch which I needed to get libexplain build in Ubuntu
natty:
* libexplain/iocontrol/siocshwtstamp.c:
  + Add missing include of libexplain/ac/linux/net_tstamp.h.
  + Fix two code errors.

Here the part of the Ubuntu build log:
,----[ 
http://launchpadlibrarian.net/62570091/buildlog_ubuntu-natty-i386.libexplain_0.37.D001-1_FAILEDTOBUILD.txt.gz
 ]-
| libtool: compile:  gcc -Wall -g -O2 -Wall -Wextra -Wl,--as-needed -I. -c 
libexplain/iocontrol/siocshwtstamp.c  -fPIC -DPIC -o 
libexplain/iocontrol/.libs/siocshwtstamp.o
| libexplain/iocontrol/siocshwtstamp.c: In function 'print_explanation':
| libexplain/iocontrol/siocshwtstamp.c:74:21: warning: assignment from 
incompatible pointer type
| libexplain/iocontrol/siocshwtstamp.c:77:60: error: dereferencing pointer to 
incomplete type
| libexplain/iocontrol/siocshwtstamp.c:79:24: error: dereferencing pointer to 
incomplete type
| libexplain/iocontrol/siocshwtstamp.c:90:10: error: expected ':' or '...' 
before '{' token
| libexplain/iocontrol/siocshwtstamp.c:98:21: warning: assignment from 
incompatible pointer type
| libexplain/iocontrol/siocshwtstamp.c:99:60: error: dereferencing pointer to 
incomplete type
| libexplain/iocontrol/siocshwtstamp.c:103:32: error: dereferencing pointer to 
incomplete type
| libexplain/iocontrol/siocshwtstamp.c:105:26: error: 'HWTSTAMP_TX_OFF' 
undeclared (first use in this function)
| libexplain/iocontrol/siocshwtstamp.c:105:26: note: each undeclared identifier 
is reported only once for each function it appears in
| libexplain/iocontrol/siocshwtstamp.c:106:26: error: 'HWTSTAMP_TX_ON' 
undeclared (first use in this function)
| libexplain/iocontrol/siocshwtstamp.c:125:29: error: 'cf' undeclared (first 
use in this function)
| libexplain/iocontrol/siocshwtstamp.c:127:26: error: 'HWTSTAMP_FILTER_NONE' 
undeclared (first use in this function)
| libexplain/iocontrol/siocshwtstamp.c:128:26: error: 'HWTSTAMP_FILTER_ALL' 
undeclared (first use in this function)
| libexplain/iocontrol/siocshwtstamp.c:129:26: error: 'HWTSTAMP_FILTER_SOME' 
undeclared (first use in this function)
| libexplain/iocontrol/siocshwtstamp.c:130:26: error: 
'HWTSTAMP_FILTER_PTP_V1_L4_EVENT' undeclared (first use in this function)
| libexplain/iocontrol/siocshwtstamp.c:131:26: error: 
'HWTSTAMP_FILTER_PTP_V1_L4_SYNC' undeclared (first use in this function)
| libexplain/iocontrol/siocshwtstamp.c:132:26: error: 
'HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ' undeclared (first use in this function)
| libexplain/iocontrol/siocshwtstamp.c:133:26: error: 
'HWTSTAMP_FILTER_PTP_V2_L4_EVENT' undeclared (first use in this function)
| libexplain/iocontrol/siocshwtstamp.c:134:26: error: 
'HWTSTAMP_FILTER_PTP_V2_L4_SYNC' undeclared (first use in this function)
| libexplain/iocontrol/siocshwtstamp.c:135:26: error: 
'HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ' undeclared (first use in this function)
| libexplain/iocontrol/siocshwtstamp.c:136:26: error: 
'HWTSTAMP_FILTER_PTP_V2_L2_EVENT' undeclared (first use in this function)
| libexplain/iocontrol/siocshwtstamp.c:137:26: error: 
'HWTSTAMP_FILTER_PTP_V2_L2_SYNC' undeclared (first use in this function)
| libexplain/iocontrol/siocshwtstamp.c:138:26: error: 
'HWTSTAMP_FILTER_PTP_V2_L2_DELAY_REQ' undeclared (first use in this function)
| libexplain/iocontrol/siocshwtstamp.c:139:26: error: 
'HWTSTAMP_FILTER_PTP_V2_EVENT' undeclared (first use in this function)
| libexplain/iocontrol/siocshwtstamp.c:140:26: error: 
'HWTSTAMP_FILTER_PTP_V2_SYNC' undeclared (first use in this function)
| libexplain/iocontrol/siocshwtstamp.c:141:26: error: 
'HWTSTAMP_FILTER_PTP_V2_DELAY_REQ' undeclared (first use in this function)
| make[1]: *** [libexplain/iocontrol/siocshwtstamp.lo] Error 1
`----

Regards,
Michael
--- libexplain-0.37.D001.orig/libexplain/iocontrol/siocshwtstamp.c
+++ libexplain-0.37.D001/libexplain/iocontrol/siocshwtstamp.c
@@ -21,6 +21,7 @@
 #include <libexplain/ac/linux/sockios.h>
 #include <libexplain/ac/net/if.h>
 #include <libexplain/ac/sys/ioctl.h>
+#include <libexplain/ac/linux/net_tstamp.h>
 
 #include <libexplain/buffer/dac.h>
 #include <libexplain/buffer/einval.h>
@@ -86,7 +87,7 @@
          }
          goto generic;
 
-    case ERANGE
+    case ERANGE:
          {
             const struct ifreq *rq;
 
@@ -122,7 +123,7 @@
 
                     }
 
-                    switch (cf->rx_filter)
+                    switch (cfg->rx_filter)
                     {
                     case HWTSTAMP_FILTER_NONE:
                     case HWTSTAMP_FILTER_ALL:

--- End Message ---
--- Begin Message ---
Source: libexplain
Source-Version: 0.48.D001-1

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

explain_0.48.D001-1_amd64.deb
  to main/libe/libexplain/explain_0.48.D001-1_amd64.deb
libexplain-dev_0.48.D001-1_amd64.deb
  to main/libe/libexplain/libexplain-dev_0.48.D001-1_amd64.deb
libexplain30-dbg_0.48.D001-1_amd64.deb
  to main/libe/libexplain/libexplain30-dbg_0.48.D001-1_amd64.deb
libexplain30_0.48.D001-1_amd64.deb
  to main/libe/libexplain/libexplain30_0.48.D001-1_amd64.deb
libexplain_0.48.D001-1.dsc
  to main/libe/libexplain/libexplain_0.48.D001-1.dsc
libexplain_0.48.D001-1.tar.gz
  to main/libe/libexplain/libexplain_0.48.D001-1.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 611...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter Miller <pmil...@opensource.org.au> (supplier of updated libexplain 
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, 08 Nov 2011 21:15:34 +1100
Source: libexplain
Binary: explain libexplain30 libexplain30-dbg libexplain-dev
Architecture: source amd64
Version: 0.48.D001-1
Distribution: unstable
Urgency: low
Maintainer: Peter Miller <pmil...@opensource.org.au>
Changed-By: Peter Miller <pmil...@opensource.org.au>
Description: 
 explain    - utility to explain system call errors
 libexplain-dev - library of syscall-specific strerror replacements - 
development f
 libexplain30 - library of syscall-specific strerror replacements
 libexplain30-dbg - library of syscall-specific strerror replacements - 
debugging sym
Closes: 611652
Changes: 
 libexplain (0.48.D001-1) unstable; urgency=low
 .
   * This change set prepares the libexplain project for the next public 
release.
   * 0.46.D002: Closes: #611652
   * This is a summary, see earlier changelog entries for details of individual
     bug fixes.
Checksums-Sha1: 
 ca23e152863b9ca8ce0c7063bceb0eda6019456b 907 libexplain_0.48.D001-1.dsc
 a79848d2e39fb02cb74a0dac78322bf31eb6d90d 4760578 libexplain_0.48.D001-1.tar.gz
 873a35d9a167fa426fb9e4c313be87e9562a75db 667672 explain_0.48.D001-1_amd64.deb
 6144ac2711e98abfe15c44dca38996c453825bfc 387584 
libexplain30_0.48.D001-1_amd64.deb
 b6aea383dd4321f03a8a59a411799c4ea52c6367 817666 
libexplain30-dbg_0.48.D001-1_amd64.deb
 0c6c404de1532afaebdd8c4ea3be85ca2654969d 679768 
libexplain-dev_0.48.D001-1_amd64.deb
Checksums-Sha256: 
 6e6b265e090bebce991a3e7079e5a66afca29c60c9a5e28f242d047edf0dc282 907 
libexplain_0.48.D001-1.dsc
 c246623ec8bffcc9ec4834cc6af670908bf48a716c08bda82ea77ec4c0cdd105 4760578 
libexplain_0.48.D001-1.tar.gz
 4aaba460c5d5b43367e3c78d27bfe7ca769df964eaa7f20184e761cb9a0e73f1 667672 
explain_0.48.D001-1_amd64.deb
 f5286cc8409ff939265f6a66423a445c24437e054ef37cc11931f513bae513c2 387584 
libexplain30_0.48.D001-1_amd64.deb
 5dafc19b2c12d9a2c4cd4eced7a509f01275df992210dbf38559d7f13e563b2a 817666 
libexplain30-dbg_0.48.D001-1_amd64.deb
 160b50884675e89a1a8a566cf4f31865ee3b1873a64ed424e32f338293bc0394 679768 
libexplain-dev_0.48.D001-1_amd64.deb
Files: 
 92632cfbe86b1275169f0d898f017a80 907 devel optional libexplain_0.48.D001-1.dsc
 01d88310d28a79517104a8115b2f759a 4760578 devel optional 
libexplain_0.48.D001-1.tar.gz
 1163164a12367bb8570c2cba25f6e77a 667672 devel optional 
explain_0.48.D001-1_amd64.deb
 1f3b5f525da11a16a49ab048c4a0f64e 387584 libs optional 
libexplain30_0.48.D001-1_amd64.deb
 9b95d6cdac48b7864bf64b8bef26be29 817666 debug extra 
libexplain30-dbg_0.48.D001-1_amd64.deb
 b10591ec8b280b63cd1d24dfce1d4e04 679768 libdevel optional 
libexplain-dev_0.48.D001-1_amd64.deb

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

iD8DBQFOuRxAGNik4tDttk0RAgtzAJ4xVCo+HUhAzg4mtjLlrerFIDJZ4wCgjjtU
xr1BrIsopnyls8Hra4GbqF0=
=tFzw
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to