Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libcurses Makefiles are broken in HEAD



At about 3:19PM today, I sent an email in reponse to Automated report: 
NetBSD-current/i386 build failure, stating that I was unable to build HEAD due 
to an issue that first appeared in libcurses around July 5th. Over the past few 
days, the errors I've been receiving in building "release" have varied, but are 
all caused by changes in libcurses that are mentioned in the appended test 
failure on July 5th (After not updating for two weeks, I updated my source tree 
on July 11th, and have been unable to build- even clean build- since).

I have been keeping my source up to date, but I have been unable to 
successfully build the NetBSD userland for either evbarm Raspberry Pi or a 
GENERIC_TINY 386. The error I have been receiving alternates between two 
errors, both complaining about missing files and/or programs in the libcurses 
subtree. I have appended David Holland's response test failure which shows one 
version of the error, and my response showing an alternate version of the error.

Has anyone else had issues regarding building libcurses or can suggest an 
alternative (or temporary patch) for the time being?



----- Forwarded Message -----
From: thor0505%comcast.net@localhost
To: "David Holland" <dholland-current%netbsd.org@localhost>
Cc: current-users%NetBSD.org@localhost
Sent: Sunday, July 13, 2014 3:15:21 PM
Subject: Re: Automated report: NetBSD-current/i386 build failure


I have an up to date NetBSD source tree from CVS as of 7/13/2014 at 3:08PM EDT, 
and I can verify that this problem is not fixed in my source tree while redoing 
a build from the beginning (i.e. no "-u" flag). The file that the build fails 
on is the same as the below (src/lib/libcurses/PSD.doc). However, the nature of 
the error is different:

dependall ===> lib/libcurses
--- dependall-PSD.doc ---
--- addbytes.d ---
--- addch.d ---
--- addchnstr.d ---
--- dependall-PSD.doc ---
dependall ===> lib/libcurses/PSD.doc
--- dependall ---
--- addbytes.d ---
#    create  libcurses/addbytes.d
CC=/mnt/lfs/NetBSD-CVS/src/../tools/bin/i486--netbsdelf-gcc /mnt/lfs/NetBSD-CVS/
src/../tools/bin/nbmkdep -f addbytes.d.tmp  --      --sysroot=/mnt/lfs/NetBSD-CV
S/src/../destdir/i386-pb -I/mnt/lfs/NetBSD-CVS/src/lib/libcurses -I/mnt/lfs/NetB
SD-CVS/src/lib/libterminfo -DHAVE_WCHAR      /mnt/lfs/NetBSD-CVS/src/lib/libcurs
es/addbytes.c &&  mv addbytes.d.tmp addbytes.d
--- addch.d ---
#    create  libcurses/addch.d
CC=/mnt/lfs/NetBSD-CVS/src/../tools/bin/i486--netbsdelf-gcc /mnt/lfs/NetBSD-CVS/
src/../tools/bin/nbmkdep -f addch.d.tmp  --      --sysroot=/mnt/lfs/NetBSD-CVS/s
rc/../destdir/i386-pb -I/mnt/lfs/NetBSD-CVS/src/lib/libcurses -I/mnt/lfs/NetBSD-
CVS/src/lib/libterminfo -DHAVE_WCHAR      
/mnt/lfs/NetBSD-CVS/src/lib/libcurses/addch.c &&  mv addch.d.tmp addch.d
--- addchnstr.d ---
#    create  libcurses/addchnstr.d
CC=/mnt/lfs/NetBSD-CVS/src/../tools/bin/i486--netbsdelf-gcc 
/mnt/lfs/NetBSD-CVS/src/../tools/bin/nbmkdep -f addchnstr.d.tmp  --      
--sysroot=/mnt/lfs/NetBSD-CVS/src/../destdir/i386-pb 
-I/mnt/lfs/NetBSD-CVS/src/lib/libcurses 
-I/mnt/lfs/NetBSD-CVS/src/lib/libterminfo -DHAVE_WCHAR      
/mnt/lfs/NetBSD-CVS/src/lib/libcurses/addchnstr.c &&  mv addchnstr.d.tmp 
addchnstr.d
--- dependall-PSD.doc ---
--- ex2.gr ---
/usr/libexec/vfontedpr /mnt/lfs/NetBSD-CVS/src/lib/libcurses/PSD.doc/ex2.c | 
grep -v "^'wh" > ex2.gr
sh: 2: /usr/libexec/vfontedpr: not found
*** [ex2.gr] Error code 1

nbmake[8]: stopped in /mnt/lfs/NetBSD-CVS/src/lib/libcurses/PSD.doc
1 error

nbmake[8]: stopped in /mnt/lfs/NetBSD-CVS/src/lib/libcurses/PSD.doc
*** [dependall] Error code 2

nbmake[7]: stopped in /mnt/lfs/NetBSD-CVS/src/lib/libcurses/PSD.doc
1 error

nbmake[7]: stopped in /mnt/lfs/NetBSD-CVS/src/lib/libcurses/PSD.doc
*** [dependall-PSD.doc] Error code 2

I'm not sure how to fix this error on my own, but without understanding the 
internals of build.sh... the fact that the build script is attempting to 
reference an out-of-objdir/destdir tool to use (/usr/libexec/vfontedpr) 
concerns me. Can anyone else duplicate this error or offer me advice on how to 
fix it (besides reverting for now, if possible)?


----- Original Message -----
From: "David Holland" <dholland-current%netbsd.org@localhost>
To: current-users%NetBSD.org@localhost
Sent: Saturday, July 5, 2014 6:33:04 PM
Subject: Re: Automated report: NetBSD-current/i386 build failure

On Sat, Jul 05, 2014 at 10:26:05PM +0000, David Holland wrote:
 > On Sat, Jul 05, 2014 at 10:21:35PM +0000, NetBSD Test Fixture wrote:
 >  >     --- docinstall ---
 >  >     #   install  docinstall
 >  >     
 > /tmp/bracket/build/2014.07.05.20.45.49-i386/tools/bin/i486--netbsdelf-install
 >  -U -M /tmp/bracket/build/2014.07.05.20.45.49-i386/destdir/METALOG -D 
 > /tmp/bracket/build/2014.07.05.20.45.49-i386/destdir -h sha256 -N 
 > /tmp/bracket/build/2014.07.05.20.45.49-i386/src/etc -c  -r -o root -g wheel 
 > -m 444 curses.txt  
 > /tmp/bracket/build/2014.07.05.20.45.49-i386/destdir/usr/share/doc/reference/ref3/curses/curses.txt
 >  >     i486--netbsdelf-install: curses.txt: stat: No such file or directory
 >  >     *** [docinstall] Error code 1
 >  >     nbmake[7]: stopped in 
 > /tmp/bracket/build/2014.07.05.20.45.49-i386/src/lib/libcurses/PSD.doc
 > 
 > I'm trying to figure out why this doesn't happen in my tree.

However, it should be fixed now.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index