Current-Users archive

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

Re: libcurses Makefiles are broken in HEAD



Christos, thank you for committing your changes. I noticed that you have 
altered the tools/vgrind Makefile as well. While I have an educated guess as to 
why you altered this Makefile, it causes errors when I either update or rebuild 
the tools from scratch:

install ===> vgrind
#   install  /mnt/lfs/NetBSD-CVS/src/../tools/libexec/nbvfontedpr
mkdir -p /mnt/lfs/NetBSD-CVS/src/../tools/libexec
/mnt/lfs/NetBSD-CVS/src/../tools/bin/i486--netbsdelf-install -c  -r -m 555 vfont
edpr /mnt/lfs/NetBSD-CVS/src/../tools/libexec/nbvfontedpr
#   install  /mnt/lfs/NetBSD-CVS/src/../destdir/i386-pb/mnt/lfs/NetBSD-CVS/src/.
./tools/share/misc/vgrind.tmac
/mnt/lfs/NetBSD-CVS/src/../tools/bin/i486--netbsdelf-install -U -M /mnt/lfs/NetB
SD-CVS/src/../destdir/i386-pb/METALOG -D /mnt/lfs/NetBSD-CVS/src/../destdir/i386
-pb -h sha256 -N /mnt/lfs/NetBSD-CVS/src/etc -c  -r  -o root  -g wheel  -m 444
 /mnt/lfs/NetBSD-CVS/src/tools/vgrind/../../usr.bin/vgrind/tmac.vgrind /mnt/lfs/
NetBSD-CVS/src/../destdir/i386-pb/mnt/lfs/NetBSD-CVS/src/../tools/share/misc/vgr
ind.tmac
i486--netbsdelf-install: /mnt/lfs/NetBSD-CVS/src/../destdir/i386-pb/mnt/lfs/NetB
SD-CVS/src/../tools/share/misc/vgrind.tmac.inst.h0vlmS: mkstemp: No such file or
 directory

*** Failed target:  
/mnt/lfs/NetBSD-CVS/src/../destdir/i386-pb/mnt/lfs/NetBSD-CVS/src/../tools/share/misc/vgrind.tmac
*** Failed command: 
/mnt/lfs/NetBSD-CVS/src/../tools/bin/i486--netbsdelf-install -U -M 
/mnt/lfs/NetBSD-CVS/src/../destdir/i386-pb/METALOG -D 
/mnt/lfs/NetBSD-CVS/src/../destdir/i386-pb -h sha256 -N 
/mnt/lfs/NetBSD-CVS/src/etc -c -r -o root -g wheel -m 444 
/mnt/lfs/NetBSD-CVS/src/tools/vgrind/../../usr.bin/vgrind/tmac.vgrind 
/mnt/lfs/NetBSD-CVS/src/../destdir/i386-pb/mnt/lfs/NetBSD-CVS/src/../tools/share/misc/vgrind.tmac
*** Error code 1

Stop.
nbmake[2]: stopped in /mnt/lfs/NetBSD-CVS/src/tools/vgrind

*** Failed target:  install-vgrind
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; 
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
real="/mnt/lfs/NetBSD-CVS/src/tools" ;; *) this="${dir}/"; 
real="/mnt/lfs/NetBSD-CVS/src/tools/${dir}" ;; esac; show=${this:-.}; echo 
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && 
/mnt/lfs/NetBSD-CVS/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; 
}; _makedirtarget vgrind install
*** Error code 1

Stop.
nbmake[1]: stopped in /mnt/lfs/NetBSD-CVS/src/tools

*** Failed target:  build_install
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; 
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
real="/mnt/lfs/NetBSD-CVS/src/tools" ;; *) this="${dir}/"; 
real="/mnt/lfs/NetBSD-CVS/src/tools/${dir}" ;; esac; show=${this:-.}; echo 
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && 
/mnt/lfs/NetBSD-CVS/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; 
}; _makedirtarget . install-installboot install-pwd_mkdb install-strfile 
install-sunlabel install-vgrind install-zic install-stat
*** Error code 1

Stop.
nbmake: stopped in /mnt/lfs/NetBSD-CVS/src/tools

ERROR: Failed to make build_install in "tools"
*** BUILD ABORTED ***

Currently, I'm still trying to figure out what causes this error, but my guess 
is that: vgrind is now required to be built as a tool for cross-builds, when 
previously it was not (i.e. the $TOOL_VFONTEDPR variable is now set for 
cross-builds), and the vgrind tool Makefile is not "cross-build-safe" Indeed, 
the temporary file that ./build.sh complains about is missing:

william@xubuntu-ltrain:/mnt/lfs/NetBSD-CVS/src$ ls ../tools/share/misc/
magic.mgc  menu_sys.def  msg_sys.def

Do you have any advice on how to fix this error?

Again, thank you for your help! :)


----- Original Message -----
From: "Christos Zoulas" <christos%astron.com@localhost>
To: current-users%netbsd.org@localhost
Sent: Tuesday, July 15, 2014 7:15:21 AM
Subject: Re: libcurses Makefiles are broken in HEAD

In article 
<449110636.834339.1405380729734.JavaMail.root%sz0123a.westchester.pa.mail.comcast.net@localhost>,
 <thor0505%comcast.net@localhost> wrote:
>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?

I see the problem, and I will commit a workaround shortly until this is
fixed properly.

christos



Home | Main Index | Thread Index | Old Index