Debian Bug report logs - #648663
qdbm: FTBFS on hurd-i386: failure on unimplemented msync()

version graph

Package: qdbm; Maintainer for qdbm is Debian QA Group <packages@qa.debian.org>;

Reported by: Pino Toscano <pino@debian.org>

Date: Sun, 13 Nov 2011 21:00:02 UTC

Severity: important

Tags: patch

Found in version 1.8.78-1

Fixed in version qdbm/1.8.78-2

Done: KURASHIKI Satoru <lurdan@gmail.com>

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, KURASHIKI Satoru <lurdan@gmail.com>:
Bug#648663; Package qdbm. (Sun, 13 Nov 2011 21:00:05 GMT) (full text, mbox, link).


Acknowledgement sent to Pino Toscano <pino@debian.org>:
New Bug report received and forwarded. Copy sent to KURASHIKI Satoru <lurdan@gmail.com>. (Sun, 13 Nov 2011 21:00:05 GMT) (full text, mbox, link).


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

From: Pino Toscano <pino@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: qdbm: FTBFS on hurd-i386: failure on unimplemented msync()
Date: Sun, 13 Nov 2011 21:56:41 +0100
[Message part 1 (text/plain, inline)]
Package: qdbm
Version: 1.8.78-1
Severity: important
Tags: patch
User: debian-hurd@lists.debian.org
Usertags: hurd

Hi,

currently[1], qdbm fails to build on GNU/Hurd.

The problem is due to the fact that the msync() POSIX function is not
implemented on Hurd yet, thus returns -1 and sets ENOSYS as errno.
On the other hand, even without it qdbm seems to work fine on Hurd,
and the various tests succeed with the attached patch (which ignores
msync() failures when errno is ENOSYS).
I'm not sure whether the patch could be suitable for upstream though,
although it can work for the Debian packaging (and it won't need any
change when msync() is implemented).

[1] https://buildd.debian.org/status/fetch.php?pkg=qdbm&arch=hurd-i386&ver=1.8.78-1&stamp=1321148107

