Bug 254485 - databases/phpmyadmin5 depends on converters/php80-iconv
Summary: databases/phpmyadmin5 depends on converters/php80-iconv
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-22 20:04 UTC by Vincent Milum Jr
Modified: 2021-09-03 18:27 UTC (History)
3 users (show)

See Also:


Attachments
Add iconv run depends (1.10 KB, patch)
2021-08-18 07:44 UTC, Torsten Zuehlsdorff
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Milum Jr 2021-03-22 20:04:21 UTC
This probably applies to all the various phpmyadmin ports.

When attempting to load up the app, I get the following error message:

"Composer detected issues in your platform: Your Composer dependencies require the following PHP extensions to be installed: iconv"

Installing php80-iconv (or which ever PHP version you're using) fixes this issue.

The various phpmyadmin ports should probably have a runtime dependency listed on their respectively versioned phpXX-iconv ports.
Comment 1 Jochen Neumeister freebsd_committer freebsd_triage 2021-03-22 20:55:14 UTC
Hi,

can you please check this patch for phpmyadmin5? http://joneum.joneumbox.org/phpmyadmin5-fix-iconv.diff

Greetings
Jochen
Comment 2 Vincent Milum Jr 2021-03-24 20:30:26 UTC
No, that isn't correct. I just tested it out. 

The addition of "iconv" should be under the "USE_PHP" line, not the "USES" line.

It is php74-iconv that is required, not libiconv.
Comment 3 Torsten Zuehlsdorff freebsd_committer freebsd_triage 2021-08-18 07:44:27 UTC
Created attachment 227301 [details]
Add iconv run depends

Aloha,

i think the patch should look like this. :)

If you can confirm, i will happily go ahead and fix it. :)
Comment 4 Marko Cupać 2021-09-02 10:50:59 UTC
(In reply to Torsten Zuehlsdorff from comment #3)

Hi,

I also noticed this on new installation.

Haven't tested the patch but that should be it.
Comment 5 commit-hook freebsd_committer freebsd_triage 2021-09-03 18:26:35 UTC
A commit in branch main references this bug:

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

commit e36ba3bb9c663f97edf237cd6c60ef3b87c0d6e9
Author:     Jochen Neumeister <joneum@FreeBSD.org>
AuthorDate: 2021-09-03 18:22:55 +0000
Commit:     Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2021-09-03 18:25:42 +0000

    databases/phpmyadmin*: add iconv

    "Composer detected issues in your platform: Your Composer dependencies require the following PHP extensions to be installed: iconv"

    PR:     254485
    Sponsored by:   Netzkommune GmbH

 databases/phpmyadmin/Makefile  | 2 +-
 databases/phpmyadmin5/Makefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)