Your message dated Thu, 07 Nov 2013 01:19:47 +0000
with message-id <[email protected]>
and subject line Bug#726095: fixed in ruby2.0 2.0.0.343-1
has caused the Debian Bug report #726095,
regarding ruby2.0: FTBFS on GNU/kFreeBSD
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
726095: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726095
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ruby2.0
Version: 2.0.0.299-2
Severity: serious
Tags: patch
User: [email protected]
Usertags: kfreebsd
Hi,
the current version fails to build on GNU/kFreeBSD, see also
http://lists.debian.org/debian-bsd/2013/09/msg00157.html
Severity serious due to
http://lists.debian.org/debian-bsd/2013/10/msg00070.html
The SOCK_CLOEXEC or SOCK_NONBLOCK are not declared at all
and accept4() prototype is marked as a stub.
I.e. usual configure.ac
AC_INIT()
AC_CHECK_FUNCS(accept4)
says
checking for accept4... no
The ruby uses own checking, which does not honour stub marking.
Please either teach it to honour stub marking or
alter ext/socket/init.c as shown bellow.
Thanks
Petr
--- ext/socket/init.c
+++ ext/socket/init.c
@@ -482,11 +482,11 @@
{
int ret;
socklen_t len0 = 0;
-#ifdef HAVE_ACCEPT4
+#if defined(HAVE_ACCEPT4) && defined(SOCK_CLOEXEC)
static int try_accept4 = 1;
#endif
if (address_len) len0 = *address_len;
-#ifdef HAVE_ACCEPT4
+#if defined(HAVE_ACCEPT4) && defined(SOCK_CLOEXEC)
if (try_accept4) {
ret = accept4(socket, address, address_len, SOCK_CLOEXEC);
/* accept4 is available since Linux 2.6.28, glibc 2.10. */
--- End Message ---
--- Begin Message ---
Source: ruby2.0
Source-Version: 2.0.0.343-1
We believe that the bug you reported is fixed in the latest version of
ruby2.0, which is due to be installed in the Debian FTP archive.
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Antonio Terceiro <[email protected]> (supplier of updated ruby2.0 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 05 Nov 2013 20:33:23 -0300
Source: ruby2.0
Binary: ruby2.0 libruby2.0 ruby2.0-dev ruby2.0-doc ruby2.0-tcltk
Architecture: source amd64 all
Version: 2.0.0.343-1
Distribution: unstable
Urgency: low
Maintainer: Antonio Terceiro <[email protected]>
Changed-By: Antonio Terceiro <[email protected]>
Description:
libruby2.0 - Libraries necessary to run Ruby 2.0
ruby2.0 - Interpreter of object-oriented scripting language Ruby
ruby2.0-dev - Header files for compiling extension modules for the Ruby 2.0
ruby2.0-doc - Documentation for Ruby 2.0
ruby2.0-tcltk - Ruby/Tk for Ruby 2.0
Closes: 723161 724974 725056 725166 726095 727010
Changes:
ruby2.0 (2.0.0.343-1) unstable; urgency=low
.
* New upstream version (snapshot from 2.0 maintainance branch).
* fix typo in ruby2.0-tcltk description
* Backported upstream patches from Tanaka Akira to fix FTBFS on:
- GNU/kFreeBSD (Closes: #726095)
- x32 (Closes: #727010)
* Make date for io-console gemspec predictable (Closes: #724974)
* libruby2.0 now depends on libjs-jquery because of rdoc (Closes: #725056)
* Backport upstream patch by Nobuyoshi Nakada to fix include directory in
`pkg-config --cflags` (Closes: #725166)
* Document missing licenses in debian/copyright (Closes: #723161)
* debian/libruby2.0.symbols: add new symbol rb_exec_recursive_paired_outer
(not in the public API though)
Checksums-Sha1:
6f52ea3febb7705f115544e68334e873b69eb312 2263 ruby2.0_2.0.0.343-1.dsc
63ce1ae943b204c298b246d75fb78d88293399db 8895015 ruby2.0_2.0.0.343.orig.tar.bz2
3445d027eb36a16c9b2d4e018408fdd01c4f615d 86781
ruby2.0_2.0.0.343-1.debian.tar.gz
eacf1eba442a86d498ca5e9becfce50c1f427920 338674 ruby2.0_2.0.0.343-1_amd64.deb
8696eb240b59f162d87bb6bba59bb232b0757ba1 3083176
libruby2.0_2.0.0.343-1_amd64.deb
c09bb9b4d8f603469667cd5a1741b67cd6dc62ff 1180802
ruby2.0-dev_2.0.0.343-1_amd64.deb
c55607c290ccd43cfa0d94ca57ceb85635fef3ed 3255408
ruby2.0-doc_2.0.0.343-1_all.deb
3b05e7ed47eaa6fcffc7707d4407eef0b4eb5bf3 541530
ruby2.0-tcltk_2.0.0.343-1_amd64.deb
Checksums-Sha256:
21d8bb4303cf5eba3150d9ce9ecfb8c1bf23bee839f90c9744e9aa1bdce55f89 2263
ruby2.0_2.0.0.343-1.dsc
92e148da822511b4c94c01bf9b780f1e68037cd3514d326d67fe943ac84576cf 8895015
ruby2.0_2.0.0.343.orig.tar.bz2
4c418dfe964305a93e027f731d6d49c696f261a3e432c3aed442b3be9b93025b 86781
ruby2.0_2.0.0.343-1.debian.tar.gz
b5b0df0e0468206155d5c3930333e42053d9eb62ff6f8256866e126798c80fd9 338674
ruby2.0_2.0.0.343-1_amd64.deb
70f113acf8fba652ef45c2a03413ba6a5fc24dcfeccfe2920de8ed21ae89dd5a 3083176
libruby2.0_2.0.0.343-1_amd64.deb
5792361f8b937d780eff5b5aadd8cf3aa8fcb9ce7c0da45daf4bb2beff7816a3 1180802
ruby2.0-dev_2.0.0.343-1_amd64.deb
43da267d40195b4e53275675cc3ef47f48f9cf79224bad4402e28da58c0d6d11 3255408
ruby2.0-doc_2.0.0.343-1_all.deb
ed4d299d54f8ad7e110781fb32d949b9f26ed687034345acec2d7d60f72a9f2e 541530
ruby2.0-tcltk_2.0.0.343-1_amd64.deb
Files:
fc9398ba24f9b9e553465d3fd5ef8803 2263 ruby extra ruby2.0_2.0.0.343-1.dsc
fe93065b359b7e5bd3fa4756f76e4cc2 8895015 ruby extra
ruby2.0_2.0.0.343.orig.tar.bz2
42f2f4c06b0763c855311c7ee0c7b648 86781 ruby extra
ruby2.0_2.0.0.343-1.debian.tar.gz
125b093dbb9f70758475322c15b006f3 338674 ruby extra
ruby2.0_2.0.0.343-1_amd64.deb
b64f75f25f2703821feb3a2a16052a5f 3083176 libs extra
libruby2.0_2.0.0.343-1_amd64.deb
a98c9011f44c9cf4a9d045ec3dd1364a 1180802 ruby extra
ruby2.0-dev_2.0.0.343-1_amd64.deb
72fc8efa2ba410b70c64ddcbd76309e4 3255408 doc extra
ruby2.0-doc_2.0.0.343-1_all.deb
acbe6f5ddae105affa0ff2643f89f47a 541530 ruby extra
ruby2.0-tcltk_2.0.0.343-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
iQIcBAEBCAAGBQJSeuahAAoJEPwNsbvNRgvesaEQAKYmBCi3tPSbO2ZC+gw1ab9W
pvz6OJmYPGK6PlT+YzKKPvLIa9Kg4iYyV013IUyQU/3J/2WjAfWp73mXlY1StIRp
QXy9V5aPimnIjNdBwp2v+Z+unjjSY4Dt/ZQ0Dz6SVtIiesWwiwcsnET7VS5FtXG9
ByRHCnujkxk9RheAGaxY+MknlFyE/eoStl633oRcSBzBcngkuMmNkRiViYPsdqw+
xeObw1W2mGtF/hTmIrFz2BCb137kCowh8EGXRxg8Gl7awEJTknC/5bYTCS8P5GCv
UUIOUkWgh8vmFZ0jl0T8JnezQH/XRzljdXERrjGrmabVRpJPq8yJPKU8w2VsuuyP
ShVxcw4gtmOnAtOaymyapQ33jJuGKDFYsZ5eTGAScQ5O/t2Z86yx/nU//eRNhn76
Uo94mBC8SSIDaHjBo0V8PH3+qB7K2rK4HJLg4qHQi/dCbdufRWcn32TeJnGsDdVd
0t2GFjAARfeByVV30bZm4Q8VnUBa0D8T8JBCC9W9zGB7MzTZKJ3rl4WCRkg2d8bM
BP+eEwTuA+2WchWCftQE/3gAadZi5S1TC1zjPhja0Dfgf/4+zS+ETpVgKHwNM6ji
1YyCHYxJ0fjxqUoHaVecx/hQ0jMl0F6pbKg+scsqfoGavvTGtNoOhBBWjXQi40iw
YuVhPkhlLxLsTo1u9D7j
=3MWG
-----END PGP SIGNATURE-----
--- End Message ---