From owner-freebsd-gnome@FreeBSD.ORG Sat Jan 26 18:00:13 2013 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 956F7D73; Sat, 26 Jan 2013 18:00:13 +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 3630E9B6; Sat, 26 Jan 2013 18:00:12 +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 1TzA2x-0000MN-50; Sat, 26 Jan 2013 19:00:07 +0100 Message-ID: <510419A6.3090106@gwdg.de> Date: Sat, 26 Jan 2013 19:00:06 +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: Re: graphics/gegl 0.1.8 does not build References: <5103F882.2010408@gwdg.de> In-Reply-To: <5103F882.2010408@gwdg.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: gnome@FreeBSD.org, David Wolfskill X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jan 2013 18:00:13 -0000 Sorry for answering myself. (more below, please) On 26.01.2013 16:38 (UTC+2), Rainer Hurling wrote: > 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 I just recognized (thanks to David), that the 'real' first error is not a problem with utf8 conversion, but in ../tools/gobj2dot.rb .. | /usr/local/bin/dot png > images/inheritance.png Error: dot: can't open png > 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) This error occurs when calling '../tools/gobj2dot.rb ..' and does not happen when operations/workshop/max-rgb.c is utf8 coded. It is interesting, that running 'make' twice (without converting max-rgb.c into utf8!) seems to complete the build. Am I right in assuming that it is not necessary anymore to patch tools/gobj2dot.rb by the ports Makefile? Unfortunately my skills are not sufficient to step deeper into it. Rainer > 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