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

Bug#517319: marked as done (ocamlnet: fails to build from source with glibc 2.8)



Your message dated Sat, 28 Feb 2009 11:02:13 +0000
with message-id <E1LdMxR-0006us-Q0@ries.debian.org>
and subject line Bug#517319: fixed in ocamlnet 2.2.9-6
has caused the Debian Bug report #517319,
regarding ocamlnet: fails to build from source with glibc 2.8
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 owner@bugs.debian.org
immediately.)


-- 
517319: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517319
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: ocamlnet
Version: 2.2.9-5
Severity: minor

ocamlnet fails to build from source with glibc 2.8 and 2.9.  I
unfortunately don't have my build log with me, but I remember that it
was similar to that in Gentoo bug <http://bugs.gentoo.org/227653>. The
problem is that glibc hides struct ucred unless _GNU_SOURCE is defined
but does not hide SO_PEERCRED.  Thus in src/rpc-auth-local/rpclocal.c
	...
	#include <sys/socket.h>
	...

	#ifdef SO_PEERCRED
		/* Linux */
		{
			socklen_t len;
			struct ucred credentials;
	...
it has cause to complain.  Arguably this is a glibc bug (it should be
hiding SO_PEERCRED so that code like yours doesn't break), but even if
glibc gets fixed, it would mean ocamlnet would not be making use of
this useful function.

I would suggest #defining _GNU_SOURCE at the top of rpclocal.c (or in
some Makefile somewhere).



--- End Message ---
--- Begin Message ---
Source: ocamlnet
Source-Version: 2.2.9-6

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

libapache2-mod-ocamlnet_2.2.9-6_amd64.deb
  to pool/main/o/ocamlnet/libapache2-mod-ocamlnet_2.2.9-6_amd64.deb
libnethttpd-ocaml-dev_2.2.9-6_amd64.deb
  to pool/main/o/ocamlnet/libnethttpd-ocaml-dev_2.2.9-6_amd64.deb
libocamlnet-gtk2-ocaml-dev_2.2.9-6_amd64.deb
  to pool/main/o/ocamlnet/libocamlnet-gtk2-ocaml-dev_2.2.9-6_amd64.deb
libocamlnet-ocaml-bin_2.2.9-6_amd64.deb
  to pool/main/o/ocamlnet/libocamlnet-ocaml-bin_2.2.9-6_amd64.deb
libocamlnet-ocaml-dev_2.2.9-6_amd64.deb
  to pool/main/o/ocamlnet/libocamlnet-ocaml-dev_2.2.9-6_amd64.deb
libocamlnet-ocaml-doc_2.2.9-6_all.deb
  to pool/main/o/ocamlnet/libocamlnet-ocaml-doc_2.2.9-6_all.deb
libocamlnet-ocaml_2.2.9-6_amd64.deb
  to pool/main/o/ocamlnet/libocamlnet-ocaml_2.2.9-6_amd64.deb
libocamlnet-ssl-ocaml-dev_2.2.9-6_amd64.deb
  to pool/main/o/ocamlnet/libocamlnet-ssl-ocaml-dev_2.2.9-6_amd64.deb
libocamlnet-ssl-ocaml_2.2.9-6_amd64.deb
  to pool/main/o/ocamlnet/libocamlnet-ssl-ocaml_2.2.9-6_amd64.deb
ocamlnet_2.2.9-6.diff.gz
  to pool/main/o/ocamlnet/ocamlnet_2.2.9-6.diff.gz
ocamlnet_2.2.9-6.dsc
  to pool/main/o/ocamlnet/ocamlnet_2.2.9-6.dsc



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

Debian distribution maintenance software
pp.
Stefano Zacchiroli <zack@debian.org> (supplier of updated ocamlnet 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: Sat, 28 Feb 2009 11:38:08 +0100
Source: ocamlnet
Binary: libocamlnet-ocaml-dev libocamlnet-ocaml libocamlnet-ocaml-bin libocamlnet-gtk2-ocaml-dev libocamlnet-ssl-ocaml-dev libocamlnet-ssl-ocaml libnethttpd-ocaml-dev libapache2-mod-ocamlnet libocamlnet-ocaml-doc
Architecture: source all amd64
Version: 2.2.9-6
Distribution: unstable
Urgency: low
Maintainer: Stefano Zacchiroli <zack@debian.org>
Changed-By: Stefano Zacchiroli <zack@debian.org>
Description: 
 libapache2-mod-ocamlnet - OCaml application-level Internet libraries - netcgi2 Apache2 conn
 libnethttpd-ocaml-dev - OCaml application-level Internet libraries - HTTP daemon developm
 libocamlnet-gtk2-ocaml-dev - OCaml application-level Internet libraries - GTK2 development lib
 libocamlnet-ocaml - OCaml application-level Internet libraries - core runtime librari
 libocamlnet-ocaml-bin - OCaml application-level Internet libraries - binaries
 libocamlnet-ocaml-dev - OCaml application-level Internet libraries - core development lib
 libocamlnet-ocaml-doc - OCaml application-level Internet libraries - documentation and ex
 libocamlnet-ssl-ocaml - OCaml application-level Internet libraries - SSL runtime librarie
 libocamlnet-ssl-ocaml-dev - OCaml application-level Internet libraries - SSL development libr
Closes: 517319
Changes: 
 ocamlnet (2.2.9-6) unstable; urgency=low
 .
   * uploading to unstable
   * debian/*.in: avoid using @OCamlABI@ for dir path and explicit
     "stublibs/"
   * debian/rules:
     - use ocamldoc-apiref-config from /usr/share/ocaml/
     - use ocaml.mk as a CDBS "rules" rather than a CDBS "class"
   * debian/control:
     - bump dependency on dh-ocaml to >= 0.4, to avoid buggy clean
     - drop obsolete versioned build-deps
     - switch build dep from camlp5 to camlp4, now we built against that
     - tigthen build-deps on ocaml libs to induce dep-waits
   * debian/*.install.in: avoid specifying debian/tmp/ (is default now)
   * debian/patches/*
     - add patch camlp4-workarounds (thanks Fedora!) to avoid stumbling
       upon a camlp4 regression
     - disable patches to build against camlp5: build_w_camlp5,
       camlp5_5_alias_pat. Now ocamlnet can be built using camlp4
     - add patch enable_struct_ucred to make 'struct ucred' from
       <sys/socket.h> visible (requires GNU extensions) (Closes: #517319)
Checksums-Sha1: 
 ac0fdc5e7064e9f17aa3cf178b10b72a48944d66 1688 ocamlnet_2.2.9-6.dsc
 6dc3175f34973c7abcf751bb2dc7465e1be68ae2 15094 ocamlnet_2.2.9-6.diff.gz
 0912b965a24f37afb14d0cc63568df0dce45a903 969258 libocamlnet-ocaml-doc_2.2.9-6_all.deb
 373f9990395b26458d347569e0367b0bca0806a5 6316332 libocamlnet-ocaml-dev_2.2.9-6_amd64.deb
 d7f572b6f2f0d350fb393b087d23a027729a1e7f 16232 libocamlnet-ocaml_2.2.9-6_amd64.deb
 8cc0671375a5840f59a55b0a0698346aaea6ea74 1305254 libocamlnet-ocaml-bin_2.2.9-6_amd64.deb
 3cc5f59ade6b9f8374ec8c108b5205bc64d586ac 38172 libocamlnet-gtk2-ocaml-dev_2.2.9-6_amd64.deb
 dd94019a86a488c4294f865b1a634d03dfadba85 78382 libocamlnet-ssl-ocaml-dev_2.2.9-6_amd64.deb
 bf18ed4f1795c9d1e45c21a2b921be7f5974d21b 13198 libocamlnet-ssl-ocaml_2.2.9-6_amd64.deb
 3405ee272d3e3e0f2a34d14981e2f7a5c79070f8 1183364 libnethttpd-ocaml-dev_2.2.9-6_amd64.deb
 d2ea30213d3a28c82d0366b4a8a2d6e93efce1b2 126034 libapache2-mod-ocamlnet_2.2.9-6_amd64.deb
Checksums-Sha256: 
 583ac30cc80bfb68952cdb314f65a1fae69569402201a83453eba6350f5abadd 1688 ocamlnet_2.2.9-6.dsc
 5867d24723332da55b1219c08ecef6a8eaa6c142d812a26c57e12b0becd63dac 15094 ocamlnet_2.2.9-6.diff.gz
 8a9dcc13acd6c2c282d269e592b717e0a33f20999398ed3058dd9f7192c58fd7 969258 libocamlnet-ocaml-doc_2.2.9-6_all.deb
 2e6ac77d83c66ce96df069fccc225f552733dddc9caf272968686ffcb19b2849 6316332 libocamlnet-ocaml-dev_2.2.9-6_amd64.deb
 9ebbd733b423d6fb040429f3e0cdb78f923f81e38f05b96124dc49c713dddd44 16232 libocamlnet-ocaml_2.2.9-6_amd64.deb
 cb1736630c842db4f8167d1604086f9a43695102c57de809cb99cb9f002f1b74 1305254 libocamlnet-ocaml-bin_2.2.9-6_amd64.deb
 95802feea4ca923d01afab58bc6d4ccdda1326b00cebd3e6c8e308f9b0fc233d 38172 libocamlnet-gtk2-ocaml-dev_2.2.9-6_amd64.deb
 3c2c0dede7d0b1ce8ad57e6a52a0448e44f9a49cee32359b4116c24bcb8f74ae 78382 libocamlnet-ssl-ocaml-dev_2.2.9-6_amd64.deb
 d0db758922410dc243830ddb3c43069987047d5a6bc7cb3d4aea9fb50d71b9e1 13198 libocamlnet-ssl-ocaml_2.2.9-6_amd64.deb
 8afd3371f8dffc7a549842974f94cc26e644b6d688b0277023e9d72099bd143e 1183364 libnethttpd-ocaml-dev_2.2.9-6_amd64.deb
 522face899b06c400469ed3cc84ed222de87aee958c67804fe5f78621fe1659f 126034 libapache2-mod-ocamlnet_2.2.9-6_amd64.deb
Files: 
 95d985c656001d7a188fa44d0676e9e9 1688 devel optional ocamlnet_2.2.9-6.dsc
 607e69fe2dcf84e105aee8748b7992ae 15094 devel optional ocamlnet_2.2.9-6.diff.gz
 becc0a7437c870dd24608d8c3f01324e 969258 doc optional libocamlnet-ocaml-doc_2.2.9-6_all.deb
 613b9d45285704d01f33a6af0521d7ff 6316332 libdevel optional libocamlnet-ocaml-dev_2.2.9-6_amd64.deb
 0d0c3dca887a633e3e2075a4458a2642 16232 libs optional libocamlnet-ocaml_2.2.9-6_amd64.deb
 ea422e37ed882f190e074d0925ca30fc 1305254 libdevel optional libocamlnet-ocaml-bin_2.2.9-6_amd64.deb
 c03e1b41e27ad632e6fe483f18bc17ee 38172 libdevel optional libocamlnet-gtk2-ocaml-dev_2.2.9-6_amd64.deb
 63b387cca73fc89a412de2ceef5410d6 78382 libdevel optional libocamlnet-ssl-ocaml-dev_2.2.9-6_amd64.deb
 4e3ecc637e9057fdb81a06ec52211718 13198 libs optional libocamlnet-ssl-ocaml_2.2.9-6_amd64.deb
 e54dd74abae0b4a3f32998c59577c2da 1183364 libdevel optional libnethttpd-ocaml-dev_2.2.9-6_amd64.deb
 c82de5d6fa501715cff52ff0386728cf 126034 net optional libapache2-mod-ocamlnet_2.2.9-6_amd64.deb

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

iD8DBQFJqRdH1cqbBPLEI7wRAqg1AJ93FPP6nlclQ/XFmlXQUFcrfbpW2QCgnbRy
kaQ89hFfJQcI/XRED9emHMg=
=NAdv
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: