From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-4.0 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 67EB41F47C for ; Fri, 13 Jan 2023 01:44:11 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; unprotected) header.d=simnet.is header.i=@simnet.is header.a=rsa-sha256 header.s=sel1 header.b=EErpmk1Z; dkim-atps=neutral Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pG96y-0003mN-FS; Thu, 12 Jan 2023 20:44:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pG96w-0003mE-IT for bug-gnulib@gnu.org; Thu, 12 Jan 2023 20:44:02 -0500 Received: from smtp-out1-04.simnet.is ([194.105.232.35]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pG96t-0007A7-Kr for bug-gnulib@gnu.org; Thu, 12 Jan 2023 20:44:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=simnet.is; i=@simnet.is; q=dns/txt; s=sel1; t=1673574241; x=1705110241; h=date:from:to:subject:message-id:mime-version; bh=zxZ1XRugHh9aoQbXE2nz0zP2SsuSDELdkMR/D0UMhHs=; b=EErpmk1ZA+Cb5FbyAFQld7McWsE/YikBDe9erohNvv8JZa8Xa4rsbp33 Ssrs8BBkNslGRZAmAxf+uCEFE4Jq2QrXqdR23bpf7O0AzyO60VpWM74zZ qnl3FBzanuathHfT6hQuqH7UzOckzBwfkqDscsWrrPEBzjxHjq7SVYyJY bqabqNpxNoHcnQdx9f5OM/dkl+xbX0sOEacGdO5w1XdEeo/ZU+DnCYz+v h6APz1EiN12G8BjE+1DnjMpmYPczgtwGLM5umA1xDllgkhdZsK87doGNt GtGJwg2XzdNlJ/rvBCm16B+nqYSITskKrVWpXxvhetw08UQI0nRzsKelt Q==; Authentication-Results: smtp-out-04.simnet.is; dkim=none (message not signed) header.i=none X-SBRS: 4.4 X-IPAS-Result: =?us-ascii?q?A2FCAADzcsBjkFfoacJaHAEBAQEBAQcBARIBAQQEAQFAg?= =?us-ascii?q?T0FAQELAYIsgQeBWIgejQ0lHoEWgRR/gjaLK4w1FIF5AQEBDzUPBAEBAwEDg?= =?us-ascii?q?gyICyc2Bw4BAgQBAQEBAwIDAQEBAQEBAwEBBgEBAQEBAQYEAgIQAQEBAQEBI?= =?us-ascii?q?B4OECeFLzkNgzQjVgEBAQEBAQEBAScBAQEBAQEBAQEBAQEBAQEBAQEBAQEWA?= =?us-ascii?q?g1SgTiBMGCCfgGDIq1ngTSBAYMWnEKBZ4FAAYxEhFw9BoINgRWCc3WBBYMCI?= =?us-ascii?q?4ZYBIEIgSmQJ4dpgT18gScOgUmBBDcDRB1AA3gKQDUWSysaGweBCiooFQMEB?= =?us-ascii?q?AMCBhMDIAINDRsxFAQpEw0nJihDCQIDImYDAwQoLQkhHwcmJDwHVjcFAwIPH?= =?us-ascii?q?zcGAwkDAh+BbiQFAwsVKkcECDYFBlESAggPEg8sRA5CNzYTBoEGCAMOEwNQg?= =?us-ascii?q?U8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ukOYgLzosVLTvPr3oercd3k6 3XT/HBh1up7Ydsjiv3TwLzRv967jrnyJuLfzizUQ3io/xl4DGJOT9LwsTA3Ad5mK5yFTlSIp 2RspiRzxP4PFo3Ihi2IWP8KDKDsv6/DLjzHnRhuBPHNFghBGVb+IOi8AxkkfS+F1/ronxezO yc/XisLtfdu0IOCN/MfXm5II51CIVLcPdrkTOvISdFFf4J8cgSKlAk3OxHLgz60wBJzwPBuU Xt+TSpKJStDYUiA5GfvL9rxLZd7rszD7TqJHsmgkXxLL5LDPC79pUg53KumNbxpvfzV/G05A v5aNs+DgxVRONASkQGKmbP/2WsidCBhbbiv8pA/XrDYeGJORjp+Y8I9NJt9J+SJaYwOzLyZl px8M2cEoGfCaYrvdV3WOik7Neq+Av6SbxsTZEQRALph4FB7Ca7H0UvVX8JfkWUPnAC78cNJc g== IronPort-HdrOrdr: A9a23:WoRjQaisWVzlf1LM9esWFJtY6XBQXuwji2hC6mlwRA09TyX4ra +TdZEgvnXJYVkqNk3I9ergBEDjewK+yXcF2+ks1N6ZNWGK1FdAR7sSj7cKrQeQfRHWx6pw0r phbrg7KPCYNykCsS8i2njdLz/3+qjhzImYwd3eyW4oZRhyApsQijtENg== X-IronPort-Anti-Spam-Filtered: true X-IronPort-AV: E=Sophos;i="5.97,212,1669075200"; d="scan'208";a="913660727" Received: from vist-zimproxy-01.vist.is ([194.105.232.87]) by smtp-out-04.simnet.is with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jan 2023 01:43:53 +0000 Received: from localhost (localhost [127.0.0.1]) by vist-zimproxy-01.vist.is (Postfix) with ESMTP id 037ED426474F for ; Fri, 13 Jan 2023 01:43:52 +0000 (GMT) Received: from vist-zimproxy-01.vist.is ([127.0.0.1]) by localhost (vist-zimproxy-01.vist.is [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id TmueAIlIc_Sr for ; Fri, 13 Jan 2023 01:43:48 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by vist-zimproxy-01.vist.is (Postfix) with ESMTP id CF3BC427E61B for ; Fri, 13 Jan 2023 01:43:48 +0000 (GMT) Received: from vist-zimproxy-01.vist.is ([127.0.0.1]) by localhost (vist-zimproxy-01.vist.is [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id yyKgd6fK9maL for ; Fri, 13 Jan 2023 01:43:48 +0000 (GMT) Received: from kassi.invalid.is.lan (85-220-7-150.dsl.dynamic.simnet.is [85.220.7.150]) by vist-zimproxy-01.vist.is (Postfix) with ESMTPS id B4619426474F for ; Fri, 13 Jan 2023 01:43:48 +0000 (GMT) Received: from bg by kassi.invalid.is.lan with local (Exim 4.96) (envelope-from ) id 1pG96h-000CEF-1j for bug-gnulib@gnu.org; Fri, 13 Jan 2023 01:43:47 +0000 Date: Fri, 13 Jan 2023 01:43:47 +0000 From: Bjarni Ingi Gislason To: bug-gnulib@gnu.org Subject: groff: error after update of gnulib, 13th January 2023 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=194.105.232.35; envelope-from=bingigis@simnet.is; helo=smtp-out1-04.simnet.is X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Software: groff I got these warnings in directory "groff/build" after an update of gnulib (13th January), commit 2886cca8398f4c5a4d68368a19c0e6d0ff97c739 CC lib/libgnu_a-openat-die.o In file included from ../lib/openat-die.c:25: ../src/include/error.h:22:44: warning: type defaults to 'int' in declaration of 'errarg' [-Wimplicit-int] 22 | const errarg &arg1 = empty_errarg, | ^~~~~~ ../src/include/error.h:22:51: error: expected ';', ',' or ')' before '&' token 22 | const errarg &arg1 = empty_errarg, | ^ ../src/include/error.h:27:37: warning: type defaults to 'int' in declaration of 'errarg' [-Wimplicit-int] 27 | const errarg & = empty_errarg, | ^~~~~~ ../src/include/error.h:27:44: error: expected ';', ',' or ')' before '&' token 27 | const errarg & = empty_errarg, | ^ ../src/include/error.h:32:39: warning: type defaults to 'int' in declaration of 'errarg' [-Wimplicit-int] 32 | const errarg & = empty_errarg, | ^~~~~~ ../src/include/error.h:32:46: error: expected ';', ',' or ')' before '&' token 32 | const errarg & = empty_errarg, | ^ ../src/include/error.h:37:37: warning: type defaults to 'int' in declaration of 'errarg' [-Wimplicit-int] 37 | const errarg & = empty_errarg, | ^~~~~~ ../src/include/error.h:37:44: error: expected ';', ',' or ')' before '&' token 37 | const errarg & = empty_errarg, | ^ ../src/include/error.h:42:18: warning: type defaults to 'int' in declaration of 'errarg' [-Wimplicit-int] 42 | const errarg & = empty_errarg, | ^~~~~~ ../src/include/error.h:42:25: error: expected ';', ',' or ')' before '&' token 42 | const errarg & = empty_errarg, | ^ ../src/include/error.h:47:18: warning: type defaults to 'int' in declaration of 'errarg' [-Wimplicit-int] 47 | const errarg & = empty_errarg, | ^~~~~~ ../src/include/error.h:47:25: error: expected ';', ',' or ')' before '&' token 47 | const errarg & = empty_errarg, | ^ ../src/include/error.h:52:20: warning: type defaults to 'int' in declaration of 'errarg' [-Wimplicit-int] 52 | const errarg & = empty_errarg, | ^~~~~~ ../src/include/error.h:52:27: error: expected ';', ',' or ')' before '&' token 52 | const errarg & = empty_errarg, | ^ ../src/include/error.h:57:18: warning: type defaults to 'int' in declaration of 'errarg' [-Wimplicit-int] 57 | const errarg & = empty_errarg, | ^~~~~~ ../src/include/error.h:57:25: error: expected ';', ',' or ')' before '&' token 57 | const errarg & = empty_errarg, | ^ ../src/include/error.h:62:8: error: expected identifier or '(' before string constant 62 | extern "C" const char *program_name; | ^~~ ../lib/openat-die.c: In function 'openat_save_fail': ../lib/openat-die.c:37:3: warning: implicit declaration of function 'error'; did you mean 'strerror'? [-Wimplicit-function-declaration] 37 | error (exit_failure, errnum, | ^~~~~ | strerror --- ../lib/openat-die.c +++ ../lib/openat-die.c @@ -34,7 +34,7 @@ openat_save_fail (int errnum) { #ifndef GNULIB_LIBPOSIX - error (exit_failure, errnum, + strerror (exit_failure, errnum, _("unable to record current working directory")); #endif /* _Noreturn cannot be applied to error, since it returns make[1]: *** [Makefile:9024: lib/libgnu_a-openat-die.o] Error 1 make[1]: Leaving directory '/home/bg/git/groff/build' make: *** [Makefile:6823: all] Error 2 ###### "error.h" is a local file with: // -*- C++ -*- /* Copyright (C) 1989-2020 Free Software Foundation, Inc. Written by James Clark (jjc@jclark.com) [...] class errarg { enum { EMPTY, STRING, CHAR, INTEGER, UNSIGNED_INTEGER, DOUBLE } type; union { const char *s; int n; unsigned int u; char c; double d; }; public: errarg(); errarg(const char *); errarg(char); errarg(unsigned char); errarg(int); errarg(unsigned int); errarg(double); int empty() const; void print() const; }; extern errarg empty_errarg; extern void errprint(const char *, const errarg &arg1 = empty_errarg, const errarg &arg2 = empty_errarg, const errarg &arg3 = empty_errarg); ##### The bootstrap.conf is: # Bootstrap configuration. # Copyright (C) 2006-2022 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # gnulib m4 macro m4_base=gnulib_m4 # gnulib C source files source_base=lib # additional standard files, particularly added by # automake --add-missing build_aux=build-aux gnulib_name=libgnu # This file is not distributed and used to check if the bootstrap # script is not launched on a tarball checkout_only_file=README.git # gnulib modules used by this package. # havelib provides config.rpath # can be get through gettext though # gen-header added 25th December 2021 # non-recursive-gnulib-prefix-hack removed 22th January 2022 gnulib_modules=" git-version-gen havelib manywarnings wcwidth fprintf-posix gen-header snprintf vsnprintf-posix warnings mkstemp fmod getcwd putenv strcase strerror strtol setlocale stdckdint assert assert-h idx string strings " # non-recursive-gnulib-prefix-hack was removed as deprecated # (around 20th December 2021) # Name of the Makefile.am gnulib_tool_option_extras=" --makefile-name=gnulib.mk --automake-subdir" # Additional xgettext options to use. Use "\\\newline" to break lines. XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\ --from-code=UTF-8\\\ --flag=asprintf:2:c-format --flag=vasprintf:2:c-format\\\ --flag=asnprintf:3:c-format --flag=vasnprintf:3:c-format\\\ --flag=wrapf:1:c-format\\\ ' # If "AM_GNU_GETTEXT(external" or "AM_GNU_GETTEXT([external]" # appears in configure.ac, exclude some unnecessary files. # Without grep's -E option (not portable enough, pre-configure), # the following test is ugly. Also, this depends on the existence # of configure.ac, not the obsolescent-named configure.in. But if # you're using this infrastructure, you should care about such things. gettext_external=0 grep '^[ ]*AM_GNU_GETTEXT(external\>' configure.ac > /dev/null && gettext_external=1 grep '^[ ]*AM_GNU_GETTEXT(\[external\]' configure.ac > /dev/null && gettext_external=1 if test $gettext_external = 1; then # Gettext supplies these files, but we don't need them since # we don't have an intl subdirectory. excluded_files=' m4/glibc2.m4 m4/intdiv0.m4 m4/lcmessage.m4 m4/lock.m4 m4/printf-posix.m4 m4/size_max.m4 m4/uintmax_t.m4 m4/ulonglong.m4 m4/visibility.m4 m4/xsize.m4 ' fi # Build prerequisites buildreq="\ autoconf 2.68 automake 1.12.2 git 1.5.5 libtool 2.2.2 tar - pkg-config - " bootstrap_post_import_hook () { # Automake requires that ChangeLog exist. touch ChangeLog || return 1 } #### About "GNULIB_LIBPOSIX": There exists a file "STATUS-libposix". The macro is used in "lib/oppenat-die.c:25 and ChangeLog: --- Citation--- 2010-12-30 Bruce Korb libposix: avoid calling error() within libposix * lib/openat-die.c: remove error module stuff when GNULIB_LIBPOSIX is defined. --- End of citation