Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Apr 2019 11:56:03 -0700
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        Tijl Coosemans <tijl@FreeBSD.org>
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:  <201904211856.x3LIu3Vf060272@slippy.cwsent.com>
In-Reply-To: Message from Tijl Coosemans <tijl@FreeBSD.org> of "Sun, 21 Apr 2019 16:41:37 -0000." <201904211641.x3LGfbIY033177@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <201904211641.x3LGfbIY033177@repo.freebsd.org>, Tijl 
Coosemans write
s:
> 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.
>   
>   PR:		237390
>   Exp-run by:	antoine
>   Approved by:	portmgr (antoine)
>   MFH:		2019Q2
>   Security:	CVE-2019-3835, CVE-2019-3838
>
> Modified:
>   head/print/ghostscript9-agpl-base/Makefile
>   head/print/ghostscript9-agpl-base/distinfo
>   head/print/ghostscript9-agpl-base/pkg-plist
>   head/print/ghostscript9-agpl-x11/Makefile
>
> Modified: head/print/ghostscript9-agpl-base/Makefile
> =============================================================================
> =
> --- head/print/ghostscript9-agpl-base/Makefile	Sun Apr 21 15:23:28 201
> 9	(r499545)
> +++ head/print/ghostscript9-agpl-base/Makefile	Sun Apr 21 16:41:37 201
> 9	(r499546)
> @@ -1,8 +1,7 @@
>  # $FreeBSD$
>  
>  PORTNAME=	ghostscript
> -PORTVERSION=	9.26
> -PORTREVISION=	1
> +PORTVERSION=	9.27
>  CATEGORIES=	print
>  MASTER_SITES=	https://github.com/ArtifexSoftware/ghostpdl-downloads/r
> eleases/download/gs${PORTVERSION:S/.//}/
>  PKGNAMESUFFIX=	9-agpl-base
>
> Modified: head/print/ghostscript9-agpl-base/distinfo
> =============================================================================
> =
> --- head/print/ghostscript9-agpl-base/distinfo	Sun Apr 21 15:23:28 201
> 9	(r499545)
> +++ head/print/ghostscript9-agpl-base/distinfo	Sun Apr 21 16:41:37 201
> 9	(r499546)
> @@ -1,3 +1,3 @@
> -TIMESTAMP = 1544792071
> -SHA256 (ghostscript-9.26.tar.xz) = 90ed475f37584f646e9ef829932b2525d5c6fc2e0
> 147e8d611bc50aa0e718598
> -SIZE (ghostscript-9.26.tar.xz) = 33059724
> +TIMESTAMP = 1555687281
> +SHA256 (ghostscript-9.27.tar.xz) = fc0f1fbacd3610c67a9f080487a0e021f14390c38
> a4b4df9723e2bdf2b90b619
> +SIZE (ghostscript-9.27.tar.xz) = 33182608
>
> Modified: head/print/ghostscript9-agpl-base/pkg-plist
> =============================================================================
> =
> --- head/print/ghostscript9-agpl-base/pkg-plist	Sun Apr 21 15:23:28 201
> 9	(r499545)
> +++ head/print/ghostscript9-agpl-base/pkg-plist	Sun Apr 21 16:41:37 201
> 9	(r499546)
> @@ -68,18 +68,23 @@ man/man1/ps2ps.1.gz
>  share/cmap/Identity-H
>  share/cmap/Identity-UTF16-H
>  share/cmap/Identity-V
> +share/color/icc/ghostscript/a98.icc
>  share/color/icc/ghostscript/default_cmyk.icc
>  share/color/icc/ghostscript/default_gray.icc
>  share/color/icc/ghostscript/default_rgb.icc
> +share/color/icc/ghostscript/esrgb.icc
>  share/color/icc/ghostscript/gray_to_k.icc
>  share/color/icc/ghostscript/lab.icc
>  share/color/icc/ghostscript/ps_cmyk.icc
>  share/color/icc/ghostscript/ps_gray.icc
>  share/color/icc/ghostscript/ps_rgb.icc
> +share/color/icc/ghostscript/rommrgb.icc
> +share/color/icc/ghostscript/scrgb.icc
>  share/color/icc/ghostscript/sgray.icc
>  share/color/icc/ghostscript/srgb.icc
>  %%PORTDOCS%%%%DOCSDIR%%/API.htm
>  %%PORTDOCS%%%%DOCSDIR%%/C-style.htm
> +%%PORTDOCS%%%%DOCSDIR%%/COPYING
>  %%PORTDOCS%%%%DOCSDIR%%/Commprod.htm
>  %%PORTDOCS%%%%DOCSDIR%%/DLL.htm
>  %%PORTDOCS%%%%DOCSDIR%%/Deprecated.htm
> @@ -196,8 +201,6 @@ share/color/icc/ghostscript/srgb.icc
>  %%DATADIR%%/Resource/Init/gs_cspace.ps
>  %%DATADIR%%/Resource/Init/gs_dbt_e.ps
>  %%DATADIR%%/Resource/Init/gs_diskn.ps
> -%%DATADIR%%/Resource/Init/gs_dpnxt.ps
> -%%DATADIR%%/Resource/Init/gs_dps.ps
>  %%DATADIR%%/Resource/Init/gs_dps1.ps
>  %%DATADIR%%/Resource/Init/gs_dps2.ps
>  %%DATADIR%%/Resource/Init/gs_dscp.ps
> @@ -210,7 +213,6 @@ share/color/icc/ghostscript/srgb.icc
>  %%DATADIR%%/Resource/Init/gs_il1_e.ps
>  %%DATADIR%%/Resource/Init/gs_img.ps
>  %%DATADIR%%/Resource/Init/gs_init.ps
> -%%DATADIR%%/Resource/Init/gs_l2img.ps
>  %%DATADIR%%/Resource/Init/gs_lev2.ps
>  %%DATADIR%%/Resource/Init/gs_ll3.ps
>  %%DATADIR%%/Resource/Init/gs_mex_e.ps
>
> Modified: head/print/ghostscript9-agpl-x11/Makefile
> =============================================================================
> =
> --- head/print/ghostscript9-agpl-x11/Makefile	Sun Apr 21 15:23:28 2019
> 	(r499545)
> +++ head/print/ghostscript9-agpl-x11/Makefile	Sun Apr 21 16:41:37 2019
> 	(r499546)
> @@ -1,7 +1,7 @@
>  # $FreeBSD$
>  
>  PORTNAME=	ghostscript
> -PORTVERSION=	9.26
> +PORTVERSION=	9.27
>  CATEGORIES=	print
>  MASTER_SITES=	https://github.com/ArtifexSoftware/ghostpdl-downloads/r
> eleases/download/gs${PORTVERSION:S/.//}/
>  PKGNAMESUFFIX=	9-agpl-x11
>

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


-- 
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?201904211856.x3LIu3Vf060272>