Opened 8 years ago

Closed 8 years ago

#51683 closed defect (fixed)

php70: patchfiles missing

Reported by: drew.mirage@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: php70

Description

I am attempting to install PHP 7.0 on my system, OS X 10.11.15 (El Capitan). php70 installs successfully but when I attempt to install php70-apache2handler it fails.

$ sudo port install -t php70-apache2handler
--->  Computing dependencies for php70-apache2handler
--->  Dependencies to be installed: php70
--->  Fetching archive for php70
--->  Attempting to fetch php70-7.0.7_0+libedit.darwin_15.x86_64.tbz2 from https://packages.macports.org/php70
--->  Attempting to fetch php70-7.0.7_0+libedit.darwin_15.x86_64.tbz2.rmd160 from https://packages.macports.org/php70
--->  Installing php70 @7.0.7_0+libedit
--->  Activating php70 @7.0.7_0+libedit

To customize php70, copy /opt/local/etc/php70/php.ini-development (if this is a development server) or /opt/local/etc/php70/php.ini-production (if this is a production server) to /opt/local/etc/php70/php.ini and then make
changes.

--->  Cleaning php70
--->  Fetching archive for php70-apache2handler
--->  Attempting to fetch php70-apache2handler-7.0.7_0.darwin_15.x86_64.tbz2 from https://packages.macports.org/php70-apache2handler
--->  Attempting to fetch php70-apache2handler-7.0.7_0.darwin_15.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/php70-apache2handler
--->  Attempting to fetch php70-apache2handler-7.0.7_0.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/php70-apache2handler
--->  Fetching distfiles for php70-apache2handler
--->  Attempting to fetch patch-php70-scripts-php-config.in.diff from https://distfiles.macports.org/php70
--->  Attempting to fetch patch-php70-scripts-php-config.in.diff from http://sea.us.distfiles.macports.org/macports/distfiles/php70
--->  Attempting to fetch patch-php70-scripts-php-config.in.diff from http://us.php.net/get/php-7.0.7.tar.xz/from/this/mirror?dummy=
--->  Attempting to fetch php-7.0.7.tar.xz from https://distfiles.macports.org/php70 
--->  Verifying checksums for php70-apache2handler                                   
Error: No checksum set for patch-php70-scripts-php-config.in.diff
Error: No checksum set for php-7.0.7.tar.xz
Error: org.macports.checksum for port php70-apache2handler returned: Unable to verify file checksums
Please see the log file for port php70-apache2handler for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php70-apache2handler/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port php70-apache2handler failed

I have cleaned both ports prior to attempting to reinstall:

$ sudo port uninstall php70 php70-apache2handler
$ sudo port -f clean --all php70 php70-apache2handler

The error seems to be that the fetch of the package fails:

:info:archivefetch --->  php70-apache2handler-7.0.7_0.darwin_15.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch php70-apache2handler-7.0.7_0.darwin_15.x86_64.tbz2 from https://packages.macports.org/php70-apache2handler
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch php70-apache2handler-7.0.7_0.darwin_15.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/php70-apache2handler
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch php70-apache2handler-7.0.7_0.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/php70-apache2handler
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found

Interestingly enough, php71-apache2handler installs just fine. I am, however, not able to go with PHP 7.1 at this point in time.

Any help would be appreciated. Please let me know if you require any environment or configuration details.

Attached is the full log file

Attachments (1)

main.log (43.0 KB) - added by drew.mirage@… 8 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php70-apache2handler/main.log

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by drew.mirage@…

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php70-apache2handler/main.log

comment:1 Changed 8 years ago by erik@…

I have the same problem.

However, I think the real problem is a missing checksum setting or -file:

--->  Verifying checksums for php70-apache2handler
Error: No checksum set for patch-php70-scripts-php-config.in.diff
Error: No checksum set for php-7.0.7.tar.xz
Error: org.macports.checksum for port php70-apache2handler returned: Unable to verify file checksums

comment:2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Port: php70 added; php70-apache2handler removed
Status: newassigned
Summary: php70-apache2handler reports 404 when fetchingphp70: patchfiles missing

Binaries are not available for apache2handler. This is because the combination of licenses of apache2handler and its dependencies does not allow binary distribution.

Checksums are not set for that patchfile because checksums are unnecessary for files that are in the files directory. The problem is that the php70 patches are not in the files directory. When I added php71 in r149431, I seem to have inadvertently deleted the php70 patches. (I meant to use svn cp to copy the php70 patches to make the php71 patches, but I must have instead used svn mv.)

comment:3 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Fixed in r149462.

Note: See TracTickets for help on using tickets.