From nobody Wed Mar 27 18:37:43 2024 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 4V4b5405JKz5FyGW for ; Wed, 27 Mar 2024 18:37:44 +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 4V4b53611mz4YBX for ; Wed, 27 Mar 2024 18:37:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711564663; a=rsa-sha256; cv=none; b=LFQ83XbatmHK156ByjANaPzLwaZjZdsygSMZt7U2zkHKjVvLI8FyPkIwN1iKlT2Sl9XR34 +eLKqZVn0qlFQ0/5y0U5ORiV34IQFQkJ5/RRzyHI+gA9JF0bbMfpCJP2rRhJIH3qhpGOKg dviEz7iioAkImoQLyv6Z34zO//frLIFDUv5Qz7WzD9p83F+r+hMo9MOXdHCNotS5dI03/8 D+unpfRXAO1XqDEVfC5RJBLtAkYLBy/wYIyY120GDWXlMME+AuEAr0AiVC7AS9n1PnL57D UpQvhmoeDKYei96kTLU1bBQLlY7pZD1a+uZRY3eIpxZfqJEvTPXgv28zvdKRTg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711564663; 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; bh=H+ChWFSWNZ28MOek/xuRrlaSUKc74IhBDFjACnDmluk=; b=JBTzr5qFCu3mK2FcqqpshQO+xAaT8tCHuOgHgzGqORvQL0zIC9ZsJWB67AyBl2HraKAwYD ek8ByF9OBr3XYC3WLevO39Y6GnlP3EOymGsfQCOn8jC9lhI/xPVX0V2IsWSfMv6KtQlZYr hD+NIiYFaGoXV2qFFmjaI4M8LbrpocIJX0eciehkCV5Y1FBnoE5ozHcevdzNMzwtA5XmHt uX9a1nBuWdOXck10imKCTtFTqUst0flRA15nBoVRjwTlYV98RhX4gdHLd917UGpEZgBSrS DybHie/9ukbY4f+CGFN0Q8lFKYd2YshxXr64a/bqabZB2lrT+BGBUqijrlLeuA== 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 4V4b535M9czv4B for ; Wed, 27 Mar 2024 18:37:43 +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 42RIbhIH006960 for ; Wed, 27 Mar 2024 18:37:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42RIbhhG006959 for ports-bugs@FreeBSD.org; Wed, 27 Mar 2024 18:37:43 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 277994] lang/sbcl: fails to build after SHUT_RD and friend were changed to enum Date: Wed, 27 Mar 2024 18:37:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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 Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: krion@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277994 Bug ID: 277994 Summary: lang/sbcl: fails to build after SHUT_RD and friend were changed to enum Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: krion@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: krion@FreeBSD.org Flags: maintainer-feedback?(krion@FreeBSD.org) In https://cgit.freebsd.org/src/commit/?id=3Dc3276e02beab8, the SHUT_RD, SH= UT_WR and SHUT_RDWR constants were changed from #defines to enum values. This breaks lang/sbcl: gmake[2]: Entering directory '/wrkdirs/share/dim/ports/lang/sbcl/work/sbcl-2.4.0/contrib/sb-bsd-sockets' ../..//src/runtime/sbcl --noinform --core ../..//output/sbcl.core --lose-on-corruption --disable-debugger --no-sysinit --no-userinit --load ../make-contrib.lisp "sb-bsd-sockets" COND IF ; =3D=3D> ; (PROGN NIL SB-BSD-SOCKETS-INTERNAL::SHUT_RD) ; ; caught WARNING: ; undefined variable: SB-BSD-SOCKETS-INTERNAL::SHUT_RD ; --> COND IF IF IF ; =3D=3D> ; (PROGN NIL SB-BSD-SOCKETS-INTERNAL::SHUT_RDWR) ; ; caught WARNING: ; undefined variable: SB-BSD-SOCKETS-INTERNAL::SHUT_RDWR ; --> COND IF IF ; =3D=3D> ; (PROGN NIL SB-BSD-SOCKETS-INTERNAL::SHUT_WR) ; ; caught WARNING: ; undefined variable: SB-BSD-SOCKETS-INTERNAL::SHUT_WR ; ; compilation unit finished ; Undefined variables: ; SB-BSD-SOCKETS-INTERNAL::SHUT_RD SB-BSD-SOCKETS-INTERNAL::SHUT_RDWR SB-BSD-SOCKETS-INTERNAL::SHUT_WR ; caught 3 WARNING conditions gmake[2]: *** [../asdf-module.mk:41: ../..//obj/sbcl-home/contrib/sb-bsd-sockets.fasl] Error 1 This is because /wrkdirs/share/dim/ports/lang/sbcl/work/sbcl-2.4.0/obj/from-self/contrib/sb= -bsd-sockets/runme.c checks for the existence of #define'd macros, not enum values: #ifdef SHUT_RD fprintf(out, "(cl:defconstant SHUT_RD %ld)\n", CAST_SIGNED(SHUT_RD)); #else fprintf(out, "(sb-int:style-warn \"Couldn't grovel for ~A (unknown to t= he C compiler).\" \"SHUT_RD\")\n"); #endif #ifdef SHUT_WR fprintf(out, "(cl:defconstant SHUT_WR %ld)\n", CAST_SIGNED(SHUT_WR)); #else fprintf(out, "(sb-int:style-warn \"Couldn't grovel for ~A (unknown to t= he C compiler).\" \"SHUT_WR\")\n"); #endif #ifdef SHUT_RDWR fprintf(out, "(cl:defconstant SHUT_RDWR %ld)\n", CAST_SIGNED(SHUT_RDWR)= ); #else fprintf(out, "(sb-int:style-warn \"Couldn't grovel for ~A (unknown to t= he C compiler).\" \"SHUT_RDWR\")\n"); #endif Since this runme.c file seems to be generated from lisp, I have no good idea how to fix it. --=20 You are receiving this mail because: You are the assignee for the bug.=