gutenprint fails to build

Chris Jones jonesc at hep.phy.cam.ac.uk
Tue Oct 9 08:48:37 UTC 2018


Hi,

Please provide a *complete* log from a clean build. The compiler version 
is likely listed in an earlier section you have removed.

Chris

On 09/10/18 09:39, Riccardo Mottola via macports-users wrote:
> Hi all!
> 
> latest turn of upgrades on Leopard 10.5 I get the failure below building 
> gutenprint.
> 
> do you think the issue is the version of GCC used or is gutenprint not 
> compatible with GCC anymore?
> 
> unfortunately the makefile is not printing out which CC is being used, 
> so which compiler!
> 
> Riccardo
> 
> 
> make[3]: Entering directory 
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_gutenprint/gutenprint/work/gutenprint-5.3.1/src/main' 
> 
>    CC       print-papers.lo
>    CC       print-vars.lo
> In file included from print-vars.c:36:
> gutenprint-internal.h:255: warning: expected [error|warning|ignored] 
> after ?#pragma GCC diagnostic?
> gutenprint-internal.h:262: warning: expected [error|warning|ignored] 
> after ?#pragma GCC diagnostic?
> In file included from print-papers.c:31:
> gutenprint-internal.h:255: warning: expected [error|warning|ignored] 
> after ?#pragma GCC diagnostic?
> gutenprint-internal.h:262: warning: expected [error|warning|ignored] 
> after ?#pragma GCC diagnostic?
> print-papers.c: In function ?stpi_papersize_freefunc?:
> print-papers.c:87: error: #pragma GCC diagnostic not allowed inside 
> functions
> print-papers.c:88: error: #pragma GCC diagnostic not allowed inside 
> functions
> print-papers.c:92: error: #pragma GCC diagnostic not allowed inside 
> functions
> make[3]: *** [print-papers.lo] Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[3]: Leaving directory 
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_gutenprint/gutenprint/work/gutenprint-5.3.1/src/main' 
> 
> 


More information about the macports-users mailing list