[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#203412: marked as done (libc6-dev: _XOPEN_VERSION is never set to 600)

Your message dated Thu, 19 Apr 2007 06:47:07 +0000
with message-id <E1HeQQ7-0007VG-55@ries.debian.org>
and subject line Bug#203412: fixed in glibc 2.5-3
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)

--- Begin Message ---
Package: libc6-dev
Version: 2.3.2-1
Severity: normal

[ If I downgraded to sid, I am sure that I would find this bug there,
  too. Please don't just tag this experimental and forget about it. ]

Basically, the problem is, when compiling a program with the following
compiler flags


the program does not set _XOPEN_VERSION to 600. I have included
unistd.h, which includes features.h. In unistd.h, _POSIX_VERSION is set
to 200112L and _XOPEN_UNIX is set to 1. SUSv3 [0] states that:

  The following symbolic constant shall be defined only if the
  implementation supports the XSI option; see XSI Conformance.
    Integer value indicating version of the X/Open Portability Guide to
	which the implementation conforms. The value shall be 600. 

It furthermore states [0]:

     The implementation supports the XSI extension.

Therefore, if _XOPEN_UNIX is defined, as it is, unconditionally to 1,
then at least at some time _XOPEN_VERSION must be defined to 600.

The only place I can find that _XOPEN_VERSION is mentioned is unistd.h,
which has the following snippet of code:

  /* X/Open version number to which the library conforms.  It is selectable.  */
  #ifdef __USE_UNIX98
  # define _XOPEN_VERSION	500
  # define _XOPEN_VERSION	4

There is a complicated set of preprocessor directives in features.h that
chooses appropriately; for _XOPEN_SOURCE=600, _XOPEN_VERSION=500, not
600. Oops.

If you actually want the code that caused this problem, I'll be happy to
post it somewhere.

[0] http://www.opengroup.org/onlinepubs/007904975/basedefs/unistd.h.html

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux stonewall 2.4.21-3-k7 #1 Sun Jul 20 19:23:36 EST 2003 i686

Versions of packages libc6-dev depends on:
ii  libc6                         2.3.2-1    GNU C Library: Shared libraries an

-- no debconf information

Brian M. Carlson <sandals@crustytoothpaste.ath.cx> 0x560553e7
"Let us think the unthinkable, let us do the undoable. Let us prepare
 to grapple with the ineffable itself, and see if we may not eff it
 after all." --Douglas Adams

Attachment: pgpg360rDZd5d.pgp
Description: PGP signature

--- End Message ---
--- Begin Message ---
Source: glibc
Source-Version: 2.5-3

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

  to pool/main/g/glibc/glibc-doc_2.5-3_all.deb
  to pool/main/g/glibc/glibc_2.5-3.diff.gz
  to pool/main/g/glibc/glibc_2.5-3.dsc
  to pool/main/g/glibc/libc6-dbg_2.5-3_amd64.deb
  to pool/main/g/glibc/libc6-dev-i386_2.5-3_amd64.deb
  to pool/main/g/glibc/libc6-dev_2.5-3_amd64.deb
  to pool/main/g/glibc/libc6-i386_2.5-3_amd64.deb
  to pool/main/g/glibc/libc6-pic_2.5-3_amd64.deb
  to pool/main/g/glibc/libc6-prof_2.5-3_amd64.deb
  to pool/main/g/glibc/libc6-udeb_2.5-3_amd64.udeb
  to pool/main/g/glibc/libc6_2.5-3_amd64.deb
  to pool/main/g/glibc/libnss-dns-udeb_2.5-3_amd64.udeb
  to pool/main/g/glibc/libnss-files-udeb_2.5-3_amd64.udeb
  to pool/main/g/glibc/locales-all_2.5-3_amd64.deb
  to pool/main/g/glibc/locales_2.5-3_all.deb
  to pool/main/g/glibc/nscd_2.5-3_amd64.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 203412@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Aurelien Jarno <aurel32@debian.org> (supplier of updated glibc 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)

Hash: SHA1

Format: 1.7
Date: Thu, 19 Apr 2007 07:55:58 +0200
Source: glibc
Binary: libc0.1-prof libc6-dev-amd64 locales-all libc6-i686 libc6-dev-ppc64 libc0.3-pic glibc-doc libc0.3 libc0.1-i686 libc0.1-i386 libc6.1-dev libc6-s390x libnss-files-udeb libc0.1-dev-i386 libc6-dev-sparc64 libc6-i386 libc0.3-dev libc6-udeb libc6-dbg libc6.1-pic libc6-dev libc0.3-prof libc6-sparcv9 libc0.1-udeb libc6-dev-i386 libc6.1-prof libc0.1-dev locales libc6-pic libc0.3-udeb libc6-dev-powerpc libc0.1-pic libc6-ppc64 libc0.3-dbg libc0.1-dbg libc6-amd64 libc0.1 libc6-prof libc6-xen libc6-powerpc libc6 libc6-sparcv9b libc6.1-udeb libc6.1-dbg nscd libc6-sparc64 libnss-dns-udeb libc6.1 libc6-dev-s390x
Architecture: source amd64 all
Version: 2.5-3
Distribution: unstable
Urgency: low
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
 glibc-doc  - GNU C Library: Documentation
 libc6      - GNU C Library: Shared libraries
 libc6-dbg  - GNU C Library: Libraries with debugging symbols
 libc6-dev  - GNU C Library: Development Libraries and Header Files
 libc6-dev-i386 - GNU C Library: 32bit development libraries for AMD64
 libc6-i386 - GNU C Library: 32bit shared libraries for AMD64
 libc6-pic  - GNU C Library: PIC archive library
 libc6-prof - GNU C Library: Profiling Libraries
 libc6-udeb - GNU C Library: Shared libraries - udeb (udeb)
 libnss-dns-udeb - GNU C Library: NSS helper for DNS - udeb (udeb)
 libnss-files-udeb - GNU C Library: NSS helper for files - udeb (udeb)
 locales    - GNU C Library: National Language (locale) data [support]
 locales-all - GNU C Library: Precompiled locale data
 nscd       - GNU C Library: Name Service Cache Daemon
Closes: 203412 234880 379100 419036 419189 419399 419445 419459 419729
 glibc (2.5-3) unstable; urgency=low
   [ Pierre Habouzit ]
   * patches/any/submitted-unistd_XOPEN_VERSION.diff: set _XOPEN_VERSION to 600
     when __USE_XOPEN2K is set. Closes: #203412.
   * patches/any/cvs-glob-c.diff: fixes glob wrt \/ escapes (among other
     fixes). Closes: #234880.
   [ Aurelien Jarno ]
   * Update Italian debconf translation, by Luca Monducci.  Closes: #419399.
   * Put back ld.so into optimized packages, it can be useful in some cases.
   * Update French debconf translation, by Christian Perrier.  Closes: #419445.
   * Switch from gzip to lzma for compressing the locales in the locales-all
     package. The unpacked size is decreased by 10 and the packed size by 4 for
     no measurable difference on the unpacking time.
   * patches/any/submitted-gethostbyname_r.diff: new patch to fix unaligned
     memory access in gethostbyname_r.diff().  Closes: #419459.
   * Rewrite from scratch /etc/ld.so.nohwcap handling.  Closes: #419036
     - script.in/nohwcap.sh: new snipplet to check dpkg and handle
     - rules.d/debhelper.mk: replace NOHWCAP with nohwcap.sh in debhelper
     - debhelper.in/libc.preinst: only touch /etc/ld.so.nohwcap
     - debhelper.in/libc.postinst: replace the old code with NOHWCAP,
       add code to remove /etc/ld.so.hwcappkgs file on upgrade
     - debhelper.in/libc-otherbuild.postrm: replace the old code with NOHWCAP
     - debhelper.in/libc-otherbuild.postinst: ditto
     - debhelper.in/libc-otherbuild.preinst: remove
   * debhelper.in/libc.install: remove /usr/bin/lddlibc4 from the libc6
   * debhelper.in/libc.preinst: check for a non-dpkg owned libc6 in /lib/tls.
     Closes: #419189.
   * Update Dutch debconf translation, by Bart Cornelis.  Closes: #419729.
   * debhelper.in/libc.postinst: fix the chroot detection, code taken from
     udev scripts.
   * debian/rules.d/build.mk: disable testsuite on the MIPS SB1 platform.
   * patches/localedata/first_weekday.diff: Add first_workday for *_NO
     and *_DK. Closes: #379100.
 59c3da4960067be5cdb841c7c9346191 2253 libs required glibc_2.5-3.dsc
 38332ade311ca155cbef9f4da5a907b2 1112581 libs required glibc_2.5-3.diff.gz
 4d3abae9bcdb9759576072160348235c 1603994 doc optional glibc-doc_2.5-3_all.deb
 7b9591041093e6e962ba05012580c718 4031508 libs standard locales_2.5-3_all.deb
 ba0b4ccadb8a0930ee7833913d8e69d5 4739400 libs required libc6_2.5-3_amd64.deb
 d9266f792f5efe288d4b9f53bcd8d0d2 2458704 libdevel optional libc6-dev_2.5-3_amd64.deb
 8ed9390d068e1fe951bea62ea22a6056 1902942 libdevel extra libc6-prof_2.5-3_amd64.deb
 ce5d36d22a502027368d79bab2f521e2 1448100 libdevel optional libc6-pic_2.5-3_amd64.deb
 101d4294b5e3c9af5a076f4ed79dcc6c 1648442 libs extra locales-all_2.5-3_amd64.deb
 59972f6fb1cb7d62db427a2587d9a067 3560130 libs optional libc6-i386_2.5-3_amd64.deb
 1fb016427e133f445ea85f524edb3187 1842244 libdevel optional libc6-dev-i386_2.5-3_amd64.deb
 bea6f1b4d03e12f9f5776a7961282084 154602 admin optional nscd_2.5-3_amd64.deb
 691fc339bb327b3daf2e3a15745982b7 5013802 libdevel extra libc6-dbg_2.5-3_amd64.deb
 2fc0ce9b3b9684133f150ae803eda71f 1079518 debian-installer extra libc6-udeb_2.5-3_amd64.udeb
 a6e4f08664cb2ce506af3dbc4c1ca9a6 9546 debian-installer extra libnss-dns-udeb_2.5-3_amd64.udeb
 472580366dcebe36002642d655351b2a 17248 debian-installer extra libnss-files-udeb_2.5-3_amd64.udeb
Package-Type: udeb

Version: GnuPG v1.4.6 (GNU/Linux)


--- End Message ---

Reply to: