Debian Bug report logs - #71503
apt: [hurd] doesn't support MS_SYNC

Package: libc0.2-dev; Maintainer for libc0.2-dev is (unknown);

Reported by: Marcus.Brinkmann@ruhr-uni-bochum.de

Date: Tue, 12 Sep 2000 22:15:06 UTC

Severity: important

Done: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>

Bug is archived. No further changes may be made.

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#71503; Package apt. (full text, mbox, link).


Acknowledgement sent to Marcus.Brinkmann@ruhr-uni-bochum.de:
New Bug report received and forwarded. Copy sent to APT Development Team <deity@lists.debian.org>. (full text, mbox, link).


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

From: Marcus.Brinkmann@ruhr-uni-bochum.de
To: submit@bugs.debian.org
Subject: apt: [hurd] doesn't support MS_SYNC
Date: Wed, 13 Sep 2000 00:10:47 +0200
Package: apt
Version: 0.3.18
Severity: important

Hi,

the Hurd doesn't support MS_SYNC on mmaped memory objects, sorry,
and it is not easy to add (because of gnumach shortage). Please add the
following workaround: Replace the two occurences of

#ifdef _POSIX_SYNCHRONIZED_IO

in apt-pkg/contrib/mmap.cc to

#if defined(_POSIX_SYNCHRONIZED_IO) && !defined(__GNU__)

until the Hurd is fixed (which might take months to years, so it is not
feasible to hold your breath :)

Thanks,
Marcus

-- System Information
Debian Release: 2.2
Kernel Version: Linux ulysses 2.4.0-test5 #1 Mon Sep 4 23:03:35 CEST 2000 i686 unknown

Versions of the packages apt depends on:
ii  libc6               2.1.3-2             GNU C Library: Shared libraries and Timezone data
ii  libstdc++2.10       2.95.2-5            The GNU stdc++ library



Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#71503; Package apt. (full text, mbox, link).


Acknowledgement sent to Jason Gunthorpe <jgg@ualberta.ca>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (full text, mbox, link).


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

From: Jason Gunthorpe <jgg@ualberta.ca>
To: Marcus.Brinkmann@ruhr-uni-bochum.de, 71503@bugs.debian.org
Cc: APT Development Team <deity@lists.debian.org>
Subject: Re: Bug#71503: apt: [hurd] doesn't support MS_SYNC
Date: Tue, 12 Sep 2000 18:52:47 -0600 (MDT)
On Wed, 13 Sep 2000 Marcus.Brinkmann@ruhr-uni-bochum.de wrote:

> the Hurd doesn't support MS_SYNC on mmaped memory objects, sorry,
> and it is not easy to add (because of gnumach shortage). Please add the
> following workaround: Replace the two occurences of

What!? I  hope you have a copy of the POSIX spec to back up your claim
that it is valid to define _POSIX_SYNC_IO and not implement the whole SYNC
IO interface.

AFAIK your glibc is broken, if it doesn't implement the msync syscall
as defined by POSIX it must not define _POSIX_SYNC_IO.

Jason




Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#71503; Package apt. (full text, mbox, link).


Acknowledgement sent to Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (full text, mbox, link).


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

From: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
To: Jason Gunthorpe <jgg@ualberta.ca>
Cc: 71503@bugs.debian.org, APT Development Team <deity@lists.debian.org>
Subject: Re: Bug#71503: apt: [hurd] doesn't support MS_SYNC
Date: Wed, 13 Sep 2000 03:19:08 +0200
On Tue, Sep 12, 2000 at 06:52:47PM -0600, Jason Gunthorpe wrote:
> 
> On Wed, 13 Sep 2000 Marcus.Brinkmann@ruhr-uni-bochum.de wrote:
> 
> > the Hurd doesn't support MS_SYNC on mmaped memory objects, sorry,
> > and it is not easy to add (because of gnumach shortage). Please add the
> > following workaround: Replace the two occurences of
> 
> What!? I  hope you have a copy of the POSIX spec to back up your claim
> that it is valid to define _POSIX_SYNC_IO and not implement the whole SYNC
> IO interface.

Please take it slowly, there is no reason for a heart attack.
I never claimed that the Hurd is doing the right thing here.

     * #47896: MS_SYNC Macros Missing from Hurd development environment
       Package: libc0.2-dev; Reported by: Brent Fulgham <brent.fulgham@xpsystems.com>;
       328 days old

> AFAIK your glibc is broken, if it doesn't implement the msync syscall
> as defined by POSIX it must not define _POSIX_SYNC_IO.

This possibility occured to me, and because I don't have a copy of the POSIX
standard to check, I mailed to the bug-hurd mailing list in parallel with the
bug report to clarify if we are doing bad here:

From http://www.geocrawler.com/lists/3/GNU/332/0/4333044/
> Hi,
> is it posixly correct to define _POSIX_SYNCHRONIZED_IO although we don't
> support msync?

If you want to put this report on hold until we get an answer on that
(most likely from Roland McGrath), that's fine with me. I will keep you up
to date.

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org Check Key server 
Marcus Brinkmann              GNU    http://www.gnu.org    for public PGP Key 
Marcus.Brinkmann@ruhr-uni-bochum.de,     marcus@gnu.org    PGP Key ID 36E7CD09
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/       brinkmd@debian.org



Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#71503; Package apt. (full text, mbox, link).


Acknowledgement sent to Jason Gunthorpe <jgg@ualberta.ca>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (full text, mbox, link).


Message #20 received at 71503@bugs.debian.org (full text, mbox, reply):

From: Jason Gunthorpe <jgg@ualberta.ca>
To: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
Cc: 71503@bugs.debian.org, APT Development Team <deity@lists.debian.org>
Subject: Re: Bug#71503: apt: [hurd] doesn't support MS_SYNC
Date: Tue, 12 Sep 2000 19:38:37 -0600 (MDT)
On Wed, 13 Sep 2000, Marcus Brinkmann wrote:

> If you want to put this report on hold until we get an answer on that
> (most likely from Roland McGrath), that's fine with me. I will keep you up
> to date.

Thats best - I'd have to add a new configure test for exactly this
situation, and I really hate adding more configure tests.

Jason




Bug reassigned from package `apt' to `libc0.2-dev'. Request was from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> to control@bugs.debian.org. (full text, mbox, link).


Reply sent to Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Marcus.Brinkmann@ruhr-uni-bochum.de:
Bug acknowledged by developer. (full text, mbox, link).


Message #27 received at 71503-done@bugs.debian.org (full text, mbox, reply):

From: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
To: 71503-done@bugs.debian.org
Subject: fixed in glibc 2.1.95
Date: Sun, 26 Nov 2000 03:29:26 +0100
see subject

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Dec 6 14:18:57 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.