[Bug 277667] print/ghostscript10: version 10.03.0 fails in build phase in poudriere

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 13 Mar 2024 12:10:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277667

            Bug ID: 277667
           Summary: print/ghostscript10: version 10.03.0 fails in build
                    phase in poudriere
           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: madpilot@FreeBSD.org
                CC: michael.osipov@siemens.com
             Flags: maintainer-feedback?(michael.osipov@siemens.com)
                CC: michael.osipov@siemens.com

Hi,

In my poudriere machine the latest update to ghostscript fails to build with
the  error at eh end of the message (full log available if needed).

I'm using the default options, and have observer failures on amd64, version
14.0-RELEASE and on recent head.


Looks like some incompatibility with the clang version being used.



cc  -DHAVE_MKSTEMP  -DHAVE_FSEEKO  -DHAVE_FONTCONFIG -DHAVE_LIBIDN
-DHAVE_SETLOCALE -DHAVE_SSE2  -DHAVE_BSWAP32 -DHAVE_BYTESWAP_H -DHAVE_STRERROR
-DHAVE_ISNAN -DHAVE_ISINF  -DHAVE_PREAD_PWRITE=1
-DGS_RECURSIVE_MUTEXATTR=PTHREAD_MUTEX_RECURSIVE -O2 -DNDEBUG -fPIC 
-fvisibility=hidden -DGSDLLEXPORT="__attribute__((visibility(\"default\")))"
-DLIBICONV_PLUG -isystem /usr/local/include  -Wall -Wstrict-prototypes -Wundef
-Wmissing-declarations -Wmissing-prototypes -Wwrite-strings
-fno-strict-aliasing -Werror=declaration-after-statement -fno-builtin
-fno-common -Werror=return-type -Wno-unused-local-typedefs -DHAVE_STDINT_H=1
-DHAVE_DIRENT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_LIBDL=1 -DGX_COLOR_INDEX_TYPE="unsigned long long" -D__USE_UNIX98=1
-DHAVE_SNPRINTF  -DBUILD_PDF=1 -I./pdf -O2 -pipe  -DLIBICONV_PLUG
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing 
-DHAVE_RESTRICT=1 -I/usr/local/include -DUSE_LIBPAPER -I/usr/local/include
-fno-strict-aliasing -DHAVE_POPEN_PROTO=1   -DSHARE_JPX=1
-I/usr/local/include/openjpeg-2.5 -DUSE_OPENJPEG_JP2  -DPDF_INCLUDED -I./pdf
-I./soobj -I./pcl/pl -I./base -Isrc/lib -I./jpegxr -Isrc -Isrc/src/lib/openjp2
-Isrc -c ./pdf/pdf_sec.c -o ./soobj/pdf_sec.o

./pdf/pdf_sec.c:186:25: warning: incompatible pointer types assigning to 'char
**' from 'char *'; take the address with & [-Wincompatible-pointer-types]
            NewPassword = Password;
                        ^ ~~~~~~~~
                          &
./pdf/pdf_sec.c:187:20: error: incompatible integer to pointer conversion
assigning to 'int *' from 'int'; take the address with & [-Wint-conversion]
            NewLen = Len;
                   ^ ~~~
                     &
1 warning and 1 error generated.
gmake[2]: *** [pdf/pdf.mak:169: soobj/pdf_sec.o] Error 1

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