Bug 266597 - www/bacula-web: Missing dependency php-sqlite3
Summary: www/bacula-web: Missing dependency php-sqlite3
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Larry Rosenman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-25 09:44 UTC by Helmut Ritter
Modified: 2022-09-25 18:35 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (ler)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Ritter 2022-09-25 09:44:54 UTC
helmut@BSDHelmut:~ # su -m www -c "cd /var/www/bacula-web/ && composer install"
You are using Composer 1 which is deprecated. You should upgrade to Composer 2, see https://blog.packagist.com/deprecating-composer-1-support/
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested PHP extension ext-sqlite3 * is missing from your system. Install or enable PHP's sqlite3 extension.

helmut@BSDHelmut:~ # pkg info -ix sqlite
php80-pdo_sqlite-8.0.23
py39-sqlite3-3.9.14_7
sqlite3-3.39.3,1
[helmut@BSDHelmut ~]$ sudo pkg install php80-sqlite3
[...]
helmut@BSDHelmut:~ # su -m www -c "cd /var/www/bacula-web/ && composer install"
You are using Composer 1 which is deprecated. You should upgrade to Composer 2, see https://blog.packagist.com/deprecating-composer-1-support/
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Package robloach/component-installer is abandoned, you should avoid using it. Use oomphinc/composer-installers-extender instead.
Generating autoload files
> ComponentInstaller\Installer::postAutoloadDump
Compiling component files
33 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
helmut@BSDHelmut:~ #

[helmut@BSDHelmut ~]$ pkg info bacula-web-php80-8.5.5
bacula-web-php80-8.5.5
Name           : bacula-web-php80
Version        : 8.5.5
Installed on   : Wed Sep 21 09:06:25 2022 CEST
Origin         : www/bacula-web
Architecture   : FreeBSD:13:*
Prefix         : /usr/local
Categories     : www sysutils
Licenses       : GPLv2+
Maintainer     : ler@FreeBSD.org
WWW            : https://www.bacula-web.org/
Comment        : Bacula-web provides a summarized output of Bacula jobs
Options        :
        MYSQL          : on
        PGSQL          : off
        SQLITE         : on
Annotations    :
        flavor         : php80
        repo_type      : binary
        repository     : MyRepo
Flat size      : 6.85MiB
[...]
[helmut@BSDHelmut ~]$
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-09-25 18:12:53 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d9bfbccf469a176eb20929996f63e789176ae1a9

commit d9bfbccf469a176eb20929996f63e789176ae1a9
Author:     Larry Rosenman <ler@FreeBSD.org>
AuthorDate: 2022-09-25 18:10:15 +0000
Commit:     Larry Rosenman <ler@FreeBSD.org>
CommitDate: 2022-09-25 18:12:11 +0000

    www/bacula-web: add php*-sqlite3

    PR: 266597
    Submitted By: freebsd-ports@charlieroot.de

 www/bacula-web/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 2 Larry Rosenman freebsd_committer freebsd_triage 2022-09-25 18:13:23 UTC
Fixed. 
Thanks for the report.
Comment 3 Helmut Ritter 2022-09-25 18:35:18 UTC
(In reply to Larry Rosenman from comment #2)

Thank you for the prompt fix!