From nobody Fri May 26 22:06:17 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 4QSfBx6w1Cz4TKR7 for ; Fri, 26 May 2023 22:06:17 +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 4QSfBx5NPsz3Q4v for ; Fri, 26 May 2023 22:06:17 +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=1685138777; 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=4E4ssDApFaNVZFBzP/ZC87BGeOnBxlaSYijzZqjnhPI=; b=DvwDs7k37txMtrFSX1dvj/jzT4rtMubEKU48tp3v/v24X/a4z7n709up03wu+UsTBaUne2 Y0LiSSo3B5n/Ab6At8Lk4dl1n4rFi2TbSJD3UYqnzYqlvia+0YO+3F/NC3Ak4pw4wEEcKZ 9Iwn37UYOgNqTJk/NKN04TW+vNtBtsj5ZHCgwQ8RbBbv6kgpHvhwDps3Vu8kq1FRgmh8vi QoWi2bnzv1jxYY6430eE4aDZj2gBQxxbhmz5ABr30HI4UshlESsVLjSVJS8rViHgAPm4LV 0hqMRegDjmOrpf+yNkv0/TmuX7sJFRCmHKkHqY9FIZYm5bCzKvZTiQqpmB0z2g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685138777; a=rsa-sha256; cv=none; b=pxtqJKL1YSjENCX/Cc110qJ3Gh/y5BNIhfverS1pyVC18AVOTq8BhRk7F4r/nGJewUIfHE 1DayIZiGR2baF5sofEx01vAHJShw426dnqYxLoJ0a133vUo7iv99IvfYfhN4qFmmrdVsWn WBai7oaQ8C5r3LnGWyUnB/HyCNUDPCeA4IANE/uTF6ezUPT+sULdlXXPUzlMAgX/iPZPc+ 79HEXSi7Hsa/shQ6fnVvz0722QoG/KKTZ9IfDpqE6OFXS10bX1sfx4k7fs5OSqRGym44j8 6ozUDSFZ0s50JDBmCA4xLBFrTB0+D1eeHxJMsiyCX0rmUUBQ+xt89Ul9nRllZg== 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 4QSfBx4Mk3zNxN for ; Fri, 26 May 2023 22:06:17 +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 34QM6HGw017311 for ; Fri, 26 May 2023 22:06:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34QM6HAr017310 for ports-bugs@FreeBSD.org; Fri, 26 May 2023 22:06:17 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 271662] net-mgmt/icingaweb2: missing php{xx}-fileinfo dependency (for mime_content_type) Date: Fri, 26 May 2023 22:06:17 +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 Only Me X-Bugzilla-Who: riccardo@torrini.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: joneum@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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271662 Bug ID: 271662 Summary: net-mgmt/icingaweb2: missing php{xx}-fileinfo dependency (for mime_content_type) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: joneum@FreeBSD.org Reporter: riccardo@torrini.org Flags: maintainer-feedback?(joneum@FreeBSD.org) Assignee: joneum@FreeBSD.org [error] 53158#100708: *1007107 FastCGI sent in stderr: "PHP message: PHP Fa= tal error: Uncaught Error: Call to undefined function Icinga\Web\Controller\mime_content_type() in /usr/local/www/icingaweb2/library/Icinga/Web/Controller/StaticController.ph= p:82 php function "mime_content_type()" is included into sysutils/php{xx}-filein= fo how to reproduce: # php -r 'echo mime_content_type("/etc/motd.template") . "\n";' PHP Fatal error: Uncaught Error: Call to undefined function mime_content_type() in Command line code:1 Stack trace: #0 {main} thrown in Command line code on line 1 how to fix: # pkg install php81-fileinfo # php -r 'echo mime_content_type("/etc/motd.template") . "\n";' text/plain proposed fix (add "fileinfo" on line 20 of Makefile, between dom and gd): --- /usr/ports/net-mgmt/icingaweb2/Makefile.orig 2023-05-13 18:40:19.077005000 +0200 +++ /usr/ports/net-mgmt/icingaweb2/Makefile 2023-05-27 00:01:28.3218710= 00 +0200 @@ -16,9 +16,9 @@ =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 icinga-php-thirdparty${PHP_PKGNAMESUFFIX}>=3D0.11.0:net-mgmt/icinga-php-thi= rdparty@${PHP_FLAVOR} \ =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 icingaweb2-module-incubator${PHP_PKGNAMESUFFIX}>=3D0.18.0:net-mgmt/icingawe= b2-module-incubator@${PHP_FLAVOR} USES=3D php:build,web,flavors shebangfix -USE_PHP=3D bcmath bitset ctype curl dom gd gettext iconv ldap \ +USE_PHP=3D bcmath bitset ctype curl dom fileinfo gd gettext iconv ld= ap \ mbstring mcrypt memcache memcached opcache pdo \ pdo_sqlite posix session simplexml soap sockets sqlite3 xml= \ zlib --=20 You are receiving this mail because: You are the assignee for the bug.=