From nobody Sat May 13 15:05:02 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QJTSt6Qpjz4BT1C for ; Sat, 13 May 2023 15:05:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QJTSt5QN4z4K2Z for ; Sat, 13 May 2023 15:05:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683990302; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=px83851usy3vMM7WG83uVkinJYTxHVZ1dry0dlJhUHY=; b=rStb5WE/3PiicUAoyKk3vBirCyhmsKr3hnS88oyPiOGkxcpG7hgwGw5egoaZmI6QMOmFeQ kImnIYVijJqHNDTIzLDEQr/rj2dMEgRXpLkcXyei7pCb9H4yOGU0Z+fxLE6WC7G/oRBhHP A7s8Va9+HJpilu6cDhpws8HoLtizcg3vQKcjCvinq4HC5LF7mi4jCZGLGtnA11OrXt/jyx 763+xFoU/HPnEAf5wBcT/8RxK86wX0zRJa5KPyOh+YvWyu1sj8THYI3p441hlLj9a8ahvf Va1aBeKRHrYddP5GSqyhLcVtGK9d24stUjm34nKYCtUNMvPNM5+T/02zAZ1uFw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683990302; a=rsa-sha256; cv=none; b=Xt+GXF/R9BDTZgZP2VgRnQyB9OUATLnn4xJbEZ4FT5lgVz37N1v5GbJpDk6QWLgs0VWobY pL55M/kgDNzT4q5IWqbuGGKmv/ktA44Af+GRDl2cqrFw7dKZmdUeK4Vx+Q6wfEHpZoB4et Jxf86JWuG4LkX0Z5gNBPrSFg63Ya5nWImu8JBuIQcH9BqCarNsOmYSUTY1JHQ9/hB8biHj UsJA3qZH41h1IHJeL8JDZEAH9b9yFUw4wNKf8SodjLGB9+MhgoSazUDorTFmk/FyhOBLQI v+EhT03FQ3NQMw9acxufWSOiEh6FSo9n8KGBbKpfFbDrMoGZ8rHr/6HrKJYQUQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QJTSt4ND7zMQ1 for ; Sat, 13 May 2023 15:05:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 34DF52Vg041652 for ; Sat, 13 May 2023 15:05:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34DF52BW041651 for ports-bugs@FreeBSD.org; Sat, 13 May 2023 15:05:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 271131] net/asterisk18: utils.c:99:12: error: static declaration of 'gethostbyname_r' follows non-static declaration Date: Sat, 13 May 2023 15:05:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ohartmann@walstatt.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271131 --- Comment #7 from O. Hartmann --- Hello. The reason why net/asterisk16 and net/asterisk18 are broken on CURRENT and 13-STABLE seems not to be LLVM15 (LLVM14 doesn't work either, at least for = me here on 13-STABLE and CURRENT). As one can easily confirm, on the same CURR= ENT using LLVM14 doesn't work either as on 13-STABLE as I reported using LLVM15. Somehow a GNUautotool check doesn't work properly (in my opinion): main/utils.c checks for a 5- or 6-argument gethostbyname_r(). The enveloping clause is (see line 87): #if !defined(HAVE_GETHOSTBYNAME_R_5) && !defined(HAVE_GETHOSTBYNAME_R_6) ... #endif So, the check would define HAVE_GETHOSTBYNAME_R_5=3D1, HAVE_GETHOSTBYNAME_R= _6=3D1 on FreeBSD and the static declaration would never be touched. Is this correct? --=20 You are receiving this mail because: You are the assignee for the bug.=