From nobody Sat May 4 19:20:51 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 4VWyFK12RCz5JRCr for ; Sat, 4 May 2024 19:20:53 +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 4VWyFJ3Jlzz47LP for ; Sat, 4 May 2024 19:20:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714850452; a=rsa-sha256; cv=none; b=B62Sc7hjb6j+GYLUd+rOUA0q68xfPD602JNXs91WK41gWCV1HOMLfZx5Wc8Rv2YJq8gtFV sWfKgkivbN2IFBWFMlw9gaL4RNVfJg1D9MBrSeMRHcXemWEpALY2sXa7zQc68ce5p3LQ1v vBd2Z1sdV6gWtIxsVH9tJ+EnBTD+4M6wm2qK/F7Xsx2CRYSi1Mh58O2MPI/UChBEnNjGFm IWUHt7uTDNB7VhQs4A5bQ+l/hBvqhdUBF6YdcwKSOKnksZawvyxqrQaFkS7R79TruIgkC8 bIEoQKNu6xN0UXuarwdEcBw8ynVt/q+SSwc64o6vZtCTQx5HDsW807VV/2J6Rw== 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=1714850452; 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=cDmAx6XRPr/V507SE4FjhwqATIGFYe0GIQryzAokxTE=; b=uUwFJ9D5FGfMCPJXQFM/x+02kQIjQlihQ2m/ZHUx7kTjk72lGNfn3JJQI7+DwWSsl48n9D YIdLVcOQiv+o/rrXF/HkMBeGvAHN2W+7Zn6GCOQQSZvtyXCraVnh2eFThOyEevWvCs3JL6 js85z1xiPUov0r2llAsY3+u875bZJBzTUX88i/seuW9Ah5tAOn5hCKjxdkAGfjVGg37SUy j1KIcbwcpvBjgg6mt3oTQXAmdrkrEdOKPWVLnjcs8oYAvqBRIdDWguTh2UmQQC9ams8J4G NbcHAvXmepNt7T0dBy/N1kJCW8r8TUS9CrN1Z8hanoR8iwb/h3izzXOFM4JLrQ== 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 4VWyFJ0x1QzjQy for ; Sat, 4 May 2024 19:20:52 +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 444JKqCM097093 for ; Sat, 4 May 2024 19:20:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 444JKqZq097092 for ports-bugs@FreeBSD.org; Sat, 4 May 2024 19:20:52 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 278761] www/tt-rss: update daemon (ttrssd) now fails with php syntax error Date: Sat, 04 May 2024 19:20:51 +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: bob@vesterman.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@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 cc 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: 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=3D278761 Bug ID: 278761 Summary: www/tt-rss: update daemon (ttrssd) now fails with php syntax error 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: bob@vesterman.com CC: dereks@lifeofadishwasher.com Flags: maintainer-feedback?(dereks@lifeofadishwasher.com) CC: dereks@lifeofadishwasher.com Last night I updated www/tt-rss@php83 on FreeBSD-RELEASE-13.2-p11 GENERIC a= md64 to the latest version (tt-rss-php83-g20240421,2). The main program itself is working fine, but the update daemon, ttrssd, no longer starts up successful= ly: # service ttrssd start PHP Fatal error: Cannot redeclare get_pref() (previously declared in /usr/local/www/tt-rss/include/functions.php:44) in /usr/local/www/tt-rss/include/functions.php on line 45 /usr/local/etc/rc.d/ttrssd: ERROR: Unknown database configured: That's the whole thing - there's nothing after the final colon on the last line. I'll point out that the two filenames are the same, the lines are off= by one, and at a quick glance by my non-PHP-expert eye only one of the two lin= es (44) actually declares that function; the other just looks like a line *in*= the function. Maybe it's a "include vs. include-once" kind of thing? I'd like to mention for the benefit of anyone who may also be facing this i= ssue that you can work around it by manually running the update script: # su -m www -c "/usr/local/bin/php /usr/local/www/tt-rss/update.php --feeds --quiet" The tt-rss website has several other suggestions for how to update when you= 're having problems with the standard way. Seems to be written from a Linuxish point of view, but: https://tt-rss.org/wiki/UpdatingFeeds --=20 You are receiving this mail because: You are the assignee for the bug.=