From nobody Sat Jul 06 21:07:10 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 4WGjcv23cQz5PyGY for ; Sat, 06 Jul 2024 21:07:11 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WGjct61XLz4J4G for ; Sat, 6 Jul 2024 21:07:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720300030; a=rsa-sha256; cv=none; b=mkGBdvhQPr1NCcFfyWvqBCcrhQzTuLIqpYiz7xXkzvoQXIPqos7TN7T0Wu0IHhGSAd8ooA v9Y+zdakiyXdYH23OF8j1ifdAjJF109mRDGQzmrPmKhpv8mjY/mAO7+gubXRbU8nsd+WS+ 5mDEPVaUiCGJSj/JYaY7h5bp2ozZofR2jezthG7WZzAYyAAi7ONQJRN+/zTWn+pg6QPUKn 5UVG2twdkG7sZL3EHTaMegh8YW0/nASof26V+KAxQ5yIUA+gzYKuPzbXVjhXmEfjjtCcBW qolErXaqYjlESxCM8N60uFo3OIbm76TU22iGQqzrhPJyjyNNXwkHW4OeO1/NeA== 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=1720300030; 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=cGwQ+BHPRnQ+CwLjTBBYxgSopAQMvzVQLLe5Dfd03uA=; b=Tptz1MycwXD7WtoO50RBWfSBuC8ErtGeGQKgcOQrsQEGj2FGYU5ZwzzEpF8wXATvgRTgbj P6eA40fwEnIfdX1/0CPpbRBhsadEuaLdE9c0S8XmABwrGszw1995EtqPcr9G3Q+WZh+xmE piLYXZ1nlGLp6VvVYNo3AFjoQjo1aqPe5vpGIC8BJQlky/25F70eqYcgkVXMpAxVlLARp6 Fdo8Dbd+NpES7VwrPhbtHSZ0KTlX0BY2a++PUAWsAnsqOzpyKv/1JyHzQ5C06KbNea49rv MZ71VLEijqOs8y5WnZS4ONeEzujGg/lr4WphoVFg5tvfFqIXRBxErmL/DcVMeQ== 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 4WGjct5b8PzwDT for ; Sat, 6 Jul 2024 21:07:10 +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 466L7AIx035316 for ; Sat, 6 Jul 2024 21:07:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 466L7AXP035315 for ports-bugs@FreeBSD.org; Sat, 6 Jul 2024 21:07:10 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 280164] irc/inspircd: 4.0.1 fails to build when PCRE is enabled (patch included) Date: Sat, 06 Jul 2024 21:07:10 +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: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: fabian@wenks.ch X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: driesm@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter flagtypes.name 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: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280164 Bug ID: 280164 Summary: irc/inspircd: 4.0.1 fails to build when PCRE is enabled (patch included) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: driesm@freebsd.org Reporter: fabian@wenks.ch Assignee: driesm@freebsd.org Flags: maintainer-feedback?(driesm@freebsd.org) Created attachment 251905 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D251905&action= =3Dedit inspircd-4.0.1_1 patch When the config option PCRE is enabled, the build fails with this: Could not read modules/m_regex_pcre.cpp at make/calcdep.pl line 157. gmake: *** [GNUmakefile:210: target] Error 2 When checking what is there, I did found this: riddler:/usr/ports/irc/inspircd/work/inspircd-4.0.1/src/modules/ # ls -l m_regex_pcre.cpp lrwxr-xr-x 1 root wheel 22 Jul 6 20:09 m_regex_pcre.cpp@ -> extra/m_regex_pcre.cpp riddler:/usr/ports/irc/inspircd/work/inspircd-4.0.1/src/modules/ # ls -l extra/m_regex_*=20 -rw-r--r-- 1 root wheel 4659 Jul 2 23:54 extra/m_regex_pcre2.cpp -rw-r--r-- 1 root wheel 2832 Jul 2 23:54 extra/m_regex_posix.cpp -rw-r--r-- 1 root wheel 2839 Jul 2 23:54 extra/m_regex_re2.cpp riddler:/usr/ports/irc/inspircd/work/inspircd-4.0.1/src/modules/ #=20 Removing the PCRE option would work and the port does build. Also adjusting= the Makefile and pkg-plist from pcre to pcre2 and then enable PCRE2 (instead of PCRE) does help too. Patch is attached. --=20 You are receiving this mail because: You are the assignee for the bug.=