Debian Bug report logs - #519611
libxml2-dev: c14n.h includes xmlversion.h too late

version graph

Package: libxml2-dev; Maintainer for libxml2-dev is Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>; Source for libxml2-dev is src:libxml2.

Reported by: "brian m. carlson" <sandals@crustytoothpaste.net>

Date: Fri, 13 Mar 2009 19:00:01 UTC

Severity: normal

Found in version libxml2/2.7.3.dfsg-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>:
Bug#519611; Package libxml2-dev. (Fri, 13 Mar 2009 19:00:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to "brian m. carlson" <sandals@crustytoothpaste.ath.cx>:
New Bug report received and forwarded. Copy sent to Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>. (Fri, 13 Mar 2009 19:00:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: "brian m. carlson" <sandals@crustytoothpaste.ath.cx>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libxml2-dev: c14n.h includes xmlversion.h too late
Date: Fri, 13 Mar 2009 18:57:35 +0000
[Message part 1 (text/plain, inline)]
Package: libxml2-dev
Version: 2.7.3.dfsg-1
Severity: normal

If I include c14n.h before any other libxml2 header, none of the
declarations are declared; that is, it's basically a no-op.  This is due
to the following parts of the header:

  #ifndef __XML_C14N_H__
  #define __XML_C14N_H__
  #ifdef LIBXML_C14N_ENABLED
  #ifdef LIBXML_OUTPUT_ENABLED
  
  #ifdef __cplusplus
  extern "C" {
  #endif /* __cplusplus */
  
  #include <libxml/xmlversion.h>

Note that xmlversion.h, which defines LIBXML_C14N_ENABLED and
LIBXML_OUTPUT_ENABLED, is not included until after they are used in
ifdefs.  This causes a problem if c14n.h is the first libxml2 header
(which is quite likely, if the headers are #included in alphabetical
order).

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-rc7-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libxml2-dev depends on:
ii  libxml2                     2.7.3.dfsg-1 GNOME XML library

libxml2-dev recommends no packages.

libxml2-dev suggests no packages.

-- no debconf information

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
troff on top of XML: http://crustytoothpaste.ath.cx/~bmc/code/thwack
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
[signature.asc (application/pgp-signature, inline)]

Changed Bug submitter to '"brian m. carlson" <sandals@crustytoothpaste.net>' from '"brian m. carlson" <sandals@crustytoothpaste.ath.cx>' Request was from "brian m. carlson" <sandals@crustytoothpaste.net> to control@bugs.debian.org. (Thu, 03 Feb 2011 20:51:39 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>:
Bug#519611; Package libxml2-dev. (Thu, 24 Oct 2013 03:39:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to YunQiang Su <wzssyqa@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>. (Thu, 24 Oct 2013 03:39:04 GMT) Full text and rfc822 format available.

Message #12 received at 519611@bugs.debian.org (full text, mbox):

From: YunQiang Su <wzssyqa@gmail.com>
To: 519611@bugs.debian.org
Subject: Re: libxml2-dev: c14n.h includes xmlversion.h too late
Date: Thu, 24 Oct 2013 11:35:46 +0800
Will it have some affection to the people who don't want to use c14n?

-- 
YunQiang Su



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Apr 21 06:55:21 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.