Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2024 12:10:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 277667] print/ghostscript10: version 10.03.0 fails in build phase in poudriere
Message-ID:  <bug-277667-7788@https.bugs.freebsd.org/bugzilla/>

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

            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_STRER=
ROR
-DHAVE_ISNAN -DHAVE_ISINF  -DHAVE_PREAD_PWRITE=3D1
-DGS_RECURSIVE_MUTEXATTR=3DPTHREAD_MUTEX_RECURSIVE -O2 -DNDEBUG -fPIC=20
-fvisibility=3Dhidden -DGSDLLEXPORT=3D"__attribute__((visibility(\"default\=
")))"
-DLIBICONV_PLUG -isystem /usr/local/include  -Wall -Wstrict-prototypes -Wun=
def
-Wmissing-declarations -Wmissing-prototypes -Wwrite-strings
-fno-strict-aliasing -Werror=3Ddeclaration-after-statement -fno-builtin
-fno-common -Werror=3Dreturn-type -Wno-unused-local-typedefs -DHAVE_STDINT_=
H=3D1
-DHAVE_DIRENT_H=3D1 -DHAVE_SYS_TIME_H=3D1 -DHAVE_SYS_TIMES_H=3D1 -DHAVE_INT=
TYPES_H=3D1
-DHAVE_LIBDL=3D1 -DGX_COLOR_INDEX_TYPE=3D"unsigned long long" -D__USE_UNIX9=
8=3D1
-DHAVE_SNPRINTF  -DBUILD_PDF=3D1 -I./pdf -O2 -pipe  -DLIBICONV_PLUG
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing=20
-DHAVE_RESTRICT=3D1 -I/usr/local/include -DUSE_LIBPAPER -I/usr/local/include
-fno-strict-aliasing -DHAVE_POPEN_PROTO=3D1   -DSHARE_JPX=3D1
-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/open=
jp2
-Isrc -c ./pdf/pdf_sec.c -o ./soobj/pdf_sec.o

./pdf/pdf_sec.c:186:25: warning: incompatible pointer types assigning to 'c=
har
**' from 'char *'; take the address with & [-Wincompatible-pointer-types]
            NewPassword =3D 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 =3D Len;
                   ^ ~~~
                     &
1 warning and 1 error generated.
gmake[2]: *** [pdf/pdf.mak:169: soobj/pdf_sec.o] Error 1

--=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-277667-7788>