From owner-freebsd-current@FreeBSD.ORG Tue Feb 14 16:33:09 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2E6C1065745; Tue, 14 Feb 2012 16:33:09 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4BA858FC14; Tue, 14 Feb 2012 16:33:09 +0000 (UTC) Received: by ghbg15 with SMTP id g15so137863ghb.13 for ; Tue, 14 Feb 2012 08:33:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=RadhSRxdYpgBRxFvgcoNrCPY5dAvXyjiH7OIgpY4eqI=; b=lzUA4zE+GxEf6uKng34bZS0A4N+UQM257eYYKgfY6FJ6ZiwoGqv4VXMoM53j5U2JjA 3kwJPxm1npQwIlx4h1zEqfVr7QqUabXzzcI6evtxf8FxmIOj+ndWHkJKUmUOR4UuxdCc uM0NmP3VOLEFHo4D5v4i1wygi+LTw/IZ8NQCE= MIME-Version: 1.0 Received: by 10.50.153.234 with SMTP id vj10mr4826453igb.16.1329237188651; Tue, 14 Feb 2012 08:33:08 -0800 (PST) Received: by 10.231.183.21 with HTTP; Tue, 14 Feb 2012 08:33:07 -0800 (PST) Received: by 10.231.183.21 with HTTP; Tue, 14 Feb 2012 08:33:07 -0800 (PST) In-Reply-To: <4F38EFE0.7090602@mail.zedat.fu-berlin.de> References: <4F38EFE0.7090602@mail.zedat.fu-berlin.de> Date: Tue, 14 Feb 2012 16:33:07 +0000 Message-ID: From: Chris Rees To: "O. Hartmann" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Current FreeBSD , Ports FreeBSD Subject: Re: print/ghostscript9: ./base/sjpx_openjpeg.c:169: error: too many arguments to function X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2012 16:33:09 -0000 On 13 Feb 2012 11:14, "O. Hartmann" wrote: > > This arise today when updating ghostscript9-9.04 to ghostscript9-9.05: > > > cc -DHAVE_MKSTEMP -DHAVE_FONTCONFIG -DHAVE_LIBIDN -DHAVE_SETLOCALE > -DHAVE_SSE2 -DHAVE_DBUS -O2 -pipe -O2 -fno-strict-aliasing -pipe > -march=native -fPIC -DUPD_SIGNAL=0 -I. > -I/usr/ports/print/ghostscript9/work/ghostscript-9.05/lcms/include > -I/usr/local/include/libpng -I/usr/local/include > -I/usr/local/include/freetype2 -Wall -Wstrict-prototypes -Wundef > -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings > -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin > -fno-common -DHAVE_STDINT_H=1 -DHAVE_SYS_TIME_H=1 > -DGX_COLOR_INDEX_TYPE="unsigned long int" -O2 -pipe -O2 > -fno-strict-aliasing -pipe -march=native -DUSE_LIBICONV_GNU > -DUSE_LIBPAPER -I/usr/local/include -DGS_DEVS_SHARED > -DGS_DEVS_SHARED_DIR=\"/usr/local/lib/ghostscript/9.05\" > -Iopenjpeg/libopenjpeg/.. -Iopenjpeg/libopenjpeg -I./soobj -I./base > -DUSE_OPENJPEG_JP2 -ffast-math -DOPJ_STATIC -std=c99 -o > ./soobj/sjpx_openjpeg.o \ > -c -DOPJ_STATIC ./base/sjpx_openjpeg.c > ./base/sjpx_openjpeg.c: In function 'decode_image': > ./base/sjpx_openjpeg.c:169: error: too many arguments to function > 'opj_decode' > ./base/sjpx_openjpeg.c:205: error: 'opj_image_comp_t' has no member > named 'typ' > ./base/sjpx_openjpeg.c:205: error: 'CTYPE_COLOR' undeclared (first use > in this function) > ./base/sjpx_openjpeg.c:205: error: (Each undeclared identifier is > reported only once > ./base/sjpx_openjpeg.c:205: error: for each function it appears in.) > ./base/sjpx_openjpeg.c:207: error: 'opj_image_comp_t' has no member > named 'typ' > ./base/sjpx_openjpeg.c:207: error: 'CTYPE_OPACITY' undeclared (first use > in this function) > ./base/sjpx_openjpeg.c:217: error: 'CLRSPC_CMYK' undeclared (first use > in this function) > ./base/sjpx_openjpeg.c:250: error: 'opj_image_t' has no member named > 'has_palette' > ./base/sjpx_openjpeg.c:257: error: 'CLRSPC_EYCC' undeclared (first use > in this function) > gmake[2]: *** [soobj/sjpx_openjpeg.o] Error 1 > gmake[2]: Leaving directory > `/usr/ports/print/ghostscript9/work/ghostscript-9.05' > gmake[1]: *** [so-subtarget] Error 2 > gmake[1]: Leaving directory > `/usr/ports/print/ghostscript9/work/ghostscript-9.05' > gmake: *** [so] Error 2 > *** Error code 1 > > Stop in /usr/ports/print/ghostscript9. > *** Error code 1 > > Stop in /usr/ports/print/ghostscript9. > > ===>>> make failed for print/ghostscript9 > ===>>> Aborting update > > Terminated > > ===>>> You can restart from the point of failure with this command line: > portmaster print/ghostscript9 > This has already been discussed on ports@, please don't cross-post. Chris