Subject: Re: pkg/24819
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Noud de Brouwer <netbsd-install@home.nl>
List: pkgsrc-bugs
Date: 01/23/2005 20:11:01
The following reply was made to PR pkg/24819; it has been noted by GNATS.

From: Noud de Brouwer <netbsd-install@home.nl>
To: Thomas Klausner <wiz@netbsd.org>
Cc: gnats-bugs@NetBSD.org
Subject: Re: pkg/24819
Date: Sun, 23 Jan 2005 21:11:02 +0100

 Thomas Klausner wrote:
 
 >On Sat, Jan 22, 2005 at 07:52:35PM +0100, Noud de Brouwer wrote:
 >  
 >
 >>$ bmake  
 >>===> Checking for vulnerabilities in festival-1.4.1nb1
 >>    
 >>
 >
 >I'm confused -- festival in pkgsrc is 1.95beta, not 1.4.1nb1.
 >What version are you using? Could you please try current pkgsrc
 >instead?
 > Thomas
 >
 >  
 >
 a yes..i did use pkgsrc from netbsd 2.0
 now i got pkgsrc 050122 from 
 ftp.netbsd.org/pub/NetBSD/NetBSD-current/tar_files
 
 festival is at 1.95beta and builds OK and installes OK given i do 2 patches:
 
 *** Makefile Sun Jan 23 19:35:28 2005
 --- Makefile.new Sun Jan 23 19:36:20 2005
 ***************
 *** 82,88 ****
 ${FIND} ${FESTIVAL}/lib -type d -print | ${XARGS} ${CHMOD} 755
 cd ${FESTIVAL} && ${PAX} -rw lib examples ${FHOME}
 ${RM} -f ${FHOME}/lib/etc/NetBSD/audsp
 ! ${INSTALL_PROGRAM} ${FESTIVAL}/lib/etc/ix86_NetBSD/audsp ${PREFIX}/libexec
 ${INSTALL_PROGRAM} ${FESTIVAL}/src/main/festival 
 ${PREFIX}/libexec/festival.naked
 ${INSTALL_PROGRAM} ${FESTIVAL}/src/main/festival_client 
 ${PREFIX}/libexec/festival_client.naked
 for n in festival.sh festival_client.sh sitevars.scm; \
 --- 82,88 ----
 ${FIND} ${FESTIVAL}/lib -type d -print | ${XARGS} ${CHMOD} 755
 cd ${FESTIVAL} && ${PAX} -rw lib examples ${FHOME}
 ${RM} -f ${FHOME}/lib/etc/NetBSD/audsp
 ! ${INSTALL_PROGRAM} ${FESTIVAL}/lib/etc/ix86_NetBSD2.0/audsp 
 ${PREFIX}/libexec
 ${INSTALL_PROGRAM} ${FESTIVAL}/src/main/festival 
 ${PREFIX}/libexec/festival.naked
 ${INSTALL_PROGRAM} ${FESTIVAL}/src/main/festival_client 
 ${PREFIX}/libexec/festival_client.naked
 for n in festival.sh festival_client.sh sitevars.scm; \
 
 and:
 
 *** PLIST Sun Jan 23 19:37:38 2005
 --- PLIST.new Sun Jan 23 19:38:23 2005
 ***************
 *** 16,23 ****
 share/festival/examples/text2pos
 share/festival/examples/text2wave
 share/festival/lib/cstr.scm
 ! share/festival/lib/etc/ix86_${OPSYS}/.made
 ! share/festival/lib/etc/ix86_${OPSYS}/audsp
 share/festival/lib/fringe.scm
 share/festival/lib/siod.scm
 share/festival/lib/sitevars.scm
 --- 16,23 ----
 share/festival/examples/text2pos
 share/festival/examples/text2wave
 share/festival/lib/cstr.scm
 ! share/festival/lib/etc/ix86_${OPSYS}2.0/.made
 ! share/festival/lib/etc/ix86_${OPSYS}2.0/audsp
 share/festival/lib/fringe.scm
 share/festival/lib/siod.scm
 share/festival/lib/sitevars.scm
 
 this is at (stock/generic) NetBSD 2.0
 (and yup..them patches are far from perfect..just so i could package at 2.0)
 
 $ uname -a
 NetBSD CP136829-A 2.0 NetBSD 2.0 (GENERIC) #0: Wed Dec 1 10:58:25 UTC 
 2004 
 builds@build:/big/builds/ab/netbsd-2-0-RELEASE/i386/200411300000Z-obj/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/i386/compile/GENERIC 
 i386
 $
 
 some other..if i build/install as user _and_ cp audio/festival to pkgsrc 
 2.0 i get:
 
 ===> Configuring for festival-1.95beta
 cd /usr/pkg/home/t7/workspace/pkgsrc/audio/festival/work/speech_tools && 
 /root/.shrc MAKE="gmake" LDFLAGS="-L/home/t7/pkg/lib 
 -Wl,-R/home/t7/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib" 
 M4="/home/t7/pkg/bin/m4" YACC="bison -y" LINKER_RPATH_FLAG="-R" 
 COMPILER_RPATH_FLAG="-Wl,-R" 
 PATH=/usr/pkg/home/t7/workspace/pkgsrc/audio/festival/work/.buildlink/bin:/usr/pkg/home/t7/workspace/pkgsrc/audio/festival/work/.tools/bin:/usr/pkg/home/t7/workspace/pkgsrc/audio/festival/work/.gcc/bin:/home/t7/pkg/bin:/home/t7/pkg/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/home/t7/pkg/java/sun-1.3.1/bin:/home/t7/pkg/bin:/usr/X11R6/bin 
 PKG_SYSCONFDIR="/home/t7/pkg/etc" 
 INSTALL_INFO="/usr/pkg/home/t7/workspace/pkgsrc/audio/festival/work/.tools/bin/install-info" 
 MAKEINFO="/usr/pkg/home/t7/workspace/pkgsrc/audio/festival/work/.tools/bin/makeinfo" 
 BUILDLINK_CACHE_ALL=yes ./configure
 /root/.shrc: permission denied
 *** Error code 126
 
 and i have to have:
 -rwxrwxrwx 1 root wheel 204 Oct 9 03:27 /root/.shrc
 i.s.o.
 -rw-r--r-- 1 root wheel 204 Oct 9 03:27 /root/.shrc
 
 then it does configure/build/install.
 (the later is not needed if build/installed as user from current pkgsrc)
 Noud