Debian Bug report logs - #350619
libneon24-dev: should be built with -D_FILE_OFFSET_BITS=64

Package: libneon27-dev; Maintainer for libneon27-dev is Laszlo Boszormenyi (GCS) <gcs@debian.org>; Source for libneon27-dev is src:neon27.

Reported by: Guido Guenther <agx@sigxcpu.org>

Date: Mon, 30 Jan 2006 19:03:01 UTC

Severity: normal

Tags: jessie, lfs, moreinfo, sid, squeeze, wheezy

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, Laszlo Boszormenyi (GCS) <gcs@debian.hu>:
Bug#350619; Package libneon24-dev. Full text and rfc822 format available.

Acknowledgement sent to Guido Guenther <agx@sigxcpu.org>:
New Bug report received and forwarded. Copy sent to Laszlo Boszormenyi (GCS) <gcs@debian.hu>. Full text and rfc822 format available.

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

From: Guido Guenther <agx@sigxcpu.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libneon24-dev: should be built with -D_FILE_OFFSET_BITS=64
Date: Mon, 30 Jan 2006 19:28:59 +0100
Package: libneon24-dev
Version: 0.24.7.dfsg-2
Severity: normal

Hi,
without adding the above to CFLAGS libneon is not usable in programs,
that use the above definition since off_t is considered 4 byte in neon
and 8 byte with the above definition - this e.g. leeds to curious
results when using ne_get_range - I can provide a testcase if necessary.
Cheers,
 -- Guido


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages libneon24-dev depends on:
ii  libneon24              0.24.7.dfsg-2     An HTTP and WebDAV client library
ii  libssl-dev             0.9.8a-6          SSL development libraries, header 
ii  libxml2-dev            2.6.23.dfsg.1-0.1 Development files for the GNOME XM
ii  pkg-config             0.20-1            manage compile and link flags for 

libneon24-dev recommends no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Laszlo Boszormenyi (GCS) <gcs@debian.hu>:
Bug#350619; Package libneon24-dev. Full text and rfc822 format available.

Acknowledgement sent to Lennart Poettering <mzqrooht@0pointer.de>:
Extra info received and forwarded to list. Copy sent to Laszlo Boszormenyi (GCS) <gcs@debian.hu>. Full text and rfc822 format available.

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

From: Lennart Poettering <mzqrooht@0pointer.de>
To: 350619@bugs.debian.org
Cc: gcs@debian.hu
Subject: patch
Date: Wed, 1 Mar 2006 22:11:06 +0100
Hi!

I prepared a fairly simple patch to implement this:

http://0pointer.de/public/neon-off_t-64.patch

(after applying make sure to rerun autoconf and autoheader)

Please not that implementing this means an ABI breakage, since the
size of the structure ne_content_range changes.

I posted a report about this to the neon mailing list:

http://mailman.webdav.org/pipermail/neon/2006-March/002197.html

Lennart

-- 
Lennart Poettering; lennart [at] poettering [dot] net
ICQ# 11060553; GPG 0x1A015CC4; http://0pointer.net/lennart/



Information forwarded to debian-bugs-dist@lists.debian.org, Laszlo Boszormenyi (GCS) <gcs@debian.hu>:
Bug#350619; Package libneon24-dev. Full text and rfc822 format available.

Acknowledgement sent to "Piotr Engelking" <inkerman42@gmail.com>:
Extra info received and forwarded to list. Copy sent to Laszlo Boszormenyi (GCS) <gcs@debian.hu>. Full text and rfc822 format available.

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

From: "Piotr Engelking" <inkerman42@gmail.com>
To: 350619@bugs.debian.org
Subject: Re: libneon24-dev: should be built with -D_FILE_OFFSET_BITS=64
Date: Tue, 30 May 2006 16:42:03 +0200
Guido Guenther <agx@sigxcpu.org> wrote:
> without adding the above to CFLAGS libneon is not usable in programs,
> that use the above definition since off_t is considered 4 byte in neon
> and 8 byte with the above definition - this e.g. leeds to curious
> results when using ne_get_range - I can provide a testcase if necessary.

Building neon with -D_FILE_OFFSET_BITS=64 will break programs that _do
not_ use the above definition. Redefining standard types in public
headers is not an acceptable behaviour for a library. The proper way
is to use off64_t. Perhaps even with something like this:

typedef struct {
   off_t start, end, total;
} ne_content_range;

+#ifdef _LARGEFILE64_SOURCE
+typedef struct {
+    off64_t start, end, total;
+} ne_content_range64;
+
+# if (_FILE_OFFSET_BITS==64)
+#  define ne_content_range ne_content_range64
+# endif
+#endif

... etc. A simpler alternative would be to use off64_t
unconditionally, but it would break API.



Tags added: lfs Request was from "Piotr Engelking" <inkerman42@gmail.com> to control@bugs.debian.org. Full text and rfc822 format available.

Bug reassigned from package `libneon24-dev' to `libneon27-dev'. Request was from Martin Michlmayr <tbm@cyrius.com> to control@bugs.debian.org. (Fri, 14 Nov 2008 14:33:52 GMT) Full text and rfc822 format available.

