Subject: Upgrading print/lilypond to 2.7.9
To: None <tech-pkg@NetBSD.org>
From: D'Arcy J.M. Cain <darcy@NetBSD.org>
List: tech-pkg
Date: 02/24/2006 16:07:24
I am trying to upgrade to the latest version.  I have made the changes shown at the end of this message.  I have removed all the patches and upgraded the distinfo accordingly.  Here is the output from the build:

===> Checking for vulnerabilities in lilypond-2.7.9
===> Configuring for lilypond-2.7.9
=> Fixing locale directory references.
checking build system type... i386-unknown-netbsdelf3.99.15
checking Package... LILYPOND
checking builddir... /usr/obj/print/lilypond/work.i386/lilypond-2.7.9
checking for stepmake... ./stepmake  (${prefix}/share/stepmake not found)
checking host system type... i386--netbsdelf
checking for gmake... make
checking for find... /usr/bin/find
checking for tar... /bin/tar
checking for bash... /usr/pkg/bin/bash
checking for python... /usr/pkg/bin/python2.4
checking /usr/pkg/bin/python2.4 version... 2.4
checking for /usr/pkg/bin/python2.4... /usr/pkg/bin/python2.4
checking for i386--netbsdelf-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking whether compiler understands -pipe... yes
checking for IEEE-conformance compiler flags... none
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking kpathsea/kpathsea.h usability... yes
checking kpathsea/kpathsea.h presence... yes
checking for kpathsea/kpathsea.h... yes
checking for kpse_find_file in -lkpathsea... yes
checking for kpse_find_file... yes
checking for shared libkpathsea... no
checking whether to use kpathsea... yes
checking for python... /usr/pkg/bin/python2.4
checking /usr/pkg/bin/python2.4 version... 2.4
checking for /usr/pkg/bin/python2.4... (cached) /usr/pkg/bin/python2.4
checking cc version... 3.3.3
checking for i386--netbsdelf-g++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking c++ version... 3.3.3
checking whether explicit instantiation is needed... no
checking for ar... ar
checking for i386--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking for dlopen in -ldl... no
checking for dlopen... yes
checking for bison... bison -y
checking for bison... bison
checking bison version... 2.1
checking for flex... flex
checking how to run the C++ preprocessor... c++ -E
checking FlexLexer.h usability... yes
checking FlexLexer.h presence... yes
checking for FlexLexer.h... yes
checking for yyFlexLexer.yy_current_buffer... yes
checking FlexLexer.h path... ./configure.lineno: 6561: Syntax error: Bad fd number
*** Error code 2

I manually skipped that test and there were other issues but I figure I should take care of one at a time.  Anyone have any clue what's wrong with this configure command?  The file it is trying to compile is OK and compiles fine by itself.

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/print/lilypond/Makefile,v
retrieving revision 1.39
diff -u -p -u -r1.39 Makefile
--- Makefile    5 Feb 2006 23:10:38 -0000       1.39
+++ Makefile    24 Feb 2006 20:08:26 -0000
@@ -1,19 +1,18 @@
 # $NetBSD: Makefile,v 1.39 2006/02/05 23:10:38 joerg Exp $
 #

-DISTNAME=      lilypond-2.4.3
-PKGREVISION=   4
+DISTNAME=      lilypond-2.7.9
 CATEGORIES=    print
-MASTER_SITES=  http://lilypond.org/download/v2.4/
+MASTER_SITES=  http://lilypond.org/download/v2.7/

 MAINTAINER=    tech-pkg@NetBSD.org
 HOMEPAGE=      http://lilypond.org/web/
 COMMENT=       GNU Music Typesetter

-DEPENDS+=      ec-fonts-mftraced-[0-9]*:../../fonts/ec-fonts-mftraced
+DEPENDS+=      ec-fonts-mftraced>=>1.0.8nb4:../../fonts/ec-fonts-mftraced
 BUILD_DEPENDS+=        bison>=1.875nb1:../../devel/bison

-BUILDLINK_DEPENDS.mftrace+=    mftrace>=1.1.0
+BUILDLINK_DEPENDS.mftrace+=    mftrace>=1.1.9

 GNU_CONFIGURE=         YES
 USE_PKGLOCALEDIR=      YES
@@ -31,7 +30,7 @@ CONFIGURE_ARGS+=      --infodir=${PREFIX}/inf

 CONFIGURE_ARGS+=--disable-optimising
 CONFIGURE_ENV+=        PYTHON=${PYTHONBIN:Q}
-PYTHON_VERSIONS_ACCEPTED= 21 23
+PYTHON_VERSIONS_ACCEPTED= 21 23 24
 # 22 has some regular expression problem

 SCRIPTS_DIR=   share/lilypond/${PKGVERSION:S/nb${PKGREVISION}//}/scripts


-- 
D'Arcy J.M. Cain <darcy@NetBSD.org>
http://www.NetBSD.org/