Bug 279688 - devel/php-composer: Size mismatch with 2.7.7
Summary: devel/php-composer: Size mismatch with 2.7.7
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-11 23:25 UTC by Einar Bjarni Halldórsson
Modified: 2024-06-12 06:07 UTC (History)
2 users (show)

See Also:
cyberbotx: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Einar Bjarni Halldórsson 2024-06-11 23:25:42 UTC
php-composer 2.7.7 fails to build with poudriere:

=> Attempting to fetch https://getcomposer.org/download/2.7.7/composer.phar
fetch: https://getcomposer.org/download/2.7.7/composer.phar: size mismatch: expected 2994611, actual 2994603
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/composer-2.7.7/composer.phar
fetch: http://distcache.FreeBSD.org/ports-distfiles/composer-2.7.7/composer.phar: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /portdistfiles/composer-2.7.7 and try again.
*** Error code 1
Comment 1 Naram Qashat 2024-06-12 01:46:08 UTC
I'm CC'ing madpilot on this since he recently submitted the patch that updated this to 2.7.7. (See bug #279655)
Comment 2 Guido Falsi freebsd_committer freebsd_triage 2024-06-12 05:44:15 UTC
Looks like upstream rerolled the distfile in the while:

https://github.com/composer/composer/issues/12009


I'll update the port shortly.
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-06-12 06:04:26 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d5dd3b053e8542304b12354392122455f4802f88

commit d5dd3b053e8542304b12354392122455f4802f88
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2024-06-12 06:02:42 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2024-06-12 06:02:42 +0000

    devel/php-composer: Update distinfo

    Upstream rerolled the distfile.

    PR:             279688
    Approved by:    Naram Qashat <cyberbotx@cyberbotx.com> (maintainer, implicit), fixit
    MFH:            2024Q2

 devel/php-composer/Makefile | 1 +
 devel/php-composer/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-06-12 06:05:28 UTC
A commit in branch 2024Q2 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ea4ae8d4e1f72390a44c1ea6048b8f80b71f8659

commit ea4ae8d4e1f72390a44c1ea6048b8f80b71f8659
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2024-06-12 06:02:42 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2024-06-12 06:04:40 +0000

    devel/php-composer: Update distinfo

    Upstream rerolled the distfile.

    PR:             279688
    Approved by:    Naram Qashat <cyberbotx@cyberbotx.com> (maintainer, implicit), fixit
    MFH:            2024Q2

    (cherry picked from commit d5dd3b053e8542304b12354392122455f4802f88)

 devel/php-composer/Makefile | 1 +
 devel/php-composer/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)
Comment 5 Guido Falsi freebsd_committer freebsd_triage 2024-06-12 06:07:06 UTC
Distinfo updated.

Thanks!