Opened 10 years ago
Closed 10 years ago
#45264 closed defect (fixed)
php52: build fails
Reported by: | ifernandolopez (Fernando López Hernández) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.1 |
Keywords: | Cc: | ||
Port: | php52 |
Description
From the logs, there seems to be function redeclarations that make it fail:
char fabsf(); ^ configure:35468:6: note: 'fabsf' is a builtin with type 'float (float)' 1 warning generated. configure:35456: checking for floorf configure:35484: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -no-cpp-precomp -L/opt/local/lib -Wl,-heade configure:35468:6: warning: incompatible redeclaration of library function 'floorf' [-Wincompatible-library-redeclaration] char floorf(); ^ configure:35468:6: note: 'floorf' is a builtin with type 'float (float)' 1 warning generated. configure:35656: checking for jpeg_read_header in -ljpeg configure:35675: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -no-cpp-precomp -Wl,-rpath,/opt/local/lib - configure:35957: checking for png_write_image in -lpng configure:35976: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -no-cpp-precomp -Wl,-rpath,/opt/local/lib -
Attachments (1)
Change History (8)
comment:1 Changed 10 years ago by mf2k (Frank Schima)
Keywords: | php removed |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Port: | php52 added |
Priority: | High → Normal |
comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | PHP 5.2 fails → php52: build fails |
---|
Right, the portion of the log you showed in the ticket description does not show any error. Please attach the entire main.log so we may see what the error is. Though I suspect it is the same one already reported in #41864, since I fully expect all users will encounter that problem.
Please note that php52 and php53 are end of life. Please upgrade to a newer version of PHP. We have php54, php55, and php56 to offer.
Changed 10 years ago by ifernandolopez (Fernando López Hernández)
Attachment: | config.log added |
---|
comment:3 follow-up: 4 Changed 10 years ago by ifernandolopez (Fernando López Hernández)
Hello,
I need php52 as the drush package uses this version.
I am attaching the full log at /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php52/php52/work/php-5.2.17/config.log:
This is the command that is failing:
$sudo port install php52 Password: ---> Computing dependencies for php52 ---> Configuring php52 Error: Failed to configure php52, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php52/php52/work/php-5.2.17/config.log Error: org.macports.configure for port php52 returned: configure failure: command execution failed Please see the log file for port php52 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php52/php52/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port php52 failed
comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to challaganmadrid@…:
I need php52 as the drush package uses this version.
Note that drush should be updated (#27323, #30050) and no longer depend on php52 (#30048).
comment:5 follow-up: 6 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
I have overhauled the php52 port to bring it in line with the php53, php54, php55, and php56 ports, and it now builds for me. Please run "sudo port selfupdate" and then try it out and let me know if it now builds for you as well.
comment:6 Changed 10 years ago by ifernandolopez (Fernando López Hernández)
Hello,
Now php52 and drush both install ok in my machine.
Thank for solving it.
As far as I'm concerned, you can close this ticket.
comment:7 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Ok great.
The Priority field is for use by Macports team members only. In the future, please fill in the Port field and Cc the port maintainers (
port info --maintainers php52
).Please attach the complete main.log file after cleaning the port.