[Bug 265968] Security/Pidgin-lurch fails to build (new Port)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 21 Aug 2022 09:01:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265968

            Bug ID: 265968
           Summary: Security/Pidgin-lurch fails to build (new Port)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: micadeyeye@gmail.com

The new port is intended to add a GUI to Pidgin for OMEMO support. It requires
several efforts since it is the pidgin-otr UI with no modifications already
added.

Here is the build/install error (despite that
https://github.com/micadeyeye/freebsd-ports/blob/master/security/pidgin-lurch/distinfo
contains '2c6b3a4504853d2be16ac2f9fd99527997ab181a2c40ea5a5397fa128db8a420':
❯ sha256 pidgin-lurch-0.0.2.tar.gz
SHA256 (pidgin-lurch-0.0.2.tar.gz) =
2c6b3a4504853d2be16ac2f9fd99527997ab181a2c40ea5a5397fa128db8a420
❯ make -C /usr/local/opt/github/freebsd-ports/security/pidgin-lurch/ install
clean
===>  License GPLv2 accepted by the user
===>   pidgin-lurch-0.0.2_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by pidgin-lurch-0.0.2_1 for building
===>  Extracting for pidgin-lurch-0.0.2_1
=> SHA256 Checksum mismatch for pidgin-lurch-0.0.2.tar.gz.
===>  Refetch for 1 more times files:  pidgin-lurch-0.0.2.tar.gz 
===>  License GPLv2 accepted by the user
===>   pidgin-lurch-0.0.2_1 depends on file: /usr/local/sbin/pkg - found
=> pidgin-lurch-0.0.2.tar.gz doesn't seem to exist in
/usr/local/opt/github/freebsd-ports/distfiles/.
=> Attempting to fetch
https://research.ngportal.com/lurch/pidgin-lurch-0.0.2.tar.gz
pidgin-lurch-0.0.2.tar.gz                             2243 kB   11 MBps    00s
===> Fetching all distfiles required by pidgin-lurch-0.0.2_1 for building
===>  License GPLv2 accepted by the user
===>   pidgin-lurch-0.0.2_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by pidgin-lurch-0.0.2_1 for building
=> SHA256 Checksum mismatch for pidgin-lurch-0.0.2.tar.gz.
===>  Giving up on fetching files:  pidgin-lurch-0.0.2.tar.gz 
Make sure the Makefile and distinfo file
(/usr/local/opt/github/freebsd-ports/security/pidgin-lurch/distinfo)
are up to date.  If you are absolutely sure you want to override this
check, type "make NO_CHECKSUM=yes [other args]".
*** Error code 1

Stop.
make[2]: stopped in /usr/local/opt/github/freebsd-ports/security/pidgin-lurch
*** Error code 1

Stop.
make[1]: stopped in /usr/local/opt/github/freebsd-ports/security/pidgin-lurch
*** Error code 1

Stop.
make: stopped in /usr/local/opt/github/freebsd-ports/security/pidgin-lurch/


----------
And when no checksum is added to make, it is:

❯ make -C /usr/local/opt/github/freebsd-ports/security/pidgin-lurch/
NO_CHECKSUM=yes install clean
===>  License GPLv2 accepted by the user
===>   pidgin-lurch-0.0.2_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by pidgin-lurch-0.0.2_1 for building
===>  Extracting for pidgin-lurch-0.0.2_1
===>  Missing license file for GPLv2 in
/usr/local/opt/github/freebsd-ports/security/pidgin-lurch/work/pidgin-lurch-0.0.2/COPYING
*** Error code 1

Stop.
make[1]: stopped in /usr/local/opt/github/freebsd-ports/security/pidgin-lurch
*** Error code 1

Stop.
make: stopped in /usr/local/opt/github/freebsd-ports/security/pidgin-lurch/

------

Note that this port and security/liblurch use the same license. Yet liblurch
does not throw the error but a different one; see
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265966

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