Discussion:
Error compiling ghostscript10
(too old to reply)
Filippo Moretti
2024-03-13 14:27:26 UTC
Permalink
FreeBSD ROXY 14.0-STABLE FreeBSD 14.0-STABLE #23 stable/14-n266950-f7d51eb77e84: Sun Mar 10 00:33:51 CET 2024     ***@ROXY:/usr/obj/usr/src/amd64.amd64/sys/ROXY amd64





r/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]
  186 |             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]
  187 |             NewLen = Len;
      |                    ^ ~~~
      |                      &
1 warning and 1 error generated.
gmake[2]: *** [pdf/pdf.mak:169: soobj/pdf_sec.o] Error 1
gmake[2]: Leaving directory '/usr/ports/print/ghostscript10/work/ghostscript-10.03.0'
gmake[1]: *** [base/unix-dll.mak:321: so-only-subtarget] Error 2
gmake[1]: Leaving directory '/usr/ports/print/ghostscript10/work/ghostscript-10.03.0'
gmake: *** [base/unix-dll.mak:281: so] Error 2
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/print/ghostscript10
*** Error code 1

Stop.
make: stopped in /usr/ports/print/ghostscript10
Guido Falsi
2024-03-13 14:36:44 UTC
Permalink
It seems to be broken when libidn is installed on the build machine.
A temporary workaround is ..
It is related to libidn being present, but there is an actual bug in
upstream code, which upstream has recently fixed.
--
Guido Falsi <***@madpilot.net>



--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...