Thanks,
-- 
Pino
[hurd.diff (text/x-diff, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#648663; Package qdbm. (Tue, 31 Jan 2012 10:21:13 GMT) (full text, mbox, link).


Acknowledgement sent to KURASHIKI Satoru <lurdan@gmail.com>:
Extra info received and forwarded to list. (Tue, 31 Jan 2012 10:21:15 GMT) (full text, mbox, link).


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

From: KURASHIKI Satoru <lurdan@gmail.com>
To: Pino Toscano <pino@debian.org>
Cc: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Re: Bug#648663: qdbm: FTBFS on hurd-i386: failure on unimplemented msync()
Date: Tue, 31 Jan 2012 19:19:17 +0900
hi,

At Sun, 13 Nov 2011 21:56:41 +0100,
Pino Toscano wrote:

> The problem is due to the fact that the msync() POSIX function is not
> implemented on Hurd yet, thus returns -1 and sets ENOSYS as errno.
> On the other hand, even without it qdbm seems to work fine on Hurd,
> and the various tests succeed with the attached patch (which ignores
> msync() failures when errno is ENOSYS).

I'm unsure about other architectures/kernels which doesn't comply
POSIX specification for msync().
Anyway, I will apply this because on GNU/Linux and kFreeBSD qdbm
seems to be built successfully (tested on amd64).

> I'm not sure whether the patch could be suitable for upstream though,
> although it can work for the Debian packaging (and it won't need any
> change when msync() is implemented).

Upstream development has been dead for long time, and at least
this modification fix issues only for debian (hurd distributor).
So, I will treat this as debian specific patch.

regards,
--
KURASHIKI Satoru




Information forwarded to debian-bugs-dist@lists.debian.org, KURASHIKI Satoru <lurdan@gmail.com>:
Bug#648663; Package qdbm. (Tue, 31 Jan 2012 11:03:07 GMT) (full text, mbox, link).


Acknowledgement sent to Pino Toscano <pino@debian.org>:
Extra info received and forwarded to list. Copy sent to KURASHIKI Satoru <lurdan@gmail.com>. (Tue, 31 Jan 2012 11:03:09 GMT) (full text, mbox, link).


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

From: Pino Toscano <pino@debian.org>
To: KURASHIKI Satoru <lurdan@gmail.com>, 648663@bugs.debian.org
Subject: Re: Bug#648663: qdbm: FTBFS on hurd-i386: failure on unimplemented msync()
Date: Tue, 31 Jan 2012 11:59:32 +0100
[Message part 1 (text/plain, inline)]
Hi,

thanks for looking at this bug.

Alle martedì 31 gennaio 2012, KURASHIKI Satoru ha scritto:
> At Sun, 13 Nov 2011 21:56:41 +0100,
> Pino Toscano wrote:
> > The problem is due to the fact that the msync() POSIX function is
> > not implemented on Hurd yet, thus returns -1 and sets ENOSYS as
> > errno. On the other hand, even without it qdbm seems to work fine
> > on Hurd, and the various tests succeed with the attached patch
> > (which ignores msync() failures when errno is ENOSYS).
> 
> I'm unsure about other architectures/kernels which doesn't comply
> POSIX specification for msync().
> Anyway, I will apply this because on GNU/Linux and kFreeBSD qdbm
> seems to be built successfully (tested on amd64).

Unfortunately gnumach (the current microkernel of Hurd) does not 
implement a vm_msync() RPC, so the msync() glibc function basically gets 
an ENOSYS as result of the failing RPC call. Theorically it's something 
that should be implemented, but it isn't the only thing that needs such 
in Hurd, unfortunately...
Anyway, I'm attaching now a slightly different version of the patch (why 
didn't I think about it earlier...) which instead makes the errno check 
conditional on GNU/HUrd only, so there should be no behaviour change for 
any other OS. (Successfully tested on linux-amd64 and hurd-i386.)

> > I'm not sure whether the patch could be suitable for upstream
> > though, although it can work for the Debian packaging (and it
> > won't need any change when msync() is implemented).
> 
> Upstream development has been dead for long time, and at least
> this modification fix issues only for debian (hurd distributor).
> So, I will treat this as debian specific patch.

Thanks!

-- 
Pino Toscano
[hurd.diff (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]

Reply sent to KURASHIKI Satoru <lurdan@gmail.com>:
You have taken responsibility. (Sat, 03 Mar 2012 16:21:25 GMT) (full text, mbox, link).


Notification sent to Pino Toscano <pino@debian.org>:
Bug acknowledged by developer. (Sat, 03 Mar 2012 16:21:26 GMT) (full text, mbox, link).


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

From: KURASHIKI Satoru <lurdan@gmail.com>
To: 648663-close@bugs.debian.org
Subject: Bug#648663: fixed in qdbm 1.8.78-2
Date: Sat, 03 Mar 2012 16:20:06 +0000
Source: qdbm
Source-Version: 1.8.78-2

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

libqdbm++-dev_1.8.78-2_amd64.deb
  to main/q/qdbm/libqdbm++-dev_1.8.78-2_amd64.deb
libqdbm-dev_1.8.78-2_amd64.deb
  to main/q/qdbm/libqdbm-dev_1.8.78-2_amd64.deb
libqdbm-java_1.8.78-2_amd64.deb
  to main/q/qdbm/libqdbm-java_1.8.78-2_amd64.deb
libqdbm-perl_1.8.78-2_amd64.deb
  to main/q/qdbm/libqdbm-perl_1.8.78-2_amd64.deb
libqdbm-ruby1.8_1.8.78-2_amd64.deb
  to main/q/qdbm/libqdbm-ruby1.8_1.8.78-2_amd64.deb
libqdbm-ruby1.9.1_1.8.78-2_amd64.deb
  to main/q/qdbm/libqdbm-ruby1.9.1_1.8.78-2_amd64.deb
libqdbm14_1.8.78-2_amd64.deb
  to main/q/qdbm/libqdbm14_1.8.78-2_amd64.deb
libqdbm3++c2_1.8.78-2_amd64.deb
  to main/q/qdbm/libqdbm3++c2_1.8.78-2_amd64.deb
libxqdbm-dev_1.8.78-2_amd64.deb
  to main/q/qdbm/libxqdbm-dev_1.8.78-2_amd64.deb
libxqdbm3c2_1.8.78-2_amd64.deb
  to main/q/qdbm/libxqdbm3c2_1.8.78-2_amd64.deb
qdbm-cgi_1.8.78-2_amd64.deb
  to main/q/qdbm/qdbm-cgi_1.8.78-2_amd64.deb
qdbm-doc_1.8.78-2_all.deb
  to main/q/qdbm/qdbm-doc_1.8.78-2_all.deb
qdbm-util_1.8.78-2_amd64.deb
  to main/q/qdbm/qdbm-util_1.8.78-2_amd64.deb
qdbm_1.8.78-2.debian.tar.gz
  to main/q/qdbm/qdbm_1.8.78-2.debian.tar.gz
qdbm_1.8.78-2.dsc
  to main/q/qdbm/qdbm_1.8.78-2.dsc
ruby-qdbm_1.8.78-2_amd64.deb
  to main/q/qdbm/ruby-qdbm_1.8.78-2_amd64.deb



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 648663@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
KURASHIKI Satoru <lurdan@gmail.com> (supplier of updated qdbm 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)


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

Format: 1.8
Date: Fri, 27 Jan 2012 11:55:30 +0900
Source: qdbm
Binary: libqdbm14 qdbm-doc libqdbm-dev qdbm-util qdbm-cgi libxqdbm3c2 libxqdbm-dev libqdbm3++c2 libqdbm++-dev libqdbm-perl ruby-qdbm libqdbm-ruby1.8 libqdbm-ruby1.9.1 libqdbm-java
Architecture: source all amd64
Version: 1.8.78-2
Distribution: unstable
Urgency: low
Maintainer: KURASHIKI Satoru <lurdan@gmail.com>
Changed-By: KURASHIKI Satoru <lurdan@gmail.com>
Description: 
 libqdbm++-dev - QDBM Database Libraries for C++ [development] (transitional packa
 libqdbm-dev - QDBM Database Libraries [development]
 libqdbm-java - QDBM Database Libraries for Java
 libqdbm-perl - QDBM Database Libraries for Perl
 libqdbm-ruby1.8 - QDBM Database Libraries for Ruby 1.8 (transitional package)
 libqdbm-ruby1.9.1 - QDBM Database Libraries for Ruby 1.9.1 (transitional package)
 libqdbm14  - QDBM Database Libraries without GDBM wrapper[runtime]
 libqdbm3++c2 - QDBM Database Libraries for C++ [runtime] (transitional package)
 libxqdbm-dev - QDBM Database Libraries for C++ [development]
 libxqdbm3c2 - QDBM Database Libraries for C++ [runtime]
 qdbm-cgi   - QDBM Database CGI commands
 qdbm-doc   - QDBM Database Documentation
 qdbm-util  - QDBM Database Utilities
 ruby-qdbm  - QDBM Database Libraries for Ruby
Closes: 648649 648663 655702
Changes: 
 qdbm (1.8.78-2) unstable; urgency=low
 .
   * Apply patch from Neil Williams
     + to fix dependency issue about libxqdbm-dev. (Closes: #655702)
   * Apply patch from Pino Toscano
     + to support nocheck in DEB_BUILD_OPTIONS. (Closes: #648649)
     + to support hurd. (Closes: #648663)
Checksums-Sha1: 
 aa5be97f93bdddde0eab40d758805ff737902813 1932 qdbm_1.8.78-2.dsc
 015a8492bdaaa1711be8876d4d21d2502e9a13d0 18339 qdbm_1.8.78-2.debian.tar.gz
 79fb65c724dc7fce462b4b6e2305314a54d39c33 349248 qdbm-doc_1.8.78-2_all.deb
 5002a1bd4a9df4a80f01378e3cad20646c9da8c3 153062 libqdbm14_1.8.78-2_amd64.deb
 8b7689d7aa0677ff0cdb0feaef630522bd511b0f 233750 libqdbm-dev_1.8.78-2_amd64.deb
 1f97a2a284bf7768672b6241b7894b1d3e983f06 92476 qdbm-util_1.8.78-2_amd64.deb
 9a418bba4f092ae1ccd89b1cd7672bf680bf980f 38780 qdbm-cgi_1.8.78-2_amd64.deb
 f83925cced9ad87bc09e7331ab13b2a2b71bb452 43932 libxqdbm3c2_1.8.78-2_amd64.deb
 9bcf960d9c5e4a862ac7a2ff045f0b846ef4f45f 58056 libxqdbm-dev_1.8.78-2_amd64.deb
 699422f539e73e2ebbec3f248409562c150e1fe2 8962 libqdbm3++c2_1.8.78-2_amd64.deb
 66f275715453e3fb85fbe4ca932f6b07c95cb0df 9174 libqdbm++-dev_1.8.78-2_amd64.deb
 ac9f66c71dcb2b66b43e6300bff4d3f62ec3fd5c 47662 libqdbm-perl_1.8.78-2_amd64.deb
 16cca2e4ce4d689574ff3b73032142094110a136 60622 ruby-qdbm_1.8.78-2_amd64.deb
 18779ba84e0cdcf0c532710ca7460c6f640e2d19 8958 libqdbm-ruby1.8_1.8.78-2_amd64.deb
 f11993a28dfd7de04548c7ff82cf8ce885e49fa6 8964 libqdbm-ruby1.9.1_1.8.78-2_amd64.deb
 554ae8ea056c9d3e100df50a989451522f69efae 47962 libqdbm-java_1.8.78-2_amd64.deb
Checksums-Sha256: 
 05f465058f77aea5bb712c48746fbdbae0429b02eeff5662a9e611f16bf00bd3 1932 qdbm_1.8.78-2.dsc
 4891861459e0d9956f6487f8bf8e142c7eb750ba9e4effcdf6716264bbb063a4 18339 qdbm_1.8.78-2.debian.tar.gz
 1e56aa7424aedd1d02d730ca5da0ef2c5d97f3fa2827a3fdd4ca20e876527963 349248 qdbm-doc_1.8.78-2_all.deb
 b8bb4e578547550497b29914606901867938fe10ee82064a34b4a2f8e9b84a5c 153062 libqdbm14_1.8.78-2_amd64.deb
 155ac83f95c7513017a2bb26c355b41d44ff06ead8734dad666ef6fc090d2041 233750 libqdbm-dev_1.8.78-2_amd64.deb
 0231df68873027f2658af5be474176eb48fd17d6d2036eac33dc457d57b0b484 92476 qdbm-util_1.8.78-2_amd64.deb
 1ed04b029be89efdb4135ab53aedc2a706427d01356fdd334b2ca5fc107afb86 38780 qdbm-cgi_1.8.78-2_amd64.deb
 e47486170c886388bcaed8322d63671c0fa935aa6ed138305b84e4b6488e1445 43932 libxqdbm3c2_1.8.78-2_amd64.deb
 df1f1e9bea944b3735f78d12b5cf634ae436d11e1d068819fe2494aca2bc3799 58056 libxqdbm-dev_1.8.78-2_amd64.deb
 f0838cc40163a2ea1e142f33fa25f6756627c7c9504f2db7e0c016d2ded74588 8962 libqdbm3++c2_1.8.78-2_amd64.deb
 5e919ac57505293150246b77931605934be176963669c3210f1b11faac9babf0 9174 libqdbm++-dev_1.8.78-2_amd64.deb
 6cf160f1070e30c34d856aed25609e498a0fb3611fcd0c86923d4ddc1216f56f 47662 libqdbm-perl_1.8.78-2_amd64.deb
 616134dfd49da0b69500671c3fb6cc14249ac58a69eda25874778b4be29b4afe 60622 ruby-qdbm_1.8.78-2_amd64.deb
 0ab31c6465b8c8a5646669d45724f887a4bc8852cb5e6b69c7bf267888e54d66 8958 libqdbm-ruby1.8_1.8.78-2_amd64.deb
 d71a3aec59442d32d341932b836fb46c45e5a62d75005517fba453ed6b6c00f3 8964 libqdbm-ruby1.9.1_1.8.78-2_amd64.deb
 6dc3cec8927ea1b5174be8f7e9b76bb5510bae0e774489d80182bdba0ba11721 47962 libqdbm-java_1.8.78-2_amd64.deb
Files: 
 98bc5e6e22b3207da00d6b5f34762ea8 1932 libs optional qdbm_1.8.78-2.dsc
 d5c8c8fbd736bb83265d74fcf3ff9ab3 18339 libs optional qdbm_1.8.78-2.debian.tar.gz
 3f07f1a46b556a3ca4b143314733da3e 349248 doc optional qdbm-doc_1.8.78-2_all.deb
 a7b2931c968a6848bd46528a0c9db4d2 153062 libs optional libqdbm14_1.8.78-2_amd64.deb
 374d7a1467d78ce022efe28428f695b5 233750 libdevel optional libqdbm-dev_1.8.78-2_amd64.deb
 dcc88eb490b7d3dc8902a18733ddcfbb 92476 database optional qdbm-util_1.8.78-2_amd64.deb
 e66af57abb2c2855f730ea328b412671 38780 database optional qdbm-cgi_1.8.78-2_amd64.deb
 f9da9dcc3023b68deb6a2927d58661eb 43932 libs optional libxqdbm3c2_1.8.78-2_amd64.deb
 8657949e90293209c27c7fb9c831a462 58056 libdevel optional libxqdbm-dev_1.8.78-2_amd64.deb
 9286f610d7c799b5d430cea636f41e74 8962 libs optional libqdbm3++c2_1.8.78-2_amd64.deb
 c2b18d7dedb2b1c7a132814c9acc1706 9174 libdevel optional libqdbm++-dev_1.8.78-2_amd64.deb
 26f19b75e5c0c398e9e194f6cb0ae5b0 47662 perl optional libqdbm-perl_1.8.78-2_amd64.deb
 90b06348c2c8f5b4573fd543a12923c9 60622 ruby optional ruby-qdbm_1.8.78-2_amd64.deb
 072f2beb1d8972801c80b7eef6df2a63 8958 ruby optional libqdbm-ruby1.8_1.8.78-2_amd64.deb
 10bbb4276ec539e9dc3ab55288c8ca02 8964 ruby optional libqdbm-ruby1.9.1_1.8.78-2_amd64.deb
 41c61cbd854f5613babe23afaba9c290 47962 java optional libqdbm-java_1.8.78-2_amd64.deb

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

iEYEARECAAYFAk9SPacACgkQiAEJSii8s+OGtwCeO08BpFIPP9QZysO8N/zLUpeP
6zkAnRm+O6sJ3sXSep/1MTFxT/kL85+Q
=B9y+
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 11 Apr 2012 07:43:39 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Jan 11 05:37:20 2024; 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.