From owner-freebsd-ports@FreeBSD.ORG Sat Jan 26 15:38:53 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A98D8E72; Sat, 26 Jan 2013 15:38:53 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id 2FF4A378; Sat, 26 Jan 2013 15:38:52 +0000 (UTC) Received: from p5dc3f8b9.dip.t-dialin.net ([93.195.248.185] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Tz7q9-0005X5-VD; Sat, 26 Jan 2013 16:38:46 +0100 Message-ID: <5103F882.2010408@gwdg.de> Date: Sat, 26 Jan 2013 16:38:42 +0100 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: "freebsd-ports@freebsd.org" Subject: graphics/gegl 0.1.8 does not build Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: gnome@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jan 2013 15:38:53 -0000 Trying to build graphics/gegl on 10.0-CURRENT (amd64; both, clang or gcc), I get the following breakage: [..snip..] GEGL_SWAP=RAM GEGL_PATH=../operations \ ../tools/introspect > class-hierarchy.html mkdir -p images ../tools/gobj2dot.rb .. | /usr/local/bin/dot png > images/inheritance.png Error: dot: can't open png Failed to parse ../operations/workshop/max-rgb.c, probably invalid utf8 gmake[3]: *** [images/inheritance.png] Fehler 2 gmake[3]: Leaving directory `/usr/ports/graphics/gegl/work/gegl-0.1.8/docs' gmake[2]: *** [all-recursive] Fehler 1 gmake[2]: Leaving directory `/usr/ports/graphics/gegl/work/gegl-0.1.8/docs' gmake[1]: *** [all-recursive] Fehler 1 gmake[1]: Leaving directory `/usr/ports/graphics/gegl/work/gegl-0.1.8' gmake: *** [all] Fehler 2 *** [do-build] Error code 1 It seems, that the main problem is with operations/workshop/max-rgb.c, which needs to be converted into utf8. After doing cd operations/workshop cp -p max-rgb.c max-rgb.c.orig iconv -f iso8859-1 -t utf-8 max-rgb.c.orig > max-rgb.c it builds fine. (Hope, this is not totally nonsense in this context) Some of the files in operations/workshop are ASCII text coded, one ISO-8859 text and the rest UTF-8 Unicode text. Is it intended? #file * box-max.c: C source, UTF-8 Unicode text box-min.c: C source, UTF-8 Unicode text box-percentile.c: C source, UTF-8 Unicode text color-reduction.c: C source, ASCII text color-rotate.c: C source, ASCII text color-to-alpha.c: C source, ASCII text convolution-matrix.c: C source, ASCII text cubism.c: C source, ASCII text deinterlace.c: C source, ASCII text demosaic-bimedian.c: C source, UTF-8 Unicode text demosaic-simple.c: C source, UTF-8 Unicode text disc-percentile.c: C source, UTF-8 Unicode text ditto.c: C source, UTF-8 Unicode text emboss.c: C source, ASCII text fractal-trace.c: C source, ASCII text hstack.c: C source, UTF-8 Unicode text kuwahara-max.c: C source, UTF-8 Unicode text kuwahara-min.c: C source, UTF-8 Unicode text kuwahara.c: C source, UTF-8 Unicode text lens-distortion.c: C source, ASCII text linear-gradient.c: C source, UTF-8 Unicode text mandelbrot.c: C source, UTF-8 Unicode text max-rgb.c: C source, ISO-8859 text noise-spread.c: C source, ASCII text plasma.c: C source, ASCII text polar-coordinates.c: C source, ASCII text posterize.c: C source, UTF-8 Unicode text radial-gradient.c: C source, UTF-8 Unicode text rawbayer-load.c: C source, UTF-8 Unicode text red-eye-removal.c: C source, UTF-8 Unicode text ripple.c: C source, UTF-8 Unicode text snn-percentile.c: C source, UTF-8 Unicode text unpremul.c: C source, UTF-8 Unicode text warp.c: C source, UTF-8 Unicode text waves.c: C source, ASCII text whirl-pinch.c: C source, UTF-8 Unicode text Thanks for any clarification, Rainer Hurling