Date: Wed, 13 Mar 2024 10:34:38 -0400 From: Michael Butler <imb@protected-networks.net> To: Filippo Moretti <filippomore@yahoo.com>, Freebsd-stable List <stable@freebsd.org> Subject: Re: Error compiling ghostscript10 Message-ID: <9408a3e5-8983-44a7-a989-4c4f046f86c7@protected-networks.net> In-Reply-To: <421829821.4182418.1710340046205@mail.yahoo.com> References: <421829821.4182418.1710340046205.ref@mail.yahoo.com> <421829821.4182418.1710340046205@mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------okCnqAIOMpatAT7EIuPJKtUB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit It seems to be broken when libidn is installed on the build machine. A temporary workaround is .. diff --git a/print/ghostscript10/Makefile b/print/ghostscript10/Makefile index b8db2307da5..d9cb6c6e9fd 100644 --- a/print/ghostscript10/Makefile +++ b/print/ghostscript10/Makefile @@ -65,7 +65,7 @@CONFIGURE_ARGS+= --disable-compile-inits \ --with-fontpath=${LOCALBASE}/share/fonts \ --with-jbig2dec \ --with-libiconv=maybe \ - --with-libidn \ +--without-libidn \ --with-libpaper \ --with-system-libtiff On 3/13/24 10:27, Filippo Moretti wrote: > FreeBSD ROXY 14.0-STABLE FreeBSD 14.0-STABLE #23 > stable/14-n266950-f7d51eb77e84: Sun Mar 10 00:33:51 CET 2024 > filippo@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 > > --------------okCnqAIOMpatAT7EIuPJKtUB Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <div class="moz-cite-prefix">It seems to be broken when libidn is installed on the build machine.<br> <br> A temporary workaround is ..<br> <br> <span style="font-family:monospace"><span style="font-weight:bold;color:#000000;background-color:#ffffff;">diff --git a/print/ghostscript10/Makefile b/print/ghostscript10/Makefile</span><span style="color:#000000;background-color:#ffffff;"> </span><br> <span style="font-weight:bold;color:#000000;background-color:#ffffff;">index b8db2307da5..d9cb6c6e9fd 100644</span><span style="color:#000000;background-color:#ffffff;"> </span><br> <span style="font-weight:bold;color:#000000;background-color:#ffffff;">--- a/print/ghostscript10/Makefile</span><span style="color:#000000;background-color:#ffffff;"> </span><br> <span style="font-weight:bold;color:#000000;background-color:#ffffff;">+++ b/print/ghostscript10/Makefile</span><span style="color:#000000;background-color:#ffffff;"> </span><br> <span style="color:#18b2b2;background-color:#ffffff;">@@ -65,7 +65,7 @@</span><span style="color:#000000;background-color:#ffffff;"> CONFIGURE_ARGS+= --disable-compile-inits \ </span><br> --with-fontpath=${LOCALBASE}/share/fonts \ <br> --with-jbig2dec \ <br> --with-libiconv=maybe \ <br> <span style="color:#b21818;background-color:#ffffff;">- --with-libidn \</span><span style="color:#000000;background-color:#ffffff;"> </span><br> <span style="color:#18b218;background-color:#ffffff;">+</span><span style="color:#000000;background-color:#ffffff;"> </span><span style="color:#18b218;background-color:#ffffff;">--without-libidn \</span><span style="color:#000000;background-color:#ffffff;"> </span><br> --with-libpaper \ <br> --with-system-libtiff<br> <br> </span><br> <br> On 3/13/24 10:27, Filippo Moretti wrote:<br> </div> <blockquote type="cite" cite="mid:421829821.4182418.1710340046205@mail.yahoo.com"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"> <div dir="ltr" data-setdir="false"> <div dir="ltr" data-setdir="false"> <div>FreeBSD ROXY 14.0-STABLE FreeBSD 14.0-STABLE #23 stable/14-n266950-f7d51eb77e84: Sun Mar 10 00:33:51 CET 2024 <a class="moz-txt-link-abbreviated" href="mailto:filippo@ROXY:/usr/obj/usr/src/amd64.amd64/sys/ROXY">filippo@ROXY:/usr/obj/usr/src/amd64.amd64/sys/ROXY</a> amd64<br> <br> </div> <br> </div> <div><br> </div> <div><br> </div> <div><br> </div> <div>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<br> ./pdf/pdf_sec.c:186:25: warning: incompatible pointer types assigning to 'char **' from 'char *'; take the address with & [-Wincompatible-pointer-types]<br> 186 | NewPassword = Password;<br> | ^ ~~~~~~~~<br> | &<br> ./pdf/pdf_sec.c:187:20: error: incompatible integer to pointer conversion assigning to 'int *' from 'int'; take the address with & [-Wint-conversion]<br> 187 | NewLen = Len;<br> | ^ ~~~<br> | &<br> 1 warning and 1 error generated.<br> gmake[2]: *** [pdf/pdf.mak:169: soobj/pdf_sec.o] Error 1<br> gmake[2]: Leaving directory '/usr/ports/print/ghostscript10/work/ghostscript-10.03.0'<br> gmake[1]: *** [base/unix-dll.mak:321: so-only-subtarget] Error 2<br> gmake[1]: Leaving directory '/usr/ports/print/ghostscript10/work/ghostscript-10.03.0'<br> gmake: *** [base/unix-dll.mak:281: so] Error 2<br> *** Error code 1<br> <br> Stop.<br> make[1]: stopped in /usr/ports/print/ghostscript10<br> *** Error code 1<br> <br> Stop.<br> make: stopped in /usr/ports/print/ghostscript10<br> <br> </div> <br> </div> </div> </blockquote> <br> </body> </html> --------------okCnqAIOMpatAT7EIuPJKtUB--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9408a3e5-8983-44a7-a989-4c4f046f86c7>