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

Bug#114589: marked as done (rmc: build failure on ia64)



Your message dated Sat, 2 Feb 2002 20:40:02 +0000
with message-id <20020202204001.GA15616@arborlon.riva.ucam.org>
and subject line rmc now maintained by QA Group
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 5 Oct 2001 19:21:09 +0000
>From jdaily@progeny.com Fri Oct 05 14:21:09 2001
Return-path: <jdaily@progeny.com>
Received: from zealot.progeny.com (butthead.progeny.com) [216.37.46.162] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 15paWz-0006ij-00; Fri, 05 Oct 2001 14:21:09 -0500
Received: by butthead.progeny.com (Postfix, from userid 10018)
	id 721AC164C; Fri,  5 Oct 2001 14:21:08 -0500 (EST)
From: "John R. Daily" <jdaily@progeny.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: rmc: build failure on ia64
X-Reportbug-Version: 1.29
X-Mailer: reportbug 1.29
Date: Fri, 05 Oct 2001 14:21:08 -0500
Message-Id: <20011005192108.721AC164C@butthead.progeny.com>
Delivered-To: submit@bugs.debian.org

Package: rmc
Version: N/A; reported 2001-10-05
Severity: important
Tags: patch

Minor 64-bit issue. accept(3) requires a 32-bit integer (socklen_t)
as its third argument; rmc is trying to supply a 64-bit value (size_t).

Error:

c++ -DPACKAGE=\"rmc2\" -DVERSION=\"0.0.1\" -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DT
IME_WITH_SYS_TIME=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETDB_H=1 -DHA
VE_NETINET_IN_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_TIME_H=1
 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LIBSTDC__=1 -I. -I. -I../../../include -Wall -g -O
2 -Wp,-MD,.deps/SocketNamed.pp -c SocketNamed.cxx  -fPIC -DPIC -o .libs/SocketNa
med.lo
SocketNamed.cxx: In method `rmc::CSocketUnNamed 
*rmc::CSocketNamed::Accept ()':
SocketNamed.cxx:63: cannot convert `size_t *' to `socklen_t *' for 
argument `3' to `accept (int, sockaddr *, socklen_t *)'
make[4]: *** [SocketNamed.lo] Error 1

Patch:

diff -Naur rmc.orig/src/Transport/Socket/SocketNamed.cxx rmc-20010628CVS/src/Transport/Socket/SocketNamed.cxx
--- rmc.orig/src/Transport/Socket/SocketNamed.cxx       Wed Jun 27 15:42:11 2001
+++ rmc-20010628CVS/src/Transport/Socket/SocketNamed.cxx        Fri Oct  5 14:14:59 2001
@@ -58,7 +58,7 @@
 CSocketUnNamed* CSocketNamed::Accept ()
   {
   sockaddr_in st_ClientAddress;
-  size_t cSize = sizeof(st_ClientAddress);
+  socklen_t cSize = sizeof(st_ClientAddress);
    
   int nSocket = accept( m_nSocket, (struct sockaddr *)&st_ClientAddress, &cSize);
   return new CSocketUnNamed ( nSocket, st_ClientAddress );


-- System Information
Debian Release: testing/unstable
Architecture: ia64
Kernel: Linux butthead 2.4.9-itanium-smp #1 SMP Mon Sep 17 20:48:35 MDT 2001 ia64
Locale: LANG=C, LC_CTYPE=


---------------------------------------
Received: (at 114589-done) by bugs.debian.org; 2 Feb 2002 20:40:10 +0000
>From cjwatson@flatline.org.uk Sat Feb 02 14:40:10 2002
Return-path: <cjwatson@flatline.org.uk>
Received: from gadolinium.btinternet.com [194.73.73.111] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16X6xF-0000Hr-00; Sat, 02 Feb 2002 14:40:10 -0600
Received: from host217-35-46-184.in-addr.btopenworld.com ([217.35.46.184] helo=arborlon.lab.dotat.at)
	by gadolinium.btinternet.com with esmtp (Exim 3.22 #8)
	id 16X6xE-0000ej-00
	for 114589-done@bugs.debian.org; Sat, 02 Feb 2002 20:40:08 +0000
Received: from cjwatson by arborlon.lab.dotat.at with local (Exim 3.34 #1 (Debian))
	id 16X6x8-000447-00
	for <114589-done@bugs.debian.org>; Sat, 02 Feb 2002 20:40:02 +0000
Date: Sat, 2 Feb 2002 20:40:02 +0000
From: Colin Watson <cjwatson@flatline.org.uk>
To: 114589-done@bugs.debian.org
Subject: rmc now maintained by QA Group
Message-ID: <20020202204001.GA15616@arborlon.riva.ucam.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.27i
Sender: Colin Watson <cjwatson@flatline.org.uk>
Delivered-To: 114589-done@bugs.debian.org

Hi,

This bug in rmc was fixed in a non-maintainer upload by Doug Porter.
Since the package is now maintained by the QA group (and I've just made
an upload to fix other problems), I'm closing the bug properly.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: