svn commit: r499546 - in head/print: ghostscript9-agpl-base ghostscript9-agpl-x11

Tijl Coosemans tijl at FreeBSD.org
Sun Apr 21 21:15:34 UTC 2019


On Sun, 21 Apr 2019 11:56:03 -0700 Cy Schubert
<Cy.Schubert at cschubert.com> wrote:
> In message <201904211641.x3LGfbIY033177 at repo.freebsd.org>, Tijl 
> Coosemans writes:
>> Author: tijl
>> Date: Sun Apr 21 16:41:37 2019
>> New Revision: 499546
>> URL: https://svnweb.freebsd.org/changeset/ports/499546
>>
>> Log:
>>   Update to 9.27.
>
> ghostscript-agpl-base fails to build on -CURRENT.
> 
> /usr/local/include/jbig2.h:92:94: note: passing argument to parameter
>       'error_callback' here
>   ...options, Jbig2GlobalCtx *global_ctx, Jbig2ErrorCallback 
> error_callback, ...
>                                                              ^
> ./base/sjbig2.c:238:51: error: operand of type 'void' where arithmetic 
> or
>       pointer type is required
>         allocator = (s_jbig2decode_allocator_t *) jbig2_ctx_free(ctx);
>                                                   ^~~~~~~~~~~~~~~~~~~
> ./base/sjbig2.c:257:47: error: operand of type 'void' where arithmetic 
> or
>       pointer type is required
>     allocator = (s_jbig2decode_allocator_t *) jbig2_global_ctx_free(glob
> al_ctx);
>                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~
> ./base/sjbig2.c:306:42: warning: incompatible pointer types passing 
> 'void (void
>       *, const char *, Jbig2Severity, int32_t)' (aka 'void (void *, 
> const char
>       *, Jbig2Severity, int)') to parameter of type 
> 'Jbig2ErrorCallback' (aka
>       'int (*)(void *, const char *, Jbig2Severity, int)')
>       [-Wincompatible-pointer-types]
>                              global_ctx, s_jbig2decode_error, state->
> cal...
>                                          ^~~~~~~~~~~~~~~~~~~
> /usr/local/include/jbig2.h:92:94: note: passing argument to parameter
>       'error_callback' here
>   ...options, Jbig2GlobalCtx *global_ctx, Jbig2ErrorCallback 
> error_callback, ...
>                                                              ^
> ./base/sjbig2.c:391:51: error: operand of type 'void' where arithmetic 
> or
>       pointer type is required
>   ...= (s_jbig2decode_allocator_t *) jbig2_ctx_free(state->decode_ctx);
>                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 2 warnings and 3 errors generated.
> gmake[4]: *** [base/lib.mak:1780: soobj/sjbig2.o] Error 1
> gmake[4]: *** Waiting for unfinished jobs....
> gmake[4]: Leaving directory '/export/wrkdir/amd64/usr/ports/print/ghosts
> cript9-agpl-base/work/ghostscript-9.27'
> gmake[3]: *** [base/unix-dll.mak:281: so-only-subtarget] Error 2
> gmake[3]: Leaving directory '/export/wrkdir/amd64/usr/ports/print/ghosts
> cript9-agpl-base/work/ghostscript-9.27'
> gmake[2]: *** [base/unix-dll.mak:243: so] Error 2
> gmake[2]: Leaving directory '/export/wrkdir/amd64/usr/ports/print/ghosts
> cript9-agpl-base/work/ghostscript-9.27'
> ===> Compilation failed unexpectedly.  
> Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the 
> failure to
> the maintainer.
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/ports/print/ghostscript9-agpl-base
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/ports/print/ghostscript9-agpl-base

Is jbig2dec up to date?


More information about the svn-ports-all mailing list