Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Apr 2019 14:39:29 -0700
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        =?UTF-8?B?VMSzbA==?= Coosemans <tijl@FreeBSD.org>
Cc:        Cy Schubert <Cy.Schubert@cschubert.com>, 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:  <201904212139.x3LLdTxT097112@slippy.cwsent.com>
In-Reply-To: Message from =?UTF-8?B?VMSzbA==?= Coosemans <tijl@FreeBSD.org> of "Sun, 21 Apr 2019 23:14:21 %2B0200." <20190421231421.0f7107a0@kalimero.tijl.coosemans.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20190421231421.0f7107a0@kalimero.tijl.coosemans.org>, 
=?UTF-8?B?VMS
zbA==?= Coosemans writes:
> 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?

No. I started rebuilding it a couple of hours, just came back to check, 
dialog. I'll know for sure next time I'm back inside.

Sorry for the bother.


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.





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