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

Bug#564232: marked as done (gnat-4.4: bind a socket in Ada program fails on kfreebsd-*)



Your message dated Sat, 16 Jan 2010 21:35:33 +0000
with message-id <E1NWGIv-0008Gu-75@ries.debian.org>
and subject line Bug#564232: fixed in gnat-4.4 4.4.2-6
has caused the Debian Bug report #564232,
regarding gnat-4.4: bind a socket in Ada program fails on 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 owner@bugs.debian.org
immediately.)


-- 
564232: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=564232
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gnat-4.4
Version: 4.4.2-5
Severity: important


Socket Binding in Ada seems broken.

It has an severe consequence on test phase in
the build of the package polyorb.

*** server.adb
with Ada.Streams;
with GNAT.Sockets;
with Ada.Text_IO;

procedure Server is
   use GNAT.Sockets;
   use Ada.Streams;
   Address  : Sock_Addr_Type;
   Server   : Socket_Type;
   Socket   : Socket_Type;
   Data : Stream_Element_Array (1 .. 1024);
   Last : Stream_Element_Offset;
begin
   Address.Addr := Addresses (Get_Host_By_Name (Host_Name), 1);
   Address.Port := 3434;
   Create_Socket (Server);
   Set_Socket_Option
             (Server,
              Socket_Level,
              (Reuse_Address, True));

   Ada.Text_IO.Put_Line ("before bind");
   Bind_Socket (Server, Address);

   Ada.Text_IO.Put_Line ("before listen");
   Listen_Socket (Server);
   Ada.Text_IO.Put_Line ("before accept");
   Accept_Socket (Server, Socket, Address);
   Ada.Text_IO.Put_Line ("after accept");
   loop
      Last := 0;
      Receive_Socket (Socket,
                      Data,
                      Last);
      if Last /= 0 then
         Ada.Text_IO.Put_Line ("receive last : " & Last'Img);
      end if;
   end loop;


end Server;


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 7.2-1-amd64
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnat-4.4 depends on:
ii  gcc-4.4                   4.4.2-8        The GNU C compiler
ii  gnat-4.4-base             4.4.2-5        The GNU Compiler Collection (gnat 
ii  libc0.1                   2.10.2-5       Embedded GNU C Library: Shared lib
ii  libc0.1-dev               2.10.2-5       Embedded GNU C Library: Developmen
ii  libgcc1                   1:4.4.2-8      GCC support library
ii  libgmp3c2                 2:4.3.1+dfsg-3 Multiprecision arithmetic library
ii  libgnat-4.4               4.4.2-5        Runtime library for GNU Ada applic
ii  libgnatprj4.4             4.4.2-5        GNU Ada Project Manager
ii  libgnatvsn4.4             4.4.2-5        GNU Ada compiler version library
ii  libmpfr1ldbl              2.4.2-3        multiple precision floating-point 

gnat-4.4 recommends no packages.

Versions of packages gnat-4.4 suggests:
ii  ada-reference-manual       20021112web-3 The standard describing the Ada 95
pn  gnat-4.4-doc               <none>        (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: gnat-4.4
Source-Version: 4.4.2-6

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

gnat-4.4-base_4.4.2-6_amd64.deb
  to main/g/gnat-4.4/gnat-4.4-base_4.4.2-6_amd64.deb
gnat-4.4_4.4.2-6.diff.gz
  to main/g/gnat-4.4/gnat-4.4_4.4.2-6.diff.gz
gnat-4.4_4.4.2-6.dsc
  to main/g/gnat-4.4/gnat-4.4_4.4.2-6.dsc
gnat-4.4_4.4.2-6_amd64.deb
  to main/g/gnat-4.4/gnat-4.4_4.4.2-6_amd64.deb
libgnat-4.4-dbg_4.4.2-6_amd64.deb
  to main/g/gnat-4.4/libgnat-4.4-dbg_4.4.2-6_amd64.deb
libgnat-4.4_4.4.2-6_amd64.deb
  to main/g/gnat-4.4/libgnat-4.4_4.4.2-6_amd64.deb
libgnatprj4.4-dbg_4.4.2-6_amd64.deb
  to main/g/gnat-4.4/libgnatprj4.4-dbg_4.4.2-6_amd64.deb
libgnatprj4.4-dev_4.4.2-6_amd64.deb
  to main/g/gnat-4.4/libgnatprj4.4-dev_4.4.2-6_amd64.deb
libgnatprj4.4_4.4.2-6_amd64.deb
  to main/g/gnat-4.4/libgnatprj4.4_4.4.2-6_amd64.deb
libgnatvsn4.4-dbg_4.4.2-6_amd64.deb
  to main/g/gnat-4.4/libgnatvsn4.4-dbg_4.4.2-6_amd64.deb
libgnatvsn4.4-dev_4.4.2-6_amd64.deb
  to main/g/gnat-4.4/libgnatvsn4.4-dev_4.4.2-6_amd64.deb
libgnatvsn4.4_4.4.2-6_amd64.deb
  to main/g/gnat-4.4/libgnatvsn4.4_4.4.2-6_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 564232@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ludovic Brenta <lbrenta@debian.org> (supplier of updated gnat-4.4 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, 16 Jan 2010 18:07:13 +0100
Source: gnat-4.4
Binary: gnat-4.4-base gnat-4.4 libgnat-4.4 libgnat-4.4-dbg libgnatvsn4.4-dev libgnatvsn4.4 libgnatvsn4.4-dbg libgnatprj4.4-dev libgnatprj4.4 libgnatprj4.4-dbg
Architecture: source amd64
Version: 4.4.2-6
Distribution: unstable
Urgency: low
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Changed-By: Ludovic Brenta <lbrenta@debian.org>
Description: 
 gnat-4.4   - The GNU Ada compiler
 gnat-4.4-base - The GNU Compiler Collection (gnat base package)
 libgnat-4.4 - Runtime library for GNU Ada applications
 libgnat-4.4-dbg - Runtime library for GNU Ada applications
 libgnatprj4.4 - GNU Ada Project Manager
 libgnatprj4.4-dbg - GNU Ada Project Manager
 libgnatprj4.4-dev - GNU Ada Project Manager development files
 libgnatvsn4.4 - GNU Ada compiler version library
 libgnatvsn4.4-dbg - GNU Ada compiler version library
 libgnatvsn4.4-dev - GNU Ada compiler version library - development files
Closes: 564232
Changes: 
 gnat-4.4 (4.4.2-6) unstable; urgency=low
 .
   [Xavier Grave]
   * debian/patches/ada-bug564232.diff: new.  Closes: #564232
     and unblocks #561156 for polyorb.
 .
   Merge grom gcc-4.4 (4.4.2-10) UNRELEASED; urgency=low
 .
   * Update the gnat patch for arm from the trunk.
 .
   Merge from gcc-4.4 (4.4.2-9) unstable; urgency=low
 .
   [ Matthias Klose ]
   * Update to SVN 20100108 from the gcc-4_4-branch (r155727).
     - Fixes PR tree-optimization/42337, PR target/42448, PR middle-end/42099,
       PR target/42549 (fixes: #560812), PR tree-optimization/41956,
       PR target/42503, PR other/42611 (LP: #501921), PR target/42511,
       PR target/42564, PR tree-optimization/42614,
       PR target/42542 (LP: #403744).
   * libgcj10: Move .so symlinks into gcj-4.4-jdk. Addresses: #563280.
   * Don't use expect-tcl8.3 on hppa anymore.
   * Merge gnat-4.4 changes back from 4.4.2-5.
   * Default to v9a (ultrasparc) on sparc*-linux.
   * gcj-4.4-jdk: Include /usr/lib/jvm-exports.
   * Use 4.4.3 as the upstream version (we'll end up with this version
     for the next release anyway).
   * Always build libgcc4 on hppa, even if not building libgcc for other
     archs (gcc-4.5 bumps the soversion on hppa to 6).
   * Base the source build-dependency on the package version instead of the
     gcc version.
   * Build-depend on autogen again.
 .
   [ Nobuhiro Iwamatsu ]
   * Update gcc-multiarch patch for sh4.
Checksums-Sha1: 
 89593526068d83c43a83006f57b4d9097ec5ba14 2376 gnat-4.4_4.4.2-6.dsc
 d0775e59f106ebfcc2a4f75971cd800b9c407e8b 673317 gnat-4.4_4.4.2-6.diff.gz
 d963b59d85e09812f7fc0d98af08723fbdc44def 131588 gnat-4.4-base_4.4.2-6_amd64.deb
 b5108df9a57575273ad2f8960fb9cf0c24715c0a 1148476 libgnat-4.4_4.4.2-6_amd64.deb
 024ba0055248dfd9b0da7ea0c508a772f2566ae1 1717296 libgnatvsn4.4-dev_4.4.2-6_amd64.deb
 766020b5e0929a72270cde1318d285d3ca8cd946 335586 libgnatvsn4.4_4.4.2-6_amd64.deb
 d093d9db6132850c5cae461e0abcb71b0cf83065 2661488 libgnatprj4.4-dev_4.4.2-6_amd64.deb
 aa9d1189984a7f345e9ca3ecd3ecf9989abe1189 580412 libgnatprj4.4_4.4.2-6_amd64.deb
 f3b8095747d39f6342361c95a982ceb89f2f6498 882544 libgnatprj4.4-dbg_4.4.2-6_amd64.deb
 79c466640e068f8209564bf02c56343089a3d0a1 1951864 libgnat-4.4-dbg_4.4.2-6_amd64.deb
 d3634f2b0d6d0969b0cb4a58cee4de952ce2be7e 458470 libgnatvsn4.4-dbg_4.4.2-6_amd64.deb
 72bef95759a645ed98d1984f635bd147e1582f35 14436784 gnat-4.4_4.4.2-6_amd64.deb
Checksums-Sha256: 
 b726d256c92290cb2536f6b2cfd10a0ed71a20cb38b9912d5e3184e9d2f3bcf0 2376 gnat-4.4_4.4.2-6.dsc
 cd9fbcdddcb5ac8f520c92d7bbb1c44a394f504f21284243066e57a779095270 673317 gnat-4.4_4.4.2-6.diff.gz
 9140eff5d5157846373876fc69314fefd750eeb69a942c08760856babd86174e 131588 gnat-4.4-base_4.4.2-6_amd64.deb
 be505b9f685533a324ba57659c29ccbb7d42f5b6186a8c6b3a8ccad9b1c9bddf 1148476 libgnat-4.4_4.4.2-6_amd64.deb
 30a8bad4b3aa81ec2d7ba63de1c01446c310c76b87efb8933c95fa803da0e2c4 1717296 libgnatvsn4.4-dev_4.4.2-6_amd64.deb
 ba039448d19a68ee845c7645f5c6c9c1f59ec35271f36066d25a58cc349aa668 335586 libgnatvsn4.4_4.4.2-6_amd64.deb
 35107bc41af7bc9272814a57752f4c792f3baff63eb0183a030efc35ae98f8b8 2661488 libgnatprj4.4-dev_4.4.2-6_amd64.deb
 4812dad874285784ae7b5e478f124e3eb407f3bdf4f414f420919444e6faab18 580412 libgnatprj4.4_4.4.2-6_amd64.deb
 2550e8b6645bc7f160e30b6c5582b009bb316c78fda574b8fb038b929be5c11d 882544 libgnatprj4.4-dbg_4.4.2-6_amd64.deb
 a41bb251d015df3d9a4eaae690a772e0cc44fdab49719ba26bc87ec457f60127 1951864 libgnat-4.4-dbg_4.4.2-6_amd64.deb
 6e2a550c854ef238c0543a69034de1df2e761a746c1246e0f6e31417d60d58e6 458470 libgnatvsn4.4-dbg_4.4.2-6_amd64.deb
 6aa27f56020be89730b3a255b7ebd9b5fa8085df50f1e1f44d8033e5786d0fec 14436784 gnat-4.4_4.4.2-6_amd64.deb
Files: 
 f74929f54eb935ced92fcaefd986434c 2376 devel optional gnat-4.4_4.4.2-6.dsc
 fdcae64bf1c9cb1a06d2e2785c9eab4a 673317 devel optional gnat-4.4_4.4.2-6.diff.gz
 02fa158688c688e949532230f4f7d485 131588 libs optional gnat-4.4-base_4.4.2-6_amd64.deb
 a0a873c444eb75d812b157c1d8cc0e3c 1148476 libs optional libgnat-4.4_4.4.2-6_amd64.deb
 cc932b250695114470841cf7c39a105f 1717296 libdevel optional libgnatvsn4.4-dev_4.4.2-6_amd64.deb
 0f8ed1c0f0a0fa1033b8be0d27564c55 335586 libs optional libgnatvsn4.4_4.4.2-6_amd64.deb
 8763bffae2c3eed21e6d6adc1c2207d3 2661488 libdevel optional libgnatprj4.4-dev_4.4.2-6_amd64.deb
 b931fb4bc1dc5f3aa004b02469f843cd 580412 libs optional libgnatprj4.4_4.4.2-6_amd64.deb
 3c70261de69382d2bf3b78ec1cfa3dfe 882544 debug extra libgnatprj4.4-dbg_4.4.2-6_amd64.deb
 26e9ea7b11279054611378048b7e68a7 1951864 debug extra libgnat-4.4-dbg_4.4.2-6_amd64.deb
 7f1178314a90fa7a0c0d94cc80bc2a82 458470 debug extra libgnatvsn4.4-dbg_4.4.2-6_amd64.deb
 e6832b1f5c201eab39ca37d46461eda7 14436784 devel optional gnat-4.4_4.4.2-6_amd64.deb

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

iD8DBQFLUiQ4x9kwJZ3/qtQRAp+bAJ4kNLx54cwYTX/XcWVHcuZGN4smwgCbBE2l
9DDCT7Xu9fO+ODN3wYnqkNU=
=umkO
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: