Re: www/qt5-webengine build failed on FreeBSD-CURRENT

From: Mark Millard <marklmi_at_yahoo.com>
Date: Sun, 12 Jan 2025 05:50:51 UTC
On Jan 11, 2025, at 19:09, Mark Millard <marklmi@yahoo.com> wrote:

> Graham Perrin <grahamperrin_at_gmail.com> wrote on
> Date: Sat, 11 Jan 2025 15:43:19 UTC :
> 
> The tail of the log:
> 
>> cd process/ && ( test -e Makefile || /usr/local/lib/qt5/bin/qmake -o 
>> Makefile 
>> /wrkdirs/usr/ports/www/qt5-webengine/work/kde-qtwebengine-5.15.18p5/src/process/process.pro 
>> . . .
>> /usr/local/bin/ld: warning: libmd.so.7, needed by
> 
> So why to you have libmd.so <http://libmd.so/>.6 instead of libmd.so.7 but are using
> a port/package that is based on having libmd.so.7 ?

I do not know how I got the odd notation for: libmd.so.6

>> /usr/local/lib/libx265.so.209, not found (try using -rpath or -rpath-link)
>> /usr/local/bin/ld: /usr/local/lib/libSvtAv1Enc.so.2: undefined reference 
>> to `__memcpy_chk@FBSD_1.8'
>> /usr/local/bin/ld: /usr/local/lib/libx265.so.209: undefined reference to 
>> `_libmd_MD5Init@FBSDprivate_1.0'
>> /usr/local/bin/ld: /usr/local/lib/libSvtAv1Enc.so.2: undefined reference 
>> to `__memset_chk@FBSD_1.8'
>> /usr/local/bin/ld: /usr/local/lib/libx265.so.209: undefined reference to 
>> `_libmd_MD5Final@FBSDprivate_1.0'
>> /usr/local/bin/ld: /usr/local/lib/libx265.so.209: undefined reference to 
>> `_libmd_MD5Update@FBSDprivate_1.0'
>> c++: error: linker command failed with exit code 1 (use -v to see 
>> . . .
>> !!! build failure encountered !!!
> 
> For reference, in main libmd.so <http://libmd.so/>.7 goes back to 2024-Sep-30 through
> 2024-Oct-02 or so:

I do not know how I got the odd notation for: libmd.so.7

> 
> author Kyle Evans <kevans@FreeBSD.org> 2022-03-08 15:39:52 +0000
> committer Kyle Evans <kevans@FreeBSD.org> 2024-09-30 03:34:18 +0000
> commit e7a629c851d747772cc138efcb0418809ecdea55 (patch)
> tree 6074c41a3ad6defd5d04219d22ae8d05e5f88cf4
> parent 9ba8670a8b175de79ea087688f51595b4f2db862 (diff)
> 
> libmd, kern, stand: consolidate md5 implementations (NFC)
> 
> Reduce the number of md5c.c between the three of these from two to one by just reaching into the kernel build for both userland builds. The precedent for this already exists for sha2 in both cases.
> 
> _libmd_ symbol privatization bits have been moved to sys/md5.h and md5.h remains to #include <sys/md5.h> for compatibility.
> 
> This stops exporting MD5Pad() in the process because the kernel stopped exporting it in 502a35d60f4c. soversion is bumped accordingly.
> 
> This also renames the libc version of stack_protector.c; it previously only worked by coincidence because .PATH ordering worked out such that we got the right one, but this is not the case anymore. Remove the landmine.
> 
> PR: 280784 (exp-run)
> Reviewed by: allanjude, delphij
> Differential Revision: https://reviews.freebsd.org/D34497
> . . .
> 
> 
> author Kyle Evans <kevans@FreeBSD.org> 2024-10-02 19:54:24 +0000
> committer Kyle Evans <kevans@FreeBSD.org> 2024-10-02 19:55:52 +0000
> commit e3953c036f9d66c85b8e19f99f0710b3288ce5fb (patch)
> tree a36b5efec2406153964331a198c4853fd7c40183
> parent 519981e3c09c2875b136635459c87ab24d3104e2 (diff)
> 
> sys: Chase libmd version bump with a __FreeBSD_version bump
> 
> Ports need to be rebuilt anew following this change to get off of the
> old libmd.so.6.
> 
> Diffstat
> -rw-r--r-- sys/sys/param.h 2 
> 1 files changed, 1 insertions, 1 deletions
> diff --git a/sys/sys/param.h b/sys/sys/param.h
> index 79d188c93230..3d772d551ffe 100644
> --- a/sys/sys/param.h
> +++ b/sys/sys/param.h
> @@ -73,7 +73,7 @@
>  * cannot include sys/param.h and should only be updated here.
>  */
> #undef __FreeBSD_version
> -#define __FreeBSD_version 1500023
> +#define __FreeBSD_version 1500024
> 
> /*
>  * __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,




===
Mark Millard
marklmi at yahoo.com