Re: git: ea3e693b7f42 - main - print/ghostscript10: Update port to 10.06.0

From: Vladimir Druzenko <vvd_at_freebsd.org>
Date: Thu, 25 Sep 2025 00:44:32 UTC
24.09.2025 16:15, Michael Osipov пишет:
> The branch main has been updated by michaelo:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=ea3e693b7f42c5db9a84470315ebc6737c43a71d
>
> commit ea3e693b7f42c5db9a84470315ebc6737c43a71d
> Author:     Michael Osipov <michaelo@FreeBSD.org>
> AuthorDate: 2025-09-24 09:38:12 +0000
> Commit:     Michael Osipov <michaelo@FreeBSD.org>
> CommitDate: 2025-09-24 13:15:11 +0000
>
>      print/ghostscript10: Update port to 10.06.0
>      
>      Approved by:    jrm (mentor), otis (mentor)
>      Differential Revision:  https://reviews.freebsd.org/D52704
>      Release Notes:  https://ghostscript.readthedocs.io/en/gs10.06.0/News.html
> ---
>   print/ghostscript10/Makefile | 2 +-
>   print/ghostscript10/distinfo | 6 +++---
>   2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/print/ghostscript10/Makefile b/print/ghostscript10/Makefile
> index edf3e1bdfa2c..e19b3e83d9bf 100644
> --- a/print/ghostscript10/Makefile
> +++ b/print/ghostscript10/Makefile
> @@ -1,5 +1,5 @@
>   PORTNAME=	ghostscript
> -DISTVERSION=	10.05.1
> +DISTVERSION=	10.06.0
>   CATEGORIES=	print
>   MASTER_SITES=	https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${DISTVERSION:S/.//g}/
>   PKGNAMESUFFIX=	${GS_MAJOR_VERSION}
> diff --git a/print/ghostscript10/distinfo b/print/ghostscript10/distinfo
> index e1805e453459..bb47d2a138aa 100644
> --- a/print/ghostscript10/distinfo
> +++ b/print/ghostscript10/distinfo
> @@ -1,3 +1,3 @@
> -TIMESTAMP = 1746048734
> -SHA256 (ghostscript-10.05.1.tar.xz) = 22f2bdca15c28830c9715cddc5c296ea66898bfdab0b604a4e0bcfeb03af6cad
> -SIZE (ghostscript-10.05.1.tar.xz) = 68043644
> +TIMESTAMP = 1758706561
> +SHA256 (ghostscript-10.06.0.tar.xz) = 64352648c2c081c8a9fb1a12dc1965e01ead7c57f58b72d1b54f6ef1cef3c561
> +SIZE (ghostscript-10.06.0.tar.xz) = 68955484

Hello!

Option TESSERACT is broken:
ld: error: relocation R_X86_64_32 cannot be used against symbol 
'__gxx_personality_v0'; recompile with -fPIC
 >>> defined in /usr/lib/libcxxrt.so
 >>> referenced by tessocr.cpp
 >>>               ./soobj/tessocr.o:(.eh_frame+0x6E863)

ld: error: relocation R_X86_64_32 cannot be used against local symbol; 
recompile with -fPIC
 >>> defined in ./soobj/tessocr.o
 >>> referenced by tessocr.cpp
 >>>               ./soobj/tessocr.o:(.eh_frame+0x6E881)

ld: error: relocation R_X86_64_32 cannot be used against local symbol; 
recompile with -fPIC
 >>> defined in ./soobj/tessocr.o
 >>> referenced by tessocr.cpp
 >>>               ./soobj/tessocr.o:(.eh_frame+0x6E8D9)

ld: error: relocation R_X86_64_32 cannot be used against local symbol; 
recompile with -fPIC
 >>> defined in ./soobj/tessocr.o
 >>> referenced by tessocr.cpp
 >>>               ./soobj/tessocr.o:(leptonica_malloc)

ld: error: relocation R_X86_64_32 cannot be used against local symbol; 
recompile with -fPIC
 >>> defined in ./soobj/tessocr.o
 >>> referenced by tessocr.cpp
 >>>               ./soobj/tessocr.o:(leptonica_free)

ld: error: relocation R_X86_64_32 cannot be used against local symbol; 
recompile with -fPIC
 >>> defined in ./soobj/tessocr.o
 >>> referenced by tessocr.cpp
 >>>               ./soobj/tessocr.o:(leptonica_calloc)

ld: error: relocation R_X86_64_32 cannot be used against local symbol; 
recompile with -fPIC
 >>> defined in ./soobj/tessocr.o
 >>> referenced by tessocr.cpp
 >>>               ./soobj/tessocr.o:(ocr_init_api)

ld: error: relocation R_X86_64_32 cannot be used against local symbol; 
recompile with -fPIC
 >>> defined in ./soobj/tessocr.o
 >>> referenced by tessocr.cpp
 >>>               ./soobj/tessocr.o:(ocr_init_api)

ld: error: relocation R_X86_64_32 cannot be used against local symbol; 
recompile with -fPIC
 >>> defined in ./soobj/tessocr.o
 >>> referenced by tessocr.cpp
 >>>               ./soobj/tessocr.o:(ocr_init_api)

ld: error: relocation R_X86_64_32 cannot be used against symbol 
'leptonica_malloc'; recompile with -fPIC
 >>> defined in ./soobj/tessocr.o
 >>> referenced by tessocr.cpp
 >>>               ./soobj/tessocr.o:(ocr_init_api)

ld: error: relocation R_X86_64_32 cannot be used against symbol 
'leptonica_free'; recompile with -fPIC
 >>> defined in ./soobj/tessocr.o
 >>> referenced by tessocr.cpp
 >>>               ./soobj/tessocr.o:(ocr_init_api)

ld: error: relocation R_X86_64_32 cannot be used against local symbol; 
recompile with -fPIC
 >>> defined in ./soobj/tessocr.o
 >>> referenced by tessocr.cpp
 >>>               ./soobj/tessocr.o:(ocr_init_api)

ld: error: relocation R_X86_64_32S cannot be used against local symbol; 
recompile with -fPIC
 >>> defined in ./soobj/tessocr.o
 >>> referenced by tessocr.cpp
 >>>               ./soobj/tessocr.o:(ocr_init_api)

ld: error: relocation R_X86_64_32S cannot be used against local symbol; 
recompile with -fPIC
 >>> defined in ./soobj/tessocr.o
 >>> referenced by tessocr.cpp
 >>>               ./soobj/tessocr.o:(ocr_init_api)

ld: error: relocation R_X86_64_32 cannot be used against symbol 
'malloc'; recompile with -fPIC
 >>> defined in /lib/libc.so.7
 >>> referenced by tessocr.cpp
 >>>               ./soobj/tessocr.o:(ocr_init_api)

ld: error: relocation R_X86_64_32 cannot be used against symbol 'free'; 
recompile with -fPIC
 >>> defined in /lib/libc.so.7
 >>> referenced by tessocr.cpp
 >>>               ./soobj/tessocr.o:(ocr_init_api)

ld: error: relocation R_X86_64_32 cannot be used against local symbol; 
recompile with -fPIC
 >>> defined in ./soobj/tessocr.o
 >>> referenced by tessocr.cpp
 >>>               ./soobj/tessocr.o:(ocr_init_api)

ld: error: relocation R_X86_64_PC32 cannot be used against symbol 
'__stack_chk_guard'; recompile with -fPIC
 >>> defined in /lib/libc.so.7
 >>> referenced by tessocr.cpp
 >>>  ./soobj/tessocr.o:(tess_file_reader(char const*, 
std::__1::vector<char, std::__1::allocator<char>>*))

ld: error: relocation R_X86_64_32 cannot be used against local symbol; 
recompile with -fPIC
 >>> defined in ./soobj/tessocr.o
 >>> referenced by tessocr.cpp
 >>>  ./soobj/tessocr.o:(tess_file_reader(char const*, 
std::__1::vector<char, std::__1::allocator<char>>*))

ld: error: relocation R_X86_64_32 cannot be used against local symbol; 
recompile with -fPIC
 >>> defined in ./soobj/tessocr.o
 >>> referenced by tessocr.cpp
 >>>  ./soobj/tessocr.o:(tess_file_reader(char const*, 
std::__1::vector<char, std::__1::allocator<char>>*))

-- 
Best regards,
Vladimir Druzenko