From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jan 23 18:00:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BBFE1065675 for ; Fri, 23 Jan 2009 18:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 609608FC1C for ; Fri, 23 Jan 2009 18:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0NI01EA030413 for ; Fri, 23 Jan 2009 18:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0NI010l030412; Fri, 23 Jan 2009 18:00:01 GMT (envelope-from gnats) Resent-Date: Fri, 23 Jan 2009 18:00:01 GMT Resent-Message-Id: <200901231800.n0NI010l030412@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jan Henrik Sylvester Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABE9A1065673 for ; Fri, 23 Jan 2009 17:52:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 991178FC24 for ; Fri, 23 Jan 2009 17:52:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n0NHqMXh008041 for ; Fri, 23 Jan 2009 17:52:22 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n0NHqMw9008040; Fri, 23 Jan 2009 17:52:22 GMT (envelope-from nobody) Message-Id: <200901231752.n0NHqMw9008040@www.freebsd.org> Date: Fri, 23 Jan 2009 17:52:22 GMT From: Jan Henrik Sylvester To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/130919: print/lilypond is BROKEN (patch to fix the build included) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2009 18:00:02 -0000 >Number: 130919 >Category: ports >Synopsis: print/lilypond is BROKEN (patch to fix the build included) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 23 18:00:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Jan Henrik Sylvester >Release: 7.1-RELEASE-p2 i386 >Organization: >Environment: >Description: print/lilypond does not build after the guile-1.8.6 upgrade with the same error as in this bugreport: https://bugzilla.redhat.com/show_bug.cgi?id=477007 The discussion on guile-devel mentioned in the bugreport specifies the bug in lilypond and how to fix it. >How-To-Repeat: Try to build print/lilypond. >Fix: The patch attached does what the discussion on guile-devel suggests. The same seems to have been applied to some Linux distributions without problems. I have tested that the patch unbreaks the build and a package of print/lilypond can be build without errors. I did not test functionality of lilypond, though. Patch attached with submission follows: diff -uN print/lilypond/files/patch-lily-parse-scm.cc.orig print/lilypond/files/patch-lily-parse-scm.cc --- print/lilypond/files/patch-lily-parse-scm.cc.orig 1970-01-01 01:00:00.000000000 +0100 +++ print/lilypond/files/patch-lily-parse-scm.cc 2009-01-23 17:38:02.000000000 +0100 @@ -0,0 +1,13 @@ +diff -u lily/parse-scm.cc~ lily/parse-scm.cc +--- lily/parse-scm.cc~ 2008-09-10 06:47:20.000000000 +0200 ++++ lily/parse-scm.cc 2009-01-23 17:31:48.000000000 +0100 +@@ -38,9 +38,6 @@ + SCM answer = SCM_UNSPECIFIED; + SCM form = scm_read (port); + +- /* Reset read_buf for scm_ftell. +- Shouldn't scm_read () do this for us? */ +- scm_fill_input (port); + SCM to = scm_ftell (port); + ps->nchars = scm_to_int (to) - scm_to_int (from); + diff -u print/lilypond/Makefile.orig print/lilypond/Makefile --- print/lilypond/Makefile.orig 2009-01-22 17:04:49.000000000 +0100 +++ print/lilypond/Makefile 2009-01-23 17:39:23.000000000 +0100 @@ -52,8 +52,6 @@ PLIST_SUB= PORTVERSION=${PORTVERSION} -BROKEN= Does not compile - .include .if !defined(NOPORTDOCS) && defined(WITH_WEBDOCS) >Release-Note: >Audit-Trail: >Unformatted: