Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2023 22:54:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 269886] x11/grim: hash mismatch for 89e02e663fab.patch
Message-ID:  <bug-269886-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269886

            Bug ID: 269886
           Summary: x11/grim: hash mismatch for 89e02e663fab.patch
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbeich@FreeBSD.org
          Reporter: dan.kotowski@a9development.com
          Assignee: jbeich@FreeBSD.org
             Flags: maintainer-feedback?(jbeich@FreeBSD.org)

Not really sure what's going on here, but maybe another weird recent git
change?



# make checksum
=3D=3D=3D>  License MIT accepted by the user
=3D=3D=3D>   grim-1.4.0 depends on file: /usr/local/sbin/pkg - found
=3D> 89e02e663fab.patch doesn't seem to exist in /usr/ports/distfiles/.
=3D> Attempting to fetch
https://git.sr.ht/~emersion/grim/commit/89e02e663fab.patch
89e02e663fab.patch                                     761  B 8246 kBps    =
00s
=3D=3D=3D> Fetching all distfiles required by grim-1.4.0 for building
=3D> SHA256 Checksum OK for grim-v1.4.0.tar.gz.
=3D> SHA256 Checksum mismatch for 89e02e663fab.patch.
=3D=3D=3D>  Refetch for 1 more times files:  89e02e663fab.patch
=3D=3D=3D>  License MIT accepted by the user
=3D=3D=3D>   grim-1.4.0 depends on file: /usr/local/sbin/pkg - found
=3D> 89e02e663fab.patch doesn't seem to exist in /usr/ports/distfiles/.
=3D> Attempting to fetch
https://git.sr.ht/~emersion/grim/commit/89e02e663fab.patch
89e02e663fab.patch                                     761  B 9276 kBps    =
00s
=3D=3D=3D> Fetching all distfiles required by grim-1.4.0 for building
=3D=3D=3D>  License MIT accepted by the user
=3D=3D=3D>   grim-1.4.0 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by grim-1.4.0 for building
=3D> SHA256 Checksum OK for grim-v1.4.0.tar.gz.
=3D> SHA256 Checksum mismatch for 89e02e663fab.patch.
=3D=3D=3D>  Giving up on fetching files:  89e02e663fab.patch
Make sure the Makefile and distinfo file (/usr/ports/x11/grim/distinfo)
are up to date.  If you are absolutely sure you want to override this
check, type "make NO_CHECKSUM=3Dyes [other args]".
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/x11/grim
*** Error code 1

Stop.
make: stopped in /usr/ports/x11/grim

# shasum -a256 /usr/ports/distfiles/89e02e663fab.patch
5d0e0ac2eca89eb3b1f2723aba5d2bbe617a3dd6805ed349457b3e0f08e46bfd=20
/usr/ports/distfiles/89e02e663fab.patch

# grep 89e02e663fab.patch distinfo
SHA256 (89e02e663fab.patch) =3D
984a60fb5704bc70e477d1f1169f1c4d833cbb80c320888820449336e88fee33
SIZE (89e02e663fab.patch) =3D 761

# cat /usr/ports/distfiles/89e02e663fab.patch
>From 89e02e663fabc534b7e7039514f60a8c5d70070d Mon Sep 17 00:00:00 2001
From: Simon Ser <contact@emersion.fr>
Date: Wed, 9 Feb 2022 01:24:11 +0100
Subject: [PATCH] write_jpg: fix printf format specifier

---
 write_jpg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/write_jpg.c b/write_jpg.c
index 4476f5f..0cb57d3 100644
--- a/write_jpg.c
+++ b/write_jpg.c
@@ -54,7 +54,7 @@ int write_to_jpeg_stream(pixman_image_t *image, FILE *str=
eam,
int quality) {
        size_t written =3D fwrite(data, 1, len, stream);
        if (written < len) {
                free(data);
-               fprintf(stderr, "Failed to write jpg; only %zu of %zu bytes
written\n",
+               fprintf(stderr, "Failed to write jpg; only %zu of %lu bytes
written\n",
                        written, len);
                return -1;
        }
--
2.34.7

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269886-7788>