From nobody Sun Jan 15 07:31:25 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 4Nvmzy0VX9z2t8xl for ; Sun, 15 Jan 2023 07:31:26 +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 4Nvmzx5SJQz45gR for ; Sun, 15 Jan 2023 07:31:25 +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=1673767885; 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=zEX/7SEy9844NsNo1XTdLIsAdj6xVxdFB0XS9Cb+jLg=; b=VnCP86ZLV+uWHClxiyk6u4NXDnDaqviGLRa4MEUSwKzURRNsds5Unn6Q1yD0ivwWhxJ8dy xm5yVfc/LYdjar/al5nGM0Eg2S0y70LE1REJ+1eeQFKmf4M/zuOy+REzbuTXpy1ANdKB5K tCR9R5Xq3pNKyqoEfjd3EebcE+DGA07HIPt/DQspXSo/r6Cu3hd1DrdaLczQKD6hizDOJD V+2iXo/mUq0oTwDJzetn4q6i6EcN5kwkavORZ2iPBHL3fVy/tyUVal+aNckwm+bgAcIXTm nzVo8nY5f74UisZX/afIUOK0D9bVBXcv4Qwxq78CiGT2zIdeLnbTGOnW96a8Cw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673767885; a=rsa-sha256; cv=none; b=yHX5Lp7ef/p2uRXS3XFnAAx/5lx2LxdAHWpITV0eZyD0yc0INfN3Ut9TzzyBrQhk8qdt+Q 1fz+jwrpc4XvuoPVtxYkpfvvRp1RNwmaHQnkrsQEGQPmC5p6spOpt4ZJStC89tBkwqN96F 6Kt0YPhLF35t1dUZMid1CH7yB8hmKyRvIP/MssRqW2JjoMnA8teYmo8Wfvn/Anm1LPGUVt +6snDiqyPFfeJCpb6CZ937Ig/1q4q4oekQfpWRpo1O3RoC84j9iNhO51hPUR6dKWweqUUZ x10LQWAIY39MkiaM36+mRxv0pRpPEV6xc1wn9v68UJ6T0bMFueYrSjklnpycOg== 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 4Nvmzx4XZTzJwN for ; Sun, 15 Jan 2023 07:31:25 +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 30F7VPD4098125 for ; Sun, 15 Jan 2023 07:31:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 30F7VPO7098123 for ports-bugs@FreeBSD.org; Sun, 15 Jan 2023 07:31:25 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 268968] luasocket truncates unix socket name Date: Sun, 15 Jan 2023 07:31:25 +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: hugh@ccss.com 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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268968 Bug ID: 268968 Summary: luasocket truncates unix socket name Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: hugh@ccss.com Created attachment 239480 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D239480&action= =3Dedit patch: Add PLAT definition to ports Makefile. Full disclosure: I am not (yet) a FreeBSD user. But this issue has been discussed in a prosody-im chat room. This issue can be verified by running: - lua54 /usr/ports/net/luasocket/work-lua54/luasocket-3.1.0/test/utestsrvr.= lua Then killing the process as it waits for client connection. From the sourc= e of utestsrv.lua, the program should create a socket named "luasocket" in the current directory. Instead it creates a socket named "luasocke" (one chara= cter truncation). The problem can be fixed by adding "PLAT=3Dfreebsd" to the "MAKE_ARGS" defi= nition in the ports Makefile. Patch attached. --=20 You are receiving this mail because: You are the assignee for the bug.=