Severity set to 'serious' from 'normal' Request was from Clint Adams <schizo@debian.org> to control@bugs.debian.org. (Tue, 23 Mar 2010 01:06:04 GMT) Full text and rfc822 format available.

Added tag(s) sid and squeeze. Request was from Gerfried Fuchs <rhonda@debian.at> to control@bugs.debian.org. (Tue, 23 Mar 2010 07:51:35 GMT) Full text and rfc822 format available.

Severity set to 'normal' from 'serious' Request was from Gerfried Fuchs <rhonda@deb.at> to control@bugs.debian.org. (Tue, 23 Mar 2010 08:42:12 GMT) Full text and rfc822 format available.

Added tag(s) wheezy. Request was from Kurt Roeckx <kurt@roeckx.be> to control@bugs.debian.org. (Wed, 16 Feb 2011 19:03:08 GMT) Full text and rfc822 format available.

Added tag(s) moreinfo. Request was from Maximiliano Curia <maxy@debian.org> to control@bugs.debian.org. (Tue, 20 Nov 2012 11:12:11 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Laszlo Boszormenyi (GCS) <gcs@debian.hu>:
Bug#350619; Package libneon27-dev. (Tue, 20 Nov 2012 11:21:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maximiliano Curia <maxy@debian.org>:
Extra info received and forwarded to list. Copy sent to Laszlo Boszormenyi (GCS) <gcs@debian.hu>. (Tue, 20 Nov 2012 11:21:03 GMT) Full text and rfc822 format available.

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

From: Maximiliano Curia <maxy@debian.org>
To: 350619@bugs.debian.org, 350619-submitter@bugs.debian.org, control@bugs.debian.org
Subject: Please provide the test
Date: Tue, 20 Nov 2012 12:11:54 +0100
[Message part 1 (text/plain, inline)]
tag 350619 + moreinfo

Hi,

I'm not really sure how to make libneon fail. Also, since the bug was reported
the API changed, and the code seems to be dealing with _off64_t now
(abstracting it in ne_off_t).

But as I don't use libneon, nor there is a package in the repository that does
I can't really test it. Please if you can reproduce the largefile failure
provide a simple test.

Thanks,
-- 
"There are two major products that come out of Berkeley: LSD and BSD.
We don't believe this to be a coincidence."
-- Jeremy S. Anderson
Saludos /\/\ /\ >< `/
[signature.asc (application/pgp-signature, inline)]

Message sent on to Guido Guenther <agx@sigxcpu.org>:
Bug#350619. (Tue, 20 Nov 2012 11:21:19 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Laszlo Boszormenyi (GCS) <gcs@debian.hu>:
Bug#350619; Package libneon27-dev. (Tue, 20 Nov 2012 17:45:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Guido Günther <agx@sigxcpu.org>:
Extra info received and forwarded to list. Copy sent to Laszlo Boszormenyi (GCS) <gcs@debian.hu>. (Tue, 20 Nov 2012 17:45:06 GMT) Full text and rfc822 format available.

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

From: Guido Günther <agx@sigxcpu.org>
To: Maximiliano Curia <maxy@debian.org>, 350619-quiet@bugs.debian.org
Cc: 350619@bugs.debian.org, 350619-submitter@bugs.debian.org, control@bugs.debian.org
Subject: Re: Bug#350619: Please provide the test
Date: Tue, 20 Nov 2012 18:41:58 +0100
On Tue, Nov 20, 2012 at 12:11:54PM +0100, Maximiliano Curia wrote:
> tag 350619 + moreinfo
> 
> Hi,
> 
> I'm not really sure how to make libneon fail. Also, since the bug was reported
> the API changed, and the code seems to be dealing with _off64_t now
> (abstracting it in ne_off_t).
> 
> But as I don't use libneon, nor there is a package in the repository that does
> I can't really test it. Please if you can reproduce the largefile failure
> provide a simple test.

Very likely this has long been resolved. I'm not using libneon anymore
so I'd be hard for me to check.
Cheers, 
-- Guido

> 
> Thanks,
> -- 
> "There are two major products that come out of Berkeley: LSD and BSD.
> We don't believe this to be a coincidence."
> -- Jeremy S. Anderson
> Saludos /\/\ /\ >< `/





Information stored :
Bug#350619; Package libneon27-dev. (Tue, 20 Nov 2012 17:45:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to Guido Günther <agx@sigxcpu.org>:
Extra info received and filed, but not forwarded. (Tue, 20 Nov 2012 17:45:08 GMT) Full text and rfc822 format available.

Message sent on to Guido Guenther <agx@sigxcpu.org>:
Bug#350619. (Tue, 20 Nov 2012 17:45:10 GMT) Full text and rfc822 format available.

Added tag(s) jessie. Request was from Julien Cristau <jcristau@debian.org> to control@bugs.debian.org. (Thu, 18 Apr 2013 17:39:17 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 18:47:31 2014; Machine Name: beach.debian.org

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