Bug 186026 - lang/php55-extensions (5.5.8) fails to install correctly. *.so not found
Summary: lang/php55-extensions (5.5.8) fails to install correctly. *.so not found
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-23 00:50 UTC by Nicolas Steinmetz
Modified: 2014-01-24 12:04 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Steinmetz 2014-01-23 00:50:00 UTC
When compiling PHP extensions, build works but instll files as it expects a .so file where as there is only a .la file instead. So install fails at staging step.

How-To-Repeat: cd /usr/ports/lang/php55-extensions
make install clean

For each extensions, you will have :

[...]

Build complete.
Don't forget to run 'make test'.
===>  Staging for php55-tokenizer-5.5.8
===>   php55-tokenizer-5.5.8 depends on file: /usr/local/include/php/main/php.h - found
===>   Generating temporary packing list
install: /usr/ports/devel/php55-tokenizer/work/php-5.5.8/ext/tokenizer/modules/tokenizer.so: No such file or directory
*** [do-install] Error code 71

Stop in /usr/ports/devel/php55-tokenizer.
*** [build-depends] Error code 1

Stop in /usr/ports/lang/php55-extensions.
*** [install] Error code 1

Stop in /usr/ports/lang/php55-extensions.

The file exists but as a .la file and not a .so file.

I did syminks as workaround and it works so far but it's not the best way :)
Comment 1 Nicolas Steinmetz 2014-01-23 00:54:08 UTC
In fact, symlink are not sufficient.

So you cannot have fully working PHP sites as of now with PHP 5.5.8 on
FreeBSD 10.0 as long as the bug is not fixed.

I forgot to mention I come also from FreeBSD 9.2

----
Nicolas Steinmetz
https://www.steinmetz.fr - https://nicolas.steinmetz.fr/


2014/1/23 <FreeBSD-gnats-submit@freebsd.org>

> Thank you very much for your problem report.
> It has the internal identification `ports/186026'.
> The individual assigned to look at your
> report is: freebsd-ports-bugs.
>
> You can access the state of your problem report at any time
> via this link:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=186026
>
> >Category:       ports
> >Responsible:    freebsd-ports-bugs
> >Synopsis:       php55-extensions (5.5.8) fails to install correctly. *.so
> not found
> >Arrival-Date:   Thu Jan 23 00:50:00 UTC 2014
>
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-24 01:09:02 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 3 Alex Dupre freebsd_committer freebsd_triage 2014-01-24 12:03:49 UTC
State Changed
From-To: open->closed

You have a broken environment. Try re-installing all autotool/libtool ports.