Bug 77494

Summary: php4-extensions
Product: Ports & Packages Reporter: Travis Morgan <travis>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
fileinfo none

Description Travis Morgan 2005-02-14 11:10:26 UTC
/usr/ports/lang/php4-extensions

fileinfo support should require /usr/ports/sysutils/file

Fix: 

adjust dependency
How-To-Repeat: try to make install php4-extensions with fileinfo support and without having /usr/ports/sysutils/file installed
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2005-02-14 21:14:41 UTC
State Changed
From-To: open->closed

No sign of fileinfo extension in lang/php4-extensions. 

sysutils/pecl-fileinfo port correctly depends on sysutils/file 


Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2005-02-14 21:14:41 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Take replies
Comment 3 Travis Morgan 2005-02-15 04:33:38 UTC
<root@home:/usr/ports/lang> make search name=php4-extensions
Port:   php4-extensions-1.0
Path:   /usr/ports/lang/php4-extensions
Info:   A "meta-port" to install PHP extensions
Maint:  ale@FreeBSD.org
B-deps: 
R-deps: apache-1.3.33_1 expat-1.95.8 mysql-client-4.0.23a perl-5.8.6_2 php4-4.3.10_2 php4-ctype-4.3.10_2 php4-mysql-4.3.10_2 php4-overload-4.3.10_2 php4-pcre-4.3.10_2 php4-posix-4.3.10_2 php4-session-4.3.10_2 php4-tokenizer-4.3.10_2 php4-xml-4.3.10_2 php4-zlib-4.3.10_2
WWW:    http://www.php.net/

<root@home:/usr/ports/lang> cd php4-extensions/
<root@home:/usr/ports/lang/php4-extensions> make showconfig | grep fileinfo
     FILEINFO=on "fileinfo support"
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2005-02-15 08:36:10 UTC
State Changed
From-To: closed->open

Right, there is a FILEINFO option, but there is no code to support it 
anywhere. That's weird. 


Comment 5 Pav Lucistnik freebsd_committer freebsd_triage 2005-02-15 08:36:10 UTC
Responsible Changed
From-To: pav->ale

Assigning to maintainer of php4 ports.
Comment 6 Alex Dupre freebsd_committer freebsd_triage 2005-02-15 08:49:22 UTC
State Changed
From-To: open->closed

libmagic is in base system, no need to add a dependency.
Comment 7 Travis Morgan 2005-04-27 23:15:52 UTC
I'm not sure why this was closed without any further investigation but the bug still exists.

I've attached a full output of the problem, which is that pecl-fileinfo depends on file and the dependancy is not correctly tracked in the makefile somehow (libmagic fails to work?). I originally posted regarding php4-extensions because fileinfo is one of those extensions but it's specifically pecl-fileinfo, not php4-extensions.

If this is not a bug and I am somehow daft in that I have not done something I should have then a quick explanation would be greatly appreciated.

Travis Morgan