Your message dated 18 Jan 2003 18:25:19 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#79727: build failed because of prototype mismatches
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; 16 Dec 2000 09:29:39 +0000
>From [EMAIL PROTECTED] Sat Dec 16 03:29:38 2000
Return-path: <[EMAIL PROTECTED]>
Received: from 4-307.dyn.sirkus.com (PC486.Niemitalo.local) [212.38.245.180] 
(mail)
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 147Dek-0000EQ-00; Sat, 16 Dec 2000 03:29:35 -0600
Received: from kalle by PC486.Niemitalo.local with local (Exim 3.16 #1 (Debian))
        id 1474AO-0008O2-00; Sat, 16 Dec 2000 01:21:32 +0200
To: [EMAIL PROTECTED]
Subject: build failed because of prototype mismatches
Keywords: 
pmm3i386,glibc-2.2,bug,patch,RTHeapDepC.c,Modula-3,prototype,error,warning,const,waitpid
X-Accept-Language: fi;q=1.0, en;q=0.9, sv;q=0.5, de;q=0.1
X-URL: http://www.iki.fi/kon/
X-Anagram: look vanilla, aim elite
From: Kalle Olavi Niemitalo <[EMAIL PROTECTED]>
Date: 16 Dec 2000 01:21:25 +0200
Message-ID: <[EMAIL PROTECTED]>
Lines: 96
X-Mailer: Gnus v5.7/Emacs 20.6
Delivered-To: [EMAIL PROTECTED]

Package: pm3i386
Version: 1.1.13-2
Severity: normal
Tags: patch

I got the following errors when building the package.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
cc    -c -o RTHeapDepC.o RTHeapDepC.c
RTHeapDepC.c:566: conflicting types for `getitimer'
/usr/include/sys/time.h:118: previous declaration of `getitimer'
RTHeapDepC.c:870: conflicting types for `msgsnd'
/usr/include/sys/msg.h:71: previous declaration of `msgsnd'
RTHeapDepC.c:1277: conflicting types for `setitimer'
/usr/include/sys/time.h:125: previous declaration of `setitimer'
RTHeapDepC.c:1563: warning: `union wait' declared inside parameter list
RTHeapDepC.c:1563: warning: its scope is only this definition or declaration, 
which is probably not what you want.
RTHeapDepC.c:1568: warning: `struct rusage' declared inside parameter list
RTHeapDepC.c:1568: warning: `union wait' declared inside parameter list
RTHeapDepC.c:1570: warning: `struct rusage' declared inside parameter list
RTHeapDepC.c:1570: warning: `union wait' declared inside parameter list
RTHeapDepC.c: In function `__wrap_wait3':
RTHeapDepC.c:1576: warning: passing arg 1 of `__real_wait3' from incompatible 
pointer type
RTHeapDepC.c:1576: warning: passing arg 3 of `__real_wait3' from incompatible 
pointer type
make[2]: *** [RTHeapDepC.o] Error 1
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Here is a patch which fixes the errors and warnings.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
--- pm3i386-1.1.13/boot-LINUXLIBC6/m3core/LINUXLIBC6/RTHeapDepC.c.orig  Tue Jun 
 8 17:25:18 1999
+++ pm3i386-1.1.13/boot-LINUXLIBC6/m3core/LINUXLIBC6/RTHeapDepC.c       Fri Dec 
15 21:34:16 2000
@@ -94,6 +94,8 @@
    */
 
 
+#define _GNU_SOURCE
+
 #include <stdarg.h>
 #include <sys/types.h>
 #include <sys/time.h>
@@ -108,6 +110,7 @@
 #include <sys/ipc.h>
 #include <dirent.h>
 #include <sys/times.h>
+#include <sys/wait.h>
 
 #if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
 #include <asm/ipc.h>
@@ -337,7 +340,7 @@
 }
 
 int chmod(path, mode)
-char *path;
+const char *path;
 mode_t mode;
 { int result;
 
@@ -747,7 +750,7 @@
 }
 
 int mkdir(path, mode)
-char *path;
+const char *path;
 mode_t mode;
 { int result;
 
@@ -866,7 +869,7 @@
   return result;
 }
 
-int msgsnd(int msqid, void *msgp, size_t msgsz, int msgflg)
+int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg)
 { int result;
 
   ENTER_CRITICAL;
@@ -1579,7 +1582,7 @@
 }
 
 pid_t waitpid(pid, status, options)
-union wait *status;
+int *status;
 int options;
 { int result;
 
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

-- Related packages
ii  gcc            2.95.2-18      The GNU C compiler.
ii  libc6-dev      2.1.97-1       GNU C Library: Development Libraries and Hea
ii  binutils       2.10.0.18-3    The GNU assembler, linker and binary utiliti
ii  make           3.79.1-1       The GNU version of the "make" utility.

-- System Information
Debian Release: woody
Kernel Version: Linux PC486 2.2.17 #1 Fri Sep 8 01:55:38 EEST 2000 i486 unknown

---------------------------------------
Received: (at 79727-done) by bugs.debian.org; 18 Jan 2003 16:25:41 +0000
>From [EMAIL PROTECTED] Sat Jan 18 10:25:38 2003
Return-path: <[EMAIL PROTECTED]>
Received: from kotinetti1-1.suomi.net (Astalo.Niemitalo.local) [212.50.143.1] 
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 18Zvmq-0004ly-00; Sat, 18 Jan 2003 10:25:38 -0600
Received: from kalle by Astalo.Niemitalo.local with local (Exim 3.36 #1 
(Debian))
        id 18ZvmZ-00034C-00; Sat, 18 Jan 2003 18:25:19 +0200
To: [EMAIL PROTECTED]
Subject: Re: Bug#79727: build failed because of prototype mismatches
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
X-Accept-Language: fi;q=1.0, en;q=0.9, sv;q=0.5, de;q=0.1
From: Kalle Olavi Niemitalo <[EMAIL PROTECTED]>
Date: 18 Jan 2003 18:25:19 +0200
Message-ID: <[EMAIL PROTECTED]>
Lines: 1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Kalle Olavi Niemitalo <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-2.5 required=5.0
        tests=REFERENCES,SPAM_PHRASE_00_01,X_ACCEPT_LANG
        version=2.41
X-Spam-Level: 

pm3i386 1.1.15-2 builds OK on unstable.

Reply via email to