Report forwarded to debian-bugs-dist@lists.debian.org, Ben Pfaff <pfaffben@pilot.msu.edu>:
Bug#48123; Package autoconf.
debian-bugs-dist@lists.debian.orgBen Pfaff
Subject: Bug#48123: AC_FUNC_GETPGRP macro is broken
Reply-To: Daniel Jacobowitz , 48123@bugs.debian.org
Resent-From: Daniel Jacobowitz
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Ben Pfaff
Resent-Date: Sat, 23 Oct 1999 19:18:05 GMT
Resent-Message-ID:
Resent-Sender: owner@bugs.debian.org
X-Debian-PR-Message: report 48123
X-Debian-PR-Package: autoconf
X-Debian-PR-Keywords:
X-Loop: owner@bugs.debian.org
Received: via spool by bugs@bugs.debian.org id=B.94070597112343
(code B ref -1); Sat, 23 Oct 1999 19:18:05 GMT
From: Daniel Jacobowitz
To: Debian Bug Tracking System
X-Reportbug-Version: 0.37
X-Mailer: reportbug 0.37
Date: Sat, 23 Oct 1999 15:15:35 -0400
Message-Id:
Package: autoconf
Version: 2.13-12
Severity: normal
In the test for whether getpgrp() takes an argument, we have the following
code:
#include
#include
int pid;
int pg1, pg2, pg3, pg4;
int ng, np, s, child;
main()
{
pid = getpid();
pg1 = getpgrp(0);
pg2 = getpgrp();
pg3 = getpgrp(pid);
pg4 = getpgrp(1);
Now, naturally, getpid() and getpgrp() are undeclared. If the tests are
being run with a C++ compiler, as is the case in 'maildrop's configuration
(AC_LANG_CPLUSPLUS), that's not a warning, it's an error. Adding the
following to the top of the test fixes it:
#ifdef __cplusplus
extern "C" {
#endif
char getpid();
char getpgrp();
#ifdef __cplusplus
}
#endif
-- System Information
Debian Release: potato
Architecture: powerpc
Kernel: Linux drow.res.cmu.edu 2.3.18 #19 Sat Sep 11 18:16:48 EDT 1999 ppc
Versions of packages autoconf depends on:
ii debianutils 1.10 Miscellaneous utilities specific t
ii m4 1.4-10 a macro processing language
ii perl-5.004 [perl5] 5.004.05-1 Larry Wall's Practical Extracting
ii perl-5.005 [perl5] 5.005.03-4 Larry Wall's Practical Extracting
Acknowledgement sent to Daniel Jacobowitz <dan@debian.org>:
New Bug report received and forwarded. Copy sent to Ben Pfaff <pfaffben@pilot.msu.edu>.
-t
From: owner@bugs.debian.org (Debian Bug Tracking System)
To: Daniel Jacobowitz
Subject: Bug#48123: Acknowledgement (AC_FUNC_GETPGRP macro is broken)
Message-ID:
In-Reply-To:
References:
X-Debian-PR-Message: ack 48123
Thank you for the problem report you have sent regarding Debian.
This is an automatically generated reply, to let you know your message has
been received. It is being forwarded to the developers mailing list for
their attention; they will reply in due course.
Your message has been sent to the package maintainer(s):
Ben Pfaff
If you wish to submit further information on your problem, please send
it to 48123@bugs.debian.org (and *not* to
bugs@bugs.debian.org).
Please do not reply to the address at the top of this message,
unless you wish to report a problem with the Bug-tracking system.
Darren Benham
(administrator, Debian Bugs database)
Received: (at submit) by bugs.debian.org; 23 Oct 1999 19:12:50 +0000
Received: (qmail 12260 invoked from network); 23 Oct 1999 19:12:49 -0000
Received: from drow.res.cmu.edu (128.2.160.32)
by master.debian.org with SMTP; 23 Oct 1999 19:12:49 -0000
Received: from drow by drow.res.cmu.edu with local (Exim 3.03 #1 (Debian))
id 11f6db-0002dM-00; Sat, 23 Oct 1999 15:15:35 -0400
From: Daniel Jacobowitz
To: Debian Bug Tracking System
Subject: AC_FUNC_GETPGRP macro is broken
X-Reportbug-Version: 0.37
X-Mailer: reportbug 0.37
Date: Sat, 23 Oct 1999 15:15:35 -0400
Message-Id:
Package: autoconf
Version: 2.13-12
Severity: normal
In the test for whether getpgrp() takes an argument, we have the following
code:
#include
#include
int pid;
int pg1, pg2, pg3, pg4;
int ng, np, s, child;
main()
{
pid = getpid();
pg1 = getpgrp(0);
pg2 = getpgrp();
pg3 = getpgrp(pid);
pg4 = getpgrp(1);
Now, naturally, getpid() and getpgrp() are undeclared. If the tests are
being run with a C++ compiler, as is the case in 'maildrop's configuration
(AC_LANG_CPLUSPLUS), that's not a warning, it's an error. Adding the
following to the top of the test fixes it:
#ifdef __cplusplus
extern "C" {
#endif
char getpid();
char getpgrp();
#ifdef __cplusplus
}
#endif
-- System Information
Debian Release: potato
Architecture: powerpc
Kernel: Linux drow.res.cmu.edu 2.3.18 #19 Sat Sep 11 18:16:48 EDT 1999 ppc
Versions of packages autoconf depends on:
ii debianutils 1.10 Miscellaneous utilities specific t
ii m4 1.4-10 a macro processing language
ii perl-5.004 [perl5] 5.004.05-1 Larry Wall's Practical Extracting
ii perl-5.005 [perl5] 5.005.03-4 Larry Wall's Practical Extracting
Bug reassigned from package `autoconf' to `autoconf2.13'.
Request was from Ben Pfaff <blp@cs.stanford.edu>
to control@bugs.debian.org.
Received: (at control) by bugs.debian.org; 20 Nov 2003 06:13:57 +0000
From blp@pfaff.stanford.edu Thu Nov 20 00:12:36 2003
Return-path:
Received: from smtp-roam.stanford.edu [171.64.14.91]
by master.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1AMi3K-0001Ip-00; Thu, 20 Nov 2003 00:12:31 -0600
Received: from pfaff (c-67-169-177-60.client.comcast.net [67.169.177.60])
(authenticated bits=0)
by smtp-roam.Stanford.EDU (8.12.10/8.12.10) with ESMTP id hAK6CQ3e011207
(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT);
Wed, 19 Nov 2003 22:12:28 -0800 (PST)
Received: from blp by pfaff with local (Exim 3.35 #1 (Debian))
id 1AMi1R-0004zJ-00; Wed, 19 Nov 2003 22:10:33 -0800
To: control@bugs.debian.org
Subject: autoconf bug maintenance
Reply-To: blp@cs.stanford.edu
From: Ben Pfaff
Date: 19 Nov 2003 22:10:33 -0800
Message-ID: <87ad6rvacm.fsf@pfaff.stanford.edu>
Lines: 12
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Ben Pfaff
Delivered-To: control@bugs.debian.org
X-Spam-Status: No, hits=0.0 required=4.0
tests=none
version=2.53-bugs.debian.org_2003_11_15
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_11_15 (1.174.2.15-2003-03-30-exp)
# These bugs are against Autoconf 2.13, which is the autoconf2.13
# package, not autoconf.
reassign 48123 autoconf2.13
reassign 107440 autoconf2.13
thanks
--
Regarding a Microsoft/Xerox agreement:
"This is a match made in heaven.
Both companies excel at copying other people's work."
--douglas@min.net