Your message dated Thu, 10 Nov 2011 09:17:21 +0000
with message-id <[email protected]>
and subject line Bug#611652: fixed in libexplain 0.49.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 [email protected]
immediately.)


-- 
611652: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611652
Debian Bug Tracking System
Contact [email protected] 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.49.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.49.D001-1_amd64.deb
  to main/libe/libexplain/explain_0.49.D001-1_amd64.deb
libexplain-dev_0.49.D001-1_amd64.deb
  to main/libe/libexplain/libexplain-dev_0.49.D001-1_amd64.deb
libexplain30-dbg_0.49.D001-1_amd64.deb
  to main/libe/libexplain/libexplain30-dbg_0.49.D001-1_amd64.deb
libexplain30_0.49.D001-1_amd64.deb
  to main/libe/libexplain/libexplain30_0.49.D001-1_amd64.deb
libexplain_0.49.D001-1.dsc
  to main/libe/libexplain/libexplain_0.49.D001-1.dsc
libexplain_0.49.D001-1.tar.gz
  to main/libe/libexplain/libexplain_0.49.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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter Miller <[email protected]> (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 [email protected])


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

Format: 1.8
Date: Thu, 10 Nov 2011 17:13:34 +1100
Source: libexplain
Binary: explain libexplain30 libexplain30-dbg libexplain-dev
Architecture: source amd64
Version: 0.49.D001-1
Distribution: unstable
Urgency: low
Maintainer: Peter Miller <[email protected]>
Changed-By: Peter Miller <[email protected]>
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.49.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: 
 bfa3621f23a179a6d77e521c30b563b4f208db49 907 libexplain_0.49.D001-1.dsc
 a323d11c8b9d6883ac15f0223346f7bb9fed0eda 4770399 libexplain_0.49.D001-1.tar.gz
 750f9d6900715faf693f548f1c24eb621afe9af4 671210 explain_0.49.D001-1_amd64.deb
 4d51a1f321da1ce4da392ee4c9480fd54463330e 390066 
libexplain30_0.49.D001-1_amd64.deb
 58d752368a82ad60b69cdcaed5c802b765e405ae 824558 
libexplain30-dbg_0.49.D001-1_amd64.deb
 6134eea4fbdc660a402df7babf3979874bcb13d9 685362 
libexplain-dev_0.49.D001-1_amd64.deb
Checksums-Sha256: 
 86b26f0d27a6dcfebf572b81aa44cccc964f4f2c1b97e11ec57bd4edb2e57c35 907 
libexplain_0.49.D001-1.dsc
 a29d187a35d546a832e81f233af8fdad6e985999d8aa8375f94ce4b5397b2d69 4770399 
libexplain_0.49.D001-1.tar.gz
 7c3d1bf7969df708a606ecfd9ff68aa84abe0b7b8031f0b9947aa57739b5fde2 671210 
explain_0.49.D001-1_amd64.deb
 0f03288fe0e5c4746e3e26d208c205027e03faaea062feba660c36608364eea7 390066 
libexplain30_0.49.D001-1_amd64.deb
 f46abd952153f03f57a5311667217a4378135190a0912ed1924bef195e39028e 824558 
libexplain30-dbg_0.49.D001-1_amd64.deb
 c4595958848d1ddc5f7c93cc9c882344e18189522e570e8fb325d6db06d14ae9 685362 
libexplain-dev_0.49.D001-1_amd64.deb
Files: 
 83d99179c85b04344e0b92af6408239b 907 devel optional libexplain_0.49.D001-1.dsc
 5276ff273a9169582ddd269907b320ec 4770399 devel optional 
libexplain_0.49.D001-1.tar.gz
 3a7041990c1e70acc9aeae544213c655 671210 devel optional 
explain_0.49.D001-1_amd64.deb
 91dfe560b16f2058f9535dc70220450e 390066 libs optional 
libexplain30_0.49.D001-1_amd64.deb
 b22de60ab3e684a01435a27ff030c544 824558 debug extra 
libexplain30-dbg_0.49.D001-1_amd64.deb
 acaa2b334cc7cd547294f475fb818e5e 685362 libdevel optional 
libexplain-dev_0.49.D001-1_amd64.deb

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

iD8DBQFOu5KrGNik4tDttk0RAqwUAJ9ZeaoRPt5Q/RJmFwFyVAc2MZWwSACdHQpA
jwGeSs9LOMuDWuYGpXA1qpg=
=cv/p
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to