Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Apr 2019 23:14:21 +0200
From:      =?UTF-8?B?VMSzbA==?= Coosemans <tijl@FreeBSD.org>
To:        Cy Schubert <Cy.Schubert@cschubert.com>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r499546 - in head/print: ghostscript9-agpl-base ghostscript9-agpl-x11
Message-ID:  <20190421231421.0f7107a0@kalimero.tijl.coosemans.org>
In-Reply-To: <201904211856.x3LIu3Vf060272@slippy.cwsent.com>
References:  <201904211641.x3LGfbIY033177@repo.freebsd.org> <201904211856.x3LIu3Vf060272@slippy.cwsent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 21 Apr 2019 11:56:03 -0700 Cy Schubert
<Cy.Schubert@cschubert.com> wrote:
> In message <201904211641.x3LGfbIY033177@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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190421231421.0f7107a0>