Opened 7 months ago

Closed 7 months ago

#69776 closed defect (duplicate)

php74-apache2handler @7.4.33: error: incompatible function pointer types passing 'void (void *, xmlErrorPtr)' (aka 'void (void *, struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') [-Wincompatible-function-pointer-types]

Reported by: kcaporaso (Kevin Caporaso) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: php74-apache2handler

Description (last modified by ryandesign (Ryan Carsten Schmidt))

During an install of php74-apache2handler 404s are being encountered.

:info:archivefetch --->  php74-apache2handler-7.4.33_0.darwin_23.arm64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch php74-apache2handler-7.4.33_0.darwin_23.arm64.tbz2 from https://packages.macports.org/php74-apache2handler
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch php74-apache2handler-7.4.33_0.darwin_23.arm64.tbz2 from http://mirror.fcix.net/macports/packages/php74-apache2handler
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch php74-apache2handler-7.4.33_0.darwin_23.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/php74-apache2handler
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404

Attachments (1)

main.log (379.9 KB) - added by kcaporaso (Kevin Caporaso) 7 months ago.
main.log

Download all attachments as: .zip

Change History (3)

Changed 7 months ago by kcaporaso (Kevin Caporaso)

Attachment: main.log added

main.log

comment:1 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: php74-apache2handler 404 removed
Owner: set to ryandesign
Priority: HighNormal
Status: newassigned
Summary: php74-apache2handler 404 errorsphp74-apache2handler: 404 errors

An archive not existing is not a bug; see #68869.

Archives are never available for php*-apache2handler for licensing reasons:

% macports-infrastructure/jobs/port_binary_distributable.tcl -v php74-apache2handler
"php74-apache2handler" is not distributable because its license "php" conflicts with license "GPL-3+" of dependency "gdbm"

comment:2 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: assignedclosed
Summary: php74-apache2handler: 404 errorsphp74-apache2handler @7.4.33: error: incompatible function pointer types passing 'void (void *, xmlErrorPtr)' (aka 'void (void *, struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') [-Wincompatible-function-pointer-types]

The real error in the log is:

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php74-apache2handler/work/php-7.4.33/ext/libxml/libxml.c:1050:35: error: incompatible function pointer types passing 'void (void *, xmlErrorPtr)' (aka 'void (void *, struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') [-Wincompatible-function-pointer-types]
                xmlSetStructuredErrorFunc(NULL, php_libxml_structured_error_handler);
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/libxml2/libxml/xmlerror.h:898:29: note: passing argument to parameter 'handler' here
                                 xmlStructuredErrorFunc handler);
                                                        ^

Duplicate of #69758.

Note: See TracTickets for help on using tickets.