From unknown Sat Aug 16 14:26:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42464: v1.6.0 fails to build on OS X 10.11: "error: use of undeclared identifier 'CLOCK_MONOTONIC'" Resent-From: Leon Klingele Original-Sender: "Debbugs-submit" Resent-CC: adns-discuss@chiark.greenend.org.uk Resent-Date: Tue, 21 Jul 2020 11:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42464 X-GNU-PR-Package: adns X-GNU-PR-Keywords: To: 42464@debbugs.gnu.org X-Debbugs-Original-To: submit@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159532958626563 (code B ref -1); Tue, 21 Jul 2020 11:07:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Jul 2020 11:06:26 +0000 Received: from localhost ([127.0.0.1]:38294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxq6L-0006uL-4e for submit@debbugs.gnu.org; Tue, 21 Jul 2020 07:06:26 -0400 Received: from sun.leonklingele.de ([185.183.159.234]:54106 helo=mail.leonklingele.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxnjb-0000s3-28 for submit@debbugs.gnu.org; Tue, 21 Jul 2020 04:34:49 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.leonklingele.de (Postfix) with ESMTP id 819B5170F1A for ; Tue, 21 Jul 2020 10:34:40 +0200 (CEST) X-Spam-Flag: NO X-Spam-Score: -2.101 X-Spam-Level: X-Spam-Status: No, score=-2.101 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NO_RECEIVED=-0.001, NO_RELAYS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no Received: from mail.leonklingele.de ([127.0.0.1]) by localhost (mail.leonklingele.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hwdDmRYeWY7b for ; Tue, 21 Jul 2020 10:34:40 +0200 (CEST) From: Leon Klingele DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=leonklingele.de; s=20200101; t=1595320479; bh=D1ex9DNv2CU8K6RaNr5j2JdPzvyt2gDBFctuN60uNEQ=; h=From:Subject:Date:To:From; b=hIdcePnwjqhCjvUMWoCEzLcVEDtgYpd6xQFbjVjv3Q3oe6LTzdigv7S6s0fsUiyLk BMuattsgjKvEsNls04novPnb8DbteJxH7jzsTUcg4JimCH35m6ejUrEFelxSwpnv49 66VjGQLv78GfqMipxgRCPPHw38rbp9NXWKDMlKTJmA05pGK7y3LMcyxdri7NWLTQxy MEJ8usq3JFAdztEG2A7v4BwMzZRCkjWDZ+kcXdXyEGtxxfXY+OTyCmIxXlhScpGwF1 k6Q477F9SA0CDLnfvzkCVvD2gw6FXMAGvIG8zlPQnnRSL9rL/qYMSWo5oyWKR2AC9B PH11wFVpjsqYqvxAwp2mlnSEfGNrmboXPjrNQpyZCZXfERgj0gGc+mHsPuKCTJUtG2 ay6tiVC/HURsPgVbUX65N28WIxx76NvgZrV7zyyC4gEoTx5Lr9fh+HunSUU59YlA4U rQuXzm83yfBsVYkZOwP+GyPJ3G5SkvFU0o06ULZ0WlbFiqOGSTL41EpXXXO3wtJh4G 5bweGQ4g1kXabKY+DvnQPA7gHMkzQ2/4VIzsijxABY2/S8774xGswZTuJgeq47SKZA 8Jk0sIZpHhP0Voce3xQaVrrPMi8ADFvrbXwzhZ10IMJxlTEIywBv80VSctYQIBiXS8 j2j9zkgTYa2A54xfrs8K6gL8= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <51FF2A9D-36BD-40EE-86CF-A75E1FE545C2@leonklingele.de> Date: Tue, 21 Jul 2020 10:34:39 +0200 X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Tue, 21 Jul 2020 07:06:24 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Package: adns Steps to reproduce: ```sh $ brew install adns # [..] =3D=3D> make set -e; for d in src client regress; do = /Applications/Xcode.app/Contents/Developer/usr/bin/make -C $d all; done clang -g -O2 -Wall -Wmissing-prototypes -Wwrite-strings = -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign = -Wno-unused-value -I. -I. -c -o types.o types.c clang -g -O2 -Wall -Wmissing-prototypes -Wwrite-strings = -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign = -Wno-unused-value -I. -I. -c -o event.o event.c clang -g -O2 -Wall -Wmissing-prototypes -Wwrite-strings = -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign = -Wno-unused-value -I. -I. -c -o query.o query.c clang -g -O2 -Wall -Wmissing-prototypes -Wwrite-strings = -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign = -Wno-unused-value -I. -I. -c -o reply.o reply.c clang -g -O2 -Wall -Wmissing-prototypes -Wwrite-strings = -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign = -Wno-unused-value -I. -I. -c -o general.o general.c clang -g -O2 -Wall -Wmissing-prototypes -Wwrite-strings = -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign = -Wno-unused-value -I. -I. -c -o setup.o setup.c clang -g -O2 -Wall -Wmissing-prototypes -Wwrite-strings = -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign = -Wno-unused-value -I. -I. -c -o transmit.o transmit.c clang -g -O2 -Wall -Wmissing-prototypes -Wwrite-strings = -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign = -Wno-unused-value -I. -I. -c -o parse.o parse.c event.c:158:25: error: use of undeclared identifier 'CLOCK_MONOTONIC' int r =3D clock_gettime(CLOCK_MONOTONIC,&ts); ^ 1 error generated. make[1]: *** [event.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [all] Error 2 ```=