[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Gimp-print-devel] 5.3.1 FTBFS on Debian



On Fri, 28 Sep 2018 09:50:14 +0200, Didier 'OdyX' Raboud wrote:
> --nextPart2764245.O8550TN3gi
> Content-Transfer-Encoding: quoted-printable
> Content-Type: text/plain; charset="UTF-8"
>
> Le mardi, 25 septembre 2018, 16.07:05 h CEST Robert Krawitz a =C3=A9crit :
>> Thanks.  I don't have gcc8 so I didn't get this.  Does this fix work?
>> 
>> diff --git a/src/cups/gutenprint.c b/src/cups/gutenprint.c
>> index 6ab2194e..56b55994 100644
>> --- a/src/cups/gutenprint.c
>> +++ b/src/cups/gutenprint.c
>> @@ -122,7 +122,7 @@ cat_ppd(const char *uri)    /* I - Driver URI */
>>    const char           *lang = NULL;
>>    char                 *s;
>>    char                 filename[1024],         /* Filename */
>> -                       ppd_location[1024];     /* Installed location */
>> +                       ppd_location[2048];     /* Installed location */
>>    const char           *infix = "";
>>    ppd_type_t           ppd_type = PPD_STANDARD;
>>    gpfile               outFD;
>
> Nope. Another error spawns later:
>
> backend_common.c: In function =E2=80=98dump_markers':
> backend_common.c:1357:3: error: format not a string literal and no format 
> arguments [-Werror=format-security]
>    DEBUG2(markers[i].color);
>    ^~~~~~
>
> Patching this line out lets 5.3.1 compile though :-)

That has since been fixed, but commenting it out is fine -- Epson
printers do not use the custom backend.
-- 
Robert Krawitz                                     <rlk@alum.mit.edu>

***  MIT Engineers   A Proud Tradition   http://mitathletics.com  ***
Member of the League for Programming Freedom  --  http://ProgFree.org
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton


Reply to: