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

Bug#48123: marked as done (AC_FUNC_GETPGRP macro is broken with C++)



Your message dated Mon, 22 Dec 2025 18:02:22 +0000
with message-id <[🔎] E1vXkEg-00GKT8-2W@fasolo.debian.org>
and subject line Bug#1081135: Removed package(s) from unstable
has caused the Debian Bug report #48123,
regarding AC_FUNC_GETPGRP macro is broken with C++
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.)


-- 
48123: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=48123
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: autoconf
Version: 2.13-12
Severity: normal


In the test for whether getpgrp() takes an argument, we have the following
code:

#include <stdio.h>
#include <sys/types.h>

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);

<snip>



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 


--- End Message ---
--- Begin Message ---
Version: 2.13-69+rm

Dear submitter,

as the package autoconf2.13 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1081135

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---

Reply to: